a529987659852 / openwbmqtt

Custom component for home assistant supporting openWB wallbox
35 stars 16 forks source link

openWB Sensor occurrences #63

Open gerrit59 opened 8 months ago

gerrit59 commented 8 months ago

Logger: homeassistant.components.sensor.recorder Source: components/sensor/recorder.py:288 Integration: Sensor (documentation, issues) First occurred: 06:03:41 (3 occurrences) Last logged: 06:05:10

Entity sensor.openwb_netzbezug from integration openwbmqtt has state class total_increasing, but its state is not strictly increasing. Triggered by state 1778.7 (1778.7) with last_updated set to 2024-01-02T05:01:47.556110+00:00. Please create a bug report at https://github.com/a529987659852/openwbmqtt/issues Entity sensor.openwb_batteriebezug from integration openwbmqtt has state class total_increasing, but its state is not strictly increasing. Triggered by state 782.95 (783.2) with last_updated set to 2024-01-02T05:03:41.324964+00:00. Please create a bug report at https://github.com/a529987659852/openwbmqtt/issues Entity sensor.openwb_batterieeinspeisung from integration openwbmqtt has state class total_increasing, but its state is not strictly increasing. Triggered by state 564.48 (564.5) with last_updated set to 2024-01-02T05:03:41.323774+00:00. Please create a bug report at https://github.com/a529987659852/openwbmqtt/issues

openWB Software: 1.9.303.0 Gerät: openWB Pro

ChristophCaina commented 2 months ago

the problem here is, that the sensor does expect an increasing value (total_increasing) - but it happens, that the openWB reports a slightly smaller value than the previously one that was reported.

I am not sure, if it does work if the state_class would be changed from total_increasing to something else... The best way to solve this would be, that the OpenWB would send correct values

new value: 782.95 previous value: 783.2 new value: 564.48 previous value: 564.5

in my opinion, this is not an issue with the integration, but with OpenWB