Skip to main content
PyPI version Python versions

Bluetooth mesh messages library for Python provides parsing and building of Bluetooth Mesh access layer messages as defined in Bluetooth SIG specifications.

What is this thing?

This library implements message serialization and deserialization for Bluetooth Mesh protocol, supporting both standard SIG models and Silvair vendor-specific extensions.

https://www.bluetooth.com/specifications/mesh-specifications

Supported models include:

  • Generic models: OnOff, Level, Battery, Property

  • Lighting models: Lightness, CTL

  • Scene model

  • Sensor model

  • Time model

  • Health model

  • Config model

  • Silvair vendor models: Debug, Debug V2, Emergency Lighting, Emergency Lighting Test, Gateway Config, Light Extended Controller, Network Diagnostic, Network Diagnostic Setup Server, RRule Scheduler

Installation

This project requires Python 3.14.

You can install “bluetooth-mesh-messages” via pip from PyPI:

$ pip install bluetooth-mesh-messages

To install the optional Cap’n Proto support, use:

$ pip install "bluetooth-mesh-messages[capnp]"

You can also add it to a Poetry-managed project:

$ poetry add bluetooth-mesh-messages

To include the optional capnp extra with Poetry, use:

$ poetry add bluetooth-mesh-messages --extras capnp

If you want to work on this repository locally, install the project and development dependencies with Poetry:

$ poetry install

Contributing

Contributions are very welcome. Tests can be run with pytest, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the GPL-2.0 license, “bluetooth-mesh-messages” is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Release files for bluetooth-mesh-messages 1.0.2

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

Source distribution (sdist)

Source distribution for bluetooth-mesh-messages 1.0.2
File Size Uploaded
bluetooth_mesh_messages-1.0.2.tar.gz 46.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bluetooth-mesh-messages 1.0.2
File Interpreter ABI Platform
bluetooth_mesh_messages-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 113.5 kB

Release files / bluetooth_mesh_messages-1.0.2.tar.gz

Download URL bluetooth_mesh_messages-1.0.2.tar.gz
Size 46.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c3f2dedddb10d0292bbaf2e0c90ad3a724f9376ef854a801f8f4b58cde34ff43
BLAKE2b-256 checksum
How to use checksums
ddbfe58abf285deac03bdac038cf8e180d49e2ebb75ae5e19b976488cd862f96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.2 CPython/3.12.3 Linux/6.17.0-1028-oem

Release files / bluetooth_mesh_messages-1.0.2-py3-none-any.whl

Download URL bluetooth_mesh_messages-1.0.2-py3-none-any.whl
Size 66.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
293088c22dac953b1beb1eab2e06a1025b6e3efe6e73c9325eff15fe3fc9e41f
BLAKE2b-256 checksum
How to use checksums
9f3d0236917f8d833297d2a00e057cb48f6245f042b98342e83ad5976744a2bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.2 CPython/3.12.3 Linux/6.17.0-1028-oem

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.9.11

2 release files

0.9.10

2 release files

0.9.9

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9

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