|
本帖最后由 sorrypqa 于 2023-6-6 21:14 编辑
小白一个,一直不会玩Tasmota,因为Tasmota里的传感器无法在HA里自动发现,不懂如何手动配置。
买了个Sonoff Zigbee Bridge Pro,刷了Tasmota zbbridge Pro固件并配对了2个Zigbee的红外运动传感器,MQTT消息如图2,请教论坛里的大神,configuration.yaml如何写才能把这2个红外运动传感器接入HA?完美解决30元支付宝红包奖励!谢谢!
2个人体运动传感器:
有人移动和无人移动的Occupancy数值变化:
14:41 收到关于 tele/tasmota_C2E8B0/SENSOR 的消息[ 1 ]
{
"ZbReceived": {
"SNZB03_Z01": {
"Device": "0x5A3B",
"Name": "SNZB03_Z01",
"0500?00": "000000010000",
"ZoneStatusChange": 0,
"ZoneStatusChangeZone": 1,
"Occupancy": 0,
"Endpoint": 1,
"LinkQuality": 167
}
}
}
QoS: 0 - Retain: false
14:40 收到关于 tele/tasmota_C2E8B0/SENSOR 的消息[ 0 ]
{
"ZbReceived": {
"SNZB03_Z01": {
"Device": "0x5A3B",
"Name": "SNZB03_Z01",
"0500?00": "010000010000",
"ZoneStatusChange": 1,
"ZoneStatusChangeZone": 1,
"Occupancy": 1,
"Endpoint": 1,
"LinkQuality": 134
}
}
}
|
|