StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
616 stars 111 forks source link

[BUG] strange behavior with S4H module when lost power on the device and re power #711

Open Cippo2019 opened 1 year ago

Cippo2019 commented 1 year ago

Hello, first of all sorry for my bad English and thanks a lot for your incredible work ! I appreciate it. I noticed that, unlike what a reboot is commanded from the web interface, if the current fails or you detach/attach the device shelly EM or shelly1 with the temperature probes, very high absorption values is read or very high temperatures. You can reproduct also if you detach and retach the device from power. This is not happen when you reboot via web interface or android app. And, on android app the value reported are normal , whitout any big value. Normal state.

Obviously this creates confusion on the HA statistic. I think that is we can set/correct into the S4H ?

here a picture to better understand

shelly

Thanks in advance :-) Tz

auanasgheps commented 1 year ago

I think this issue is similar to mine #724 When something weird happens and the sensor resets, instead of providing a "unavailable value" the sensor provides a wrong value.

Cippo2019 commented 1 year ago

Hi all

any news on that ?

i try to explaine again (sorry for my bad English)

I noticed that, unlike what a reboot is commanded from the web interface, if the current fails or you detach/attach the device shelly EM or shelly1 with the temperature probes, very high absorption values is read or very high temperatures. You can reproduct also if you detach and retach the device from power. This is not happen when you reboot via web interface or android app. And, on android app the value reported are normal , whitout any big value. Normal state. Obviously this creates confusion on the HA statistic. I think this is coming from s4h. Have any of you noticed the same thing ? Or do you know how we can exclude that value to be collected by HA ? Thanks in advance