Home Assistant Temp Sensor with LilyGo TTGO Lora32 433Mhz and OpenMQTTGateway

Home Assistant Mosquitto MQTT Broker Setup with MQTT Explorer: https://youtu.be/vZLvEwwpPkU

LILYGO LoRa32 433Mhz ESP32 Development Board OLED 0.96 Inch SD Card BLE WiFi TTGO Paxcounter Module (Amazon Affiliate)
US: https://amzn.to/3PZsTgj

LILYGO® TTGO LoRa32 V2.1_1.6 Version 433/868/915Mhz ESP32 LoRa OLED 0.96 Inch SD Card Bluetooth WIFI Wireless Module ESP-32 SMA (AliExpress Affiliate)
Worldwide: https://s.click.aliexpress.com/e/_Dnsj8jx

Wireless Outdoor Sensor Indoor Transmitter Temperature Humidity Meter Hygrometer Thermometer for FanJu Weather Station (AliExpress Affiliate)
Worldwide: https://s.click.aliexpress.com/e/_DEAIEx7

Digital Temperature Humidity Meter Wireless Sensor Hygrometer Electronic 433.92MHz Thermometer Used for FanJu Weather Station (Amazon Affiliate)
US: https://amzn.to/3Y5hQEr

Lilygo TTGO LoRa32 case (3D Model): https://www.thingiverse.com/thing:4968098

Playlist: https://youtube.com/playlist?list=PLErU2HjQZ_ZNl8X6P0wAM33bnhd7m2PM6

Add Include to configuration.yaml
mqtt: !include mqtt.yaml
mqtt.yaml Configuration
sensor:
  - name: "Temp Sensor"
    state_topic: "home/OpenMQTTGateway_lilygo_rtl_433_ESP/RTL_433toMQTT/Nexus-TH/1/15"
    icon: mdi:thermometer
    unit_of_measurement: '°C'
    force_update: true
    value_template: "{{ '%0.1f'|format(value_json.temperature_C) }}"
    unique_id: "temp_sensor"
    device_class: temperature
    state_class: measurement
    
  - name: "Humidity Sensor"
    state_topic: "home/OpenMQTTGateway_lilygo_rtl_433_ESP/RTL_433toMQTT/Nexus-TH/1/+"
    icon: mdi:water-percent
    unit_of_measurement: '%'
    force_update: true
    value_template: "{{ value_json.humidity }}"
    unique_id: "humidity_sensor"
    device_class: humidity
    state_class: measurement

Leave a comment

Your email address will not be published. Required fields are marked *