esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
415 stars 26 forks source link

Snapcast support #861

Open MayeulC opened 4 years ago

MayeulC commented 4 years ago

Describe the problem you have/What new integration you would like Integrating the following work with esphome: https://github.com/jorgenkraghjakobsen/snapclient

Please describe your use case for this integration and alternatives you've tried: Create a free software, cheap sonos clone for multi-room audio.

Additional context I would like to have a system that is as energy-efficient as possible, I think the esp32 might be suitable for this. Ideally, the workflow would be the following:

Materials needed:

  1. ESP32
  2. MA12070P or similar
  3. Analog speakers
  4. (battery if you want) power supply

Software needed: Snapcast server

Ideally, I would like the installation process to be as simple as soldering together the modules, specify it in the config, and flash, then have it pop in homeassistant.

A possible alternative would be to use separate bluetooth speakers. I am not sure how feasible this would be?

velaar commented 1 year ago

It would be great to see this integrated. Sadly I lack the required knowledge to do so. I've recently started experimenting with LyraT 4.3 boards and this fork seems to be working well. It looks more advanced than the original in the post above

Bram-diederik commented 1 year ago

Hi, Just passing by. adding snapcast support will make music adaptive lights with home assistant possible.

h3ndrik commented 7 months ago

Just to add some more recent forks of the snapclient:

mads03dk commented 3 months ago

I have begun working on something that has a slight possibility of turning into a Snapcast component. This is my first time ever developing components for esphome. Although I have experience with both Arduino and ESP-IDF I am by no means an expert in c++ which heavily limits this specific type of development with protocols, buffers, memory allocations and all the other low level stuff where I'm not that strong.

Dev fork: https://github.com/mads03dk/esphome

At the moment, I don't have the time required to complete this. This is heavily reflected in the catastrophe of a commit I just made to repo.

If anyone wants to help or take inspiration from my crappy sketch, feel more than free to do so :)

What works:

yggi commented 6 days ago

I would love to have an esphome snapcast component. Synced multi-room audio right out of the sensor nodes! Is there any progress / timeline on this? I might be able to put some work in myself, although I am in a similar situation as @mads03dk and would be very grateful for some handholding.