Live data from Hacker News

NHL goal celebration hack: real-time machine learning and hue light show

blog.francoismaillet.com

11–20 of 48 posts

Re: NHL goal celebration hack: real-time machine learning and hue light show

#11
This is a cool idea, but the light show going off erroneously in my own home for the opposing team would be disheartening to any die hard fan. Any chance of this happening, let alone once every 4 games, would be unacceptable. And the pain of knowing I rigged it up myself would make it that much worse. I applaud OP for the wherewithal it must've taken to see this project through to the end.

Re: NHL goal celebration hack: real-time machine learning and hue light show

#13

This is really awesome. I've managed to do something similar, but for the Washington Capitals. When the game starts the lights change to the color of the home team, and when they score the flash. I'm using a little web scraper to pull from nhl.com to get the data, however, sometimes it's quite out of sync with the actual game (streaming or live tv). Usually about 30 seconds to a minute delay. The best part is when I…

I've been using MLB.com's api and Windows' text-to-speech to build a robo-announcer for baseball games. It builds a little narrative from the ridiculous amount of data they share. Sure, I could just listen to the streaming audio, but it's been an excuse to learn some Racket.

I kid about building a robo-color-commentator that tells old stories and bad jokes.

Re: NHL goal celebration hack: real-time machine learning and hue light show

#17
I know this post isn't really about the hockey part and more about the ML part, but I think it would be more practical to analyze and maybe use the Budweiser Redlight API if possible (I haven't looked into it yet or have one) to get almost instant goal reporting for your team of choice.

I have seen it in action and it's like ~2 seconds off from a live feed.

http://www.budweiser.ca/redlight/

Really nice post and I'll be using it implement a few things around the house (like trying to monitor kids crying, etc).

Re: NHL goal celebration hack: real-time machine learning and hue light show

#18

I'm the guy who did this; really happy this is trending on HN! Hope everyone enjoys the game tonight! :D

Really cool.

What are you doing for away games? Can it still detect Habs goals? You mentioned you had to train the algorithm not to detect the opponents' goal horn. Couldn't you just scrape the schedule to detect if you're playing at home or away and use a different model for each?

Re: NHL goal celebration hack: real-time machine learning and hue light show

#20

This is really awesome. I've managed to do something similar, but for the Washington Capitals. When the game starts the lights change to the color of the home team, and when they score the flash. I'm using a little web scraper to pull from nhl.com to get the data, however, sometimes it's quite out of sync with the actual game (streaming or live tv). Usually about 30 seconds to a minute delay. The best part is when I…

I'd love to get your code for that if you're willing to share. I have my hue lights set up and synced with the ESPN app in IFTTT but that triggers for every game event not just goals. Would love to get it set up with something that will work a bit better.
Post reply on HN