datech / node-red-contrib-amazon-echo

Alexa controlled Node-Red nodes supporting latest Amazon Echo devices. NO Alexa Skills required. NO cloud dependencies.
MIT License
140 stars 42 forks source link

Issue with setting / dimming to 0% #188

Open ako82 opened 2 years ago

ako82 commented 2 years ago

Hi!

I was just setting up some rollers recognized as lights by Alexa using a function to grab and forward the percantage to the MQTT topic of a Shelly 2.5. It is working without issues when I ask Alexa to increase value like "Alexa set/dim device to 20" then "Alexa set/dim device to 25". However when I ask Alexa to set/dim device to 0 it sends the current value again without changing it. But when I ask Alexa to set/dim device to 1, it sends 0 and the rollers go down as they should when I ask to go down to 0.

Break ---

While I was writing this issue, I did another test. It seems like all asked values up to 10 make Alexa send (asked value - 1). So 1 sends 0, 2 sends 1, 3 sends 2... 10 sends 9. As soon as I ask Alexa to send 11, it sends 11. Looks like it is not possible to let Alexa send a 10.

Just wanted to make you aware of this usse!

BaltasarParreira commented 1 year ago

Correct, I'm facing the same problem. When this will be fixed?

Thanks.