Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for MQTT possible? #1371

Open
kalle2000 opened this issue Dec 18, 2021 · 4 comments
Open

support for MQTT possible? #1371

kalle2000 opened this issue Dec 18, 2021 · 4 comments

Comments

@kalle2000
Copy link

Would it be possible to add support for MQTT to owntone? This would make it super easy to integrate it easily into many home automation platforms.
On the one hand side owntone can push infos (e.g. track changes etc) to a MQTT server and on the other hand it could retrieve main commands (e.g. play, stop, pause, volume etc) from a MQTT server

@kalle2000
Copy link
Author

kalle2000 commented Dec 19, 2021

Does this reference help?
https://github.com/mikebrady/shairport-sync/blob/master/mqtt.c

@ejurgensen
Copy link
Member

The feature sounds fine, but I won't be adding this myself, since I wouldn't be using it and thus wouldn't be able to maintain it either.

@clach04
Copy link

clach04 commented Jul 3, 2022

@kalle2000 you could try implementing a, external bridge (e.g. in Python). If that sounds daunting you could use https://github.com/jpmens/mqtt-launcher and some command line tools. This would allow control (but not viewing status), with a small amount of effort.

@LordMyschkin
Copy link
Contributor

I just noticed there is a project wrapping mpd commands into mqtt: https://github.com/orbifly/mpd2mqtt?tab=readme-ov-file
Maybe that solves that problem, although you have to run a docker image next to owntone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants