SmartThings Community

Node.js cast-web-api keeps stopping on android device

(Maurice) #1

I’ve successfully installed node.js and then cast-web-api as a smartapp so that I can get audio announcements cast to my google home speakers when my doors open. The problem I’m having is that it works for a while then suddenly stops working. When I check the node.js running on my tablet, the service has stopped and I need to restart it manually. After which I also need to recreate the automations again before they work properly.

Anybody had this issue, or know how to resolve it ?

(Khaled Qari) #2

could you please help me how to did you install it on your phone. im struggling

(Maurice) #3

I believe I followed this tutorial.



Connect your Google Cast devices to SmartThings. Many great features, free and open source. Find out more!

It was kinda glitchy, and required regular restarts of the service.

In the end I started using Macrodroid to play a custom sound based on a custom notification ( ie front door open)

This has worked far better than I could have imagined. I suppose you could do the same thing in Tasker.

Hope this helps.


Use the forever service

(Khaled Qari) #5

thanks much. I’ll work on it today