home-assistant-heru icon indicating copy to clipboard operation
home-assistant-heru copied to clipboard

Rotor Power Sensor (...recovery_power) becomes negative due to incorrect INT16 data type interpretation

Open klalle opened this issue 9 months ago • 1 comments

sensor.vvx_current_heat_cold_recovery_power sometimes shows a value of -100% which is a bit odd. I investigated this further by setting up a manual Modbus sensor. When the sensor shows -100%, the raw signed value (int16) from register 29 is -255, and at the same time, a raw unsigned sensor value (uint16) is 65281. This proves that the integration is incorrectly interpreting an unsigned value as signed. It should probably be using UINT16 instead of INT16 for this register.

The strange thing is that the ducumentation states the value as being 0-255.

I invested this further by looking at the graphs, and it might be a "feature" to blow out all the condensation or something.

Image

klalle avatar Jul 25 '25 13:07 klalle

I see the same -100 value from time to time. The Current heating power sensor has the same register type and value range. Do you see any problem on that sensor?

toringer avatar Aug 07 '25 19:08 toringer