An asynchronous Python library to communicate with Sonos devices over websockets.
Project description
sonos-websocket
Async Python library to communicate with Sonos devices over websockets.
Example use: Audio Clips
Sonos audio clip functionality will overlay playback of the provided media on top of currently playing music. The music playback volume will be lowered while the audio clip is played and automatically returned to its original level when finished. This feature is especially useful for text-to-speech and alert sounds.
The below shows how to run sonos-websocket as a script:
python -m sonos_websocket \
--ip_addr 192.168.1.88 \
--uri https://freetestdata.com/wp-content/uploads/2021/09/Free_Test_Data_100KB_MP3.mp3 \
--volume 15
Basic use of how to integrate the package can be found here.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sonos-websocket-0.1.3.tar.gz.
File metadata
- Download URL: sonos-websocket-0.1.3.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cadf02052cc4c3f2a61218f4a7162ac126c10899f52c3db3e95bd37a9c47a45b
|
|
| MD5 |
47cd54f8400f192292f158b21917790e
|
|
| BLAKE2b-256 |
d7678b62c744c1a0b8ef686ee28a9f43d082e82cad9986ac8c63d759abb7135f
|
File details
Details for the file sonos_websocket-0.1.3-py3-none-any.whl.
File metadata
- Download URL: sonos_websocket-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71f1413ddd6f761998835389ae601caadc85048833d765c70277e31243a78fc6
|
|
| MD5 |
a9ad4668c4858bf1c238971076378962
|
|
| BLAKE2b-256 |
bc6fcb61329549decaef3c56b76bf9ae2da05d7ce69d704764831b40d371d923
|