Hi
I built an electrically controllable door that I want to control with Alexa, using ESP32 as the microcontroller. I am therefore using the FauxmoESP library. However, the library was initally meant for lights, and thus in order to access a device using ALexa, the keywords will be "Alexa, turn on/off [insert device name]". Since my device is a door, I want it the keywords to be "Alexa, open/close [insert device name]". Any advice on how to do this? I have searched through the library source code and havent found an easy fix yet.
Changing the FauxmoESP library so it uses the words "open" instead of turn on
Re: Changing the FauxmoESP library so it uses the words "open" instead of turn on
I think it is something that would be in the Amazon code and there is no way to change it on the fauxmo side. This is a legacy integration that Amazon did back when echo was still new so that something would work with echo right away. All the newer integrations use Alexa skills in the cloud.
Re: Changing the FauxmoESP library so it uses the words "open" instead of turn on
Better late than never ...maybe.
The most simple way is to use "Alexa Routines" (Alexa app under menu/routines) to define a customized "Alexa, open garage door" command that sends an integer percent value to the ESP32.
I hacked a library similar to "fauxmo" for myself:
https://github.com/gsb/Alexa2ESP
Check out the first example in the ESP32Examples folder:
Alexa2ESP/examples/ESP32Examples/alexa2esp_32 Example-1/
Should be all that you need.
Greg
The most simple way is to use "Alexa Routines" (Alexa app under menu/routines) to define a customized "Alexa, open garage door" command that sends an integer percent value to the ESP32.
I hacked a library similar to "fauxmo" for myself:
https://github.com/gsb/Alexa2ESP
Check out the first example in the ESP32Examples folder:
Alexa2ESP/examples/ESP32Examples/alexa2esp_32 Example-1/
Should be all that you need.
Greg
Who is online
Users browsing this forum: No registered users and 107 guests