Simplest way to use a touchdown/scoring drive as a trigger?

rule_machine

#1

So the regular season has started. First Saints game is tomorrow. I have my lighting effects ready for each Saints scoring drive, and a suitable 40 second mp3 ready to blast on the Sonos.

All I'm missing is a rule machine trigger to run this automation.

Can someone PLEASE help me with a trigger for each scoring drive? Doesn't look like IFTTT has an ESPN integration any more.

Thank you!


#2

The only thing I could think of is an Android App tied to Tasker on your phone. That is the only thing that I can think of that might be real time enough. But it still will probably be quite a few seconds behind the actual touchdown. The only way to get it synced really closely will be to do it manually with a button controller or something.


#3

Yeah, that's what I did with Stringify last year. Might have to end up doing the same this year - was hoping to have something sleeker in place.


#4

There was an app on ST that started as a NHL goal notifier. The author was adding other sports when I jumped ship to HE. It may be worth looking at.


#5

Yup. Link would be awesome!


#6

I ported the app over yesterday hoping to be able to change it up for NFL too but I can't find a NFL api like the NHL api he is using. Looks like this will be awesome for Hockey though.


#7

#8

Been doing some more digging on reddit. Seems just about all services were using the ESPN Api but they shut it down. So even IFTTT can't do it anymore. Not looking good for NFL touchdown triggers. :unamused:


#9

Dang


#10

You know. It's very clear to me, that while I'm a HA automation Neophyte, sometimes the real HA afficionados are in a different league altogether. When I first read this post, I thought it was Tongue in Cheek.

Then I read the serious replies from @Ryan780, @aaron, @bptworld & @michael.l.nelson and I knew I was totally wrong.

You guys are next level for sure. I'm going to go back to my little corner and contemplate my RM 4.0 rules for lighting automation....

S.


#11

As a fellow Saints fan, look on the bright side. If they keep playing like this, you might not need the automation! =P


#12

I had this working through espns Ifttt integration, 15 minutes after the fact you would get the notification...


#13

It's gotten better in the third.


#14

Yikes. That's slow. Even by IFTTT standards.


#15

It has. I wish they would stop this habit of falling behind and then playing catch-up. It's dramatic and exciting, but the clock doesn't always last long enough to get the job done.


#16

Okay - after this game, I don't need automated lights and music. I need an automated defibrillator.


#17

Did you post the ported NHL app somewhere? I'm a huge hockey fan and would love to regain this one.


#18

Not yet, need to do some testing


#19

Where there is a will there is a way. Lol!


#20

Ok,

I found a couple of data sources that might be of interest for NFL data. This first one is this one:

http://www.nfl.com/liveupdate/scores/scores.json
Which gives you the scores per game per quarter

and this site gives live data also and you can choose by date and has many more details
http://www.nfl.com/liveupdate/game-center/2018090900/2018090900_gtd.json

Then there is also this one here which is in XML
http://www.nfl.com/ajax/scorestrip?season=2019&seasonType=REG&week=1

Now, I have no idea how the data looks like while there are active games but we should be able to see that during next weeks games.

IF the NFL updates these data feeds quickly, an App could be made that queries the data "regularly", filters for your team and performs an action when the score changes.

Food for thought and food for a hungry NFL fan developer...