Zigbee

From Eric

Revision as of 13:18, 19 June 2021 by Ejenn (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Install zigbee2mqtt

Configure the zigbee adapter

See https://www.zigbee2mqtt.io/information/flashing_the_cc2531.html

Install zigbee2mqtt

See https://www.zigbee2mqtt.io/


To mofidy the state of a device, refer to the zigbee2mqtt documentation for your device. For instance, for a 4-relay Tuya adapter:

 mosquitto_pub -t "zigbee2mqtt/relays/set" -m  '{"state_l1": "OFF"}'

start zigbee2mqtt automatically

See https://www.zigbee2mqtt.io/getting_started/running_zigbee2mqtt.html

 # Stopping Zigbee2MQTT
 sudo systemctl stop zigbee2mqtt
 # Starting Zigbee2MQTT
 sudo systemctl start zigbee2mqtt
 # View the log of Zigbee2MQTT
 sudo journalctl -u zigbee2mqtt.service -f
Personal tools