homestar-samsung-smart-tv
v0.0.19
Published
IOTDB Bridge for Samsung Smart TV
Downloads
64
Readme
homestar-samsung-smart-tv
IOTDB Bridge for Samsung Smart TV
About
This Module allows you to control your Samsung Smart TV devices from IOTDB and Home☆Star.
Note that "Samsung Smart TV" is basically just a name. It's not really that Smart, and not all Samsung Smart TVs will work with this because reasons.
After installation (see below) you can test compatibility by trying
$ homestar samsung-send KEY_POWEROFFwhich should turn off your TV. There's no corresponding way to turn on the TV unfortunately, as the Internet connection is not there when the TV is off.
Installation
Then:
$ npm install homestar-samsung-smart-tvUse
Change to HDMI1 and turn the volume up by 5 levels.
const iotdb = require('iotdb')
iotdb.use("iotdb-samsung-smart-tv")
const things = iotdb.connect("SamsungSmartTV")
things.set(":band", "iot-purpose:band.hdmi")
things.set(":volume.delta", 5)