Activate the bath fan if humidity high. Small responsive Webinterface to check humidity, temperature, activate the fan, get json output for historical data.
ESP8266, Aosong AM2302
http://nodemcu-build.com/ Modules: DHT, file, GPIO, net, node, RTC time, timer, WiFi
- /config/70/10 set the humidity limits
- /wlan/SSID/password set wlan config for the home wlan
- /command/fan/on start the fan
- /command/fan/off stop the fan
- /json data in json format
{
"humidity": 62.3,
"temperature": 24.5,
"sensorState": "ready",
"uptime": 28293,
"treshold": 60,
"hysteresis": 10,
"fanActive": true,
"heap": 16000
}