Sonos2mqtt

March 30, 2024 ยท View on GitHub

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

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):


Stephan van Rooij

๐Ÿ’ป ๐Ÿ“–

Sven Werner

๐Ÿ“ฆ ๐Ÿ’ป

Matthias Burgfried

๐Ÿ’ป

mqtt-fan

๐Ÿ’ป

Martin Roth

๐Ÿ“–

Doug Melton

๐Ÿ›

Sebastian

๐Ÿ’ป

Emmanuel Venisse

๐Ÿ“–

Jonas Hansen

๐Ÿ“–

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