Little help with JSON
Posted: Mon Mar 07, 2016 12:26 am
I have 8 outlets I would like 8 timers for basically in JSON ...
I am trying to setup a timer json file but dunno if this would be correct in format or the best way to approach it.
Is there a header I need to use?
Can you have more than one object in a file?
Is it possible to check each object and pull the legit data and compare it with the current time?
There has to be a way to do this which will interface with the esp.
Somehow it should be possible to do and make compact enough to work. And allow a user to add timers remove timers and update timers I imagine this is not an impossible dream even if a web server has to handle some of the work.
I am trying to setup a timer json file but dunno if this would be correct in format or the best way to approach it.
Code: Select all
{"Outlet1":[
{"Day":"Monday","Timer1":"5:00", "Position":"Off"},
{"Day":"Monday","Timer2":"5:00", "Position":"Off"},
{"Day":"Monday","Timer3":"5:00", "Position":"Off"},
{"Day":"Monday","Timer4":"5:00", "Position":"Off"},
{"Day":"Monday","Timer5":"5:00", "Position":"Off"},
{"Day":"Monday","Timer6":"5:00", "Position":"Off"},
{"Day":"Monday","Timer7":"5:00", "Position":"Off"},
{"Day":"Monday","Timer8":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer1":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer2":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer3":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer4":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer5":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer6":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer7":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer8":"5:00", "Position":"Off"},
{"Day":"Friday","Timer1":"5:00", "Position":"Off"},
{"Day":"Friday","Timer2":"5:00", "Position":"Off"},
{"Day":"Friday","Timer3":"5:00", "Position":"Off"},
{"Day":"Friday","Timer4":"5:00", "Position":"Off"},
{"Day":"Friday","Timer5":"5:00", "Position":"Off"},
{"Day":"Friday","Timer6":"5:00", "Position":"Off"},
{"Day":"Friday","Timer7":"5:00", "Position":"Off"},
{"Day":"Friday","Timer8":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer1":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer2":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer3":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer4":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer5":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer6":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer7":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer8":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer1":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer2":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer3":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer4":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer5":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer6":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer7":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer8":"5:00", "Position":"Off"},
]}
{"Outlet2":[
{"Day":"Monday","Timer1":"5:00", "Position":"Off"},
{"Day":"Monday","Timer2":"5:00", "Position":"Off"},
{"Day":"Monday","Timer3":"5:00", "Position":"Off"},
{"Day":"Monday","Timer4":"5:00", "Position":"Off"},
{"Day":"Monday","Timer5":"5:00", "Position":"Off"},
{"Day":"Monday","Timer6":"5:00", "Position":"Off"},
{"Day":"Monday","Timer7":"5:00", "Position":"Off"},
{"Day":"Monday","Timer8":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer1":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer2":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer3":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer4":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer5":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer6":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer7":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer8":"5:00", "Position":"Off"},
{"Day":"Friday","Timer1":"5:00", "Position":"Off"},
{"Day":"Friday","Timer2":"5:00", "Position":"Off"},
{"Day":"Friday","Timer3":"5:00", "Position":"Off"},
{"Day":"Friday","Timer4":"5:00", "Position":"Off"},
{"Day":"Friday","Timer5":"5:00", "Position":"Off"},
{"Day":"Friday","Timer6":"5:00", "Position":"Off"},
{"Day":"Friday","Timer7":"5:00", "Position":"Off"},
{"Day":"Friday","Timer8":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer1":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer2":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer3":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer4":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer5":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer6":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer7":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer8":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer1":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer2":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer3":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer4":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer5":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer6":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer7":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer8":"5:00", "Position":"Off"},
]}
{"Outlet3":[
{"Day":"Monday","Timer1":"5:00", "Position":"Off"},
{"Day":"Monday","Timer2":"5:00", "Position":"Off"},
{"Day":"Monday","Timer3":"5:00", "Position":"Off"},
{"Day":"Monday","Timer4":"5:00", "Position":"Off"},
{"Day":"Monday","Timer5":"5:00", "Position":"Off"},
{"Day":"Monday","Timer6":"5:00", "Position":"Off"},
{"Day":"Monday","Timer7":"5:00", "Position":"Off"},
{"Day":"Monday","Timer8":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer1":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer2":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer3":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer4":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer5":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer6":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer7":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer8":"5:00", "Position":"Off"},
{"Day":"Friday","Timer1":"5:00", "Position":"Off"},
{"Day":"Friday","Timer2":"5:00", "Position":"Off"},
{"Day":"Friday","Timer3":"5:00", "Position":"Off"},
{"Day":"Friday","Timer4":"5:00", "Position":"Off"},
{"Day":"Friday","Timer5":"5:00", "Position":"Off"},
{"Day":"Friday","Timer6":"5:00", "Position":"Off"},
{"Day":"Friday","Timer7":"5:00", "Position":"Off"},
{"Day":"Friday","Timer8":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer1":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer2":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer3":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer4":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer5":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer6":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer7":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer8":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer1":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer2":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer3":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer4":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer5":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer6":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer7":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer8":"5:00", "Position":"Off"},
]}
{"Outlet4":[
{"Day":"Monday","Timer1":"5:00", "Position":"Off"},
{"Day":"Monday","Timer2":"5:00", "Position":"Off"},
{"Day":"Monday","Timer3":"5:00", "Position":"Off"},
{"Day":"Monday","Timer4":"5:00", "Position":"Off"},
{"Day":"Monday","Timer5":"5:00", "Position":"Off"},
{"Day":"Monday","Timer6":"5:00", "Position":"Off"},
{"Day":"Monday","Timer7":"5:00", "Position":"Off"},
{"Day":"Monday","Timer8":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer1":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer2":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer3":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer4":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer5":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer6":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer7":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer8":"5:00", "Position":"Off"},
{"Day":"Friday","Timer1":"5:00", "Position":"Off"},
{"Day":"Friday","Timer2":"5:00", "Position":"Off"},
{"Day":"Friday","Timer3":"5:00", "Position":"Off"},
{"Day":"Friday","Timer4":"5:00", "Position":"Off"},
{"Day":"Friday","Timer5":"5:00", "Position":"Off"},
{"Day":"Friday","Timer6":"5:00", "Position":"Off"},
{"Day":"Friday","Timer7":"5:00", "Position":"Off"},
{"Day":"Friday","Timer8":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer1":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer2":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer3":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer4":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer5":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer6":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer7":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer8":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer1":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer2":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer3":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer4":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer5":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer6":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer7":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer8":"5:00", "Position":"Off"},
]}
{"Outlet5":[
{"Day":"Monday","Timer1":"5:00", "Position":"Off"},
{"Day":"Monday","Timer2":"5:00", "Position":"Off"},
{"Day":"Monday","Timer3":"5:00", "Position":"Off"},
{"Day":"Monday","Timer4":"5:00", "Position":"Off"},
{"Day":"Monday","Timer5":"5:00", "Position":"Off"},
{"Day":"Monday","Timer6":"5:00", "Position":"Off"},
{"Day":"Monday","Timer7":"5:00", "Position":"Off"},
{"Day":"Monday","Timer8":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer1":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer2":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer3":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer4":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer5":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer6":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer7":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer8":"5:00", "Position":"Off"},
{"Day":"Friday","Timer1":"5:00", "Position":"Off"},
{"Day":"Friday","Timer2":"5:00", "Position":"Off"},
{"Day":"Friday","Timer3":"5:00", "Position":"Off"},
{"Day":"Friday","Timer4":"5:00", "Position":"Off"},
{"Day":"Friday","Timer5":"5:00", "Position":"Off"},
{"Day":"Friday","Timer6":"5:00", "Position":"Off"},
{"Day":"Friday","Timer7":"5:00", "Position":"Off"},
{"Day":"Friday","Timer8":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer1":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer2":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer3":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer4":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer5":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer6":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer7":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer8":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer1":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer2":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer3":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer4":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer5":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer6":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer7":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer8":"5:00", "Position":"Off"},
]}
{"Outlet6":[
{"Day":"Monday","Timer1":"5:00", "Position":"Off"},
{"Day":"Monday","Timer2":"5:00", "Position":"Off"},
{"Day":"Monday","Timer3":"5:00", "Position":"Off"},
{"Day":"Monday","Timer4":"5:00", "Position":"Off"},
{"Day":"Monday","Timer5":"5:00", "Position":"Off"},
{"Day":"Monday","Timer6":"5:00", "Position":"Off"},
{"Day":"Monday","Timer7":"5:00", "Position":"Off"},
{"Day":"Monday","Timer8":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer1":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer2":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer3":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer4":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer5":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer6":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer7":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer8":"5:00", "Position":"Off"},
{"Day":"Friday","Timer1":"5:00", "Position":"Off"},
{"Day":"Friday","Timer2":"5:00", "Position":"Off"},
{"Day":"Friday","Timer3":"5:00", "Position":"Off"},
{"Day":"Friday","Timer4":"5:00", "Position":"Off"},
{"Day":"Friday","Timer5":"5:00", "Position":"Off"},
{"Day":"Friday","Timer6":"5:00", "Position":"Off"},
{"Day":"Friday","Timer7":"5:00", "Position":"Off"},
{"Day":"Friday","Timer8":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer1":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer2":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer3":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer4":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer5":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer6":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer7":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer8":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer1":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer2":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer3":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer4":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer5":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer6":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer7":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer8":"5:00", "Position":"Off"},
]}
{"Outlet7":[
{"Day":"Monday","Timer1":"5:00", "Position":"Off"},
{"Day":"Monday","Timer2":"5:00", "Position":"Off"},
{"Day":"Monday","Timer3":"5:00", "Position":"Off"},
{"Day":"Monday","Timer4":"5:00", "Position":"Off"},
{"Day":"Monday","Timer5":"5:00", "Position":"Off"},
{"Day":"Monday","Timer6":"5:00", "Position":"Off"},
{"Day":"Monday","Timer7":"5:00", "Position":"Off"},
{"Day":"Monday","Timer8":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer1":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer2":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer3":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer4":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer5":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer6":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer7":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer8":"5:00", "Position":"Off"},
{"Day":"Friday","Timer1":"5:00", "Position":"Off"},
{"Day":"Friday","Timer2":"5:00", "Position":"Off"},
{"Day":"Friday","Timer3":"5:00", "Position":"Off"},
{"Day":"Friday","Timer4":"5:00", "Position":"Off"},
{"Day":"Friday","Timer5":"5:00", "Position":"Off"},
{"Day":"Friday","Timer6":"5:00", "Position":"Off"},
{"Day":"Friday","Timer7":"5:00", "Position":"Off"},
{"Day":"Friday","Timer8":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer1":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer2":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer3":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer4":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer5":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer6":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer7":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer8":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer1":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer2":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer3":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer4":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer5":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer6":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer7":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer8":"5:00", "Position":"Off"},
]}
{"Outlet8":[
{"Day":"Monday","Timer1":"5:00", "Position":"Off"},
{"Day":"Monday","Timer2":"5:00", "Position":"Off"},
{"Day":"Monday","Timer3":"5:00", "Position":"Off"},
{"Day":"Monday","Timer4":"5:00", "Position":"Off"},
{"Day":"Monday","Timer5":"5:00", "Position":"Off"},
{"Day":"Monday","Timer6":"5:00", "Position":"Off"},
{"Day":"Monday","Timer7":"5:00", "Position":"Off"},
{"Day":"Monday","Timer8":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Tuesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer1":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer2":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer3":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer4":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer5":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer6":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer7":"5:00", "Position":"Off"},
{"Day":"Wednesday","Timer8":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer1":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer2":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer3":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer4":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer5":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer6":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer7":"5:00", "Position":"Off"},
{"Day":"Thursday","Timer8":"5:00", "Position":"Off"},
{"Day":"Friday","Timer1":"5:00", "Position":"Off"},
{"Day":"Friday","Timer2":"5:00", "Position":"Off"},
{"Day":"Friday","Timer3":"5:00", "Position":"Off"},
{"Day":"Friday","Timer4":"5:00", "Position":"Off"},
{"Day":"Friday","Timer5":"5:00", "Position":"Off"},
{"Day":"Friday","Timer6":"5:00", "Position":"Off"},
{"Day":"Friday","Timer7":"5:00", "Position":"Off"},
{"Day":"Friday","Timer8":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer1":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer2":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer3":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer4":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer5":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer6":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer7":"5:00", "Position":"Off"},
{"Day":"Saturday","Timer8":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer1":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer2":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer3":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer4":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer5":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer6":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer7":"5:00", "Position":"Off"},
{"Day":"Sunday","Timer8":"5:00", "Position":"Off"},
]}
Is there a header I need to use?
Can you have more than one object in a file?
Is it possible to check each object and pull the legit data and compare it with the current time?
There has to be a way to do this which will interface with the esp.
Somehow it should be possible to do and make compact enough to work. And allow a user to add timers remove timers and update timers I imagine this is not an impossible dream even if a web server has to handle some of the work.