bbindreiter / node-red-contrib-alexa-remote2-applestrudel

Node-Red Nodes for interacting with Alexa
https://flows.nodered.org/node/node-red-contrib-alexa-remote2-applestrudel
MIT License
75 stars 20 forks source link

Commands to play alerts are sent in correct order but Echo sometimes plays them in incorrect order #81

Closed alexruffell closed 1 year ago

alexruffell commented 2 years ago

I use this node to play alerts stating door and lock status of 3 doors in my house:

image

While the node red flow sent the alerts in the correct order, for example "door open" and then "door closed", Alexa occasionally will play them out of order which in this example was no alert when the door opened, a "door closed" alert when the door closed and after a few seconds a "door open" alert. I checked my debug messages and am certain that node red sent only 2 commands with the first one for "door open" and the second for "door closed", yet it played them in reverse order.

I could not find any means of controlling how Alexa treats commands it is sent as in this case it would be best to simply ditch the out-of-sequence "door open" alert instead of playing it when it no longer makes any sense.

Recently I have also noticed an increasing delay between the same alert sent to two different Echos in the house. They sometimes play at significantly different times even when idle. I mention this in case it is related.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.