Forum Replies Created
-
AuthorPosts
-
August 12, 2016 at 2:24 am in reply to: Opensprinkler Keeps changing to wrong date in firmware 2.1.5 #43754
JohnParticipantJust an update to this. Ray advised that Firmware 2.1.5 had a minor update to account for a small number of 2.1 units that had a different real-time clock chip. So I reflashed my unit and it has fixed the date problem. Happy Days.
January 15, 2016 at 5:55 pm in reply to: Opensprinkler Keeps changing to wrong date in firmware 2.1.5 #41309
JohnParticipantYep, you have the time zone for my location right: “tz”:92 translates to gmt+11, which means gmt+10 + DST
When I tried these two (I inserted my wunderground API key)
http://weather.opensprinkler.com/weather0.py?loc=-35.28200,149.12868&key=%5Byour-key-here%5D&fmv=215
or
http://weather.opensprinkler.com/weather0.py?loc=Canberra,Australia&key=%5Byour-key-here%5D&fmv=215I get this for both
Error: No weather data found.
Then I removed the [] on each end of my key (I wasn’t sure if they were supposed to be there) and both work correctly:
&scale=-1&rd=-1&tz=92&sunrise=364&sunset=1220&eip=2092151838
An interesting point is that I have not been able to see any data in my logs. When I try to view the logs I just get a message : “Error retrieving log data. Please refresh to try again. I assumed that it was because the year keeps jumping ahead, but perhaps it is something else.
I am unable to upgrade past 2.1.5 at this stage as I don’t have the equipment to go to 2.1.6
I am bit surprised that I can manually set the date/time or set it via NPT Sync, only to have both overridden by a comms failure on the weather call.
January 15, 2016 at 3:04 am in reply to: Opensprinkler Keeps changing to wrong date in firmware 2.1.5 #41306
JohnParticipanthttp://weather.opensprinkler.com/weather0.py?loc=-35.28200,149.12868
Returns:
Error: No weather data found.
http://weather.opensprinkler.com/weather0.py?loc=Canberra,%20Australia
Returns:
&scale=-1&rd=-1&tz=92&sunrise=364&sunset=1222&eip=2092151838
I edited the config file and rebooted the OpenSprinkler unfortunately the problem persists
Config file with correct date:
{"programs":{"nprogs":3,"nboards":1,"mnp":14,"mnst":4,"pnsize":12,"pd":[[51,1,2,[1800,1,480,0],[0,420,0,1800,0,0,0,0],"RockGarden"],[51,1,2,[1800,1,480,0],[0,420,0,1800,0,0,0,0],"RockGarden"],[51,0,2,[1740,0,0,0],[0,0,1800,0,0,0,0,0],"FruitTrees"]]},"stations":{"masop":[222],"ignore_rain":[0],"masop2":[0],"stn_dis":[0],"rfstn":[0],"stn_seq":[254],"snames":["Master","Planter Boxes","Fruit Trees","Rock Gardens","Rear Spare01","Rear Spare 02","S07","S08"],"maxlen":16},"options":{"fwv":215,"tz":92,"ntp":1,"dhcp":1,"ip1":192,"ip2":168,"ip3":1,"ip4":100,"gw1":192,"gw2":168,"gw3":1,"gw4":254,"hp0":88,"hp1":0,"hwv":21,"ext":0,"sdt":0,"mas":1,"mton":0,"mtof":0,"urs":0,"rso":1,"wl":100,"den":1,"ipas":0,"devid":0,"con":110,"lit":100,"dim":15,"uwt":1,"ntp1":54,"ntp2":252,"ntp3":129,"ntp4":186,"lg":1,"mas2":0,"mton2":0,"mtof2":0,"fwm":2,"reset":0,"dexp":0,"mexp":5,"hwt":172},"status":[0,0,0,0,0,0,0,0],"settings":{"devt":1452884409,"nbrd":1,"en":1,"rd":0,"rs":0,"rdst":0,"loc":"Canberra, Australia","wtkey":"xxxxxxxxx","sunrise":360,"sunset":1080,"eip":0,"lwc":1452884367,"lswc":0,"lrun":[0,0,0,0],"sbits":[0,0],"ps":[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]]}}
JC Response with correct date:
{"devt":1452884454,"nbrd":1,"en":1,"rd":0,"rs":0,"rdst":0,"loc":"Canberra, Australia","wtkey":"xxxxxxxxxx","sunrise":360,"sunset":1080,"eip":0,"lwc":1452884422,"lswc":0,"lrun":[0,0,0,0],"sbits":[0,0],"ps":[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]]}
Config file after the date jumps to the future:
{"programs":{"nprogs":4,"nboards":1,"mnp":14,"mnst":4,"pnsize":12,"pd":[[51,0,2,[1800,1,480,0],[0,420,0,1800,0,0,0,0],"RockGarden"],[51,0,2,[1800,1,480,0],[0,420,0,1800,0,0,0,0],"RockGarden"],[51,1,2,[1740,0,0,0],[0,0,1800,0,0,0,0,0],"FruitTrees"],[51,0,2,[1740,0,0,0],[0,0,1800,0,0,0,0,0],"FruitTrees"]]},"stations":{"masop":[222],"ignore_rain":[0],"masop2":[0],"stn_dis":[0],"rfstn":[0],"stn_seq":[254],"snames":["Master","Planter Boxes","Fruit Trees","Rock Gardens","Rear Spare01","Rear Spare 02","S07","S08"],"maxlen":16},"options":{"fwv":215,"tz":92,"ntp":0,"dhcp":1,"ip1":192,"ip2":168,"ip3":1,"ip4":100,"gw1":192,"gw2":168,"gw3":1,"gw4":254,"hp0":88,"hp1":0,"hwv":21,"ext":0,"sdt":0,"mas":1,"mton":0,"mtof":0,"urs":0,"rso":1,"wl":100,"den":1,"ipas":0,"devid":0,"con":110,"lit":100,"dim":15,"uwt":1,"ntp1":54,"ntp2":252,"ntp3":129,"ntp4":186,"lg":1,"mas2":0,"mton2":0,"mtof2":0,"fwm":2,"reset":0,"dexp":0,"mexp":5,"hwt":172},"status":[0,0,0,0,0,0,0,0],"settings":{"devt":1502046157,"nbrd":1,"en":1,"rd":0,"rs":0,"rdst":0,"loc":"Canberra, Australia","wtkey":"xxxxxxx","sunrise":360,"sunset":1080,"eip":0,"lwc":1502046085,"lswc":0,"lrun":[0,0,0,0],"sbits":[0,0],"ps":[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]]}}
and JC Response:
{"devt":1502046153,"nbrd":1,"en":1,"rd":0,"rs":0,"rdst":0,"loc":"Canberra, Australia","wtkey":"xxxxxxxx","sunrise":360,"sunset":1080,"eip":0,"lwc":1502046085,"lswc":0,"lrun":[0,0,0,0],"sbits":[0,0],"ps":[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]]}
January 13, 2016 at 11:05 pm in reply to: Opensprinkler Keeps changing to wrong date in firmware 2.1.5 #41296
JohnParticipantWhen I just had a closer look it appears to set the incorrect date as in under 2 minutes from when it is set correctly.
This is the export from the correct date:
{"programs":{"nprogs":3,"nboards":1,"mnp":14,"mnst":4,"pnsize":12,"pd":[[1,127,0,[480,1,480,0],[0,420,0,0,0,0,0,0],"PlanterBoxes"],[51,1,2,[1800,1,480,0],[0,420,0,1800,0,0,0,0],"RockGarden"],[51,0,2,[1740,0,0,0],[0,0,1800,0,0,0,0,0],"FruitTrees"]]},"stations":{"masop":[222],"ignore_rain":[0],"masop2":[0],"stn_dis":[0],"rfstn":[0],"stn_seq":[254],"snames":["Master","Planter Boxes","Fruit Trees","Rock Gardens","Rear Spare01","Rear Spare 02","S07","S08"],"maxlen":16},"options":{"fwv":215,"tz":92,"ntp":0,"dhcp":1,"ip1":192,"ip2":168,"ip3":1,"ip4":100,"gw1":192,"gw2":168,"gw3":1,"gw4":254,"hp0":88,"hp1":0,"hwv":21,"ext":0,"sdt":0,"mas":1,"mton":0,"mtof":0,"urs":0,"rso":1,"wl":100,"den":1,"ipas":0,"devid":0,"con":110,"lit":100,"dim":15,"uwt":1,"ntp1":54,"ntp2":252,"ntp3":129,"ntp4":186,"lg":1,"mas2":0,"mton2":0,"mtof2":0,"fwm":2,"reset":0,"dexp":0,"mexp":5,"hwt":172},"status":[0,0,0,0,0,0,0,0],"settings":{"devt":1452783597,"nbrd":1,"en":1,"rd":0,"rs":0,"rdst":0,"loc":"-35.28200,149.12868","wtkey":"xxxxxxxxxxxx","sunrise":360,"sunset":1080,"eip":0,"lwc":1501945023,"lswc":0,"lrun":[0,0,0,0],"sbits":[0,0],"ps":[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]]}}
This is the export from the incorrect date:
{"programs":{"nprogs":3,"nboards":1,"mnp":14,"mnst":4,"pnsize":12,"pd":[[1,127,0,[480,1,480,0],[0,420,0,0,0,0,0,0],"PlanterBoxes"],[51,0,2,[1800,1,480,0],[0,420,0,1800,0,0,0,0],"RockGarden"],[51,1,2,[1740,0,0,0],[0,0,1800,0,0,0,0,0],"FruitTrees"]]},"stations":{"masop":[222],"ignore_rain":[0],"masop2":[0],"stn_dis":[0],"rfstn":[0],"stn_seq":[254],"snames":["Master","Planter Boxes","Fruit Trees","Rock Gardens","Rear Spare01","Rear Spare 02","S07","S08"],"maxlen":16},"options":{"fwv":215,"tz":92,"ntp":0,"dhcp":1,"ip1":192,"ip2":168,"ip3":1,"ip4":100,"gw1":192,"gw2":168,"gw3":1,"gw4":254,"hp0":88,"hp1":0,"hwv":21,"ext":0,"sdt":0,"mas":1,"mton":0,"mtof":0,"urs":0,"rso":1,"wl":100,"den":1,"ipas":0,"devid":0,"con":110,"lit":100,"dim":15,"uwt":1,"ntp1":54,"ntp2":252,"ntp3":129,"ntp4":186,"lg":1,"mas2":0,"mton2":0,"mtof2":0,"fwm":2,"reset":0,"dexp":0,"mexp":5,"hwt":172},"status":[0,0,0,0,0,0,0,0],"settings":{"devt":1501945305,"nbrd":1,"en":1,"rd":0,"rs":0,"rdst":0,"loc":"-35.28200,149.12868","wtkey":"xxxxxxxxxxx","sunrise":360,"sunset":1080,"eip":0,"lwc":1501945023,"lswc":0,"lrun":[0,0,0,0],"sbits":[0,0],"ps":[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]]}}
This is the jc response when the date is correct
{“devt”:1452783631,”nbrd”:1,”en”:1,”rd”:0,”rs”:0,”rdst”:0,”loc”:”-35.28200,149.12868″,”wtkey”:”xxxxxxxxxxx”,”sunrise”:360,”sunset”:1080,”eip”:0,”lwc”:1501945023,”lswc”:0,”lrun”:[0,0,0,0],”sbits”:[0,0],”ps”:[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]]}This is the result JC response after the date changes to the future
{“devt”:1501945283,”nbrd”:1,”en”:1,”rd”:0,”rs”:0,”rdst”:0,”loc”:”-35.28200,149.12868″,”wtkey”:”xxxxxxxxxx”,”sunrise”:360,”sunset”:1080,”eip”:0,”lwc”:1501945023,”lswc”:0,”lrun”:[0,0,0,0],”sbits”:[0,0],”ps”:[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]]}January 13, 2016 at 12:27 am in reply to: Opensprinkler Keeps changing to wrong date in firmware 2.1.5 #41290
JohnParticipantToday the date on the system is showing as Fri 4 Aug 2017 ?
JohnParticipantI borrowed a laptop with Win7 and was able able to update the firmware with it. Looks like the USB drivers are not working with Win 10.
JohnParticipantDoes config currently need to be 777 after the initial install? Some the settings that can be changed via the app need to write to config.php, correct?
JohnParticipantOutside of web root too?
JohnParticipantOk, thanks I will work through it tonight and see if I can work it out.
-
AuthorPosts