-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Setting Decimal/Raw ValueIDs - Need to create a new ValueDelegate #39
Comments
I can confirm the same with my thermostat. My light switch does not have this behavior though. I notice there is a difference between the controls. The light switch Level shows up and down buttons to increment/decrement the value, and the value applies correct. The setpoint Values have Min and Max values of 0, while the light level is 0-255. According to this comment, ozwadmin respects the range, so maybe this is the problem? |
Light level value which works fine: {
"Label": "Level",
"Value": 0,
"Units": "",
"ValueSet": false,
"ValuePolled": false,
"ChangeVerified": false,
"Min": 0,
"Max": 255,
"Type": "Byte",
"Instance": 1,
"CommandClass": "COMMAND_CLASS_SWITCH_MULTILEVEL",
"Index": 0,
"Node": 15,
"Genre": "User",
"Help": "The Current Level of the Device",
"ValueIDKey": 256475153,
"ReadOnly": false,
"WriteOnly": false,
"Event": "valueChanged",
"TimeStamp": 1591380548
} Setpoint value which does not work: {
"Label": "Cooling 1",
"Value": 78.0,
"Units": "F",
"ValueSet": false,
"ValuePolled": false,
"ChangeVerified": false,
"Min": 0,
"Max": 0,
"Type": "Decimal",
"Instance": 1,
"CommandClass": "COMMAND_CLASS_THERMOSTAT_SETPOINT",
"Index": 2,
"Node": 20,
"Genre": "User",
"Help": "Set the Thermostat Setpoint Cooling 1",
"ValueIDKey": 562950294257682,
"ReadOnly": false,
"WriteOnly": false,
"Event": "valueAdded",
"TimeStamp": 1591372977
} |
Ahhh - Decimal Values are not supported in the GUI yet. |
Is there a workaround for that (maybe setting the config value manually somehow)? |
@matejdro You can use MQTT to set the value. Publish {
"ValueIDKey": key,
"Value": value,
} But as I mentioned in #68 your problem is that the config value you are trying to set has the type Decimal, which is not valid. So your fix is to update the device XML instead. |
It's possible I'm just not doing this right, but I can't update User Values that aren't dropdowns. This is what I'm talking about:
I double click on the value, type in my new value, hit enter, and nothing happens. I don't get anything in the log either. But if I change a value that is a dropdown, the change works.
Am I just doing it wrong, or is that not working?
Thanks!
The text was updated successfully, but these errors were encountered: