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.
git clone [email protected]:JeromeDevillers/ableton-hue-record.git
cd ableton-hue-record
npm i
node index.js
Copy the .env.example
and rename it .env
HUE_BRIDGE_IP=
HUE_USERNAME=
HUE_LIGHT_ID=
-
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 oninternalipaddress
param. -
Press the link button on the bridge.
-
Then you need to create a username to use the Philips Hue API.
Go to https://<bridge ip address>
/debug/clip.html and fill the form like this : -
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 |
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 |
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.