Skip to content

ESP8266 based Temperature and Humidity sensor with MQTT and DHT22

Notifications You must be signed in to change notification settings

vrnagy/esp8266-dht22-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 }}'

About

ESP8266 based Temperature and Humidity sensor with MQTT and DHT22

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages