-->
Page 2 of 3

Re: Webserver not working after updating Arduino IDE and ESP

PostPosted: Wed Aug 19, 2020 9:33 am
by AcmeUK
I am puzzled about what I have done top break this

You changed too many things at the same time!
Go back to your original working configuration. Test that it still works, then implement each update one at a time and prove that all still works after each change.

Slowly slowly catchy monkey!

Re: Webserver not working after updating Arduino IDE and ESP

PostPosted: Thu Aug 20, 2020 8:28 am
by mrlightsman
So the code I’ve posted is identical to the working code, except for the changes to Json. I’m not sure why that would be breaking the webserver. Any thoughts would be appreciated.

The json changes include a couple of #ifdef Json Major Version statements. You will see them in the savejson and readjson routines. The setPowerState routine has it also.

So confused...

Re: Webserver not working after updating Arduino IDE and ESP

PostPosted: Thu Aug 20, 2020 11:39 am
by Sirquil
May need to use LittleFS.h instead of SPIFFS.h.

Believe SPIFFS is depreciated in ESP8266 latest Core.

William

Re: Webserver not working after updating Arduino IDE and ESP

PostPosted: Thu Aug 20, 2020 8:21 pm
by mrlightsman
William,
I’ll give that a try and let you know. It will be a few days. I may have questions. Thanks.