Skip to main content

Async client for Harman Luxury Audio / StreamUnlimited network streamers (Arcam Radia, JBL, Mark Levinson).

Project description

aioharmanluxury

Async Python client for Harman Luxury Audio network streamers built on the StreamUnlimited StreamSDK platform, including the Arcam Radia ST5/ST60, JBL, and Mark Levinson streamers.

It talks to the device's local JSON API (https://<host>/api) to read live player state and drive volume, mute, and transport.

Install

pip install aioharmanluxury

Usage

import aiohttp
from aioharmanluxury import HarmanLuxuryClient


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        client = HarmanLuxuryClient("192.168.1.86", session)

        info = await client.async_get_info()
        print(info.model, info.name)  # ARCAM ST5 Dining Room

        state = await client.async_get_state()
        print(state.play_state, state.title, state.artist)

        await client.async_set_volume(40)
        await client.async_set_mute(False)
        await client.async_control("pause")

Notes

  • The device uses a self-signed certificate; the client disables TLS verification for every request.
  • The API is unauthenticated on the local network.
  • Power is read-only (powermanager:target rejects writes), so on/standby can be observed via state.online but not driven remotely.
  • Transport availability is source-dependent: Spotify Connect and AirPlay are sender-controlled, so state.can_pause / can_next / can_previous reflect what the active source currently allows.

License

MIT

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

aioharmanluxury-0.2.0.tar.gz (366.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aioharmanluxury-0.2.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file aioharmanluxury-0.2.0.tar.gz.

File metadata

  • Download URL: aioharmanluxury-0.2.0.tar.gz
  • Upload date:
  • Size: 366.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for aioharmanluxury-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c2f426f64db5060673c6790b497dd3bb58a3b43dc99993168cf12d9d38123aa1
MD5 dda06f0e4e294b11af6871590739a01a
BLAKE2b-256 98a0efa67f89c8aeae15ff60394902bbceb382be4ac6b7ef57a88ff369a90ad6

See more details on using hashes here.

File details

Details for the file aioharmanluxury-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aioharmanluxury-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d371824600bfa4eefc1c4fa495956e6bd3db0cf86b76a669059c25a9296d997a
MD5 9e3d9f1240babdf8302ab815d06926ec
BLAKE2b-256 406bed2768de67e818cdfb6826be7a3fac0da5b01757cb647dff81f53f280a4f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page