From 5cfaa1451e13b090e9d13b18e580a6fff7bdef7e Mon Sep 17 00:00:00 2001 From: kev Date: Fri, 5 Jan 2024 18:46:39 +0800 Subject: [PATCH] update zigbee2mqtt --- zigbee2mqtt/README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/zigbee2mqtt/README.md b/zigbee2mqtt/README.md index 6cc47d6..0d3ea51 100644 --- a/zigbee2mqtt/README.md +++ b/zigbee2mqtt/README.md @@ -44,5 +44,30 @@ $ tree $ curl 127.0.0.1:8080 ``` +## Example Config + +```yaml +permit_join: false +homeassistant: false +frontend: true +mqtt: + base_topic: zigbee2mqtt + server: mqtts://broker.hivemq.com:8883 + ca: /etc/ssl/cert.pem + #user: '!secret.yaml user' + #password: '!secret.yaml password' +serial: + port: /dev/ttyACM0 +availability: true +``` + +## MQTT Testing + +```bash +$ mosquitto_sub -h broker.hivemq.com -u username -P password -t 'zigbee2mqtt/+' -R -F '%I\t%t\t%p' +``` + +> :warning: PLEASE DO NOT USE FOR PRODUCTION! + [1]: https://github.com/Koenkk/zigbee2mqtt [2]: https://zigbee.blakadder.com/Sonoff_ZBDongle-P.html