openhab-addons icon indicating copy to clipboard operation
openhab-addons copied to clipboard

[enocean] Fix temperature values for D2_50 eep

Open lovery opened this issue 7 months ago • 0 comments

Fixes #16974

There is a problem with parsing the data send from fan devices using EEP D2_50 (like Dimplex) When the value is with leading bite - 1 is converted to a number < 0 and then to unsined int which leads to a very big value for OutdorAirTempareture channel.

Looking at the code I thing this could also happen to other channels so I added a fix for them & 0xff

lovery avatar Jul 01 '24 14:07 lovery