AlexxIT / SonoffLAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant
https://github.com/AlexxIT/Blog
MIT License
2.75k stars 418 forks source link

How does the Dual R3 incorporate the ability to stop a blind? #1319

Open christianbalz opened 10 months ago

christianbalz commented 10 months ago

Alexa provides an interface provided by RangeController to control devices such as blinds and curtains, but currently lacks the ability to stop. How does the Dual R3 address this issue?

I appreciate any insights on how to incorporate this functionality into a smart home skill. I would be very grateful for any guidance you can provide.

AlexxIT commented 9 months ago

R3 has a stop command https://github.com/AlexxIT/SonoffLAN/blob/7a9aea14b031c9ba94ceadf6f641b0eeebf3e917/custom_components/sonoff/cover.py#L101-L102

christianbalz commented 9 months ago

R3 has a stop command

https://github.com/AlexxIT/SonoffLAN/blob/7a9aea14b031c9ba94ceadf6f641b0eeebf3e917/custom_components/sonoff/cover.py#L101-L102

Thank you for your feedback.

I had imagined that the Dual R3 would have something like this. In fact, my question is regarding the Alexa API, as I mentioned before, the functionality of the RangeController interface does not differentiate when the voice command 'stop' is triggered.

In this sense, what is the Alexa API or how do you identify that the action was said by the user?

AlexxIT commented 9 months ago

I don't know anything about Alexa