-
-
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
Unable to set config parameter for a device due to a bug? in the UI #57
Comments
I have a similar issue - unable to set "Send interval for reporting group x" for Aeotec Smart Switch 6. Entry field doesn't seem to accept non-zero entries. Eg. I can set the field to 0, but cannot change it to anything else. |
Running into the same problem with the Aotec Smart Switch 6 as well - it appears the data defines the minimum as 0 and the maximum as -1. Which is why it won't change. The actual XML defines it as I'm using Hass.IO, so to fix this I SSH'd into the box, jumped into the docker shell for the container ( I had to make it writeable first.
Lines 140, 145, 150 - change the "max" to "2147483647". I saved the config XML, I restarted the addon in Hass.IO's supervisor page, went to the config -> device -> zw096 page and clicked "Refresh Node". Once I did that the values updated and the max was no longer "-1". When I went back into the ozw-admin GUI my custom settings were gone. Oh well. I was able to change the interval to 5 (my desired setting) at this point and reset the reporting groups 1, 2, & 3 to 4, 2, and 1 (W, A, V). This did the trick! |
Ah. I notice #33 is also related to this issue. Putting that mention here to connect it. There is this issue in the open-zwave repo as well: OpenZWave/open-zwave#2308 |
I think my issue is not related to this, I think my issue is purely a frontend issue as I'm unable to use the checkboxes and I can't enter anything into the Value field. Can I somehow set these config parameters in another way, like publishing to an MQTT topic? |
I tried to use the See here: https://github.com/OpenZWave/qt-openzwave/blob/master/docs/MQTT.md#setvalue You get the value ID key from the MQTT topic under command class. I'm going to assume your node for the sensor is 15 based on your screenshot, so you'd look under: If you figure it out definitely let me know since I couldn't get it working. |
The command topics are all lowercase with a trailing slash: |
whoever made that header lowerCamelCase is the object of my ire. @Burningstone91 it worked with that lol.
|
Neither The value is an array of the bits you want to set. Note that there's a JSON syntax error in the linked docs. Here's a corrected version of what a BitSet value could be. "Value": [
{"Label": "<string label of the Bit you wish to change>",
"Value": <bool>
},
{"Position": <position (as an integer) of the Bit you wish to change>,
"Value": <bool>
}
] Can you post the complete text of the value instead of a screenshot (for the future, prefer text over screenshots)? I would expect |
I saw the docs for BitSet formatting, but I have to admit that I have no clue how to find the "string label" or the "position" of the bit. I posted a screenshot, because I was not able to copy the text from the OZW Admin GUI.
And in the MQTT explorer screenshot you can see the current value is just an empty list Does this mean I need to publish one payload for each bit of the bitmask that I want to change? |
Same scenario on the same sensor. I also have [] as the current value set.
The other issue I am having is related to an Aeotec Switch where it seems the Min for a value is set to 0, and Max to -1. |
I finally got it to work, now that I read the docs again, it is clear :) {"ValueIDKey": 28428972976767002, "Value": [{"Label": "Temperature", "Value": false}, {"Label": "Humidity", "Value": false}]} Where ValueIDKey is the value of the topic in the commandclass 112. |
I had to do this with my AEOTEC HEM G5. Instead of zw096, used the zw095. |
Ahh I have this same issue, any word on a proper fix or is manual XML editing the only way? |
In the end, i had to use openzwave - control panel. I was able to do all from there |
I followed zikeji's instructions and got it to work in the end. I would like to note that using "node refresh info" within the OZW admin tool broke like everything for me, but this was not necessary to get this fix to work regardless. |
Hi
I recently migrated to OpenZWave and love it so far, fantasticwork!. One problem though, I tried to set a config parameter for an Aeotec Multisensor. I see the config option, however, when I click on the field to edit it, I see some checkboxes inside other fields which show "temperature, humidity" etc. but I can't check or uncheck the box. Please see the picture below:
The text was updated successfully, but these errors were encountered: