Built out this project to monitor bathroom occupancy because I got tired of walking across the entire office to realize there's someone already in there.
It's a simple two file NodeMCU setup.
- Get the NodeMCU Flasher
- Flash your ESP8266.
- Clone the repo
- Edit 'init.lua' file and input the SSID & password for your wifi.
- Set a static IP address
- Upload the two files ('init.lua' and 'main.lua') to your ESP8266 (I like to use ESPlorer)
- Poop to your hearts content.
Average Daily Page Hits: ~500-700
Will be making updates accordingly.