Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 539 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 539 Bytes

ESP8266 based Temperature and Humidity sensor with MQTT and DHT22

The default configuration uses the chip id as the MQTT channel.

Example configuration for Home Assistant:

sensor:
  - platform: mqtt
    state_topic: "esp/46812306"
    name: "Room temperature"
    unit_of_measurement: "°C"
    value_template: '{{ value_json.temperature }}'

  - platform: mqtt
    state_topic: "esp/46812306"
    name: "Room humidity"
    unit_of_measurement: "%"
    value_template: '{{ value_json.humidity }}'