My Sonoff Bridge Module is flashed with Sonoff-Tasmota 5.14.0 .
I received a sinal from a door sensor:
00:56:15 MQT: tele/sonoffRf/RESULT = {“RfReceived”:{“Sync”:13290,“Low”:470,“High”:1410,“Data”:“6EDC21”,“RfKey”:1}}
My configurations are not identifying it correctly:
binary_sensor:
- platform: mqtt
state_topic: “tele/sonoffRf/RESULT”
name: “Porta de entrada”
value_template: “{{ value_json.RfReceived.Data }}”
payload_on: ““6EDC21”
payload_off: “6EDC21off"
device_class: door
automations.yaml:
- id: ‘1529707635043’
alias: porta de entrada
trigger:- entity_id: binary_sensor.porta_de_entrada
from: ‘on’
platform: state
to: 00:05
condition: []
action: - data:
message: Door is open
service: tts.google_say
- entity_id: binary_sensor.porta_de_entrada
Automation works when I trigger it manually.
but when I open de door sensor nothing happens.