https://github.com/plexinc/webhooks-home-automation
Use Plex webhooks to control lighting in your home
https://github.com/plexinc/webhooks-home-automation
plex webhooks
Last synced: 12 months ago
JSON representation
Use Plex webhooks to control lighting in your home
- Host: GitHub
- URL: https://github.com/plexinc/webhooks-home-automation
- Owner: plexinc
- Created: 2017-02-02T03:18:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-11T15:30:46.000Z (almost 2 years ago)
- Last Synced: 2025-04-09T23:18:53.975Z (12 months ago)
- Topics: plex, webhooks
- Language: JavaScript
- Homepage:
- Size: 1000 Bytes
- Stars: 216
- Watchers: 57
- Forks: 42
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
In order to run this app:
- Install [node.js](https://nodejs.org/en/).
- Clone the repository.
- Install dependencies using `npm install`.
- [Get a bearer token](https://home-assistant.io/components/wink/) 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
```
- Add the webhook to https://app.plex.tv/web/app#!/account/webhooks