Skip to main content

pyambeo

Async Python client for Sennheiser AMBEO soundbars (Max, Plus and Mini), built on aiohttp.

It powers the AMBEO Soundbar integration for Home Assistant, but does not depend on it.

Installation

pip install pyambeo

Usage

import asyncio

import aiohttp

from pyambeo import AmbeoSoundbar


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        # Detects the model and returns the matching implementation.
        bar = await AmbeoSoundbar.connect("192.168.1.10", session)
        print(bar.info)

        state = await bar.fetch_state()
        print(state)

        await bar.set_volume(20)

        # Push updates from the device.
        async for updates in bar.listen():
            print(updates)


asyncio.run(main())

The caller owns the aiohttp.ClientSession. All errors raised by the library inherit from AmbeoError:

Exception Meaning
AmbeoConnectionError The device cannot be reached
AmbeoTimeoutError A request timed out (subclass of AmbeoConnectionError)
AmbeoResponseError The device answered with an unexpected response
AmbeoUnsupportedModelError The device model is not supported

Supported devices

Model Class
AMBEO Soundbar Max AmbeoEspresso
AMBEO Soundbar Plus AmbeoPopcorn
AMBEO Soundbar Mini AmbeoPopcorn

Development

uv run --group dev pytest
uv run --group dev ruff check .

License

MIT

Metadata

Release files for pyambeo 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyambeo 0.1.1
File Size Uploaded Provenance
pyambeo-0.1.1.tar.gz 92.3 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyambeo 0.1.1
File Interpreter ABI Platform
pyambeo-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 111.5 kB

Release files / pyambeo-0.1.1.tar.gz

Download URL pyambeo-0.1.1.tar.gz
Size 92.3 kB
Tags Source
SHA-256 checksum
How to use checksums
09595ed9ceb3b685b3742ae3933eff599b57558e89f7bfaa7f49c66aedc39123
BLAKE2b-256 checksum
How to use checksums
2cf3d8e9661bada8e9cf0c005dac73e7a9fd916d1b5696f14855c5862bfc7995
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / pyambeo-0.1.1-py3-none-any.whl

Download URL pyambeo-0.1.1-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03ba25e732a3ae9497db3adf66f533f77a74806d4b797e161a62101c5171c66c
BLAKE2b-256 checksum
How to use checksums
0912791dbb7b8cb62dad6e49b7bcca0d7aacfdd65159964558c2e71399028bfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Security for pyambeo 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyambeo-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page