6. Adding Zigbee Devices¶
Make sure the Zigbee module is up and running before you continue reading this chapter.
6.1. Pair a device using the CLI¶
Before you start, make sure the device to pair is factory reset if it has been used before.
Start the CLI by executing:
Switch to the Zigbee family:
families select 26
Enable the pairing mode in Homegear:
Enable pairing mode on the device. See the device’s documentation on how to do that. Typically it’s a press on a button of the device.
After a few seconds
lsshould show the device. Please wait some more seconds until the device is fully queried and configured. Battery devices might go to sleep before the whole process is finished, you may have to keep them awake by pressing the button on the device several seconds apart.
You can also pair a device by using the command:
homegear -e rc '$hg->setInstallMode(26, true, 60);'