Espalexa
Espalexa copied to clipboard
Device is not discovered
I used the example sketch "EspalexaColor" and added "#define ESPALEXA_DEBUG" before "#include <Espalexa.h>" to see debug output. It seems that espalexa didn't recognize the discovery of my echo because while my echo is searching for devices espalexa didn't output anything...
I used the WeMos D1 R2 with esp8266 toolchain v3.0.2 and Espalexa v2.7.0. My board settings: http://epvpimg.com/RAudfab
Try this: https://github.com/Aircoookie/Espalexa/pull/194
Thanks for your replay but unfortunately, this did not bring any improvement. I dont't think that this is any kind of crash because in serial monitor i can't see anything which points on that. Espalexa is not writing any debug output while my echo is discovering new devices...
I'm getting this output in Debug mode using an ESP32
Constructing device 1 Adding device 1 Constructing device 2 Adding device 2 Adding device 3 Espalexa Begin... MAXDEVICES 10 Done [MAIN] Free heap: 72256 bytes Got UDP! M-SEARCH * HTTP/1.1 HOST: 239.255.255.250:1900 ST: ssdp:all MAN: "ssdp:discover" MX: 3
Responding search req... Got UDP! M-SEARCH * HTTP/1.1 HOST: 239.255.255.250:1900 ST: upnp:rootdevice MAN: "ssdp:discover" MX: 3
Responding search req... Got UDP! M-SEARCH * HTTP/1.1 HOST: 239.255.255.250:1900 ST: ssdp:all MAN: "ssdp:discover" MX: 3
Responding search req... Got UDP! M-SEARCH * HTTP/1.1 HOST: 239.255.255.250:1900 ST: upnp:rootdevice MAN: "ssdp:discover" MX: 3
Responding search req... Got UDP! M-SEARCH * HTTP/1.1 HOST: 239.255.255.250:1900 ST: ssdp:all MAN: "ssdp:discover" MX: 3
Responding search req... Got UDP! M-SEARCH * HTTP/1.1 HOST: 239.255.255.250:1900 ST: upnp:rootdevice MAN: "ssdp:discover" MX: 3
Responding search req...
Responding to description.xml ...
Send setup.xml
Not-Found HTTP call: URI: /api Body: {"devicetype": "Echo"} AlexaApiCall ok devType Not-Found HTTP call: URI: /api/2WLEDHardQrI3WHYTHoMcXHgEspsM8ZZRpSKtBQr/lights Body: AlexaApiCall ok l0 lAll Not-Found HTTP call: URI: /api Body: {"devicetype": "Echo"} AlexaApiCall ok devType Not-Found HTTP call: URI: /api/2WLEDHardQrI3WHYTHoMcXHgEspsM8ZZRpSKtBQr/lights Body: AlexaApiCall ok l0 lAll Not-Found HTTP call: URI: /api/2WLEDHardQrI3WHYTHoMcXHgEspsM8ZZRpSKtBQr/lights/1649656320 Body: AlexaApiCall ok l1649656320 1649656320 Not-Found HTTP call: URI: /api/2WLEDHardQrI3WHYTHoMcXHgEspsM8ZZRpSKtBQr/lights/1649656321 Body: AlexaApiCall ok l1649656321 1649656321 Not-Found HTTP call: URI: /api/2WLEDHardQrI3WHYTHoMcXHgEspsM8ZZRpSKtBQr/lights/1649656322 Body: AlexaApiCall ok l1649656322 1649656322 [MAIN] Free heap: 69524 bytes Not-Found HTTP call: URI: /api/2WLEDHardQrI3WHYTHoMcXHgEspsM8ZZRpSKtBQr/lights/1649656320 Body: AlexaApiCall ok l1649656320 1649656320 Not-Found HTTP call: URI: /api/2WLEDHardQrI3WHYTHoMcXHgEspsM8ZZRpSKtBQr/lights/1649656321 Body: AlexaApiCall ok l1649656321 1649656321 Not-Found HTTP call: URI: /api/2WLEDHardQrI3WHYTHoMcXHgEspsM8ZZRpSKtBQr/lights/1649656322 Body: AlexaApiCall ok l1649656322 1649656322 [MAIN] Free heap: 68884 bytes [MAIN] Free heap: 68884 bytes [MAIN] Free heap: 68884 bytes
Alexa isnt finding anything
I am also facing same issue. did you find the fix?
No, unfortunately not.
Same issue for me. I am using ESPALEXA_ASYNC and library version 2.7.0
UPDATE: I found the device following the instructions from https://github.com/Aircoookie/Espalexa/issues/41#issuecomment-460230966