Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By JoachimPetersen
#61634 Hello, I am using ESP8266 Arduino IDE.

I have a problem with sending a larger website as the interface (around 100000 characters), how would I be able to send this via server.send? is there any code example with larger website code being passed to server.send?

Thank you in advance.
User avatar
By JoachimPetersen
#61717 Is it possible to store it in strings or should you write it to a .bin file somewhere on the esp(flash storage) and then serve the data from there, if so, how would this be done, through Arduino IDE?
I can't seem to find any examples serving larges websites, using Arduino IDE.
User avatar
By GengusKahn
#62339 Hi there, the solution I have used is to use the WiFiClient to send the larger portions of data, if you look to the bottom of the sketch in the link you will find a modified "Drawgraph" from the examples menu.

This is using an Arduino as an ADC Slave for the MQ sensor data provided on the page......

https://github.com/EnvironmentMonitor/Air_Quality_Sensor/blob/master/Air_Quality_Server.ino

This can be viewed here....
http://sensor.downtrodden.co.uk/