Мар 252021
 
binary_sensor:
# IR Recive Tasmota
# {"Time":"2021-03-25T11:36:52","IrReceived":{"Protocol":"UNKNOWN","Bits":19,"Hash":"0x07F1288A"}}
# tele/ESP32SSD1306/RESULT
  - platform: mqtt
    name: "Tasmota_IR_Test"
    state_topic: "tele/ESP32SSD1306/RESULT"
    value_template: "{{ value_json['IrReceived'].Hash }}"
    payload_on: "0x07F1288A"
    payload_off: "0xBB565681"
    availability_topic: "tele/ESP32SSD1306/LWT"
    payload_available: "Online"
    payload_not_available: "Offline"
    qos: 0
    device_class: door

Example Rules for Tasmota IRrecv:
rule
ON IrReceived#Data=0x00FF30CF DO power1 toggle ENDON
ON IrReceived#Data=0x00FF18E7 DO power2 toggle ENDON
ON IrReceived#Data=0x00FF7A85 DO power3 toggle ENDON
ON IrReceived#Data=0x00FF10EF DO power4 toggle ENDON

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

*