Skip to content

What you can do when a switch turns (almost) all devices on off

Smanar edited this page Apr 4, 2024 · 3 revisions

Probably many users had the experience at least once that newly added switches have or had the bad habbit to turn (almost) any device off when pushing the respective button. The root cause for this is an unfortunate binding made through deconz or at least supported by it. Any new joined mains powered device gets automatically added to deconz' internal All group at zigbee level, group 0xFFF0 or 65520, having the internal group ID 0. Now any supported switch which gets added to the network gets its client clusters (grey, can be seen in deconz GUI) bound to that very group in case deconz cannot find any previously known group for it. This affects on/off, scenes, level and color control clusters. Without a change in the rest API plugin of deconz, this cannot really be ceased.

However, there's a workaround which can be applied, but involves a change in deconz' database. In essence, you can set the group being responsible for switching everything off to deleted, so it cannot be used in future. The following steps are required:

  1. Find the DB named zll.db on your file system
  2. Make sure deconz is NOT running
  3. Open the DB on the command line with sqlite3 (assuming here you go with Linux). sqlite3 zll.db
  4. Once connected to the DB, issue the following command: UPDATE GROUPS SET state='deleted' WHERE gid='0xFFF0';
  5. Close the DB again with .exit
  6. Start deconz again

Now, the steps above prevent any future effects, but do not cater with the already established bindings. To eliminate those as well, you either need to:

A) Reset and re-pair the affected switch

B) Undo the previously establised bindings for all given clusters marked in red (on/off, scenes, level and color control) for each endpoint (marked geryish box).

grafik

See the bind dropbox screenshot how to unbind. Drag and drop e.g. the on/off cluster on the source field, select group 0xFFF0 and then press unbind. Please note that the switch must be awake prior pressing the unbind button. Preferably, press the on button on the device and immediately followed by the unbing button in deconz GUI. Upon success, deconz GUI will show a success message.

grafik

Clone this wiki locally