OpenSprinkler Forums Third-Party Software Time is not changing on Main Controller with this URL string

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #74664

    AndreasSprink
    Participant

    Hello!

    I am trying to set the time on the Main Controller to: GMT+02:00.

    I have tried the below string with both a “GET” and another request with a “POST” HttpWebRequest in this test: (password is “opendoor” in MD5 Hash. tz=56 should be GMT+02:00)

    http://15.1.0.6/cv?pw=a6d82bced638de3def1e9bbb4983225c&tz=56

    I receive below JSON response in both Requests which means that I should have a “Success”?
    But the time doesn’t change on the Main Controller(It is off by -7 hours). I wonder what I could be doing wrong?

    {“result”:1,”item”:””}

    Thank you!

    #74666

    Ray
    Keymaster

    Is there any reason you need to set the time zone manually? The controller uses your location to automatically get your time zone.

    If you need to set it manually you need to clear out the location. Also the command to set time zone is not /cv, it’s /co, please check the API document again.

    #74667

    AndreasSprink
    Participant

    It seemed that the controller showed -7 hours wrong time by default.

    This is why I try to change the time. I now then tried changing the timezones like the below Greece and Sweden examples.
    Time is changing on the controller but are -4 hours and -3 hours wrong.

    I got the coordinates on google maps. I am not sure if I do this correctly?

    http://15.1.0.6:80/co?pw=a6d82bced638de3def1e9bbb4983225c&loc=37.98,-23.72 //Greece shows -4 hours wrong time?
    http://15.1.0.6:80/co?pw=a6d82bced638de3def1e9bbb4983225c&loc=60.12,-18.64 //Sweden shows -3 hours wrong time?

    #74670

    Ray
    Keymaster

    I think it’s best you submit a support ticket with a copy of your configurations so we can check your firmware version, location, and related settings.

    #74673

    AndreasSprink
    Participant

    Thanks, I did submit a support ticket with configuration responses from the controller.

    #74674

    Ray
    Keymaster

    The GPS coord of Athens, Greece should be 37.98, 23.72, why did you have 37.98,-23.72 (negative 23.72)??? You shouldn’t need to input the GPS coord manually, once you input the location or select a location on the map in the UI, it will calculate the GPS coord automatically.

    #74676

    AndreasSprink
    Participant

    Yes you are right, my mistake. I think I in the code had the example from the API manual: “change location to GPS coord 42.01,-75.22”
    where the minus sign was still in the second argument there as I just follwed the example and changed the values and the minus sign was still intact.

    The time is correct when I tried it manually now. Yes, I can set the location in the UI also which is a better idéa.

    Thank you for your help!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Third-Party Software Time is not changing on Main Controller with this URL string