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
227 stars 121 forks source link

Device did not handle set power state. #361

Closed Trinnss closed 6 months ago

Trinnss commented 6 months ago

I am using a dht20 sensor and esp01s for temperature which uses i2c communication check this code and inform me about the fault. the device is connected to the Sinricpro dashboard but when clicking turn on or off it shows an error that the "device did not handle "set power state"". I have removed the credentials. DHT20_sinric.zip Please solve it as soon as possible.

sivar2311 commented 6 months ago

Hello @Trinnss!

Since version 3.x, the sensors no longer supports switching on and off - see changelog However, it seems that the GUI still shows the buttons for switching on and off.

@kakopappa Can you remove the buttons from the GUI, please?

Please solve it as soon as possible.

I wish you a happy new year too!

kakopappa commented 6 months ago

fixed. released a new version of portal v2.40.4

Trinnss commented 6 months ago

Screenshot 2024-01-03 222846 I have seen some bugs. temperature block in the dashboard GUI of the website does not show temperature but shows humidity and Amazon Alexa and Sinric Pro app still show power button.

sivar2311 commented 6 months ago

temperature block in the dashboard GUI of the website does not show temperature

Do you see the temperature in serial monitor when the sketch is running? Please post the content of your serial monitor.

Trinnss commented 6 months ago

temperature block in the dashboard GUI of the website does not show temperature

Do you see the temperature in serial monitor when the sketch is running? Please post the content of your serial monitor.

Yeah, Screenshot 2024-01-03 232431 it was running the graph was present only that thing was absent.

kakopappa commented 6 months ago

Thanks for reporting. Issue has been fixed v2.40.5

image

Trinnss commented 6 months ago

please check about the alexa and google skills . Where switch is still present

kakopappa commented 6 months ago

Google Home shows as a thermostat due to limitations in Google Home

what’s wrong with Alexa?

Trinnss commented 6 months ago

both shows switch to turn on or off the device.

kakopappa commented 6 months ago

Hi @Trinnss

Alexa app is out of our control. Google Home shows as a thermostat due to limitations in Google Home