Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 585 Bytes

File metadata and controls

17 lines (12 loc) · 585 Bytes

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.