It can turn your Philips Hue lights on and off 🤯
Command | Action |
---|---|
/on | Turns your lights on |
/off | Turns your lights off |
NodeJS version 16.5.0
gh repo clone Fabian9799/PhilipsHue-Discord-Bot
- Rename .env.example to .env
- Change all the default values in your .env file
KEY | VALUE |
---|---|
TOKEN | Your bot token from https://discord.com/developers/ |
USER | Philips hue username * (https://developers.meethue.com/develop/hue-api/remote-api-quick-start-guide/) |
BEARER | Bearer ACCESS_TOKEN (https://www.lewisroberts.com/poshue/) (gets invalidated after 7 days) |
* After the first PUT request press the top button on your Hue Bridge
npm i
npm run dev
- Automatically refresh access token
- Change brightness
- Change color
- Change Scenes