Smart home

cast-web-api in a snap

cast-web-api in a snap

After the sd card on my raspberry pi died the prospect of creating a new one so I could connect my google cast devices to smartthings did not sound like fun. Installing cast-web-api is not trivial. So, I decided this was a good opportunity to create my first snap. Creating a snap to wrap a nodejs app was super easy. I shared my code on github, but this is the whole thing:
Wake-up with smartthings and webcore

Wake-up with smartthings and webcore

Goal: configure my house to wake me up gently. Tools: smartthings, zwave dimmer, led strip, chromecast audio, bash Steps: Created a virtual switch on my smartthings. The house will wake me up only if the switch is on. Create a webcore piston. This piston runs at 7:30: This piston does the following: Starts the gentle wake up switch Use text to speech on my chromecast Play some random music from my Synology Play a podcast I downloaded earlier in the morning using my Synology This is the bash script that cron runs every morning: