Code for a smart light built using an esp8266
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
317 B

nodemcu-tool reset
esptool.py erase_flash
esptool.py --port /dev/ttyUSB0 write_flash -fm qio 0x00000 firmware/nodemcu-release-16-modules-2021-10-09-22-33-53-float.bin
nodemcu-tool upload *.lua libs/*
while [[ $? != 0 ]]; do
nodemcu-tool upload *.lua libs/*
done
echo 'dofile("init.lua")' | nodemcu-tool terminal