{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/11"}],"enrichment":{"capability":"Python library for controlling Sony audio devices (soundbars, receivers, speakers) that implement the SongPal protocol over UPnP, with both programmatic and command-line interfaces.","skillfed_tags":["home-automation","device-control","async-io"],"use_cases":["Automate power on/off and volume control for a Sony soundbar or receiver from a home automation script.","Switch audio inputs and manage multi-zone playback programmatically in a networked audio setup.","Query device status (power state, volume, active input) from a monitoring or dashboard application.","Create a CLI tool to control Sony audio devices without a remote or mobile app.","Integrate Sony device control into a larger home theater automation system."],"what_it_does":"python-songpal is a Python 3 library that implements Sony's SongPal protocol, allowing programmatic control of Sony audio devices like soundbars, receivers, and speakers over a network. It uses UPnP discovery to locate devices and communicates via HTTP to their ScalarWebAPI endpoints. The library is built on async I/O (aiohttp and async_upnp_client) and provides both a Python API for integration into scripts or applications and a command-line tool (songpal) for direct device control.\n\nThe library supports a range of Sony devices including the HT-XT3, HT-ZF9, HT-ST5000, and STR-series receivers. It can control power, volume, input selection, sound settings (night mode, subwoofer level), zones, and grouping. The project is in alpha stage and dormant\u2014last release was 2024-03-31 with a recent commit in December 2024\u2014meaning it works but receives infrequent updates and may not cover all newer Sony devices.","worth_installing":"Yes, if you own a supported Sony audio device and need programmatic control. The library is stable, has no known vulnerabilities, and low install friction. However, maintenance is dormant\u2014expect no active support for new Sony models or breaking changes in dependencies. Verify your device is in the supported list before committing; if it is, the library is reliable for automation and CLI use."},"id":"python-songpal","links":{"html":"https://skillfed.io/packages/python-songpal","md":"https://skillfed.io/packages/python-songpal.md","pypi":"https://pypi.org/project/python-songpal/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-03-31","license_spdx":null,"license_treatment":"copyleft","name":"python-songpal","python_support":"supports_current","summary":"Python library for interfacing with Sony's Songpal devices"},"popularity":{"monthly_downloads":87521,"position":13791,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.16.2"}
