OpenSprinkler Forums OpenSprinkler Unified Firmware OpenSprinkler Firmware 2.1.0-beta (Major Upgrade!)

Viewing 25 posts - 51 through 75 (of 82 total)
  • Author
    Posts
  • #28381

    Samer
    Keymaster

    In case you are looking for how to change the NTP server, you may find the setting under edit options > advanced > NTP IP address

    #28382

    vinny
    Participant

    @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.

    #28383

    vinny
    Participant

    @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.

    #28384

    Samer
    Keymaster

    I 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.

    #33444

    Denis
    Participant

    Has 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…

    #33448

    Samer
    Keymaster

    @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.

    #33486

    Upgraded 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.

    #33820

    vinny
    Participant

    The 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.

    #33823

    Denis
    Participant

    @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 🙂

    #33832

    Samer
    Keymaster

    @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!

    #33833

    Ray
    Keymaster

    @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?

    #33835

    Ray: 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.

    #33837

    Ray
    Keymaster

    @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?

    #33838

    It’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}

    #33839

    Ray
    Keymaster

    OK, 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.

    #33840

    Ray
    Keymaster

    @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.

    #33842

    Yes! 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.)

    #33853

    Ray
    Keymaster

    Please 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.

    #33864

    Sorry 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.

    #33865

    Ray
    Keymaster

    I 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.

    #33869

    Got 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.

    #33875

    Ray
    Keymaster

    The 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?

    #33886

    Wrist 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]

    #33887

    Try again

    #33898

    Ray
    Keymaster

    Fair 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.

Viewing 25 posts - 51 through 75 (of 82 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums OpenSprinkler Unified Firmware OpenSprinkler Firmware 2.1.0-beta (Major Upgrade!)