ESP-LUA-Local Webserver
Posted: Wed Nov 09, 2016 11:52 am
Hey,
I´m looking for some advice hopefully someone can guide me. In the last weeks I tried a lot with my ESP to get some things work but at some point things got stucked. My ESP is connected to a sensor but it´s a bit different from the DHT-22 which people often use to figure out how LUA or this module works. This sensor clocks out 1024 values (floats) and I like to store them into a string or file and send them to a local webserver and then to database. I installed the Apache server and everything works fine as long I´m not using POST or I´m trying to send the whole data string with 1024 float values. I also noticed that i can´t loop requests more than five times and that the ESP is running out of spiffs very fast (I do things basically wrong). First I like to know if there is a appropriate LUA-module or a philosophy for this purpose. I need an idea or advice for further researches. I´m not looking for examples or a code primarly but for guidance.
best regards
Sille
I´m looking for some advice hopefully someone can guide me. In the last weeks I tried a lot with my ESP to get some things work but at some point things got stucked. My ESP is connected to a sensor but it´s a bit different from the DHT-22 which people often use to figure out how LUA or this module works. This sensor clocks out 1024 values (floats) and I like to store them into a string or file and send them to a local webserver and then to database. I installed the Apache server and everything works fine as long I´m not using POST or I´m trying to send the whole data string with 1024 float values. I also noticed that i can´t loop requests more than five times and that the ESP is running out of spiffs very fast (I do things basically wrong). First I like to know if there is a appropriate LUA-module or a philosophy for this purpose. I need an idea or advice for further researches. I´m not looking for examples or a code primarly but for guidance.
best regards
Sille