Skip to content
/ Huecord Public

💡 A lightweight Discord bot for interacting with Philips Hue lights.

License

Notifications You must be signed in to change notification settings

ven/Huecord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💡 Huecord

A lightweight Discord bot for interacting with Philips Hue lights. Built using discord.py and pHue.

Features

  • Enable and disable lights, light groups and scenes.
  • Modify groups and scenes.
  • Manage brightness, colour and view individual light statuses.
  • Bridge configuration information.

Dependencies

Setup

  1. Clone this repository: $ git clone https://github.com/venoras/Huecord

  2. Run pip3 install -r requirements.txt to install all dependencies.

  3. Modify the config.example.py with the relevant parameters, and rename it to config.py.

    1. Go to Discord Developers and create a New Application. Navigate to Bot, and click Add Bot. Paste the token into the configuration file.

    2. To find your Discord User ID, right click your profile and click Copy ID. Developer Mode must be enabled in Settings -> Appearance. Paste this ID into owner_id in the configuration file.

    3. To find your Hue Bridge IP, click here and copy the Internal IP Address value.

  4. To run the bot, use python3 launcher.py. If it is your first time running the bot, ensure you have pushed the sync button on your Hue Bridge prior to launching it.

Configuration

  • If you'd like the commands to be executable by any user, modify owner_only in config.py to False.

About

💡 A lightweight Discord bot for interacting with Philips Hue lights.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages