Ok so I had an Idea and I thought I would share it. I live in the DC outskirts and often hear sirens. Well.... I'm always curious as to whats going on. Maybe curiosity killed the cat but i'm still alive!! So What I did was I used the chromecast plugin to play a police scanner in my area. Since I did not find anything similar while I was google, I figured I would share how I did it. Its quite simple actually.
Step 1: Go to https://www.broadcastify.com/ --> Click Listen ---> Find your location --> choose the stream you want.
Step 2: We need to get the Stream Url and MIME type. Select "HTML5 Web Player" in the drop down ---> Press play.
A new screen will open up. Right click anywhere on the screen and click on "view page source"
In the page source look for the <audio> Tags. Copy the "src" and the type. The type is your MIME.
Step 3: Add a Chromecast event with an action type of "Cast media". Everything else should be self explained.
Step 4: Trigger the event with IFTTT. I Used the google assistant chanal to listen for words like "Whats going on out there?" or "I hear sirens" and it triggers the event with the Homeseer channel.
End result: "Ok google, whats going on out there?" --> my google home responds with: "I don't know but listen to the Police scanner together and find out" --> then the stream begins.
Thanks goes out to SPUD for such an awesome plugin!!!
Step 1: Go to https://www.broadcastify.com/ --> Click Listen ---> Find your location --> choose the stream you want.
Step 2: We need to get the Stream Url and MIME type. Select "HTML5 Web Player" in the drop down ---> Press play.
A new screen will open up. Right click anywhere on the screen and click on "view page source"
In the page source look for the <audio> Tags. Copy the "src" and the type. The type is your MIME.
Step 3: Add a Chromecast event with an action type of "Cast media". Everything else should be self explained.
Step 4: Trigger the event with IFTTT. I Used the google assistant chanal to listen for words like "Whats going on out there?" or "I hear sirens" and it triggers the event with the Homeseer channel.
End result: "Ok google, whats going on out there?" --> my google home responds with: "I don't know but listen to the Police scanner together and find out" --> then the stream begins.
Thanks goes out to SPUD for such an awesome plugin!!!
Comment