Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blocks:zigbee [2019-12-19 09:04] mattias [Controller] |
blocks:zigbee [2023-07-18 11:06] (current) melvin [Using DeConz in Headless Mode] |
||
---|---|---|---|
Line 80: | Line 80: | ||
* An IKEA lamp can be reset by turning its power on/off rapidly six times in a row. It will then blink briefly to indicate it has been reset. | * An IKEA lamp can be reset by turning its power on/off rapidly six times in a row. It will then blink briefly to indicate it has been reset. | ||
- | * A Philips HUE light can be reset by pressing the ON and OFF button on a hue remote for about 15 seconds, as shown in [[https:// | + | * A Philips HUE light can be reset by pressing the ON and OFF button on a hue remote for about 15 seconds, as shown in [[https:// |
* Most plugs have a small button that can be used to manually turn the plug on and off. Keeping this button pressed for several seconds performs a reset. A flashing light on the plug indicates it's ready to be adopted into a new network. | * Most plugs have a small button that can be used to manually turn the plug on and off. Keeping this button pressed for several seconds performs a reset. A flashing light on the plug indicates it's ready to be adopted into a new network. | ||
:!: Even if the lamp is factory reset, you may still need to power it up while the search is running. If the above doesn' | :!: Even if the lamp is factory reset, you may still need to power it up while the search is running. If the above doesn' | ||
+ | |||
Give the lamp a meaningful name, which will later be used to program it from Blocks. | Give the lamp a meaningful name, which will later be used to program it from Blocks. | ||
Line 102: | Line 103: | ||
===== Installing the Blocks DeConz Driver ===== | ===== Installing the Blocks DeConz Driver ===== | ||
- | Download the DeConz driver from the [[https:// | + | Download the DeConz driver from the [[https:// |
- | If your server isn't set up to [[https:// | + | If your server isn't set up to [[blocks:drivers:troubleshooting# |
==== Configuring the DeConz Device ==== | ==== Configuring the DeConz Device ==== | ||
Line 187: | Line 188: | ||
===== Using DeConz in Headless Mode ===== | ===== Using DeConz in Headless Mode ===== | ||
- | While running the DeConz controller GUI, as described above, is useful for initial tests, a more robust way is to run it as a headless service. This can be accomplished by enabling the // | + | While running the DeConz controller GUI, as described above, is useful for initial tests, a more robust way is to run it as a headless service. This can be accomplished by enabling the // |
+ | |||
+ | Alternatively, | ||
+ | |||
+ | < | ||
+ | [Unit] | ||
+ | Description=deCONZ: | ||
+ | Wants=deconz-init.service deconz-update.service | ||
+ | After=default.target | ||
+ | |||
+ | [Service] | ||
+ | Environment=" | ||
+ | ExecStart=/ | ||
+ | Restart=on-failure | ||
+ | StartLimitIntervalSec=0 | ||
+ | RestartSec=30 | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=default.target | ||
+ | </ | ||
+ | |||
+ | Then start the service with the following terminal command under the pixi-server user: | ||
+ | < | ||
+ | systemctl --user enable --now deconz-gui | ||
+ | </ | ||
+ |