hobbyquaker / node-red-contrib-zigbee

Node-RED Nodes for ZigBee Devices 🐝
MIT License
86 stars 15 forks source link

Prevent Osram Switch Mini to control Osram Smart Plugs via broadcast messages #139

Open Vermatic opened 3 years ago

Vermatic commented 3 years ago

I am currently evaluating different home automation and Zigbee solutions.

I am using a TI CC2531 USB and the following ZigBee devices:

Currently I have an evaluation setup with node-red and I'm trying to use node-red-contrib-zigbee.

I now ran into the same problem that me and several other people have already encountered in the past: the Switch mini device will automatically control surrounding Plugs using broadcast commands autonomously, ie. without further intervention of the ZigeBee gateway.

I guess the problem is well understood and has been solved for other projects already, for example zigbee2mqtt. There is a well documented bug report here: https://github.com/Koenkk/zigbee2mqtt/issues/962 The bug report mentions the commit that fixes the behaviour: https://github.com/Koenkk/zigbee-herdsman-converters/commit/7756df8ccb314c9c52c89b0640107573f1aa9bdc

When I evaluated node-red + zigbee2mqtt + node-red-contrib-zigbee2mqtt I ran in the same problem as described in the bug report and I can confirm that after updating zigbee2mqtt manually in my setup the problem was gone.

Now that I have reset all my ZigBee devices and evaluate node-red-contrib-zigbee, the problem is back of course.

I have first paired the Switch mini, then I paired the Plugs and immediately pressing buttons on the Switch mini controls all plugs nearby.

I must admit that I have no idea how the problem was actually fixed in zigbee2mqtt and how this fix can be ported to node-red-contrib-zigbee.

So my request would be: can this fix to prevent Osram Switch Mini to control Osram Smart Plug via broadcast message be pulled into node-red-contrib-zigbee?