Skip to content

Micropython based IOT platform for open source devices based on esp8266 / esp32

Notifications You must be signed in to change notification settings

v222008/iot-platform

 
 

Repository files navigation

Internet Of Things Platform

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.


NOTE: Currently project is in development stage, this is not even Alpha version.


P.S. documentation writing in progress... :)

Supported devices

  1. Open Source Neopixel ESP8266 based controller
  2. Open Source In-Wall 2SSR Switch
  3. (Magic LED controller coming soon)
  4. (ESP8266 Weather Station coming soon)

Ubuntu

Build

  1. Install required packages
$ sudo apt-get update
$ sudo apt-get install -y docker.io git python3 python3-yaml esptool
  1. Clone project (be sure to use --recursive):
$ git clone --recursive https://github.com/belyalov/iot-platform.git
  1. Enter into project
$ cd iot-platform/
  1. 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
  1. 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!

Flash firmware

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

About

Micropython based IOT platform for open source devices based on esp8266 / esp32

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%