This project is aimed to provide a little bit of fun to your home automation. If you have a MIDI file laying around you can use it to controll you shelly's around the house to creat a light show.
Everything is based on the mido package.
You will need to configure four parts
- the midi file you want to serve
- the IPs of your shelly devices
- The
mod
parameter. This should be set to the same number has shellys you want to use. This way each note coming from midi will be converted to match one of the shellys. You will get the best result with more shellys - The port that should be used to play the music
If you don't know what port to use you can run mido.get_output_names()
to list the available ports on your machine.
- Allow for more settings like songs, tempo ...
- Use the note play length...somehow
- Scan the network for shellys
- Make it into a python lib
- Build a home assistant integration