In this video we will go over how to add Google Home to Samsung SmartThings as smart devices so that SmartThings can actually make Google Speak. Setting up this capability is a big game changer for your home automation rules, and can really add another dimension to SmartThings. This video will go over what needs to be done in order to use cast-web-api in the Samsung SmartThings NEW App.

Starting cast-web-api on boot:

You can use any of your favorite options to have programs start on boot for raspberry pi. To get cast-web-api to run on bootup I used systemd. There is a startup command you can run for cast-web-api but I was not able to get it to work.

You can use the below service file if you would like to use systemd:

[Unit]
Description=Start cast-web-api
After=network.target

[Service]
Type=forking
ExecStart=/usr/bin/cast-web-api-cli start
ExecStop=/usr/bin/cast-web-api-cli stop

[Install]
WantedBy=multi-user.target

A great resource on using systemd on raspberry pi can be found here

cast-web-api resources:

How to install node.js:

Leave a Reply

Your email address will not be published. Required fields are marked *