Skip to main content

aiomysensors

CI Status Test coverage percentage

uv Ruff prek

PyPI Version Supported Python versions License


Source Code: https://github.com/MartinHjelmare/aiomysensors


Python asyncio package to connect to MySensors gateways.

Installation

Install this via pip (or your favourite package manager):

pip install aiomysensors

Example

"""Show a minimal example using aiomysensors."""
import asyncio

from aiomysensors import AIOMySensorsError, Gateway, SerialTransport


async def run_gateway() -> None:
    """Run a serial gateway."""
    port = "/dev/ttyACM0"
    baud = 115200
    transport = SerialTransport(port, baud)

    try:
        async with Gateway(transport) as gateway:
            async for message in gateway.listen():
                print("Message received:", message)
    except AIOMySensorsError as err:
        print("Error:", err)


if __name__ == "__main__":
    try:
        asyncio.run(run_gateway())
    except KeyboardInterrupt:
        pass

Command Line Interface

There's a CLI for testing purposes.

aiomysensors --debug serial-gateway -p /dev/ttyACM0

Credits

Copier

This package was created with Copier and the browniebroke/pypackage-template project template.

Release files for aiomysensors 0.13.0

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

Source distribution (sdist)

Source distribution for aiomysensors 0.13.0
File Size Uploaded
aiomysensors-0.13.0.tar.gz 28.1 kB Details

Built distribution (wheel)

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

Total release size: 66.3 kB

Release files / aiomysensors-0.13.0.tar.gz

Download URL aiomysensors-0.13.0.tar.gz
Size 28.1 kB
Tags Source
SHA-256 checksum
How to use checksums
225ad062038f1f8fd7383bddf95187026f03be0baa59eddb5d505f8fc1f78b46
BLAKE2b-256 checksum
How to use checksums
fd203b6d7bf5dae8a5281404255370b1930511c6c29c65369652af558a97b603
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 May 2, 2026.

Transparency log

Release files / aiomysensors-0.13.0-py3-none-any.whl

Download URL aiomysensors-0.13.0-py3-none-any.whl
Size 38.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21a75b37a2278724f9ada02d069d29c10ad03822c79a44f875008c3f238b98f1
BLAKE2b-256 checksum
How to use checksums
655a31e742bfd16020e344174124a138cb01e5a8e9aee55995c37b8bb2431b00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 May 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.13.0 This release

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.13

2 release files

0.4.10

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.19

2 release files

0.3.18

2 release files

0.3.17

2 release files

0.3.13

2 release files

0.3.11

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

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