-
-
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
[deconz] Issue with Danfoss Ally thermostat #11517
Comments
Anyone on this please? Thanks. |
Difficult. According to the test API-response (which I believe is a real-world example), the Eurotronic thermostats report 0-255, so the code would be ok. I'll try to check that with the Deconz people. |
The zigbee spec |
Maybe worth to mention that there is also (or might be) interpretation/mapping within deCONZ, see for example dresden-elektronik/deconz-rest-plugin#5943. |
The attribute in dresden-elektronik/deconz-rest-plugin#5943 is danfoss specific. The PIHeatingDemand attribute, which is the source of the valve value in deconz, is specified in the zigbee specs. The few cluster documents I have been able to find for other thermostats agree on the 0-100 range, so I'd have to say the eurotronic spirit implements this attribute incorrectly, probably because the eurotronic specific Set Valve Position attribute accepts 0-255. |
This needs to be fixed in deconz IMO. We discussed a similar issue in the developer chat in deconz and came to the conclusion that the deconz API should normalize values. |
Agreed, but it should fixed in deconz to normalize so that it conforms to the zigbee specification 0x00-0x64. Which means openhab should expect 0-100 as the value. I assume more thermostats follow the specification than not. I made a suggestion of how to handle this in #14259. The answer and precipitous closing of dresden-elektronik/deconz-rest-plugin#6641 doesn't make me optimistic. |
Fixed in #14622 |
Expected Behavior
Hello,
I have a set of Danfoss Ally radiator thermostat configured with deCONZ.
The valve position value reported by the REST API ranges from 0 to 100, however the deCONZ binding shows it from 0 to around 39%, but I think it should just report the value as is as it maps correctly as percentage.
Current Behavior
The deCONZ API shows a percentage value of 100%:
but the binding reports it as 39%:
Item declaration in OH2.5:
Possible Solution
I think the problem resides on the following line:
openhab-addons/bundles/org.openhab.binding.deconz/src/main/java/org/openhab/binding/deconz/internal/handler/SensorThermostatThingHandler.java
Line 156 in 05cadda
Context
Trying to activate the boiler based on valve opening (not the best thing to do tho, the device exposes a "Heat Supply Request" attribute which is not available on this binding, I'll open a feature request later)
Your Environment
Tested in both OpenHAB 2.5 and 3.1.
The text was updated successfully, but these errors were encountered: