Any project available to synchronize music to all of my lights?

Dear community,

do anybody know any project for HA to sync music to my lights?

There are over 18 Philips Hue lights.
Many WLED lights, and some other LED lights.

I used to sync my lights with the app installed on my iPad: https://ilightshow.net
But its not possible to select WLED or other kind of self build led stripes.

HA is installed inside of proxmox on an INTEL NUC with a lot of power.

What will be best:

  • Sync using Spotify, AppleMusic, Sonos, AirplayBoxes (Like HomePod)
  • Option to select the lights: Philips Hue, WLED, other brands?
  • Options of effects. How bright, which color palette, …

Anybody are ongoing to program such kind of a repo or know anybody?

Why do I want to have one?
The app ilightshow is quite good, but the last 2 years I got many more WLED stripes, and these are not able to select.
Also i do not want to start a program on a device. Would be much better, so start it using home assistant automation.

Oh or maybe a complete Program which can be installed on promos for example and uses only home assistant connection to sync lights.

thanks

5 Likes

I would love this too, although I understand the timing is gonna be a challenge over zigbee

This is exactly what i am looking for. Just want to sync with spotify and maybe youtube? If youtube is not possible then mic fallback would be great via phone or mic on any device. My setup is wifi currently but i don’t know anything that can control all my devices at the same time. If nothing works i will ditch everything in the future and go full hue or govee for music and tv sync.

Current setup
Govee t2
2x wled strips
2x Ledvance bulbs ( bascily tuya bulbs)

This is exactly what I’m looking for, any progress?

I wrote this little script to change the lighting to the vibrant color of the currently playing Spotify track. It uses my SpotifyPlus Integration that I developed.

Philips Hue Lights to Currently Playing Vibrant Color

Changes Philips Hue lighting color to vibrant color of currently playing Spotify track cover art.

Example
Change the following script details for your environment:

  • YOUR_SPOTIFYPLUS_ENTITY - your SpotifyPlus entity_id.
  • YOUR_HUE_LIGHT_ENTITY - your Philips Hue light entity_id.
alias: SpotifyPlus Hue Lights to Currently Playing Spotify Cover Art Vibrant Color
description: >-
  Changes Philips Hue lighting color to vibrant color of currently playing
  Spotify track cover art.
triggers:
  - trigger: state
    alias: Trigger when SpotifyPlus media player Track ID changes
    entity_id:
      - media_player.YOUR_SPOTIFYPLUS_ENTITY
    attribute: media_content_id
conditions:
  - condition: state
    alias: If SpotifyPlus media player is playing something
    entity_id: media_player.YOUR_SPOTIFYPLUS_ENTITY
    state: playing
actions:
  - action: spotifyplus.get_image_vibrant_colors
    alias: Get vibrant colors from currently playing Spotify cover art image
    data:
      entity_id: media_player.YOUR_SPOTIFYPLUS_ENTITY
      color_count: 64
      color_quality: 5
    response_variable: vibe_colors
  - action: light.turn_on
    alias: Change Hue light color to vibrant color value
    data:
      entity_id: light.YOUR_HUE_LIGHT_ENTITY
      brightness_pct: 100
      rgb_color: "{{ vibe_colors.result.vibrant.rgb }}"
mode: single

Hope it helps!

So I’m working on a POC for this. It involves buying this Amazon.com: Elite ESP32 WLED LED Strip Controller with Ethernet Music Sound Reactive UART Energy Save Relay 20A Pluggable Fuse DIY Dynamic for WS2811 WS2812 SK6812 WS2815 Digital Addressable RGB IC Strip Light

The WLED and native Govee LAN API exposes light domain color segments. What I’m going to try to do is hook up this device, feed audio into it, then create light groups named Segment 01,02,03 etc. Then have the light segment groups synchronize with the segments on the controller I’m buying. I know I can get it to work, but the question is how much of a delay will there be. This controller is Ethernet based and my HA setup is pretty powerful so we will see.

1 Like

Would be happy to be an alpha/beta tester for you. I’ve got a couple Govee lights around the house which are tied to the LAN API.

what language are you programming in?