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

[deconz] [Proposal] Normalize valve value to zigbee specification #14259

Conversation

danieldemus
Copy link
Contributor

A suggestion to work around #11517.

Deconz just passes the PIHeatingDemand without any normalization to the relevant range of valid values from the zigbee
specification. The thermostat that was used as a template for the relevant code is unfortunately not standards compliant, so any standards compliant thermostats show incorrect valve values.

While it would be preferable to have this fixed in deconz itself, until that happens a workaround would be useful.
This PR is a suggestion to treat #11517.

Signed-off-by: Daniel Demus [email protected]

Deconz just passes the PIHeatingDemand without any normalization to the relevant range of valid values from the zigbee specification. This facility is a workaround until deconz is fixed. 
Signed-off-by: Daniel Demus <[email protected]>
@danieldemus danieldemus requested a review from a team as a code owner January 22, 2023 00:13
@holgerfriedrich holgerfriedrich added the external bug A problem or unintended behavior of an external library label Feb 1, 2023
@jlaur
Copy link
Contributor

jlaur commented Mar 26, 2023

@danieldemus, @J-N-K - is this PR still relevant? The mentioned issue #11517 is fixed by #14622.

@J-N-K J-N-K closed this Mar 26, 2023
@danieldemus
Copy link
Contributor Author

It's not relevant for the ally thermostat any more, but I can see the solution pushes the problem to the non-conforming thermostats, extending it with some confusing behaviour (ie. up to 100 you get a percent, above 100 you get undef type).

@J-N-K
Copy link
Member

J-N-K commented Mar 27, 2023

It can be fixed on deconz-side by adding a proper DDF, so it's a non-issue nowadays.

@danieldemus danieldemus deleted the deconz-11517-normalize-valve-to-zigbee-specification branch July 29, 2023 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external bug A problem or unintended behavior of an external library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants