OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Can not create new program.
- This topic has 9 replies, 4 voices, and was last updated 5 years, 4 months ago by Ray.
-
AuthorPosts
-
May 2, 2019 at 11:37 pm #60089
chufiParticipantI click add, put in a name, timing, stations, etc. I get ‘please check input’ and nothing happens. 🙁
App Version: 1.8.5<br>Firmware: 2.1.7<br>Hardware Version: 2.2 – AC
May 8, 2019 at 3:09 pm #60213
chufiParticipantAny thoughts? Pretty tough to not be able to make a new program…:(
I have also tried copying an existing program, changing the name and saving and the same problem occurs.
May 9, 2019 at 2:57 pm #60227
SamerKeymasterI suspect the controller is refusing the new program for one reason or another. How many programs do you currently have? Could you try using the browser and inspecting the network request to the controller and possibly provide the headers and reply? If you need assistance getting that information I would be glad to help.
Thank you!
May 13, 2019 at 1:06 pm #60322
dun4cheapParticipantCan you try to clear the logs, then try to create a new program? I had a similar problem once and clearing the logs solved it.
May 14, 2019 at 11:33 am #60334
chufiParticipantTried clearing the logs but no luck. :/
May 14, 2019 at 11:34 am #60335
chufiParticipantRequest:
GET /cp?pw=****b&pid=-1&v=[49,1,2,[0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,360,0]]&name=Test&_=1557851471692 HTTP/1.1 Host: 192.168.1.68 Connection: keep-alive Accept: text/plain, */*; q=0.01 DNT: 1 X-Requested-With: XMLHttpRequest User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36 Referer: http://192.168.1.68/ Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.9 Cookie: gsScrollPos-924=0; gsScrollPos-901=0; gsScrollPos-904=0; gsScrollPos-205=0
Response:
{"result":17}
Looks like I currently have 8 programs.
May 16, 2019 at 6:06 am #60429
RayKeymasterResult 17 (0x11) means it’s a data-out-of-bound error:
https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/server.cpp#L100
Really the only thing I can think of would be if you have reached the maximum number of programs. You said you have 8 programs, which should be within the maximum (17 for firmware 2.1.7). Can you export your configurations to a file and attach it here (you may want to mask out sensitive information), or you can send it as attachment to a support ticket.May 16, 2019 at 2:43 pm #60449
chufiParticipant{ "settings":{ "devt":1558010333, "nbrd":3, "en":0, "rd":0, "rs":0, "rdst":0, "loc":"37.98731,-122.58917", "wtkey":"****", "sunrise":360, "sunset":1215, "eip":1237140128, "lwc":1558008836, "lswc":1558008836, "lrun":[ 12, 99, 272, 1557907474 ], "sbits":[ 0, 0, 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 ], [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ] ], "wto":{ "h":70, "t":100, "r":100, "bh":40, "bt":60, "br":0 } }, "programs":{ "nprogs":8, "nboards":3, "mnp":8, "mnst":4, "pnsize":16, "pd":[ [ 3, 123, 0, [ 240, 3, 13, 0 ], [ 0, 0, 180, 0, 0, 0, 0, 0, 0, 0, 180, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "Small Pots" ], [ 3, 127, 0, [ 240, 0, 4, 0 ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 180, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "GreenHouse" ], [ 51, 2, 3, [ 180, 2, 80, 0 ], [ 600, 0, 0, 600, 600, 0, 600, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "Veggies" ], [ 3, 4, 0, [ 180, 3, 44, 0 ], [ 0, 300, 0, 0, 0, 0, 0, 300, 0, 420, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "Landscape" ], [ 51, 3, 10, [ 120, 3, 45, 0 ], [ 0, 0, 0, 0, 0, 1200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "Trees" ], [ 2, 64, 0, [ 0, 3, 29, 0 ], [ 0, 0, 0, 0, 0, 0, 0, 300, 0, 300, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "Extra Landscape" ], [ 3, 127, 0, [ 0, 1, 720, 0 ], [ 0, 0, 0, 120, 120, 0, 180, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "Starts" ], [ 67, 43, 0, [ 480, 780, -1, -1 ], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 900, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "Lawn" ] ] }, "options":{ "fwv":217, "tz":20, "ntp":1, "dhcp":1, "ip1":192, "ip2":168, "ip3":1, "ip4":68, "gw1":192, "gw2":168, "gw3":1, "gw4":1, "hp0":80, "hp1":0, "hwv":22, "ext":2, "sdt":0, "mas":0, "mton":0, "mtof":0, "urs":0, "rso":0, "wl":0, "den":0, "ipas":0, "con":150, "lit":100, "dim":50, "uwt":1, "ntp1":50, "ntp2":97, "ntp3":210, "ntp4":169, "lg":1, "mas2":0, "mton2":0, "mtof2":0, "fwm":0, "fpr0":100, "fpr1":0, "re":0, "dns1":192, "dns2":168, "dns3":1, "dns4":1, "sar":0, "ife":0, "reset":0, "dexp":2, "mexp":5, "hwt":172 }, "status":[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "stations":{ "masop":[ 255, 255, 255 ], "ignore_rain":[ 0, 0, 0 ], "masop2":[ 0, 0, 0 ], "stn_dis":[ 0, 0, 0 ], "stn_seq":[ 255, 255, 255 ], "stn_spe":[ 0, 0, 0 ], "snames":[ "Veg - Main 1", "Upper Landscape", "Upper Pots", "Veg - Lower", "Veg - Main 2", "Upper trees", "Veg - Upper", "UpperLandscape2", "Low tree", "Lower Landscape", "Deck Small Pots", "Lawn", "Greenhouse", "S14", "S15", "S16", "S17", "S18", "S19", "S20", "S21", "S22", "Lawn borders", "S24" ], "maxlen":16 } }
May 16, 2019 at 2:59 pm #60450
chufiParticipantI deleted a program, then was able to add a new one. Seems like I’m limited to 8 programs. 🙁 Maybe my OpenSprinkler is old enough it doesn’t have enough nvram for more? Though that program struct doesn’t look particularly big. If that’s the case I guess I’m stuck.
May 22, 2019 at 8:13 am #60543
RayKeymasterI see, you have OpenSprinkler 2.2, which is why the maximum number of programs is limited to 8. Because OS 2.2 has only half the amount of EEPROM as 2.3 has, the number of programs is also roughly halved. If you had OS 2.3 the limit would have been 17 (and if you have OS 3.0, the limit would have been 35).
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Can not create new program.