Left here for archival purposes.

User avatar
By Markus Gritsch
#6714 But there's nothing special about it, since file.read() is working.

Use my uploader_bin.py script (viewtopic.php?f=22&t=913#p5755) to transfer the .png from the attachment to the ESP, and the regular uploader.py to upload the srv.lua. The file.read() call in line 45 reads up to 1024 bytes per invocation.
Attachments
(1.19 KiB) Downloaded 277 times
User avatar
By alonewolfx2
#6720
Markus Gritsch wrote:But there's nothing special about it, since file.read() is working.

Use my uploader_bin.py script (viewtopic.php?f=22&t=913#p5755) to transfer the .png from the attachment to the ESP, and the regular uploader.py to upload the srv.lua. The file.read() call in line 45 reads up to 1024 bytes per invocation.

its working except on off button. its crashing when press on or off button.
Edit : its working now. i use file.format() and upload again.