vintlabs / fauxmoESP

Add voice control of your ESP32 and ESP8266 devices using Amazon Alexa
MIT License
383 stars 69 forks source link

ESP32 v1.0.4 not discovered by Alexa Android APP #104

Closed pvint closed 3 years ago

pvint commented 4 years ago

Original report by Stefano Angioni (Bitbucket: [Stefano Angioni](https://bitbucket.org/Stefano Angioni), ).


Hello everybody, I have loaded the basic example on my ESP32 dev board. ESP gets IP from router but Alexa APP cannot find it. I am able to ping it at the IP address i read on the seial monitor.

Any tip about possible trubleshooting?

pvint commented 4 years ago

Original comment by Diju A Thomas (Bitbucket: [Diju A Thomas](https://bitbucket.org/Diju A Thomas), ).


having the same issue

pvint commented 4 years ago

Original comment by Dorian Warboys (Bitbucket: [Dorian Warboys](https://bitbucket.org/Dorian Warboys), ).


I’ve just stumbled across the same issue with an ESP8266 board. To me, at a glance, it looks like Wemo equipment now needs to be registered to interact with the skill on Alexa.

EDIT: I’ve now gotten my setup working. I had to change a setting in Arduino IDE. Under Tools menu, LwIP variant needed to be set to” v1.4 Higher Bandwidth” as it says somewhere on here. Problem solved and telling Alexa to discover devices worked for me.

pvint commented 4 years ago

Original comment by Diju A Thomas (Bitbucket: [Diju A Thomas](https://bitbucket.org/Diju A Thomas), ).


Let me check

pvint commented 4 years ago

Original comment by Stefano Angioni (Bitbucket: [Stefano Angioni](https://bitbucket.org/Stefano Angioni), ).


@{5dfc1e6cf680930cb05b9433} thank you for your feedback, but in Arduino IDE I cannot find any setting for ESP32 that resembles this high bandwidth thing. What does it exactly do?

pvint commented 4 years ago

Original comment by Diju A Thomas (Bitbucket: [Diju A Thomas](https://bitbucket.org/Diju A Thomas), ).


@Dorian Warboys which version of Arduino ide, esp8266 core, and fauxmoESP you are using?

pvint commented 4 years ago

Original comment by Dorian Warboys (Bitbucket: [Dorian Warboys](https://bitbucket.org/Dorian Warboys), ).


I’m using Arduino IDE 1.8.10, esp8266 core 2.6.2. Image attached of the what IP stack I had to select to get it working. Not sure entirely how applicable this is to esp32 but I’m hoping it helps.

pvint commented 4 years ago

Original comment by Javier Destefanis (Bitbucket: [Javier Destefanis](https://bitbucket.org/Javier Destefanis), ).


With that new setting, now it works fine!!! Thank you @{5dfc1e6cf680930cb05b9433} !!!!

pvint commented 4 years ago

Original comment by Giuseppe Vedda (Bitbucket: [Giuseppe Vedda](https://bitbucket.org/Giuseppe Vedda), ).


Same problem for me, esp32 nothing discovered. Same problem with espalexa library.

pvint commented 4 years ago

Original comment by Giuseppe Vedda (Bitbucket: [Giuseppe Vedda](https://bitbucket.org/Giuseppe Vedda), ).


@{5df535548998970e5b439e0e} have found some solution?

pvint commented 4 years ago

Original comment by Stefano Angioni (Bitbucket: [Stefano Angioni](https://bitbucket.org/Stefano Angioni), ).


@{5e16f61d9af3650e9e40c1bc} , not really. The higher bandwidth option is not available for the ESP32. I have given up at the moment and developing my application with a spare ESP8266 I have at home. I have recently read some article about changing the device description in fauxmoESP header files, but haven’t tried it yet

EDIT: refer to this other issue https://bitbucket.org/xoseperez/fauxmoesp/issues/98/server-is-unresponsive-and-incorrect, post by @{557058:aaac7309-f198-4df1-b84c-bc35edeaa0f5}

pvint commented 4 years ago

Original comment by Giuseppe Vedda (Bitbucket: [Giuseppe Vedda](https://bitbucket.org/Giuseppe Vedda), ).


@{5df535548998970e5b439e0e} Provato a fare le modifiche suggerite nel thread, ma purtroppo non cambia nulla.

Tried to make the suggested changes in the thread, but unfortunately nothing changes.

pvint commented 4 years ago

Original comment by Javier Destefanis (Bitbucket: [Javier Destefanis](https://bitbucket.org/Javier Destefanis), ).


I could fix it by changing it to higher bandwidth but I’m using a ESP8266. When I did that, the device was discovered correctly. I haven’t tried on an ESP32. To be honest it was working fine with my previous integration with Wemo but now they ask to have the hub in order to make it work, then, this was the only solution. Maybe we should create an Alexa skill for Arduino. I’m starting to thinking that it might be the best solution. Did anyone did it?