Micropython based IOT platform is a set of useful tools and utilities to build open source firmware for various devices like LED strip controllers / wall switches / temperature and humidity sensors.
P.S. documentation writing in progress... :)
- Open Source Neopixel ESP8266 based controller
- Open Source In-Wall 2SSR Switch
- (Magic LED controller coming soon)
- (ESP8266 Weather Station coming soon)
- Install required packages
$ sudo apt-get update
$ sudo apt-get install -y docker.io git python3 python3-yaml esptool
- Clone project (be sure to use
--recursive
):
$ git clone --recursive https://github.com/belyalov/iot-platform.git
- Enter into project
$ cd iot-platform/
- Add yourself to docker group (you don't want to run it from
root
, likely)
# Add current user to "docker" group
sudo usermod -a -G docker $USER
# You've been added to group, but, you current session will not be updated
# So you need to relogin / open new session, like:
su - $USER
- Build desired device! :)
# ./build.py build <device folder>
# Open Source Neopixel Controller
$ ./build.py build devices/open_neopixel_controller/
# Open Source In-Wall SSR Switch
$ ./build.py build devices/open_wifi_switch/
Firmware is ready!
To flash your device with compiled firmware:
# Open Source Neopixel
$ esptool --port <UART PORT> --baud 460800 write_flash -fm dout 0 ./_build_neopixel/open_neopixel_controller.bin
# Open Source In-Wall switch
$ esptool --port <UART PORT> --baud 460800 write_flash -fm dout 0 ./_build_wifi_switch/open_wifi_switch.bin