Sign inSign up

svrooij/sonos2mqtt

By svrooij

•Updated over 2 years ago

A bridge between all your sonos speakers and a mqtt server.

Image
5

100K+

svrooij/sonos2mqtt repository overview

⁠Sonos2mqtt

Sonos2mqtt npm Sonos api documentation Sonos typescript this library Sonos cli

github issues docker pulls Downloads/week License Support me on Github

All Contributors

mqtt-smarthome semantic-release

This node application is a bridge between the Sonos and a mqtt server. The status of all your sonos devices will be published to mqtt and you can control the sonos speakers over mqtt.

It's intended as a building block in heterogenous smart home environments where an MQTT message broker is used as the centralized message bus. See MQTT Smarthome on Github⁠ for a rationale and architectural overview.

Check out the other bridges in the software list⁠

⁠Migrated to ghcr.io

Check out github.com/svrooij/sonos2mqtt/pkgs/container/sonos2mqtt⁠ for the latest version.

Or use these images:

  • docker pull ghcr.io/svrooij/sonos2mqtt:beta
  • docker pull ghcr.io/svrooij/sonos2mqtt:latest

⁠Documentation

See: https://sonos2mqtt.svrooij.io/⁠

⁠Node-sonos-ts

Sonos typescript this library

This library depends on node-sonos-ts⁠ which I also developed. All other libraries using node-sonos-ts should also be able to implemented all the nice features included there. Like notifications or text-to-speech which are the coolest new additions for sonos2mqtt!

⁠Beer or Coffee

I'm a big fan of beer and coffee. To provide something extra to everybody who is sponsoring me, I'll provide a hosted TTS server for all my sponsors.

This bridge and the sonos package⁠ took me a lot of hours to build, so I invite everyone using it to at least have a look at my Sponsor page⁠. Even though the sponsoring tiers are monthly you can also cancel anytime :wink:

⁠Special thanks

The latest version of this bridge is inspired on hue2mqtt.js⁠ by Sabastian Raff⁠. That was a great sample on how to create a globally installed, command-line, something2mqtt bridge.

⁠Contributors ✨

Thanks goes to these wonderful people (emoji key⁠):

This project follows the all-contributors⁠ specification. Contributions of any kind welcome!

Tag summary

Content type

Image

Digest

Size

51.4 MB

Last updated

over 4 years ago

docker pull svrooij/sonos2mqtt