node-openzwave
node-openzwave copied to clipboard
Switch slowing down
I'm using a rasberry pi with a razberry controller. I've disabled the original software that was install with the razberry. I've gotten the test script to communicate with the controller.
Here's the problem. I'm using a switch that also is a meter. Once the switch is turned on I'm getting lots of 'value change' events thrown by commandClass 50(decimal) which is the meter class.
Each time I toggle the switch it takes a little longer to effect the real world switch.
on - instant on off - near instant off on - 1 sec delay off - 2 sec delay etc...
thinking that there is a problem with the callbacks queueing up too much...
I modified openzwave.cc to not call MakeCallback for the 'value change' event when the CommandClass == 50.
And still the delay occurs.
I'm not looking for you to solve this issue...but rather help direct my next efforts at debugging.
Thanks.