You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Ecmel Berk Canlıer 9449bef392
Add more configuration arguments
2 years ago
.gitignore Create a setup script 2 years ago
LICENSE Add README and LICENSE 2 years ago
Pipfile Test sound visualization 2 years ago
Pipfile.lock Test sound visualization 2 years ago
README.md Add more configuration arguments 2 years ago
hdsetup.py Create a setup script 2 years ago
huedance.py Add more configuration arguments 2 years ago

README.md

huedance

Sync your Philips Hue lights to music.

To send patches, report issues or for general discussion, send an email to ~admicos/projects@lists.sr.ht. You can view that mailing list here

Note

Only tested under Linux. There is a possibility that it will work under Windows too, but no guarantees.

macOS will not be officially supported, as I don't have any macOS devices to test under, but patches are welcome.

Usage

Install dependencies with pipenv

$ pipenv install

Install dependencies without pipenv

Check out the Pipfile file and install the specified dependencies either from pip, or from your package manager's repositories.

Requires Python 3.6 or later.

Setup

First, link the program to your bridge by running the hdsetup.py. (With pipenv run ./hdsetup.py if you used pipenv to install dependencies).

After you ran the setup. You should now have a huedance.json file.

Run

Run huedance.py (With pipenv run ./huedance.py if you used pipenv) with the name of the light(s) you want to sync, and start playing some music!

There is also some more configuration, available by running with the -h argument.