I use https://www.home-assistant.io/ to do a coupple of automations like switching everything which uses power off when I leave home to preserve energy and switching a CCTV cam on at the same time for safety reasons.
But one of the more usefull automations is a text2speach script which fires in the morning between 6 and 11, during workdays, when I'm not asleep but still at home, always 7 minutes before the next train to work leaves. This way I miss the train faar less often.
Seconding Home Assistant, it's really the glue that allows for the leveraging of other systems.
I was able to set up something I had wanted for a long time which was to turn off my TV/Stereo/Kodi after idling. I built the conditions which caused the the whole thing to shut off via Harmony hub after 10 minutes of idle after being played. The one downside is the project moves really fast so you have to keep up with breaking changes sometimes.
I use home-assistant with LIRC to give my Chromecast a dedicated play/pause button on the universal remote. It also pauses the Chromecast when I power off my AV receiver.
Then there's a cron job that beeps on the hour (a 4-bit number from 1-12), so I can hear if my computer and watch are in sync.
I made a chapter skipper for VLC because I couldn't find one that worked for shows that don't have the actual intro right at the start of the episode.
https://gist.github.com/VictorPascu/1886f97927f759ec45977556... It causes not responding prompts because I couldn't find a good way to implement a sleep call on the checker, but hey, it works, and I'm lazy enough that I'm willing to burn processor cycles to not get out of bed.
Comments (731) 147 threads
Earlier commentshttps://smalldata.tech/blog/2017/11/15/building-a-voice-assi...
I also wrote my own little VPN kill swtich - great for ensuring that my browser shuts down if the VPN dies.
https://smalldata.tech/blog/2018/04/11/building-a-vpn-kill-s...
But one of the more usefull automations is a text2speach script which fires in the morning between 6 and 11, during workdays, when I'm not asleep but still at home, always 7 minutes before the next train to work leaves. This way I miss the train faar less often.
I was able to set up something I had wanted for a long time which was to turn off my TV/Stereo/Kodi after idling. I built the conditions which caused the the whole thing to shut off via Harmony hub after 10 minutes of idle after being played.
The one downside is the project moves really fast so you have to keep up with breaking changes sometimes.
Then there's a cron job that beeps on the hour (a 4-bit number from 1-12), so I can hear if my computer and watch are in sync.
https://gist.github.com/VictorPascu/1886f97927f759ec45977556...
It causes not responding prompts because I couldn't find a good way to implement a sleep call on the checker, but hey, it works, and I'm lazy enough that I'm willing to burn processor cycles to not get out of bed.
(If indoor, overkill.)
It works perfectly (watering the plants 1-2 times a day depending on the setting I set); I like its simplicity and easy of use!
All comments shown.
Couldn't load more comments. Check your connection and try again.