hry625 / switch

NodeMCU based switch controller server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

switch

This project consists of these 3 parts:

  1. The server provides a web interface for displaying humidity and temperature, and controlling state (on/off) of the relay.
  2. NodeMCU reads humidity and temperature values from DHT11 and send them to server.
  3. After receiving a message i.e. humidity and temperature, the server send back state for controlling the relay.

Demo

https://www.youtube.com/watch?v=SvSSZJUTwFQ

Installation note

  • dht_lib.lua is needed to be installed to NodeMCU. dht_lib.lua can be found in nodemcu_firmware repository.

About

NodeMCU based switch controller server

License:BSD 2-Clause "Simplified" License


Languages

Language:JavaScript 40.9%Language:Lua 30.5%Language:HTML 28.6%