ifttt triggers

Discussion in 'Developers Corner' started by moyekj, Apr 3, 2018.

  1. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    50,953
    6,022
    Apr 17, 2000
    Nevada
    Yeah I just ran a similar test. Gen3 is missing the skip mode trigger part. So no way around it. TiVo is likely holding this back as a way to entice people to upgrade. I doubt it's a huge technical challenge to add since they already have something that triggers that little "press D" message to display.
     
  2. krkaufman

    krkaufman TDL shepherd

    15,487
    2,798
    Nov 25, 2003
    I believe we're currently SOL in regards to Gen3 boxes, but this would still be exceedingly worthwhile for someone to research, since this snooping of the "Skip segment detected" message by some LAN-based process, as suggested by @moyekj in the OP...
    ... could allow for bypassing the IFTTT infrastructure to activate the skip on the box, eliminating the delays present with the all-IFTTT approach.

    We'd still need an applet for each box to enable generation of the "Skip segment detected" messages, but the applet actions could be configured to take some other /dev/null-ish action, since the actual action would be taking place on the LAN outside of IFTTT.

    edit: p.s. Heh, it'd be initially entertaining to configure the IFTTT applet action to be "Display Message," allowing the viewer to time the lag between the LAN-activated skip and when the IFTTT-generated skip command would have arrived.
     
    Last edited: May 9, 2018
  3. krkaufman

    krkaufman TDL shepherd

    15,487
    2,798
    Nov 25, 2003
    My vote would be TiVo is shell-shocked by the Hydra rollout and putting resources towards that effort, and are looking to avoid any other software updates that might increase the support workload until the Hydra workload abates.
     
  4. moyekj

    moyekj Well-Known Member

    12,157
    809
    Jan 23, 2006
    Mission...
    Going back to the original intent of the thread, it would be nice for someone that is versed on packet sniffing to setup some IFTTT action and then sniff the network while it happens to get an idea of how TiVo is communicating with IFTTT servers and if there is a chance of setting up a proxy or something that can intercept the messages. I suspect the communications are all SSL encrypted in which case we won't get much of anything out of it, but I don't know anything about IFTTT protocols to know for sure. Originally I was hoping that TiVo had built something based on Mind RPC for this, but I'm pretty sure now that's not the case.
     
  5. kdmorse

    kdmorse Well-Known Member TCF Club

    7,491
    1,582
    Jan 29, 2001
    Germantown, MD
    I have forgotten everything I've ever known about their Body/Mind/Face implementation (I never liked it, that didn't help), so I can't say if this is on the existing Mind connection or not.

    But all my IFTTT interactions go directly between the unit, and 208.73.183.228 (mm-vip.tp1.tivo.com). They're just messages over an existing TCP connection to port 443, running what appears to be TLS 1.0. When the Played a Show event triggers, it just sends a message on the already existing TCP connection. When I trigger an event remotely (such as displaying text on the unit), it's just an incoming message on the same TCP connection. All interaction with IFTTT is probably on Tivo's end.
     
  6. moyekj

    moyekj Well-Known Member

    12,157
    809
    Jan 23, 2006
    Mission...
    OK thanks, so since it's TLS 1.0 nothing to be gleamed with packet sniffing as I feared.
     
  7. krkaufman

    krkaufman TDL shepherd

    15,487
    2,798
    Nov 25, 2003
    Could TiVo just broadcast a message on the LAN, mirroring what was sent to IFTTT? I wouldn’t think that would run afoul of the legal concerns.
     
  8. HerronScott

    HerronScott Well-Known Member

    7,419
    1,065
    Jan 1, 2002
    Staunton, VA
    Ted has indicated that they are going to roll this out to gen 3 eventually. :)

    Scott
     
    gonzotek likes this.
  9. Mikeguy

    Mikeguy Well-Known Member

    27,636
    9,195
    Jul 28, 2005
    Yep, as he said 3 months ago. ;) But then, as has been postulated, they've been involved with the Hydra Spring update.
     
  10. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    50,953
    6,022
    Apr 17, 2000
    Nevada
    They're apparently in the process of releasing a new Gen 3 version now that will work with Alexa. (there's a little "coming soon" app on the TiVo) Maybe this will include the IFTTT trigger too.

    Although I played with it a bit on my Hydra unit and the lag is a bit annoying. I also had a couple times where I hit skip on the remote manually, out of habit, and then the IFTTT triggered and skipped again. So I'm not sure if I'd actually use it. I'm trigger happy with the remote and would likely do this a lot.
     
  11. HerronScott

    HerronScott Well-Known Member

    7,419
    1,065
    Jan 1, 2002
    Staunton, VA
    That's my guess when I saw Ted's post about RC42 also including the Alexa support.

    Scott
     
  12. nessie

    nessie Member

    222
    18
    Apr 18, 2010
    Tucson, AZ
    How do you access the add and subtract time thing in kmttg? I can't find it.
     
  13. moyekj

    moyekj Well-Known Member

    12,157
    809
    Jan 23, 2006
    Mission...
    Config--AutoSkip
     
  14. nessie

    nessie Member

    222
    18
    Apr 18, 2010
    Tucson, AZ
    Where is Config—Autoskip?
     
  15. moyekj

    moyekj Well-Known Member

    12,157
    809
    Jan 23, 2006
    Mission...
    File--Configure...
    "AutoSkip" tab
    (Goes without saying you should be running recent/latest version of kmttg. Latest version is v2.4h)
     
    krkaufman and nessie like this.
  16. nessie

    nessie Member

    222
    18
    Apr 18, 2010
    Tucson, AZ
    Thanks!
    And just making sure, there is no way to have autoskip automatically work with just using the TiVo remote? Every time you want to run autoskip on a TV show, you have to go to a computer and play in autoskip mode from the kmttg GUI?
     
  17. moyekj

    moyekj Well-Known Member

    12,157
    809
    Jan 23, 2006
    Mission...
    No, not necessary. That's what AutoSkip service is for. See:

    For AutoSkip without manually starting play from kmttg with "z" bindkey look at "AUTOSKIP SERVICE" section of Wiki page:
    kmttg / Wiki / AutoSkip

    To run AutoSkip from SkipMode:
    kmttg / Wiki / AutoSkip_from_SkipMode

    Specifically to setup a scheduled job to run AutoSkip from SkipMode on all your shows automatically at a time of your choice:
    kmttg / Wiki / windows_task_scheduler
     
  18. nessie

    nessie Member

    222
    18
    Apr 18, 2010
    Tucson, AZ
    OK thanks. So I think what I'm looking for is to start autoskip service. The wiki says

    • You can start AutoSkip service using the following menu entry: File -- AutoSkip Service
    But I don't see "Autoskip Service" under the file menu. Where is it exactly?
     
  19. moyekj

    moyekj Well-Known Member

    12,157
    809
    Jan 23, 2006
    Mission...
    Turn on "Enable AutoSkip functionality" under config--AutoSkip and then restart kmttg and you should see the File menu entries.
     
  20. nessie

    nessie Member

    222
    18
    Apr 18, 2010
    Tucson, AZ
    Thanks moyekj. I appreciate that you always reply to my posts very quickly.
     
    Mikeguy likes this.

Share This Page