Post your best Lua script examples here

User avatar
By jankop
#8086
picstart wrote:Nice
The only issue could be the dependency on a remote web server to serve the images. This could be potentially done on the esp8266 by storing the images in lua files and sending them from the esp8266 directly.

Yes, but with the increasing demands on memory decreases the stability of the server. You know it. When you put your own picture, I have no problem. I like to look.
User avatar
By amera64
#8184 I have this code working but it doesn't seem to be reliable. I can get about 10 hits on the server and then it locks up or reboots the ESP8266. Anyone have any ideas why this would happen? I also noticed with every server request, the heap goes down and never recovers. I am using the latest version of nodeMCU.