I’ve tried installing this - the UI shows what’s playing in lovelace and I can control the volume, skip tracks pause/play from lovelace fine - but I can’t get announcing or playing media to work either via node-red or via call services.
The only issue I had when installing pyalexa into my home assistant docker container was:
ERROR: mycroftapi 2.0 has requirement websocket-client==0.44.0, but you’ll have websocket-client 0.56.0 which is incompatible.
I don’t know if that could be causing these issues, and if so, how do I resolve it?
I’ve turned on debug mode, and get a bunch of lines about testing items, which I haven’t included here, and then finish on this:
2019-05-09 20:27:33 DEBUG (SyncWorker_3) [alexapy.alexaapi] Running sequence: AlexaAnnouncement data: {“behaviorId”: “PREVIEW”, “sequenceJson”: “{”@type": “com.amazon.alexa.behaviors.model.Sequence”, “startNode”: {"@type": “com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode”, “type”: “AlexaAnnouncement”, “operationPayload”: {“deviceType”: “DEVICETYPEID”, “deviceSerialNumber”: “SERIALNUMBER”, “locale”: “en-gb”, “customerId”: “CUSTOMERID”, “expireAfter”: “PT5S”, “content”: [{“locale”: “en-gb”, “display”: {“title”: “Home Assistant”, “body”: “test”}, “speak”: {“type”: “text”, “value”: “test”}}], “target”: {“customerId”: “CUSTOMERID”, “devices”: [{“deviceSerialNumber”: “SERIALNUMBER”, “deviceTypeId”: “DEVICETYPEID”}]}}}}", “status”: “ENABLED”}
2019-05-09 20:27:33 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.140683093321264] Sending {‘id’: 10, ‘type’: ‘result’, ‘success’: True, ‘result’: None}
But nothing plays. Any ideas?
I should add I’m on the latest docker version of HASS, and have just downloaded the master of alexa_media_player, so should be up to date