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.
NHL goal celebration hack: real-time machine learning and hue light show
31–40 of 48 posts
Re: NHL goal celebration hack: real-time machine learning and hue light show
#32Earlier quoted context omitted.
It's really about the comentator's yell, not the goal horn. So as far as he's excited for Habs goals and not too excited for the other team's goals, it works fine.
You watch the French commentary, I presume.
Re: NHL goal celebration hack: real-time machine learning and hue light show
#33Very cool. Would a Closed Caption feed be superior?
Re: NHL goal celebration hack: real-time machine learning and hue light show
#34This 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
#35Was playing the goal song through home audio system triggered too? How (or is it Mac's audio piped through speakers)? Great idea btw
Re: NHL goal celebration hack: real-time machine learning and hue light show
#36I'm the guy who did this; really happy this is trending on HN! Hope everyone enjoys the game tonight! :D
Re: NHL goal celebration hack: real-time machine learning and hue light show
#37Re: NHL goal celebration hack: real-time machine learning and hue light show
#38What happens when a goal is scored by the other team?
Re: NHL goal celebration hack: real-time machine learning and hue light show
#39This 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.
lol well it does go off erroneously sometimes... statistically speaking once every 4 games. BUT ... I do have the big USB button ready to cancel the light show and goal song. Something I did not mention in the blog post is that it stops the goal song by playing the Fail Trombone sound ( https://www.youtube.com/watch?v=iMpXAknykeg ) when you use the USB button to cancel light show. Yes really disheartening, but the on…
Maybe it would be more accurate to detect when the siren light behind the goal goes off if it's always viewable on screen.
Re: NHL goal celebration hack: real-time machine learning and hue light show
#40You can probably get some improved performance using hidden markov models to place of the voting scheme.