hardillb / node-red-alexa-home-skill-web

Apache License 2.0
45 stars 28 forks source link

Maybe add an Open and Close feature #70

Closed dinogregorich closed 5 years ago

dinogregorich commented 5 years ago

Hi, I have been using your current interface to help me automate things in my home. I am very happy with it. I have it running on a Raspberry Pi II, and it works great. I wrote some code (REST APIs) to interface with my swimming pool via RS485 last year, and I was able to interface Alexa with it thanks to your NodeRed interface.

Today, I was automating my garage door, someone posted a NodeRed flow for MyQ that worked well. (from here: https://flows.nodered.org/flow/83f263d6f5f23e53e2aed85b96aadb3e ). However, I wanted to interface with Alexa and I was successful. However, I did not have an Open or Close ability/command. So created the Garage Door device as an On/Off switch. Then I mapped On to Open, and Off to Close. This works, but is not intuitive. I have to say 'Garage Door On' to open and 'Garage Door Off' to Close

Adding a Open/Close would allow not only Garage doors, but probably any automated door or window.

What do you think? Is it a valid idea?

NorthernMan54 commented 5 years ago

I ran across the same issue, and used alexa routines to fix the wording by creating a routine based on my natural wording. It works really well, but I ended up with 8 different routines, based on my wording.

On Dec 1, 2018, at 9:46 PM, dinogregorich notifications@github.com wrote:

Hi, I have been using your current interface to help me automate things in my home. I am very happy with it. I have it running on a Raspberry Pi II, and it works great. I wrote some code (REST APIs) to interface with my swimming pool via RS485 last year, and I was able to interface Alexa with it thanks to your NodeRed interface.

Today, I was automating my garage door, someone posted a NodeRed flow for MyQ that worked well. (from here: https://flows.nodered.org/flow/83f263d6f5f23e53e2aed85b96aadb3e https://flows.nodered.org/flow/83f263d6f5f23e53e2aed85b96aadb3e ). However, I wanted to interface with Alexa and I was successful. However, I did not have an Open or Close ability/command. So created the Garage Door device as an On/Off switch. Then I mapped On to Open, and Off to Close. This works, but is not intuitive. I have to say 'Garage Door On' to open and 'Garage Door Off' to Close

Adding a Open/Close would allow not only Garage doors, but probably any automated door or window.

What do you think? Is it a valid idea?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hardillb/node-red-alexa-home-skill-web/issues/70, or mute the thread https://github.com/notifications/unsubscribe-auth/AS5CmNfUCSa4Ha8T1S1yA1JQgIqP-lVEks5u0z8agaJpZM4Y9NNc.

dinogregorich commented 5 years ago

Thanks for the suggestion NorthernMan54. I added 2 routines "open the garage door" and "close the garage door", they worked perfectly! That's good enough for me.

hardillb commented 5 years ago

Open/close are not part of the Alexa command set for the smart home API (at least in the v2 spec).

All the voice matching is done by Amazon, you can't add extras.