Hi Sara
I have built Alexa (Echo) with ESP32 and ESP8266 – Voice Controlled Relay system. It all works apart from the Alexa voice control function. Alexa cannot find any devices in respose to voice commands or the Amazon Alexa app.
I am using an Echo Show ES5, model H23K37 and it does not have the Zigbee smart home hub like the larger Echo Show ES2018 as shown in the tutorial.
I have two questions:
Firstly should my Echo Show 5S work with the code in the tutorial?
Secondly what ‘generation’ is the ES5 and what version of the fauxmoESP library should i be using
Thank you in advance for your help.
Regards Mike
Hi Mike.
The library mentions that is supports Amazon Echo and Amazon Dot. So, I’m guessing that it should work with your Echo Show: https://github.com/vintlabs/fauxmoESP
Our code uses a version of library before 3.0.
The library is now at 3.1.1. So, I think our code needs to be changed to work with that version. However, you can take a look at the examples provided by the library and see what changes you might need to make: https://github.com/vintlabs/fauxmoESP/tree/master/examples
The library documentation shows the compatibilities for each generation: https://github.com/vintlabs/fauxmoESP#troubleshooting
I hope this helps.
Regards,
Sara
Hi Sara.
I finally have the Alexa (Echo) with ESP32 Voice Controlled Relay system working in both the Arduino and PlatformIO environments. I basically stripped the source code down to the minimum and the breadboard down to two leds and the PlatformIO environment and then spent a significant amount of time trying to get the ESP32 talking to Alexa. I followed some of the suggestions in your reply. Suddenly Alexa responded to a ‘light on’ command and it worked. However Alexa could not discover any new devices either in response to a voice command or via the Alexa app. From that point I was able to gradually restore the code to its original build and reinstate the components on the breadboard. The complete system (Lamp I and Lamp 2) now responds to voice command and wall switch commands in a synchronised way.
As it stands at the moment I cannot add another device to Alexa, but I have been able to add the lamps together in a group. I can operate the lamps via the app but the Alexa app still cannot discover the devices, but it can operate them!
The libraries are different between environments. The PlatfomIO appears to be newer one.
From my perspective, my problem is resolved and I can move on – even if I don’t fully understand the Alexa/Esp32 interface and the role that fauxmoESP library performs.
Again many thanks to your help and guidance.
Kind regards and the Seasons Greetings
Mike Paddison
Hi Mike.
I’m glad you find a workaround to make it work.
It’s been a long time since I’ve tested that project, so it’s likely that some things have changed including compatibility with the app and Alexa.
I’ll mark this issue as resolved. If you need further help, just open a new question in our forum.
Regards,
Sara