Skip to content

A Discord chat interface for your IoT lighting devices.

License

Notifications You must be signed in to change notification settings

anthonybench/light-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LightBot

A Discord application to control smart lights.


Welcome to LightBot!

A succinctly written discord application to interface with supported smart lights on a network.


Table of Contents 📖



Get Started 🚀


Fetch dependencies:

pip install -r requirements.txt

Create config.yml in the repo's root, and populate as follows:

# Discord
app_id: # developer console
public_key: # developer console
perms_int: # developer console
token: # developer console
client_id: # developer console
client_secret: # developer console
guild_id: # server settings in discord
#
channel_scope:
  - channel-name
  - other-channel-name


# Phillips Hue
bridge_ip  : # see references in main.py
username   : # generated by bridge
client_key : # generated by bridge
mapping : # slash-command : grouped-light-rid
  lv : # use dev_tools

You can ensure your bot token is active or generate a new one here.

See the Discord.py API docs to implement new features.


Usage ⚙


Log in bot indefinitely:

./main.py run

Info message:

./main.py --help

Technologies 🧰



Contribute 🤝


If you think you have a cool smart light control idea, submit a PR 🤓


Acknowledgements 💙


Thanks to Jean Choi, my partner, for being so supportive all the time.


License, Stats, Author 📜


example image tag

GitHub code size in bytes PyPI GitHub top language

See License for the full license text.

This repository was authored by Isaac Yep.

Back to Table of Contents

About

A Discord chat interface for your IoT lighting devices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages