aiomysensors
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
This package was created with Copier and the browniebroke/pypackage-template project template.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiomysensors-0.13.0.tar.gz | 28.1 kB | With provenance | Details for aiomysensors-0.13.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiomysensors-0.13.0-py3-none-any.whl | Python 3 | none | any | Details for aiomysensors-0.13.0-py3-none-any.whl |
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 logRelease 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 logSecurity for aiomysensors 0.13.0
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
Both files in this release have been uploaded with provenance metadata.
Attestation for aiomysensors-0.13.0.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 May 2, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.