plexinc / webhooks-home-automation

Use Plex webhooks to control lighting in your home

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In order to run this app:

  • Install node.js.
  • Clone the repository.
  • Install dependencies using npm install.
  • Get a bearer token for your Wink account.
  • Find the lightbulb ID by making the following request and looking for light_bulb_id:
http -b https://winkapi.quirky.com/users/me/wink_devices "Authorization:Bearer your-bearer-token"
  • Find the player identifier for the player you want to connect it with.
  • Run like this:
BEARER=bearer-token BULB=bulb-id PLAYER=player-identifier node index.js

About

Use Plex webhooks to control lighting in your home


Languages

Language:JavaScript 100.0%