@davidtja wrote:
I am just trying to get started with MQTT using an an RFBridge and followed this video “Sonoff RF Bridge Easy Setup with Tasmota Rules and the trigBoard”.
I set up the water sensor (single trigger) without a problem.
But the open/closed sensor does not work despite the fact the Tasmota console appears to give me back the correct results as below:00:15:43 MQT: RFBridge/sensor1 = closed (retained)
00:15:50 MQT: tele/RFBridge/RESULT = {“Time”:“1970-01-01T00:15:50”,“RfReceived”:{“Sync”:13900,“Low”:460,“High”:1350,“Data”:“30190A”,“RfKey”:“None”}}
00:15:50 RUL: RFRECEIVED#DATA=30190A performs “publish2 RFBridge/Sensor1 Open”
00:15:50 MQT: RFBridge/Sensor1 = Open (retained)I input the following into the console to create this:
rule1 on rfreceived#Data=30190A do publish2 RFBridge/Sensor1 Open endon on rfreceived#Data=30190E do publish2 RFBridge/sensor1 closed endon
My YAML entry is this:
- platform: mqtt
- name: “Freezer Door”*
- state_topic: “RFBridge/sensor1”*
- availability_topic: “RFBridge/tele/LWT”*
- qos: 1*
- payload_on: “Open”*
- payload_off: “Closed”*
- payload_available: “Online”*
- payload_not_available: “Offline”*
- device_class: door*
The entity only shows a state of Closed.
Any advice appreciated
Posts: 7
Participants: 3