maker-samsung-remote
v1.0.9
Published
Programming a smart samsung TV using maker and webtask (from IFTTT) on your local network
Downloads
3
Readme
maker-samsung-remote
Programming a smart samsung TV using maker and webtask (from IFTTT) on your local network
Usage
- Follow the and the environment variables needed
- Be sure to set the environment variables for
MAKER_WEBTASK_URL
andWEBTASK_SECRET
- If you know what range of ports your tv is running, add it to the environment variable
SAMSUNG_IP_RANGE
- e.g.
SAMSUNG_IP_RANGE=100-140
- Install the package via
npm install maker-samsung-remote
- Run the application
npm run maker-samsung-remote
- You can now control your TV by making API calls to webtask (or having maker make API calls to maker)
Example:
- Setup IFTTT such that IF is a Google Assistant call (or whatever tricker you want) to raise the tv off
- Run the application above, with the MAKER_WEBTASK_URL environment variable set to https://wt-myemail-gmail-com-0.run.webtask.io and the WEBTASK_SECRET variable set to somesecret (NOTE: these need to be your own url and secret)
- Setup Maker to POST to your API queue, for example:
POST
to https://wt-myemail-gmail-com-0.run.webtask.io/queue?secret=somesecret
"device": "tv",
"command": "off"
}```
4. Watch your tv turn off if successful