Results 1 to 10 of 10

Thread: Is AutoDST possible by a mod to 'fixtivotime'?

  1. #1

    Is AutoDST possible by a mod to 'fixtivotime'?

    Hi,

    Just a quick thought if we can make tivo auto DST....

    The normal fixtivotime uses:

    /tvbin/settime `/hack/bin/rtime x.x.x.x 36000`

    36000 for +10 GMT or 39600 for +11 GMT, and you modify it accordingly..

    Could a if/then statement (or a sub) be added, where you can specify a date range. If the date matches EST, you get a +10, or if the date falls outside that you get a ESDT of +11.

    Thanks!

  2. #2
    Join Date
    Mar 2004
    Location
    Victoria, Melbourne
    Posts
    15

    Question Questions

    Quote Originally Posted by 105547111
    Could a if/then statement (or a sub) be added, where you can specify a date range. If the date matches EST, you get a +10, or if the date falls outside that you get a ESDT of +11.

    Question: What were to happen if the dates change? or in the event rumoured, that everyone's time thoughout australia is going to come into line with AEST because of the commonwealth games? Will daylight savings be affected? And how does the real TiVo service do it in regards to DST?

  3. #3
    Okay done more research... What about in /etc/TIMEZONE ?

    example:

    A southern hemisphere setting such as the Cook Islands could be

    TZ="KDT9:30KST10:00,64/5:00,303/20:00"

    This setting means that KDT is the abbreviation for the main time zone,
    KST is the abbreviation for the alternate time zone, KDT is 9 hours and
    30 minutes later than GMT, KST is 10 hours later than GMT, the starting
    date of KST is the 64th day at 5 AM, and the ending date of KST is the
    303rd day at 8 PM.

    Starting and ending times are relative to the alternate time zone. If
    the alternate time zone start and end dates and the time are not
    provided, the days for the United States that year will be used and the
    time will be 2 AM. If the start and end dates are provided but the time
    is not provided, the time will be midnight.

    This way you specify the dates and time for start/stop of DST.

    Will TIVO work with a TIMEZONE file in /etc ?

  4. #4
    Join Date
    Mar 2004
    Location
    Wellington, NZ
    Posts
    573
    Quote Originally Posted by 105547111
    Okay done more research... What about in /etc/TIMEZONE ?

    *snip*

    Will TIVO work with a TIMEZONE file in /etc ?
    Yes.

    I'm using the oztivo image.. and modified my postcodezones so it looks at the 00800 postcode and matches it to Auckland, NZ.
    Then created the appropriate directory and copied the required timezone file off a linux machine over to the tivo. Works good now and have had no time problems whatsoever for the last 2 or so weeks. So yes, that does work.

  5. #5
    zollymonsta,

    Could you please tell me what files have to be modified and any information you have. I have the Australian dates for start and stop of daylight savings.

    Thanks again!

  6. #6
    Join Date
    Mar 2004
    Location
    Wellington, NZ
    Posts
    573
    Quote Originally Posted by 105547111
    zollymonsta,

    Could you please tell me what files have to be modified and any information you have. I have the Australian dates for start and stop of daylight savings.

    Thanks again!
    So you're in Australia? I guess you would have to find the appropriate timecode file to use depending on where in Australia you are.

    More details on changing the files to fix time is at this url...

    http://www.tjv.info/tivo-howto2.aspx

    under the heading "Setting the TimeSync Up for New Zealand"
    Wether it's appropriate for your timezone in Aussie is a different story. Modify it to suit

  7. #7
    Join Date
    Apr 2004
    Location
    Tasmania
    Posts
    40
    Daylight saving adjustment automaticaly is built in to the latest emulator images.

    That's one of the reasons why you put in your postcode, so it can work out which state your in.

    There is a list of all daylight saving date changes for each state for at least the next 10 years built in. It will only be a problem if there is a date change, but then it's only a re-write of a file.

    If you had asked this question on the mailing list you would have got a much quicker answer, and probably more detail on how it's done


    Charlie

  8. #8
    Charlie,

    Thanks I dug up and found info on using rtimetz which does this.

    Only prob I have now is it complains of a 0 offset for GMT!

    I bet we are missing all the files of the states...

    Do you know where they go on TIVO and where I can get them and how to set them?

    Thanks!

  9. #9
    Join Date
    Apr 2004
    Location
    Tasmania
    Posts
    40
    Quote Originally Posted by 105547111
    Charlie,

    I bet we are missing all the files of the states...

    Do you know where they go on TIVO and where I can get them and how to set them?

    Thanks!
    Sorry, not an expert on this at all. To the best of my knowledge the files cover every state in Australia. Your not refering to any other states are you?

    I don't know where they are. Your best bet is to ask Warren on the mailing list (don't forget he's on a TiVo less holiday at the moment, but should be able to answer your question when he comes back) and it's a few more months now till the next change to DS.

    Charlie

  10. #10
    Join Date
    Mar 2004
    Location
    Victoria, Melbourne
    Posts
    15

    Cool

    Quote Originally Posted by 105547111
    I bet we are missing all the files of the states...

    Do you know where they go on TIVO and where I can get them and how to set them?

    Thanks!
    On my Debian Linux machine the timezone info is located under /usr/share/zoneinfo/

    I will have to check the TiVo at some stage to see if this information matches up. But I would be guessing that the "files of the states" that you refer to will be under that directory and you can upload any timezone you wish to cater for.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •