/SonOffApp

Applucation Lua for SonOff

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

SonOff APP

Based on NodeMCU

sonoff

Build NodeMCU

Flash device

  • Wire your device (only USB to avoid frying)
    • Square is Vcc 3.3
    • RX
    • TX
    • GND
    • (GPIO14)

img

  • esptool.py write_flash -fm qio 0x00000 kernel.bin
  • Push button to enable flash mode when you connect USB plug until flash process starts.

Setup your environnement

(no friendly setup for now) conf.lua

Upload code

Via nodemcu-uploader.py or upload.sh

Mosquitto / Mqtt

Use private server or public server to manage device

Docs