The next notification shows my current temperature that was updated from the Nest thermostat, it will update when temperatures change throughout the day, and I can even control the temperature of the house from the notification. I would bet most people would have never even thought that controlling your house from a notification was possible. I was quite impressed by this one, myself 🙂
Read below the picture for more…
As you can also see I have added control for Pandora. This first started with an ambition to “skip” and “thumbs down” music I don’t like, is playing on my home theater through Pandora, without having to power my entire home theater up. It started with that, and of course, it grew into getting the ID for each song sent from the browser on my Media Center, to my phone.
I used a Google Chrome add-in to scrape the song data off the Pandora site. When a new song starts, it saves the scraped data to a local file, then used EventGhost’s Directory watcher to notify itself of a change in file. Each time that file changes, a Python Script reads it to a variable and sends Tasker an AutoRemote message of the song information. Then, I used AutoNotification to build the SongID.
I wanted to make sure I could skip songs without the TV on. So, I built some more macros for Pandora in EventGhost that move the mouse to a certain area of the screen, and then push the skip or thumbs down button.
Each time I press these in the notification, it sends an AutoRemote message to EventGhost to execute these macros.
On the top of the screen are my Power Toggles (GPS, WIFI, Bluetooth), I also added a toggle to turn SongID off (the music note next to the pin). Just in case I don’t want any song data, I can press that, and EventGhost will stop sending me SongIDs. That was another AutoRemote Message to Disable the Macro in EventGhost instead of just turning it off on my phone. Concerns about battery crossed my mind, but AutoRemote has never been a “battery vampire”. I just wasn’t worth the CPU cycles when I don’t want it.
Although Tasker and EventGhost are the engines, there was a lot of manipulation to be done here and none of it would be possible without Joao’s AutoNotification and the rest of his family of products.