Python EnOcean Extended
An enhanced Python library for reading and controlling EnOcean devices with extended device support and dynamic EEP parsing.
What's New in This Fork
This is an enhanced version of the original kipe/enocean library with:
- Dynamic EEP Parsing: Improved parsing of complex EnOcean Equipment Profiles with proper enum handling
- Extended Device Support: Additional EEP profiles including VentilAirSec ventilation units (D2-50-00, D2-50-01)
- Enhanced MSC Telegram Support: Better handling of Manufacturer-Specific Command (MSC) telegrams
- Improved Enum Values: Proper parsing of rangeitem enums with min/max values
- Better Error Handling: More robust packet parsing and error reporting
Originally started as part of Forget Me Not design challenge @ element14.
Installation
Install from PyPI:
pip install enocean-extended
Or install from source for the latest development version:
pip install git+https://github.com/pledou/enocean.git
Quick Start
After installation, you can run the example script and interact with your EnOcean devices:
import enocean.utils
from enocean.communicators.serialcommunicator import SerialCommunicator
from enocean.protocol.packet import RadioPacket
# Initialize the EnOcean dongle
communicator = SerialCommunicator('/dev/ttyUSB0')
communicator.start()
# Receive packets
for packet in communicator.receive.get(block=True, timeout=1):
if isinstance(packet, RadioPacket):
print(packet)
See the examples/ directory for more usage examples, including VentilAirSec ventilation unit control.
Supported Devices
This library supports a wide range of EnOcean Equipment Profiles (EEPs), including:
- Sensors: Temperature, humidity, illumination, occupancy, CO2, etc.
- Switches: Rocker switches, push buttons, window handles
- Actuators: Light dimmers, blinds, valves
- Ventilation: VentilAirSec units with full monitoring and control
For a complete list, see SUPPORTED_PROFILES.md.
Features
Dynamic EEP Parsing
Automatically parses complex EnOcean Equipment Profiles with proper handling of:
- Enum values with ranges
- Multi-byte values
- Manufacturer-specific commands (MSC)
- Bitfield data
VentilAirSec Support
Full support for VentilAirSec ventilation units including:
- Operating mode control
- Fan speed adjustment
- Temperature setpoints
- Boost and holiday modes
- Sensor monitoring
- Maintenance status
Development
To contribute or modify the library:
git clone https://github.com/pledou/enocean.git
cd enocean
pip install -e .[dev]
pytest
Credits
- Original Author: Kimmo Huoman (kipe/enocean)
- Enhanced Version: Pierre Leduc with dynamic EEP parsing and extended device support
License
MIT License - see LICENSE file for details.
Metadata
Release files for enocean-extended 1.1.1
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 |
|---|---|---|---|---|
| enocean_extended-1.1.1.tar.gz | 66.0 kB | With provenance | Details for enocean_extended-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| enocean_extended-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for enocean_extended-1.1.1-py3-none-any.whl |
Total release size: 123.2 kB
Release files / enocean_extended-1.1.1.tar.gz
| Download URL | enocean_extended-1.1.1.tar.gz |
|---|---|
| Size | 66.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1e91d5a18170749d73d0d18918492cf5fc552b7521e29632fefb35c2a8e3378
|
|
BLAKE2b-256 checksum How to use checksums |
b4b5d0c1b973860fe2e4537473c76f618ab102a99ab3cbae6d0ec02e23e42e0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 31, 2026.
Transparency logRelease files / enocean_extended-1.1.1-py3-none-any.whl
| Download URL | enocean_extended-1.1.1-py3-none-any.whl |
|---|---|
| Size | 57.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9e7c30a11d7b8797b705376973d50bf2337556ff38933f95b45c4927e74a1e6
|
|
BLAKE2b-256 checksum How to use checksums |
46df0e25860e268c7b57376c295453369fe69f32a6465d08eec2904e199c7a8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 31, 2026.
Transparency logSecurity for enocean-extended 1.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
Both files in this release have been uploaded with provenance metadata.
Attestation for enocean_extended-1.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 May 31, 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.