Same errors in current FF. Does it pull those all from the REST? Oddly I have a few LZW31-SN red dimmers and I can edit those fine.
Actually⊠I can see the editable bits when I drill down. Am I maybe missing something in Hadmin to parse that?
in FF:
All of the UIs use the REST API to get their data. It looks as if the data is returned, but is not able to be displayed.
Out of curiosity, how many lock codes does your lock support? If you donât know, you will find them in the XML file generated for the device. Youâll find these in $OPENHAB_USERDATA\zwave\ and they have the node number in the name. My locks only have 30 and Iâm wondering if the number of codes could be related.
Has 30 so not sure if this is the same on yours or mine maybe has an off js file. But in bindingModel.js
32: eventSrc = new EventSource("/rest/events?topics=smarthome/binding/*");
And if I take the parameters off the query I get events. Theyâre all singular (topic) so if I try that (http://192.168.1.101:8080/rest/events?topic=smarthome/binding/*) I get something back. Maybe the JS isnât the most updated?
If I request: http://192.168.1.101:8080/rest/events?topics=smarthome/binding/* I get nothing back.
@5iver 30 user codes per the nodeâs xml and all are populated with:
<entry>
<int>30</int>
<userCode>
<state>AVAILABLE</state>
<code>30 30 30 30 0A 0D</code>
<outer-class reference="../../../.."/>
</userCode>
</entry>
</userCodeList>
This is the same as mine, so number of codes looks unrelated. What do you see on the network tab? I see three 404s, but everything appears to display properly.
Habmin is retired in OH 3.0, where there is a new UI. If a bug was found in Habmin, it would be a pain to fix. For now, I think your best option for modifying user codes is to use the REST API through a rule or RESTDOCS UI.
curious if your bindingmodel.js references topic or topics on line 32. My HABmin version is 2.0.0. Seems odd to not see that. But yea might be better to do that via REST. Just means I need to make a page to load in my sitemap. Would be nice to add/remove remotely.
Though seems odd since it pulls those great for my red dimmer switches just not this
making sure I donât have something else wrong⊠if you do a GET via browser for one of your be469s do you get an error?
http://192.168.1.101:8080/rest/config-descriptions/thing:zwave:device:d3ebf740:node17
Definitely looks the 500 is the kicker here.
/rest/config-descriptions/thing:zwave:device:d3ebf740:node17
{"error":{"http-code":500,"exception":{"class":"java.lang.NullPointerException"}}}
I get a proper JSON response for the BE468ZP (by strange coincidence, itâs also node17 on my network)
http://192.168.3.18:8081/rest/config-descriptions/thing:zwave:device:573c97c6:node17
Itâs possible the lock didnât include all the way. You might want to try reinitialization for this node from habmin:
Hrm So that has me thinking that it might not have setup and initialized right. odd because I can see the 3 channels and able to see /rest/things/zwave:device:d3ebf740:node17/ just not the /rest/config-descriptions/thing:zwave:device:d3ebf740:node17
I might try and remove and start it again. I donât get those options on this one, like the others canât reinitialize
No⊠this works fine for me.
So crazy⊠messed with removing the node xml, deleting and restarting and usual mess with things and now I have user codes working fine. Config descriptions rest link works too. I guess I still have this gremlin zwave goodness that just randomly gets in and gets out. Thanks so much. Now to get working on rules but itâs nice to get to add user codes now
Good stuff. You might want to post your fix in that other thread @5iver mentioned, as it sounds like the same thing is going on.