RGBWW Led Strip: Can I Sync Music via ESPHome?

For those who are interested, I’m leaning heavily toward using MLSC.

It looks pretty neat. Go ahead and give that link a click.

I don’t know if/how I can get it to work with HA. For instance, I would prefer to be able to control it (at least activate and deactivate it) from my HA server, perhaps through API calls. I am a total novice but perhaps in time I’ll figure out a way to integrate it with HA in some respect.

Edit: Indeed, once MLSC is installed, it hosts a web UI, and on this UI there is a link to a list of API commands. So, one should be able to control each individual LED strip through the API (as well as the web UI, of course) This MLSC is quite a nice piece of software. I am surprised there isn’t more discussion of it.

Edit: I’ve posted some examples of REST commands I’m using to edit/activate effects from HA via the API.

I’ve also created SSH keys so I can shut down my MLSC RPi4 from HA. See below.

  - platform: command_line
    switches:
      raspberry_pi_shutdown:
        command_on: "ssh -i /config/ssh_keys/pi -o StrictHostKeyChecking=no [email protected] sudo /sbin/shutdown -h now"
1 Like