The use of the ESP8266 in the world of IoT

User avatar
By AcmeUK
#88379
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!
User avatar
By mrlightsman
#88402 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...