https://github.com/JeromeDevillers/ableton-hue-record
Set Philips Hue color to red when you recording with your Ableton Push 2.
https://github.com/JeromeDevillers/ableton-hue-record
ableton ableton-link ableton-push ableton-push2 abletonlive philips-hue philips-hue-api philips-hue-lights push2
Last synced: about 1 year ago
JSON representation
Set Philips Hue color to red when you recording with your Ableton Push 2.
- Host: GitHub
- URL: https://github.com/JeromeDevillers/ableton-hue-record
- Owner: JeromeDevillers
- Created: 2021-05-20T16:59:18.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-26T22:33:23.000Z (about 5 years ago)
- Last Synced: 2024-10-28T16:12:52.050Z (over 1 year ago)
- Topics: ableton, ableton-link, ableton-push, ableton-push2, abletonlive, philips-hue, philips-hue-api, philips-hue-lights, push2
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ableton-hue-record
Set Philips Hue color to red when you recording with your Ableton Push 2.
***Note:** I don't experience latency but because we use wifi communication you maybe experience some depending of your connection.*
## 🖼️ Preview

## 🛠️ Installation
```
git clone git@github.com:JeromeDevillers/ableton-hue-record.git
cd ableton-hue-record
npm i
node index.js
```
## 🔨 Configuration
Copy the `.env.example` and rename it `.env`
```
HUE_BRIDGE_IP=
HUE_USERNAME=
HUE_LIGHT_ID=
```
1. First you need to find your **Philips Hue Bridge IP**.
For that you can use this url https://discovery.meethue.com/.
You will find the IP on `internalipaddress` param.
2. Press the link button on the bridge.
3. Then you need to create a username to use the **Philips Hue API**.
Go to https://``/debug/clip.html and fill the form like this :
4. You should see a username value like `1028d66426293e821ecfd9ef1a0731df`.
Copy this to the `.env` file.
| param |value |
|-----|----|
| URL| /api |
| Body | {"devicetype":"my_hue_app#yourname"} |
| Method | Post |
## Dependencies
| Name | URL |
|-------|-----|
| Dotenv | https://www.npmjs.com/package/dotenv |
| Axios | https://www.npmjs.com/package/axios |
| Ableton-push2 | https://www.npmjs.com/package/ableton-push2 |
## 👥 Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
## License
[MIT](https://choosealicense.com/licenses/mit/)