SoCo
soco-cli
SoCo | soco-cli | |
---|---|---|
9 | 6 | |
1,454 | 198 | |
0.5% | - | |
6.7 | 7.8 | |
20 days ago | 4 months ago | |
Python | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SoCo
-
Which devices can you use the Sonos HTTP API for?
EDIT** Also, saw this SoCo API: https://github.com/SoCo/SoCo
-
Open AirPlay 2 Receiver
Not sure if you mean that, but the Sonos S1 interface has been reverse-engineered, see here:
https://github.com/SoCo/SoCo
https://github.com/jishi/node-sonos-http-api
This allows you to e.g. set the Sonos speakers to play any audio URI.
-
App will not connect unless I enable location (2021)
I gave no idea how to find you, but there are numerous open source sonos clients such as https://github.com/SoCo/SoCo out there that use the sonos API without requiring location services.
- Use Sonos as a siren for home security
-
This has to be a reoccurring question so this is a warning for the redundancy: question about using Remote to control multiple speakers
This is possible to do but requires some programming using Python and the SoCo library https://github.com/SoCo/SoCo
-
Retrieving current playback status from Sonos web interface
SoCo is, to the best of my knowledge, the best supported Python library for controlling Sonos speakers.
- Sonos API access
-
Streaming pipewire/pipewire-pulse desktop audio to a sonos speaker
The sonos ecosystem is pretty locked down, but I found this really neat Python library and this CLI wrapper tool to control it, which is awesome! It makes it super easy to play any audio stream on the speaker, and I already used this for a little script for my dad to play some music that he only has locally as .mp3 files :)
-
Can we automate sub audio level adjustments?
I wrote Python scripts using SoCo https://github.com/SoCo/SoCo
soco-cli
-
New Stream Deck Sonos Plugin
I looked into the Stream Deck implementations on linux and they all look rather "rough". Some have a kind of plugin support but its totally different from the official app. For your project i would consider just using a PI with a regular small touchscreen (made for DIY RasbPI projects). Sonos can be controlled using simple commands with https://github.com/avantrec/soco-cli for example.
-
finally, found a way to fully control Sonos system using Voice (tested with Alexa)
the fantastic SoCo-cli library (https://github.com/avantrec/soco-cli)
-
Streaming pipewire/pipewire-pulse desktop audio to a sonos speaker
The sonos ecosystem is pretty locked down, but I found this really neat Python library and this CLI wrapper tool to control it, which is awesome! It makes it super easy to play any audio stream on the speaker, and I already used this for a little script for my dad to play some music that he only has locally as .mp3 files :)
- What routine tasks do you automate with python programs?
- Sonos CLI (Python)
-
Associate different speaker groups with the 'play' button on specific speakers?
If you enjoy tinkering with code you can have a look at soco-cli, https://github.com/avantrec/soco-cli you should be able to achieve what you're a looking for. Another way could be Ikea tradfri shortcut buttons
What are some alternatives?
node-sonos-http-api - An HTTP API bridge for Sonos easing automation. Hostable on any node.js capable device, like a raspberry pi or similar.
EasyOCR - Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
sonos-api-docs - 🔊 📖 Sonos api documentation for the local UPNP api and a generator to generate clients based on service discovery
python-rofi - A Python module to make simple GUIs with Rofi
airplay2-receiver - AirPlay 2 Receiver - Python implementation
trading-utils - Collection of scripts and utilities for stock market analysis, strategies etc
Snapcast - Synchronous multiroom audio player
osxdocker - A CLI for working with docker on OSX
ELDonationTracker - A Python-based donation tracker for Extra Life streams
bin-utils - Utility scripts / apps
noson-app - The essential to control music from your SONOS devices on Linux platforms
streamdeck-sonos - Elgato Stream Deck Sonos Plugin