From 16c8e752d3a9a5a7af3b0b661e7fbcb63c9148e4 Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 28 May 2024 20:59:59 +0800 Subject: [PATCH] update zigbee2mqtt --- zigbee2mqtt/README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/zigbee2mqtt/README.md b/zigbee2mqtt/README.md index 00e79c9..ab6a29b 100644 --- a/zigbee2mqtt/README.md +++ b/zigbee2mqtt/README.md @@ -71,5 +71,16 @@ $ mosquitto_sub -h broker.hivemq.com -u username -P password -t 'zigbee2mqtt/+' > :warning: PLEASE DO NOT USE FOR PRODUCTION! -[1]: https://github.com/Koenkk/zigbee2mqtt -[2]: https://zigbee.blakadder.com/Sonoff_ZBDongle-P.html +## Pro Tip for Tasmota + +To bind button to switch [read more][3] + +``` +Rule1 + ON mqtt#connected DO Subscribe btn, zigbee2mqtt/0xaaaaaaaaaaaaaaaa, action ENDON + ON Event#btn=single DO Publish zigbee2mqtt/0xbbbbbbbbbbbbbbbb/set {"state":"TOGGLE"} ENDON +``` + +[1]: +[2]: +[3]: