vintlabs / fauxmoESP

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

Device not found by Alexa with release 3.4.0 #248

Open ranger81 opened 1 year ago

ranger81 commented 1 year ago

Hi, just to let you know, if I try to use the fauxmoESP_Basic example with the release 3.4.0 on an ESP8266, my Amazon Echo (1st Gen) can't discover any device. Using the example from the 3.3.0 release works fine on the same hardware.

By scrolling through the sources and analyzing quickly, I noticed that some code within the function _onTCPList was changed between the versions. Additionally I noticed, that there is a comment in line 215, that states, to return all devices but based on the source code it only returns something called short template. Maybe there is something mixed up between lines 221 and 227, the parameter should be possibly the other way round? I don't know, haven't checked in detail, I'll stay at version 3.3.0 for the moment but I just wanted to let you know, that version 3.4.0 currently does not work for me (at least with Echo 1st gen devices).

If there is anything I can do to help you, please mention me and I'll try to help. Thanks!