Skip to content

NodeMCU code to return temperature and humidity with a DH11/DH22 and expose a web endopoint

Notifications You must be signed in to change notification settings

lucacri/nodemcu-temperature-humidity-station

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeMCU Weather station

Expose your temperature and humidity levels on a web endpoint!

The NodeMCU needs a DH11/DH22 sensor in order to work. Once configured, browse to http://ip-of-node-mcu/weather to receive a json file like this:

{
    "temperature": 27.3,
    "humidity": 74.6
}

Using this with my other project homebridge-http-temperature-humidity to use it with HomeBridge

About

NodeMCU code to return temperature and humidity with a DH11/DH22 and expose a web endopoint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages