As the title says... Chat on...

User avatar
By Jiri
#5337 Just want to share my experience about the response time in ELUA webserver. I found out the response is quicker when I use in write commands the pin number directly and not as a variable in which the pin number is stored. Not so nice for the code readability, but quicker is quicker...
After I had a webserver with two push buttons and a LED reacting nearly immediatelly, I wanted to animate the buttons to see the status. First I used a new variable for the status information. The reaction time became unacceptable (few seconds). So I connected the output to an input and animate with the input status. When it is working, it is fast, unfortunatelly quite unstable because of memory limits. Hope it will get better one day.
User avatar
By RogerClark
#5558 Can you post your code?

Fortunately Lua for esp8266 is now open source (though compiling seems problematic), so if there are bugs which cause the issues you describe, it should be possible to fix them.

But you'd need to post your script for people to test with