Replies: 3 comments 2 replies
-
Thanks :) I thought about that, however I have some doubts about this... As I mentioned in the comment esphome/feature-requests#1254 (comment), it is not very composable, i.e. it has one "fat" component that does all. Probably to be included in the main repo, it would require quite significant rework to split it into smaller components that could be chained together, e.g. filters should be extracted as independent smaller components. And implementing this flexible approach managing audio routing, connections, different number of channels, bit depth, buffering, synchronisation, threading, etc. seems like not an easy task. Also, ideally, it needs to be integrated somehow with existing i2s_audio/media_player components, as currently they both work with i2s/audio, but are implemented very differently, different config sections, etc. So I'm considering it more like temporal/intermediate solution. That said, I'd be happy to continue discussion in mentioned feature-request issue how to make it more unified/flexible/reusable, the solution that could actually be included in the main repo. |
Beta Was this translation helpful? Give feedback.
-
I don't think that's a problem. Your solution is compact, easy to deploy, out of the box style. There are many components like this in ESPHome. A lot of sensors and devices speaking modbus protocol have been implemented directly. Only after that, a generic modbus component appeared to modularize the whole system, but the original components are still usable within the system. One can now use them multiple ways. Same as Time based cover. You can implement it in at least two separate components. |
Beta Was this translation helpful? Give feedback.
-
Just jumping on here to say a huge thanks for your work on this. It was plug-and-play for me thanks to your clear code and documentation. Great work! I would imagine the ESPHome community would appreciate an accurate, low-cost SPL meter. I certainly do :-) Thanks again for sharing it. |
Beta Was this translation helpful? Give feedback.
-
Awesome work! Please, please submit this component as a PR to ESPHome so it gets a wider audience.
Beta Was this translation helpful? Give feedback.
All reactions