The changes look good. I was thinking I should wait at least a few weeks while you test the sensors before posting anything in the downloads section.
My plan is to clean up the comments in two weeks. The driver is working great for me, but I'm wondering about one last addition from doc-2392 linked below. DOC-2392 talks about a command length limit of 80 characters for the VRC0P. I don't think the driver checks command length, but maybe it should?!?
I'm thinking about writing a method that would auto truncate the last nodes in a command until command length is below 80 characters. This method would be called only by send command (the sole point of entry to job creation). I'm not a programmer, but I think regex would be a great way to approach this.
A few application notes Leviton came out with for the VRC0P and VRCPG:
http://communities.leviton.com/docs/DOC-2392
and
http://communities.leviton.com/docs/DOC-2394
2394 is a very good doc to read if you haven't. It explains a lot of leviton specific zwave terms.
My plan is to clean up the comments in two weeks. The driver is working great for me, but I'm wondering about one last addition from doc-2392 linked below. DOC-2392 talks about a command length limit of 80 characters for the VRC0P. I don't think the driver checks command length, but maybe it should?!?
I'm thinking about writing a method that would auto truncate the last nodes in a command until command length is below 80 characters. This method would be called only by send command (the sole point of entry to job creation). I'm not a programmer, but I think regex would be a great way to approach this.
A few application notes Leviton came out with for the VRC0P and VRCPG:
http://communities.leviton.com/docs/DOC-2392
and
http://communities.leviton.com/docs/DOC-2394
2394 is a very good doc to read if you haven't. It explains a lot of leviton specific zwave terms.