When working on item 877 I this message showed at the top of the page: Notice: Uninitialized string offset: 1 in /volume1/web/cd-jackson/components/com_zwave_database/helpers/zwave_device_check.php on line 18 Warning: strpos(): Empty needle in /volume1/web/cd-jackson/components/com_zwave_database/helpers/zwave_device_check.php on line 18
The message doesn’t show on all devices. I was manually populating the existing device instead of creating a dupe, let me know if it’s preferable to start fresh from the XML (the binding looks to have created a complete XML from my device).
It’s caused by having the association group with a label “1”. There is a check to make sure that the group name doesn’t start with the group ID, but the check causes this error if it’s the only thing in the label…
@Reeves - since you’ve done such a great job adding this to the database, could I ask you to add the word FORCEVERSION to the config box in every command class (take a look in BASIC for what I mean)…
It would be my pleasure. Should I apply this change to all Leviton devices (as needed)?
On a related topic, I’ve been trying to run down details on the older Leviton devices I have to get the correct details for configuration commands. Any recommended reading that would help me learn this?
Thanks. I just downloaded the Silicon Labs Z-Wave specification (2018c) to look up the number for the library type. I’m assuming that is the source of truth on protocol stuff.
I seem to recall adding FORCEVERSION to a number of the older Leviton devices some time ago.
A quick search of the source for setVersion shows RZP03, VRF01, VRS15, VRI06, VRS05, VRP03, RZ106. I’m pretty sure I didn’t do all of these, because I don’t have all these devices.
And, speaking of the database, it would be really cool to be able to filter the device list to show just the devices for which I’ve ticked I have this device.
I don’t think you’ll find that in the spec, and if you do, you might find they have different names than we use. You should be able to select these from what is specified in the XML - otherwise don’t worry too much about it as it’s not 100% necessary.
Most of the time this stuff is filled in by uploading the XML to the database, but since you’ve now filled all this in by hand, it’s not an option now…
I know I clicked on at least a couple and stopped when I didn’t see it changing anything. I was afraid I was breaking something, or it was assigning me as the owner of the device in the db! But something I’d definitely use.
Yes, I added this as I needed to have a data base entry to allow me to add some options to work around the device bugs. I had intended to delete this and use the XML to create the device…
It’s no problem, and I think the device is probably simple enough that there aren’t too many difficult channels to create…