Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enocean] Dimplex fan - wrong temperature values #16974

Closed
lovery opened this issue Jul 1, 2024 · 0 comments · Fixed by #16975
Closed

[enocean] Dimplex fan - wrong temperature values #16974

lovery opened this issue Jul 1, 2024 · 0 comments · Fixed by #16975
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@lovery
Copy link
Contributor

lovery commented Jul 1, 2024

Expected Behavior

I have a Dimplex fan which uses D2_50 EEP.
The device has a sensor for outdoor temperature of the air and it sends values to the openhab.
The supported values are from -64 to 63 according to the specification

Current Behavior

Currently the parsed value are incorrect ~ 2147483541.0°C
dimplex-outdor-temp
Received message from the device is 4D02000F00A954000078003AE000, where the data for OUTT is 1010100 (bytes) = 84, which is in the limits from the specification - 0 to 127, scaled is 84 - 64 = 20, and 20°C is the correct value measured with different device.

Possible Solution

I think that the problem is in the leading 1 of the value for the OUT temperature which converts to - because in java there is no unsigned int

Your Environment

  • Version used openHAB 4.1.1
@lovery lovery added the bug An unexpected problem or unintended behavior of an add-on label Jul 1, 2024
lovery added a commit to lovery/openhab-addons that referenced this issue Jul 1, 2024
@jlaur jlaur closed this as completed in 35add30 Jul 13, 2024
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this issue Jul 18, 2024
pgfeller pushed a commit to pgfeller/openhab-addons that referenced this issue Sep 29, 2024
joni1993 pushed a commit to joni1993/openhab-addons that referenced this issue Oct 15, 2024
matchews pushed a commit to matchews/openhab-addons that referenced this issue Oct 18, 2024
cipianpascu pushed a commit to cipianpascu/openhab-addons that referenced this issue Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant