Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help on how to use it #1

Open
jjscarafia opened this issue Aug 18, 2022 · 1 comment
Open

help on how to use it #1

jjscarafia opened this issue Aug 18, 2022 · 1 comment

Comments

@jjscarafia
Copy link

Hi, I'm almost a newbee to home assistant and mqtt.
I'be some led strips via shell rgbw2 and some zigbee led bulb lamps via zigbee2mqtt.
I'was looking for something to make them dance, I've found "ledfx" but it seems it's only suitable for wled firwmare.

I 've found your script and seems to be what I was looking for.
Can you give some advice on how to get started and use it?

Thanks!

@MrLemur
Copy link
Owner

MrLemur commented Aug 23, 2022

The devices need to support MQTT.

Here you will find some examples for what is supported (zigbee2mqtt, Tasmota and WLED): https://github.com/MrLemur/mqtt-music-viz/blob/main/file.py#L26

Delete what is not needed, or add devices following that format. You need to know the MQTT topic that the device uses to receive commands.

Once you have that, run the following in your terminal (make sure you are in the repo directory):

  1. pipenv install
  2. pipenv run python file.py
  3. Go to http://localhost:5000 and you can toggle it to start and stop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants