OpenSprinkler › Forums › OpenSprinkler Unified Firmware › OpenSprinkler Firmware 2.1.0-beta (Major Upgrade!)
- This topic has 81 replies, 15 voices, and was last updated 10 years ago by TechFan.
-
AuthorPosts
-
October 5, 2014 at 7:07 pm #28381
SamerKeymasterIn case you are looking for how to change the NTP server, you may find the setting under edit options > advanced > NTP IP address
October 5, 2014 at 8:05 pm #28382
vinnyParticipant@ray wrote:
If you don’t have SD card, the log will be empty. Will check the issue about spinning icon, but there won’t be any log data if you don’t provide a SD card.
Which NTP IP did you change it to? I tried a different one and it seems to work fine, I didn’t see the UI hanging. One possibility is that if you changed NTP server to one that’s invalid or inaccessible, the controller may be trying to reach that server and eventually timeout. Meanwhile the UI may freeze until the controller times out.
Yeah that is it, i was trying to change it to time.apple.com, and pings to it are failing.
October 5, 2014 at 8:28 pm #28383
vinnyParticipant@vinny wrote:
@ray wrote:
If you don’t have SD card, the log will be empty. Will check the issue about spinning icon, but there won’t be any log data if you don’t provide a SD card.
Which NTP IP did you change it to? I tried a different one and it seems to work fine, I didn’t see the UI hanging. One possibility is that if you changed NTP server to one that’s invalid or inaccessible, the controller may be trying to reach that server and eventually timeout. Meanwhile the UI may freeze until the controller times out.
Yeah that is it, i was trying to change it to time.apple.com, and pings to it are failing.
NTP is working fine now. [time.apple.com is working, (You can’t ping it), but it is working now, don’t know what was happening before]
when i try to view the logs it just spins. (I don’t have an SD Card so i don’t expect to see the logs, but it is not expected that the thing spins all of the time.
October 5, 2014 at 9:14 pm #28384
SamerKeymasterI will check this out and let you know once it’s fixed. Your correct it should display some sort of message saying no data is available.
October 11, 2014 at 12:43 am #33444
DenisParticipantHas the server shenanigans resulted in the URL to the weather python script being changed? It now appears to be absent from http:/www.rayshobby.net/scripts/weather.py .
I think I have found it at http://weather.opensprinkler.com/weather1.py , so commented out the former and uncommented the latter URL in defines.h, and modified /scripts/weather to /weather1 in weather.ino, but it still does not seem to update the timezone, sunrise and sunset data.
I must be missing something still. Yes, I’ve been resetting it this time…
October 11, 2014 at 2:38 am #33448
SamerKeymaster@dennis.french, weather1.py should be the only file referenced by the firmware nevertheless I have restored access to weather.py. The reason is the firmware appends the weather algorithm type to the end to request the proper script.
If you are using the 2.1.0 firmware, all you need to do is put a valid location (you may use the lookup feature to verify the location is valid). Once saved, the timezone, sunrise and sunset data should be displayed correctly. From there, you may input a Weather Underground API key and enable weather based adjustments for programs.
October 11, 2014 at 4:54 pm #33486
sprinklesprinklelittlestarParticipantUpgraded to 2.1.0 (on win7/64 woohoo!) but TZ setting is not working for me. I tried several locations that all lookup green and display weather OK but the time is still stuck on Boston,MA – I have power cycled it a few times. For instance Sacramento,California works in http://rayshobby.net/scripts/weather.py?loc=Sacramento,California :
&scale=-1&tz=20&sunrise=431&sunset=1113&maxh=-1&minh=-1&meant=-500&pre=-1.000000&prec=-1.000000&hc=-1
but doesn’t set the TZ.
October 12, 2014 at 2:15 pm #33820
vinnyParticipantThe old app used to show the last zone that ran and said how long it ran for.
Short of adding an sd card to get logging, could we get that feature back? (Show last ran station and duration???)
The new software (Firmware and the app) are awesome. i am hoping i can just leave the sprinkler on all year and not worry about it at all.
thanks.
October 12, 2014 at 3:26 pm #33823
DenisParticipant@salbahra; thanks, I missed the firmware appending the “1”.
Have changed /weather1 back to /weather (from the original /scripts/weather) and all is good still pointing to weather.opensprinkler.com 🙂
October 12, 2014 at 8:27 pm #33832
SamerKeymaster@vinny, This was removed from the firmware which is why the app no longer reports it. We will re-discuss this and see if we can get this added back.
@denis.french, Glad it works now!
October 12, 2014 at 8:38 pm #33833
RayKeymaster@sprinklesprinklelittlestar: the time update relies on NTP sync. If you turned NTP sync off, or for some reason it’s taking a long time to sync, then it may cause the issue you are seeing. Can you try to restart the controller and see if the time gets synced correctly?
October 12, 2014 at 8:49 pm #33835
sprinklesprinklelittlestarParticipantRay: The NTP Syncing message is on the LCD for a second or so. I tried it with the network disconnected and it will display that message for way longer so I think the short time must mean it has synced.
October 12, 2014 at 9:27 pm #33837
RayKeymaster@sprinklesprinklelittlestar: can you open a browser and type in http://x.x.x.x/jo?pw=**** where x.x.x.x is your OpenSprinkler’s IP address and **** is your password. Check the value of ‘tz’ and see if it’s 20 or 32?
October 12, 2014 at 9:30 pm #33838
sprinklesprinklelittlestarParticipantIt’s 32
{“fwv”:210,”tz”:32,”ntp”:1,”dhcp”:0,”ip1″:192,”ip2″:168,”ip3″:1,”ip4″:232,”gw1″:192,”gw2″:168,”gw3″:1,”gw4″:254,”hp0″:80,”hp1″:0,”ar”:1,”ext”:0,”seq”:1,”sdt”:0,”mas”:0,”mton”:0,”mtof”:0,”urs”:0,”rso”:1,”wl”:100,”den”:1,”ipas”:0,”devid”:0,”con”:110,”lit”:100,”dim”:5,”rlp”:0,”uwt”:0,”ntp1″:204,”ntp2″:9,”ntp3″:54,”ntp4″:119,”reset”:0,”dexp”:0,”mexp”:5}
October 12, 2014 at 10:08 pm #33839
RayKeymasterOK, so clearly the time zone is not being set for some reason. I will need to investigate further to see if this is 2.2 specific. For now you can use the buttons to go to Setup Options, and change the time zone manually. To do so, turn off controller, press and hold button B3 while turning the controller on. You will see Setup Options. Then click B3 until you are at the TZone option, and use B1 and B2 to adjust the time zone, finally press and hold B3 again to save the changes.
October 12, 2014 at 10:17 pm #33840
RayKeymaster@sprinklesprinklelittlestar: I found the problem: when WUnderground API key is not provided, the firmware is looking for weather0.py, which is a symbolic link. During the server migration a few days ago, the symbolic link was lost so weather0.py did not exist any more. It’s now added back and should work now.
October 12, 2014 at 10:21 pm #33842
sprinklesprinklelittlestarParticipantYes! I just changed the TZ a couple of times from the gui and confirm that it works now.
I do have some bad news though, holding B3 doesn’t get me into setup options. (I did check the switch with an ohmmeter.)
October 13, 2014 at 10:34 am #33853
RayKeymasterPlease follow the steps:
1. Turn of controller
2. Press and hold B3 while turning the controller on (just keep pressing B3 until you see the LCD displays something)
Let me know if you still can’t get into setup options.October 13, 2014 at 7:51 pm #33864
sprinklesprinklelittlestarParticipantSorry for the delay, for some reason this site didn’t update until now for me.
I re-soldered all the switches to be sure the solder had wicked all the way thru the board.
Nothing has changed:
Hold B3 and power up, normal startup, LCD = Time/date + Detecting USD, Connecting, NTP Syncing
Hold B2 and power up, normal startup, LCD = Time/date + Detecting USD, Connecting, NTP Syncing
Hold B1 and power up, LCD = Reset all? Yes on second line toggles to No with B3 press, back to Yes with B1 press. Nothing else happens, sticks on that same message until power cycled.October 13, 2014 at 8:45 pm #33865
RayKeymasterI am pretty sure this is not a firmware problem — I have a test OS 2.2u with firmware 2.1.0 beta, and I can enter Setup Options by pressing B3 on start. So it has to be either a soldering issue or a component problem with your button B3.
October 13, 2014 at 9:53 pm #33869
sprinklesprinklelittlestarParticipantGot it! Hardware problem. The screws for the LCD spacers foul PC tracks. I should have noticed that during the build but I was doing it from the front of the board with a nut driver. Were there supposed to be insulating washers in the kit, or did I mess up? I can post a pic if that would help.
October 13, 2014 at 11:47 pm #33875
RayKeymasterThe PCB design has a top keepout layer around the support pillars, but I think forgot to add bottom keepout, so there are traces running close by the hole on the bottom side. This normally isn’t an issue, unless perhaps you screwed it too tight?
October 14, 2014 at 8:58 am #33886
sprinklesprinklelittlestarParticipantWrist strength aside, you can’t rely on the solder mask for this, even if it’s OK today it may not be tomorrow.
[IMG]http://i61.tinypic.com/2n24oxw.jpg[/IMG]
[IMG]http://i57.tinypic.com/r09vh5.jpg[/IMG]October 14, 2014 at 9:01 am #33887
sprinklesprinklelittlestarParticipantTry again
October 14, 2014 at 12:15 pm #33898
RayKeymasterFair enough, advice taken. Note has been added to the assembly instructions. To be honest, I think you really screwed it too tight. Obviously this is an issue I didn’t anticipate before.
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › OpenSprinkler Unified Firmware › OpenSprinkler Firmware 2.1.0-beta (Major Upgrade!)