TiVo UI Control via Telnet - No Hacking Required!

Discussion in 'TiVo Underground' started by Omikron, Apr 30, 2008.

  1. mdavej

    mdavej Well-Known Member

    3,382
    1,191
    Aug 13, 2015
    Yeah, there are several undocumented and deprecated ones, but no app commands besides Netflix. I’ll dig into my notes tonight. I’ve implemented pretty much every possible command.
     
  2. windracer

    windracer joined the 10k club

    12,259
    216
    Jan 3, 2003
    St. Pete, FL
    Sorry about the KEYBOARD mistake. As mdavej said said it's ACTION_A, etc. (if I had looked closer at my code I would have seen that).

    IRCODE FIND_REMOTE is the only other one I know of.
     
    Jim Schmaltz likes this.
  3. mdavej

    mdavej Well-Known Member

    3,382
    1,191
    Aug 13, 2015
    Turns out I can't access my files for a few more days. Off the top of my head, none of the VIDEO_ or ASPECT_ commands work in Hydra, and neither does STOP. It was tough to find a ZOOM command. I think it's something like WINDOW. Another useful one is NOWSHOWING. I also use a search command, but can't remember if it's just the word SEARCH or something more cryptic. There's also a command for commercial skip, but I can't remember exactly what it is. It's equivalent to ACTION_D, so it's redundant.
     
    Jim Schmaltz likes this.
  4. MishaHill

    MishaHill New Member

    3
    1
    Apr 24, 2019
    I'm new to this, so apologies if this is a known issue, but I haven't found it anywhere: I'm finding, for the past week, that SETCH has stopped working. I get a CH_FAILED NO_LIVE response, despite the fact that my Bolt is definitely on Live TV. Sending the TELEPORT LIVETV first gets LIVETV_READY back, but SETCH still gets NO_LIVE. Has anyone else seen this, or know a fix? I'd been using a binding in OpenHAB for the past year or so, and when it quit working I started investigating, and am now doing everything myself via Node-Red, but getting exactly the same problem in both.
     
  5. mdavej

    mdavej Well-Known Member

    3,382
    1,191
    Aug 13, 2015
    I've never had much luck with SETCH, so gave up on it a long time ago. But IRCODE NUMx (where x is digit) still works fine. End channel sequence with IRCODE ENTER to tune immediately. Use IRCODE ADVANCE for dash on subchannels.
     
  6. ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    11,688
    921
    Apr 6, 2000
    SF Bay Area
    SETCH needs to have more info, like SETCH 7 for channel 7, SETCH 9 2 for channel 9.2.
     
  7. mdavej

    mdavej Well-Known Member

    3,382
    1,191
    Aug 13, 2015
    Yeah, that's what makes SETCH complicated to program on a remote. You have to buffer the user's button presses, detect when they're done (if that's even possible), then build the command string with SETCH in front and insert space for the sub channel. Big PITA. So I do it the easy way with IRCODE. It's simple, fast and reliable. I can see using SETCH for pre-programmed favorite sequences, but that's about it.

    But if it used to work for the OP, he must have had the syntax right before.
     
  8. May 1, 2019 #768 of 806
    Chapin

    Chapin Member

    31
    2
    Oct 28, 2002
    I've read the first and last 6 pages of this thread. Lots of great info here.

    Is there a current list of the functional IP commands? I have seen a few lists, but none current with Netflix for example. What else might not be listed?

    Is there any power commands? I do not see power on, power off, or even power toggle?

    How do you wake Hydra up? Mine goes to sleep even though it is set to not sleep.

    Is there a way to poll the tivo status of on or standby?

    Thanks.
     
  9. May 1, 2019 #769 of 806
    ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    11,688
    921
    Apr 6, 2000
    SF Bay Area
    No, Tivo never powers off.
     
  10. May 1, 2019 #770 of 806
    Chapin

    Chapin Member

    31
    2
    Oct 28, 2002
    How about standby on/off and toggle? I didn't see any commands for standby.

    The peanut remote certainly has the green "power (standby?)" toggle button. It would be nice to have discreet standby commands. Certainly I frequently find my box dark (hdmi output and front panel) and it needs to be un-standby'd with the standby toggle button on the peanut remote.
     
  11. May 1, 2019 #771 of 806
    Chapin

    Chapin Member

    31
    2
    Oct 28, 2002
    I spoke too soon. I went back and now see this, apparently a discreet standby command. "ircode standby" (Or is the behavior toggle?)

    I do not see an un-standby command. Is there another command that works for "un-standby" (wake?) that does not interrupt on-screen output if the box is already out of standby? "ircode clear" or "ircode escape" or other maybe?
     
    Last edited: May 1, 2019
  12. May 1, 2019 #772 of 806
    mdavej

    mdavej Well-Known Member

    3,382
    1,191
    Aug 13, 2015
    TiVo or Live typically wakes, whatever those are for IP.

    EDIT: Looks like the following should wake:
    TELEPORT TIVO
    TELEPORT LIVETV

    It's going to interrupt whatever you're watching if the box is already awake depending on which command you use and what you're watching. That's one of many reasons I don't use standby (other reasons are delayed start and loss of live buffers). Since it saves virtually no power, why are you even considering it?
     
    Last edited: May 1, 2019
  13. May 1, 2019 #773 of 806
    Chapin

    Chapin Member

    31
    2
    Oct 28, 2002
    Thanks. Is there a way to poll it for its wakefulness state?
     
  14. May 1, 2019 #774 of 806
    mdavej

    mdavej Well-Known Member

    3,382
    1,191
    Aug 13, 2015
    Not that I know of. IMO, dealing with standby is a complete waste of time.
     
  15. May 1, 2019 #775 of 806
    Chapin

    Chapin Member

    31
    2
    Oct 28, 2002
    I agree. I just want to catch it if it goes into standby on its own. I cannot figure out how to prevent standby since I upgraded to Hydra.
     
  16. May 1, 2019 #776 of 806
    mdavej

    mdavej Well-Known Member

    3,382
    1,191
    Aug 13, 2015
    My main Hydra boxes never go to standby. You have a setting wrong somewhere.

    Minis have always gone to standby. You have no control over that. I just send LIVETV and deal with the consequences. My Minis are in standby 99.9% of the time I'd run my power up macros, so it's a non-issue.
     
  17. May 1, 2019 #777 of 806
    Fofer

    Fofer Bo55man69

    92,741
    4,395
    Oct 29, 2000
    Lots of folks discussing this in other threads. Apparently the latest Hydra update (which activated automatic SkipMode) makes a change in this regard... Hopefully just an unintentional bug, and not a permanent change.
     
  18. May 1, 2019 #778 of 806
    mdavej

    mdavej Well-Known Member

    3,382
    1,191
    Aug 13, 2015
    Gotcha. Thanks. All my Tivo stuff has been unplugged for about 6 months now, so I missed the latest round of bugs/features.
     
  19. May 1, 2019 #779 of 806
    Chapin

    Chapin Member

    31
    2
    Oct 28, 2002
    Does TELEPORT NETFLIX work?

    Would "IRCODE LIVETV" or IRCODE TIVO" wake from sleep?
     
  20. May 1, 2019 #780 of 806
    mdavej

    mdavej Well-Known Member

    3,382
    1,191
    Aug 13, 2015
    Who knows. Give it a shot. They're in both lists in the protocol manual. But the manual says TELEPORT is "guaranteed to succeed". So that's what I use.

    TELEPORT seems to be special in that it goes directly where commanded no matter what mode the Tivo is currently in. But it has a much more limited set of arguments than IRCODE. Since NETFLIX was recently added to the Tivo remote, it made logical sense to me that IRCODE was the method most likely to work.

    I can't really tell you every possible undocumented combination and permutation and am not going to test anything as that would require me digging a Tivo out of my closet and hooking it back up. I highly recommend you just open a telnet session as described in the first post and hack away, then post your findings here.
     

Share This Page