Unsolicited reports from binary switch

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
tor
Posts: 6
Joined: 06 Aug 2015 15:14

Unsolicited reports from binary switch

Post by tor »

Hi,

I have some problems with getting device changes reported back to me. The device in question is still an Aeotech Smart Switch, a controllable switch with a button to manually turn it on or off.

I want to intercept when the level is changed manually/locally(?) on the device.

My first approach on this where to attach a callback on the command class binary switch level data. This works perfectly when i trigger changes from the controller. I.e. i do a binary_switch_set which turn the switch on or off. I always get a callback trigger.

But when i however press the button on the device locally the callback is not fired even though i see a:

Code: Select all

[I] Node info received: 7
in the zway log every time i press the button. Thus, the device actually do send something back when the button is pushed.

Reading Known problems on the z-wave.me site it says:
You need to add RaZberry in special Association group dedicated for unsolicited reports. In Z-Wave Plus devices it is first group called Life Line. In older devices it is usually third group (in Fibaro and Z-Wave.Me devices).
I suspect that this might be part of the problem, i however don't actually understand what "add RaZberry in special Association group" means. WHat is the RaZberry int his case, the main controller, i.e. node 1?

Anyone got any experience on this?

/Tor
toomuo
Posts: 23
Joined: 01 Jan 2015 20:14

Re: Unsolicited reports from binary switch

Post by toomuo »

It's the Lutron patent problem:

Most switches do not include the ability to send out a notification back to the controller when they are touched locally. Lutron has a patent on this, and defends it rigorously in the US. Some Cooper switches (the expensive ones) have it because they paid the license fee.
To get around this, there are two methods:
1. Run the switch polling app - but even at once per minute you will be flooding the Z-wave network.
2. Run the niffler app. Some switches send out a different command when touched locally. The niffler app catches these and then issues a status request command back to the switch to find what happened. This is usually much more responsive than polling. Some switches don't work with this method though.
or 3. - buy the expensive switches that include the licensed method.
tor
Posts: 6
Joined: 06 Aug 2015 15:14

Re: Unsolicited reports from binary switch

Post by tor »

Thanks toomuo,

Disappointing news indeed, and yet another stupid patent hindering technology :( I don't have the option to select what devices is on the network i'm on so that leaves me investigating the niffler then.

/Tor
Post Reply