Notify stopped working (Sorry, let's start over again...)
See original GitHub issueDescribe the bug My notify service stopped working, I have tested the service notify.alexa_media, and nothing happens, no errors whatsoever.
To Reproduce
- Go to “developer tools”
- Click on “Services”
- Call service “notify.alexa_media”
- Type these service data: target: “media_player.game_room” message: “test message” Data: type: “tts”
- The “call service” button turns green, but nothing happens.
Expected behavior Alexa saying “test message”
Screenshots Just get a green button after pressing “call service”
System details
- Home-assistant (version): 2020.12.1
- Hassio (Yes/No): YES (and did the restart several times).
- alexa_media: 3.4.1 version from
const.py
- alexapy : 1.17.2 from pip
- Amazon [2FA is enabled]: Yes
Logs
previews entries shows my cookies so I'm not including it
2020-12-17 13:38:04 DEBUG (MainThread) [alexapy.alexawebsocket] Encoding WebSocket Handshake MSG.
2020-12-17 13:38:05 DEBUG (MainThread) [alexapy.alexawebsocket] Encoding Gateway Handshake MSG.
2020-12-17 13:38:05 DEBUG (MainThread) [alexapy.alexawebsocket] Encoding Gateway Register MSG.
2020-12-17 13:38:05 DEBUG (MainThread) [alexapy.alexawebsocket] Initating Async Handshake.
2020-12-17 13:38:05 DEBUG (MainThread) [alexapy.alexawebsocket] Starting message parsing loop.
2020-12-17 13:38:05 DEBUG (MainThread) [alexapy.alexawebsocket] WebSocket Connection Closed. <Task finished name='Task-1197' coro=<WebsocketEchoClient.process_messages() done, defined at /usr/local/lib/python3.8/site-packages/alexapy/alexawebsocket.py:138> result=None>
2020-12-17 13:38:05 DEBUG (MainThread) [alexapy.alexawebsocket] Encoding PING.
2020-12-17 13:38:05 DEBUG (MainThread) [alexapy.alexawebsocket] Encoding WebSocket Handshake MSG.
2020-12-17 13:38:05 DEBUG (MainThread) [alexapy.alexawebsocket] Encoding Gateway Handshake MSG.
2020-12-17 13:38:05 DEBUG (MainThread) [alexapy.alexawebsocket] Encoding Gateway Register MSG.
2020-12-17 13:38:05 DEBUG (MainThread) [alexapy.alexawebsocket] Encoding PING.
2020-12-17 13:38:06 DEBUG (MainThread) [alexapy.alexaapi] static GET: https://alexa.amazon.com/api/devices-v2/device returned 200:OK:application/json
2020-12-17 13:38:06 DEBUG (MainThread) [alexapy.alexaapi] static GET: https://alexa.amazon.com/api/bootstrap returned 200:OK:application/json
2020-12-17 13:38:06 DEBUG (MainThread) [alexapy.alexaapi] static GET: https://alexa.amazon.com/api/dnd/device-status-list returned 200:OK:application/json
2020-12-17 13:38:06 DEBUG (MainThread) [alexapy.alexaapi] static GET: https://alexa.amazon.com/api/notifications returned 200:OK:application/json
2020-12-17 13:38:06 DEBUG (MainThread) [alexapy.alexaapi] static GET: https://alexa.amazon.com/api/device-preferences returned 200:OK:application/json
2020-12-17 13:38:06 DEBUG (MainThread) [alexapy.alexaapi] static GET: https://alexa.amazon.com/api/bluetooth?cached=false returned 200:OK:application/json
2020-12-17 13:38:06 DEBUG (MainThread) [alexapy.alexaapi] static GET: https://alexa.amazon.com/api/activities?startTime=&size=10&offset=1 returned 200:OK:application/json
2020-12-17 13:38:07 DEBUG (MainThread) [alexapy.alexaapi] GET: https://alexa.amazon.com/api/np/player?deviceSerialNumber=a1716dbb5f0c44aa9982ee49675d2407&deviceType=A3C9PE6TNYLTCH&screenWidth=2560 returned 200:OK:application/json
2020-12-17 13:38:07 DEBUG (MainThread) [alexapy.alexaapi] GET: https://alexa.amazon.com/api/np/player?deviceSerialNumber=G090U509849623WN&deviceType=A32DOYMUN6DTXA&screenWidth=2560 returned 200:OK:application/json
2020-12-17 13:38:07 DEBUG (MainThread) [alexapy.alexaapi] GET: https://alexa.amazon.com/api/np/player?deviceSerialNumber=G090VC0985030W41&deviceType=A32DOYMUN6DTXA&screenWidth=2560 returned 200:OK:application/json
2020-12-17 13:38:07 DEBUG (MainThread) [alexapy.alexaapi] GET: https://alexa.amazon.com/api/np/player?deviceSerialNumber=G090U5099145005P&deviceType=A32DOYMUN6DTXA&screenWidth=2560 returned 200:OK:application/json
2020-12-17 13:38:08 DEBUG (MainThread) [alexapy.alexaapi] GET: https://alexa.amazon.com/api/np/player?deviceSerialNumber=B0F00712521302HC&deviceType=AB72C64C86AW2&screenWidth=2560 returned 200:OK:application/json
2020-12-17 13:38:08 DEBUG (MainThread) [alexapy.alexaapi] static GET: https://alexa.amazon.com/api/phoenix returned 400:Bad Request:application/octet-stream
2020-12-17 13:38:08 WARNING (MainThread) [alexapy.helpers] alexaapi.get_guard_details((<alexapy.alexalogin.AlexaLogin object at 0x7f331df9c520>,), {}): An error occured accessing AlexaAPI: An exception of type TypeError occurred. Arguments:
("'NoneType' object is not subscriptable",)
2020-12-17 13:38:16 DEBUG (MainThread) [alexapy.alexaapi] static GET: https://alexa.amazon.com/api/devices-v2/device returned 200:OK:application/json
2020-12-17 13:38:16 DEBUG (MainThread) [alexapy.alexaapi] static GET: https://alexa.amazon.com/api/dnd/device-status-list returned 200:OK:application/json
2020-12-17 13:38:16 DEBUG (MainThread) [alexapy.alexaapi] static GET: https://alexa.amazon.com/api/notifications returned 200:OK:application/json
2020-12-17 13:38:16 DEBUG (MainThread) [alexapy.alexaapi] static GET: https://alexa.amazon.com/api/device-preferences returned 200:OK:application/json
2020-12-17 13:38:16 DEBUG (MainThread) [alexapy.alexaapi] static GET: https://alexa.amazon.com/api/bluetooth?cached=false returned 200:OK:application/json
2020-12-17 13:38:16 DEBUG (MainThread) [alexapy.alexaapi] static GET: https://alexa.amazon.com/api/activities?startTime=&size=10&offset=1 returned 200:OK:application/json
2020-12-17 13:38:18 DEBUG (MainThread) [alexapy.alexaapi] GET: https://alexa.amazon.com/api/np/player?deviceSerialNumber=G090VC0985030W41&deviceType=A32DOYMUN6DTXA&screenWidth=2560 returned 200:OK:application/json
2020-12-17 13:38:18 DEBUG (MainThread) [alexapy.alexaapi] GET: https://alexa.amazon.com/api/np/player?deviceSerialNumber=G090U509849623WN&deviceType=A32DOYMUN6DTXA&screenWidth=2560 returned 200:OK:application/json
2020-12-17 13:38:18 DEBUG (MainThread) [alexapy.alexaapi] GET: https://alexa.amazon.com/api/np/player?deviceSerialNumber=G090U5099145005P&deviceType=A32DOYMUN6DTXA&screenWidth=2560 returned 200:OK:application/json
2020-12-17 13:38:18 DEBUG (MainThread) [alexapy.alexaapi] GET: https://alexa.amazon.com/api/np/player?deviceSerialNumber=B0F00712521302HC&deviceType=AB72C64C86AW2&screenWidth=2560 returned 200:OK:application/json
2020-12-17 13:38:18 DEBUG (MainThread) [alexapy.alexaapi] GET: https://alexa.amazon.com/api/np/player?deviceSerialNumber=a1716dbb5f0c44aa9982ee49675d2407&deviceType=A3C9PE6TNYLTCH&screenWidth=2560 returned 200:OK:application/json
2020-12-17 13:39:23 DEBUG (MainThread) [alexapy.alexaapi] Creating sequence for 1 items
2020-12-17 13:39:23 DEBUG (MainThread) [alexapy.alexaapi] Running behavior with data: {"behaviorId": "PREVIEW", "sequenceJson": "{\"@type\": \"com.amazon.alexa.behaviors.model.Sequence\", \"startNode\": {\"@type\": \"com.amazon.alexa.behaviors.model.SerialNode\", \"nodesToExecute\": [{\"@type\": \"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\", \"type\": \"Alexa.Speak\", \"operationPayload\": {\"deviceType\": \"AB72C64C86AW2\", \"deviceSerialNumber\": \"B0F00712521302HC\", \"locale\": \"en-us\", \"customerId\": \"A2M2Q5VWCMFUQ0\", \"textToSpeak\": \"New notification: this is a test\", \"target\": {\"customerId\": \"A2M2Q5VWCMFUQ0\", \"devices\": [{\"deviceSerialNumber\": \"B0F00712521302HC\", \"deviceTypeId\": \"AB72C64C86AW2\"}]}, \"skillId\": \"amzn1.ask.1p.saysomething\"}}]}}", "status": "ENABLED"}
2020-12-17 13:39:23 DEBUG (MainThread) [alexapy.alexaapi] POST: https://alexa.amazon.com/api/behaviors/preview returned 400:Bad Request:application/octet-stream
Additional context I’m getting error on alexa guard, since I have Ring alarm system.
alexaapi.get_guard_details((<alexapy.alexalogin.AlexaLogin object at 0x7f5b4457a280>,), {}): An error occured accessing AlexaAPI: An exception of type TypeError occurred. Arguments: ("'NoneType' object is not subscriptable",)
1:44:15 PM – /usr/local/lib/python3.8/site-packages/alexapy/helpers.py (WARNING)
but yet, the controls I use on Ring alarm works as excpected.
Issue Analytics
- State:
- Created 3 years ago
- Comments:19
Top Results From Across the Web
30+ Apology Messages Sure to Earn Their Forgiveness
So you messed up and need to say sorry to someone and earn their forgiveness? We have an apology message to save every...
Read more >SZA - Drew Barrymore (Official Video) - YouTube
[Chorus] Warm enough for ya outside baby, yeah Tell me that it's warm ... at night I'm sorry I'm not your baby mama...
Read more >61 I'm Sorry Quotes to Personalize Your Apology - Proflowers
Browse our collection of I'm sorry quotes with options like cute, ... Can we please click on the refresh button and start over...
Read more >Stop saying 'I'm sorry'—science says it makes people think ...
Stop saying 'I'm sorry.' Research says it makes others think less of you—here's what successful people do instead.
Read more >Writing an Effective Apology Letter to Customers [+ 5 Examples]
Need to write a great apology letter to your customers? Follow these 5 tips and gather inspiration from 5 unique examples to win...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If your device is registered in Mexico that can do that too. You may need to login to alexa.mx. But if you have a solution then no biggie.
Alexapy is me too so no need