ZigBee
ZigBee integration for Home Assistant allows you to utilize modules such as the XBee as wireless General Purpose Input/Output (GPIO) devices. The component requires a local ZigBee device to be connected to a serial port. Through this it will send and receive commands to and from other devices on the ZigBee mesh network.
There is currently support for the following device types within Home Assistant:
- Binary Sensor (digital input pins)
- Sensor (analog input pins and temperature sensor)
- Light (digital output pins)
- Switch (digital output pins)
The local ZigBee device (assuming XBee) must have an up to date Router or Coordinator API firmware installed.
A zigbee
section must be present in the configuration.yaml
file and contain the following options as required:
# Example configuration.yaml entry
zigbee:
- device (Optional): The serial port to which the local ZigBee device is connected. Defaults to
/dev/ttyUSB0
- baud (Optional): The baud rate at which to communicate with the local ZigBee device. Defaults to
9600
To find the possible serial port names of your device, run:
$ ls /dev/ttyUSB*
The port may also appear as /dev/ttyACM* if you’re communicating with the ZigBee device through an Arduino.
Example
# Example configuration.yaml entry
zigbee:
device: /dev/ttyACM1
baud: 115200