Restrict Daily Call Times?

Discussion in 'TiVo Series 1 - UK' started by LarryDavid, Jun 17, 2011.

  1. LarryDavid

    LarryDavid New Member

    68
    0
    Jan 4, 2007
    I don't think this is possible on a bog standard TiVo but ... is there a way to restrict the daily call to certain times (7pm to 7am in my case) to be sure I get the cheaper rate? Its been going outside these times in the last few days.

    Perhaps I should just unplug the phone line each morning and plug it in at night!
     
  2. drgeoff

    drgeoff Member

    63
    0
    Nov 10, 2005
    There is some discussion about this here and subsequently in the same thread especially this.
     
  3. OzSat

    OzSat Very Nice Moderator

    5,054
    1
    Feb 15, 2001
    Oxfordshire, UK
    The software in TiVo already prevents automatic daily calls during peak phone times on weekdays - always has.

    To get a call during a weekday in the daytime you have to manually call.

    It seems to have been done to keep TiVo call charges down.

    But it may be set to the old 6pm to 8am slot.
     
  4. johnscott99

    johnscott99 New Member

    36
    0
    Sep 23, 2002
    Hull
    There is a simple and obvious answer (like me - simple and obvious) unplug the TiVo phone cable every morning and back in every night.
     
  5. LarryDavid

    LarryDavid New Member

    68
    0
    Jan 4, 2007
    Yes that's probably the easiest thing isn't it? :)

    As the call seems to schedule for 24 hours AFTER the last daily call FINISHES (or possibly in the nearest 'offpeak' defined block after that) I will try a forced daily call tonight after 7pm and see when it wants to do another call after that. If this works I can just keep an eye on it and force a daily call when I need to bring it back 'in line' so to speak.
     
  6. spitfires

    spitfires wassock

    724
    0
    Dec 19, 2006
    South Coast, UK
    I was going to have a dig around and see if I can produce a mod to do this... when I get time :D

    Unless someone else is already working on it?

    .
     
  7. ericd121

    ericd121 Crown Topper

    1,347
    0
    Dec 12, 2002
    Milton...
    I seem to recall that a forced daily call doesn't reset the schedule.

    Which is to say, if Tivo says it's going to call at 1.00am and you force a call at 7.05pm, it will probably call again at 1.00am.

    At least, that's my recollection.
     
  8. OzSat

    OzSat Very Nice Moderator

    5,054
    1
    Feb 15, 2001
    Oxfordshire, UK
    If the scheduled call is due at 1am and your force a call at 7pm. The next call time stays at 1am until 1am arrives and then the display time is amended - but another call at that time does not happen.

    And the same is the case on the new VM TiVo.
     
  9. spitfires

    spitfires wassock

    724
    0
    Dec 19, 2006
    South Coast, UK
    Ok this seems simple enough ;) Is there any way other than via manual prodding (e.g. Tivoweb module) or cron job, of starting a periodic script on the TiVo?

    .
     
  10. riggers

    riggers New Member

    75
    0
    Apr 14, 2005
    If it's a shell script you can include the sleep command.

    Within a shell script you can also use grep or sed on the system date output to run a command whenever you wish.

    Bit rusty on unix but those are the ones that spring to mind.
     
  11. Trinitron

    Trinitron New Member

    411
    0
    Jan 20, 2003
    North West
    This script will update the last call time to the current time and the next call to 00:00 GMT the next day.

    I've tried testing it briefly and it changes the relevant values in /mfs/Setup and sets the account status to 5-Lifetime. I got it from {cough} another database so feel free to mess with it.

    EDIT: I was checking operation using the Tivoweb 'Phone' module, which by default doesn't display call times earlier than the last one set, so you couldn't set the 'next call' 7 days ahead then go back to 1 day. I've added to the zip file an amended phone.itcl with this feature commented out so the module always displays the values in /mfs/setup.
     

    Attached Files:

  12. TCM2007

    TCM2007 New Member

    3,947
    0
    Dec 25, 2006
    Best use cron - it's what it's for after all.
     
  13. Trinitron

    Trinitron New Member

    411
    0
    Jan 20, 2003
    North West
    Looks pretty similar to the script I dug up but with useful tweaks!

    You mention on tivoland that tivoweb doesn't pick up the change, that's because the tivoweb module will not backdate timings. There is no logical reason for this, but this amended module corrects that behaviour so may be useful to you.
     

    Attached Files:

  14. spitfires

    spitfires wassock

    724
    0
    Dec 19, 2006
    South Coast, UK
    Thanks Trinitron - do you know how long I stared at that line of code but simply couldn't grasp what it was doing! (Whatever happened to comments in source code? ;) ). So Tivoweb won't refresh the db value unless a new call has been made. How silly! Oh well all I need to do is to add 1 second on to the last call time and that will fool TW into reloading from the db (but won't be too misleading w.r.t. the real time of last call).

    .
     
  15. Trinitron

    Trinitron New Member

    411
    0
    Jan 20, 2003
    North West
    The TW module stores all the values in an array, PHInfo. These will be persistent while the module is active, which is why they only change on a Tivoweb reload.

    For anyone else that's interested, the problem with the phone module is that it uses an 'if' function that compares the actual LastCallAttempt in mfs/Setup with the stored PHInfo(LastCallAttempt) and only updates if the real value is higher - so it's ok going forward in time but updates nothing if the real value is put back to an earlier time. That seems pointless to me, it should always reflect the real values.
     

Share This Page