sinricpro / esp8266-esp32-sdk

Library for https://sinric.pro - simple way to connect your device to Alexa, Google Home, SmartThings and cloud
https://sinric.pro
Other
236 stars 125 forks source link

Alexa finds it, but the device does not respond to actions. #120

Closed elciomsantana closed 3 years ago

elciomsantana commented 3 years ago

.................connected! [WiFi]: IP-Address is 192.168.10.70 [SinricPro]: Device "5ff7438fdfd58f56bc435821" does not exist. Creating new device [SinricPro:add()]: Adding device with id "5ff7438fdfd58f56bc435821". [SinricPro]: Device "5ff7439fdfd58f56bc435824" does not exist. Creating new device [SinricPro:add()]: Adding device with id "5ff7439fdfd58f56bc435824". [SinricPro]: Device "5ff743b53de8d156e7d4ae88" does not exist. Creating new device [SinricPro:add()]: Adding device with id "5ff743b53de8d156e7d4ae88". SinricPro:Websocket: Connecting to WebSocket Server using SSL (ws.sinric.pro)

appkey:cxxxxxxxxx-8xxx-40b4-xxxx-xxxb47c4xxx8 deviceids:5ff7438fdfd58f56bc435821;5ff7439fdfd58f56bc435824;5ff743b53de8d156e7d4ae88 restoredevicestates:false ip:192.168.10.70 mac:D8:F1:5B:12:55:6E platform:ESP8266 version:2.8.1

What i do?

sivar2311 commented 3 years ago

Alexa will discover a device, as soon you create the device in the portal. Doesn't mean your device is connected. The log doesn't show a connect message. Looks like your ESP is not connected to SinricPro server. Do you call SinricPro.handle() in loop() function?

elciomsantana commented 3 years ago

Some of my libraries were out of date or erroneous, but now after updating them everything has turned up, thank you very much!