Hope you don’t mind a question from a utterly clueless douchebag…
I’m trying to get SmartThings to be able to send text notifications to my LG C7 TV so a message will pop up saying “motion on driveway” etc.
The TV runs WebOS and as such supports a pretty decent set of network instructions including sending what they call a “toast” which appears on screen exactly as I want.
I followed the instructions at https://github.com/Danovadia/lgtv-http-server (install node.js; install lgtv package etc) and tweaked the index.js file to point correctly at my TV’s IP address.
I can now run a node command in my terminal locally that will pop up a message on the TV.
I’m a bit stuck though on how I should go about integrating this into SmartThings and my google-fu is failing me. It seems like I need to set up some sort of Node.js server and run the command via REST but I have no experience of this.
I have a Mac Mini server that’s running all the time so I have something to run Node on, it’s just figuring out how to trigger a command to it from SmartThings that’s confusing me.
Any suggestions for the clueless newbie much appreciated. Trying to search for specific simple information on Node.js is like holding a shot glass up to the Niagara Falls…