Relay controller on base of ESP8266 written using MicroPython. In our case we use it to control magnet lock on door in our office. It has simple http server to serve web interface with button for opening the relay. And also supports push switch.
-
Firs of all you need a board with an ESP8266 chip (we was using NodeMCU DEVKIT on base of ESP-12 module)
-
Get the MicroPython (Downloads)
-
Install python requirements
pip install -r requirements.txt
-
Deploy MicroPython on your board. You can do it using
esp_erase.sh
script (or you can find detailed instructions here). Run it like this:sh esp_erase.sh [path_to_micropython_binary]
-
Specify
SSID
andPASSWORD
inesp/data/conf.py
-
Upload files from
esp
folder to ESP board. It can be done usingesp_pus.sh
script. Just runsh esp_push.sh
-
Reset the board
- German Gensetskiy - GoWombarTeam
This project is licensed under the MIT License - see the LICENSE.md file for details