Aircoookie / Espalexa

Alexa voice control for ESP8266/ESP32 (including brightness and color!)
MIT License
542 stars 134 forks source link

Alexa can't find my ESP8266 #208

Open Bratkaroffel opened 2 years ago

Bratkaroffel commented 2 years ago

Hey guys,

it's my first project with this library and already got my first issue: Alexa doesn't find my device (ESP8266), not in the App, nor by asking her to do so.

Serial Monitor tells me the booting works and there is 1 device. Already rebooted my Echo dot 3rd generation.

Anyone has any tips for me? If you need more information please don't hesitate to ask for.


http://[eps-ip]/espalexa says:

Hello from Espalexa!

Value of device 1 (curtain): 0 (Dimmable light)

Free Heap: 47888 Uptime: 87866

http://[eps-ip]/api/api/lights gives me:

{"124582400":{"state":{"on":false,"bri":254,"alert":"none","mode":"homeautomation","reachable":true},"type":"Dimmable light","name":"curtain","modelid":"LWB010","manufacturername":"Philips","productname":"E1","uniqueid":"98060ed9f401","swversion":"espalexa-2.6.0"}}

Trying #define ESPALEXA_DEBUG tells me when searching for new devices:

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

Cheers, Torben

RyanGJones commented 1 year ago

Hey there I had the same problem. Check out PR 194 https://github.com/Aircoookie/Espalexa/pull/194 i added in these changes and it started working. idk why they havnt accepted the PR yet.