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

Temp Example cannot connect to Sinric Pro #121

Closed roomme13 closed 3 years ago

roomme13 commented 3 years ago

I test temperature sensor example for ESP. but use BME280 as sensor, but i cannot get connected to sinricPro this is the debug `[Wifi]: Connecting.connected! [WiFi]: IP-Address is 192.168. [SinricPro]: Device "" does not exist. Creating new device [SinricPro:add()]: Adding device with id "". SinricPro:Websocket: Connecting to WebSocket Server using SSL (ws.sinric.pro)

appkey: deviceids: restoredevicestates:true ip:192.168. mac:60:01:94:2D:87:3A platform:ESP8266 version:2.8.0 [SinricProDevice::sendEvent]: The event could not be sent. No connection to the SinricPro server. Something went wrong...could not send Event to server! `

any suggestion? Thank you

sivar2311 commented 3 years ago

Maybe the same as #120 ?

roomme13 commented 3 years ago

In the debug I don't see anyline state it connected to sinric pro server.

kakopappa commented 3 years ago
  1. Did you mean you have the same sensor with python sdk working but not with ESP SDK?
  2. What’s your IP?
  3. Please share the code without credentials if possible
roomme13 commented 3 years ago
  1. Yes i have same sensor in running pi, and running well, actually i already test sensor on ESP too just to make sure sensor side not problem
  2. 192.168.200.233
  3. sinrictempesp.txt

kakopappa commented 3 years ago

What’s your public IP address?

https://www.whatismyip.com/

On Fri, 8 Jan 2021 at 8:40 AM roomme13 notifications@github.com wrote:

  1. Yes i have same sensor in running pi, and running well, actually i already test sensor on ESP too just to make sure sensor side not problem
  2. 192.168.200.233

sinrictempesp.txt https://github.com/sinricpro/esp8266-esp32-sdk/files/5784744/sinrictempesp.txt

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/sinricpro/esp8266-esp32-sdk/issues/121#issuecomment-756493019, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZSYVFI7JP2YQSNGIP3SYZPBZANCNFSM4VZLYRTQ .

roomme13 commented 3 years ago

Currently this one, 180.252.173.157 I use broadband it will change all the time

kakopappa commented 3 years ago

your ip is not blocked. code looks legit. can you try ESP -> mobile hotspot -> sinric pro ?

roomme13 commented 3 years ago

Tested, and still not connected. i believe no problem in my internet since the other sensor (Pi) can reach Sinric Pro with no problem.

sivar2311 commented 3 years ago

Please check Versions for

roomme13 commented 3 years ago

Confirmed for that version, lemme try to reinstall all library first

roomme13 commented 3 years ago

Working with after reinstall all library. Thank you @sivar2311 @kakopappa i'll close this issue