-
-
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
[homematic] HM-ES-TX-WM Gasmeter not funktioning due to config error #12183
Comments
Please show the config-description for this thing. You an get it from the REST API. First retrieve the thingType, take the config-description-uri from there and the request the config-description with that uri. Thanks. |
I just copied out the relevant parts.
From my Point of view the step size does not match the default and the min values in some way
The attached file has the full definition |
The step size is not validated ATM and needs to be fixed by the binding developer. The problem is that it is not possible just to change a file, the config description are auto-generated. I'll check why the validation for saved values fails. |
It doesn't fail in the test for me. Can you please set |
Ok, so the issue is not in the validation code but UI/binding. The presented "step" value is invalid and therefore it is not possible to save valid values (defined by min/max). This is the case for "meter constant". The validation code complains about the TX Threshold power and which indeed has an invalid value of 0. I'm not entirely sure what the best way to proceed is. IMO the step values should probably be removed from the binding as they don't make sense (invalid for the "meter constant") or require "strange" values (like the TX power). @MHerbst and @maniac103 I believe you did most of the work on this binding. WDYT? |
Thanks for the analysis. Afair there have been done similar corrections for other devices like #9434. |
The problem is right below the code from #9434: here
|
IMO it should be removed. It's only used for helping the UI to display sliders. |
At the moment my device is not usabel, because i could not set the gas meter constant to the right value. I am with @J-N-K . Just remove it. Since openHAB 1.xxx i think it worked without this check and now these checks make more trouble. |
The step generation is in there since (at least) the initial OH2 Homematic binding, committed in April 2016. If anything is new, it's the UI side of things. |
I agree, a step size of 0.1 does not make sense for large ranges like in this example. It is OK for me to remove the stepsize if we are sure that it will not lead to further problems. |
The step-size only restricts what can be set in the UI. In textual configuration only min/max are validated, so I would be very surprised if it would lead to any issues. |
This is probably why it went unnoticed for so long... +1 for removing it in that case. |
|
If no one is faster, I can take a look at it this weekend and remove the stepsize. |
The RPC protocol doesn't provide this value, so it always was made up more or less arbitrarily. Since the UI now uses this value for validation purposes, there are cases where valid values can not be entered due to this step size (particularly for datapoints with more than 1 decimal digit). Fixes openhab#12183 Signed-off-by: Danny Baumann <[email protected]>
Done -> #12192 |
The RPC protocol doesn't provide this value, so it always was made up more or less arbitrarily. Since the UI now uses this value for validation purposes, there are cases where valid values can not be entered due to this step size (particularly for datapoints with more than 1 decimal digit). Fixes #12183 Signed-off-by: Danny Baumann <[email protected]>
The RPC protocol doesn't provide this value, so it always was made up more or less arbitrarily. Since the UI now uses this value for validation purposes, there are cases where valid values can not be entered due to this step size (particularly for datapoints with more than 1 decimal digit). Fixes openhab#12183 Signed-off-by: Danny Baumann <[email protected]> Signed-off-by: Nick Waterton <[email protected]>
The RPC protocol doesn't provide this value, so it always was made up more or less arbitrarily. Since the UI now uses this value for validation purposes, there are cases where valid values can not be entered due to this step size (particularly for datapoints with more than 1 decimal digit). Fixes openhab#12183 Signed-off-by: Danny Baumann <[email protected]>
The RPC protocol doesn't provide this value, so it always was made up more or less arbitrarily. Since the UI now uses this value for validation purposes, there are cases where valid values can not be entered due to this step size (particularly for datapoints with more than 1 decimal digit). Fixes openhab#12183 Signed-off-by: Danny Baumann <[email protected]>
The RPC protocol doesn't provide this value, so it always was made up more or less arbitrarily. Since the UI now uses this value for validation purposes, there are cases where valid values can not be entered due to this step size (particularly for datapoints with more than 1 decimal digit). Fixes openhab#12183 Signed-off-by: Danny Baumann <[email protected]> Signed-off-by: Andras Uhrin <[email protected]>
The RPC protocol doesn't provide this value, so it always was made up more or less arbitrarily. Since the UI now uses this value for validation purposes, there are cases where valid values can not be entered due to this step size (particularly for datapoints with more than 1 decimal digit). Fixes openhab#12183 Signed-off-by: Danny Baumann <[email protected]>
I am using the latest nightly and have a probelm that my gas meter stay in the state of handler_configuration_pendig.
if i try to save the thing i got the message that some configuration values are not right.
The meter constant is in the required Range and has worked in earlier versions of openHAB. The threshold could not be changed and saved, because the meter constand should not bei changed.
The text was updated successfully, but these errors were encountered: