How to flash Sonoff device with nodeMCU and upload LUA scripts which can be used in variety of ways including pairing Sonoff device with home automation/smart home solution like AKHomeAutomation
1:30 presentation of working Sonoff TH01 with uplaoded LUA script
6:00 Reflashing step by step - what is needed
9:15 Reflashing step by step - connecting cables to Sonoff pins
12:00 Reflashing step by step - connecting cables to UART pins
14:00 Reflashing step by step - what tools/software is needed for reflashing
17:40 Reflashing step by step - put Sonoff into flash mode
18:45 Reflashing step by step - flash Sonoff with esptool and nodeMCU build
21:20 Describe purpose of init.lua and handler.lua scripts
24:50 Upload lua scripts using luatool.py
Repository with lua scripts and instructions: https://github.com/Sznapsollo/AK_Sono...
Direct link to instructions: https://github.com/Sznapsollo/AK_Sono...
Link to AKHomeAUtomation: https://github.com/Sznapsollo/AKHomeA...