Tasmota IR Sensor

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

ESP32 with SSD1306 and Tasmota

На Заметку: 

  • DisplaySize 1
  • DisplayRows 8
  • DisplayCols 21

backlog displaysize 1; displayrows 8; displaycols 21

Послать текст на экран:

mosquitto_pub -h localhost -u xxx -P xxx -m “DisplayText MQTT” -t “cmnd/ESP32SSD1306/BackLog”

ESP32 с SSD1306 – Если не работает DisplayText – то нужно с начало дать команду

DisplayText [D1]

Выводим температуру ESP32 на экран.

rule1 on tele-ESP32#Temperature do DisplayText [l5c5]Temp: %value% C endon

Передать команду на другое устройство.

publish cmnd/ESP32_SSD1306/DisplayText 123