-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[rfxcom] Worked on repairing support for RFXThermostat3 messages #5765
[rfxcom] Worked on repairing support for RFXThermostat3 messages #5765
Conversation
This pull request has been mentioned on openHAB Community. There might be relevant details there: |
@thigger it would be great if you could also do some tests with this, thanks! |
070ca83
to
3e2a987
Compare
3e2a987
to
86d22b5
Compare
I just updated with a new version, the control item should be defined as a rollershutter it will not work otherwise. |
The string-item is fully functional for the Thermostat3. |
444022b
to
f65b870
Compare
@Jamstah / @paulianttila / @lolodomo / @openhab/2-x-add-ons-maintainers anyone up for a review, it's not too long and has tests :-) And it's even tested by someone in the community, thanks @Bappie, he also confirmed (via email) that UP / DOWN works on the control channel and that ON/OFF still works on the command channel. For why its implemented like this see the linked issue |
Travis tests were successfulHey @martinvw, |
4d7b4bc
to
5ce472f
Compare
Is there a version with the same for Lighting5? My Thermostat3 device (it's a gas fire) should be testable shortly but right now I could only test the Lighting5 relay I mentioned in #5539 |
When this is merged I aim to work on that next 👍 |
Signed-off-by: Martin van Wingerden <martin@martinvw.nl>
5ce472f
to
bda0680
Compare
bundles/org.openhab.binding.rfxcom/src/main/resources/ESH-INF/thing/channels.xml
Outdated
Show resolved
Hide resolved
...src/test/java/org/openhab/binding/rfxcom/internal/messages/RFXComThermostat3MessageTest.java
Outdated
Show resolved
Hide resolved
...src/test/java/org/openhab/binding/rfxcom/internal/messages/RFXComThermostat3MessageTest.java
Outdated
Show resolved
Hide resolved
...com/src/main/java/org/openhab/binding/rfxcom/internal/messages/RFXComThermostat3Message.java
Outdated
Show resolved
Hide resolved
|
||
\* `control` supports: | ||
|
||
* UP |
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.
Also supports ON
and OFF
.
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.
Are you sure not as far as what I read in the source code
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.
It did when it was a dimmer but not now its a rollershutter
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.
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.
Fair, that piece of code is unreachable because of the framework.
Co-Authored-By: Hilbrand Bouwkamp <hilbrand@h72.nl>
Co-Authored-By: Hilbrand Bouwkamp <hilbrand@h72.nl>
…inding/rfxcom/internal/messages/RFXComThermostat3MessageTest.java Co-Authored-By: Hilbrand Bouwkamp <hilbrand@h72.nl>
...src/test/java/org/openhab/binding/rfxcom/internal/messages/RFXComThermostat3MessageTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Martin van Wingerden <martin@martinvw.nl>
Solved all remarks except for:
|
Also-by: Hilbrand Bouwkamp <hilbrand@h72.nl> Signed-off-by: Martin van Wingerden <martin@martinvw.nl>
Also-by: Hilbrand Bouwkamp <hilbrand@h72.nl> Signed-off-by: Martin van Wingerden <martin@martinvw.nl> Signed-off-by: Maximilian Hess <mail@ne0h.de>
Also-by: Hilbrand Bouwkamp <hilbrand@h72.nl> Signed-off-by: Martin van Wingerden <martin@martinvw.nl>
Also-by: Hilbrand Bouwkamp <hilbrand@h72.nl> Signed-off-by: Martin van Wingerden <martin@martinvw.nl> Signed-off-by: Tim Roberts <timmarkroberts@gmail.com>
Fixes #4633
Test jar:
org.openhab.binding.rfxcom-2.5.0-SNAPSHOT.jar.zipNew test jar:
org.openhab.binding.rfxcom-2.5.0-SNAPSHOT.jar.zip
To use the Themostat3 now you should be able to either use the string-item to control all the commands:
Or use either the command or control items:
If you proper compact ideas / examples for the README they are welcome so I can include them in the PR.