node-openzwave icon indicating copy to clipboard operation
node-openzwave copied to clipboard

Switch slowing down

Open adamclerk opened this issue 10 years ago • 0 comments

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.

adamclerk avatar Mar 03 '14 06:03 adamclerk