Hello all,
I am currently using ArduinoJSON to fetch a json file from a URL, parse it and display parsed values on the serial monitor - on an ESP32.
The problem I am facing with this is that the code locks up after running flawlessly for a few hours.
From reading a few posts on here, it seems it is expected behavior since it is very resource intensive.
Can somebody please help me with a code snippet in which I can use the jRead library by @TonyWilk ?
This link can be used to test fetching a JSON file from a URL: http://date.jsontest.com/
I know @WPD64 has done something like this before.
If it is a true example then the data is very simple and should really not cause lock-up issues on an ESP32.
I read data like the below JSON on an ESP32 over LoRa, deserialize it, add extra fields like RSSI etc, serialize it and send over MQTT as a JSON string. Up until a couple of days ago where a power cut during a storm reset the ESP32 it had been running for about 8 months without issue