poszu / blynk-sonoff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MicroPython integrated with Blynk.io for ESP8266

Useful links:

  1. MicroPython official site
  2. MicroPython port for ESP8266
  3. Blynk.io
  4. AmPy

Prerequisites

  1. Environment setup for building MicroPython firmware (follow these instructions prepare it).
  2. Ampy installed (required only for easier upload of *.py files onto the board)

Build & run steps

  1. git submodule update --init --recursive to fetch submodules
  2. make micropython to build MicroPython firmware with frozen Blynk libraries
  3. make flash [ESPTOOL_ARGS=] [FLASH_ARGS=] to flash MicroPython firmware onto the board
  4. Fill auth.py with Blynk token and you WiFi credentials
  5. make deploy-libs to upload main.py and auth.py onto FS of your board
  6. Reboot your board. It should connect to Blynk which you should see in the app.

About

License:MIT License


Languages

Language:Python 83.0%Language:Makefile 17.0%