-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[enocean] Fix humidity and temperature readings for EEP family A5_10 #15506
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
Conversation
* Updated A5-10 EEP family (corrected readings, added new channels) * Changed fanSpeedStage channel to type Number and added new options to it * Added dayNightModeState channel fixes openhab#15458 Signed-off-by: Daniel Weber <uni@fruggy.de>
jlaur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the improvements! Only issue found is lack of I18N regeneration - see https://www.openhab.org/docs/developer/utils/i18n.html#generating-i18n-properties-file
* Added I8N for new props * Removed some magic numbers fixes openhab#15458 Signed-off-by: Daniel Weber <uni@fruggy.de>
|
@jlaur Thanks for the hint, I updated the I8N file and added the command to my build pipeline. |
jlaur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two minor suggestions added. If accepted, they may apply to other classes as well.
...b.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/A5_10/A5_10_15.java
Outdated
Show resolved
Hide resolved
...b.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/A5_10/A5_10_18.java
Outdated
Show resolved
Hide resolved
* Simplified/generalized the temperature calculation and added some descriptions * Added a scaling helper fixes openhab#15458 Signed-off-by: Daniel Weber <uni@fruggy.de>
jlaur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the additional refactoring/improvements. I have added some minor comments about the Javadoc headers.
...b.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/A5_10/A5_10_15.java
Outdated
Show resolved
Hide resolved
...nhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/A5_10/A5_10.java
Outdated
Show resolved
Hide resolved
...b.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/A5_10/A5_10_10.java
Outdated
Show resolved
Hide resolved
...b.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/A5_10/A5_10_18.java
Outdated
Show resolved
Hide resolved
* Changed position of additional comment fixes openhab#15458 Signed-off-by: Daniel Weber <uni@fruggy.de>
jlaur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@jlaur |
Yes. Please be aware that it will only work with openHAB 4.1 snapshot version. |
Ok, I updated my system to 4.1 snapshot and the temperature and humidity readings are now correct again. |
|
@diRk262 Thanks a lot for your test 👍 |
|
This pull request has been mentioned on openHAB Community. There might be relevant details there: |
…penhab#15506) * Updated A5-10 EEP family (corrected readings, added new channels) * Changed fanSpeedStage channel to type Number and added new options to it * Added dayNightModeState channel Fixes openhab#15458 Signed-off-by: Daniel Weber <uni@fruggy.de>
|
This pull request has been mentioned on openHAB Community. There might be relevant details there: |
…penhab#15506) * Updated A5-10 EEP family (corrected readings, added new channels) * Changed fanSpeedStage channel to type Number and added new options to it * Added dayNightModeState channel Fixes openhab#15458 Signed-off-by: Daniel Weber <uni@fruggy.de> Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
fixes #15458
Signed-off-by: Daniel Weber uni@fruggy.de