enocean2mqtt
- publish EnOcean received packets to MQTT
- Send commands to EnOcean equipments via MQTT
It is based on Python EnOcean and Eclipse Paho™ MQTT Python Client.
Install
pip install encoean2mqtt --user
For Linux systems pip install lib to ~/.local/lib and executable to ~/.local/bin (check with python -m site).
Configure
Get inspired by enocean2mqtt-sample.yaml and/or read configuration documentation on GitHub
Run manually
# Minimal
~/.local/bin/enocean2mqtt --config /your/path/enocean2mqtt.yaml
# All args
~/.local/bin/enocean2mqtt --config /your/path/enocean2mqtt.yaml --verbose --log-file /your/path/enocean2mqtt.log
Run as a systemd service
Sample made for Raspbian 10 and
piuser
- copy file enocean2mqtt.service to
/etc/systemd/system/enocean2mqtt.service - customize with your user and configuration file path
sudo chown root:root /etc/systemd/system/enocean2mqtt.servicesudo chmod 644 /etc/systemd/system/enocean2mqtt.servicesudo systemctl daemon-reloadsudo systemctl enable enocean2mqttsudo systemctl start enocean2mqtt
Check status : sudo systemctl status enocean2mqtt
See logs : journalctl -f -u enocean2mqtt
Metadata
Release files for enocean2mqtt 0.2.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 | |
|---|---|---|---|
| enocean2mqtt-0.2.1.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| enocean2mqtt-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.4 kB
Release files / enocean2mqtt-0.2.1.tar.gz
| Download URL | enocean2mqtt-0.2.1.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0dd3b31f9fe9b25d5236299e39afe6eba49080a25015677369b8061be60b6cb
|
|
BLAKE2b-256 checksum How to use checksums |
45e79b8ec151ba520224dcb168fccf9e43264a3f3a066535ba66829586c90462
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.10
|
Release files / enocean2mqtt-0.2.1-py3-none-any.whl
| Download URL | enocean2mqtt-0.2.1-py3-none-any.whl |
|---|---|
| Size | 20.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c55ef690ee6a46dc93f529e7e351f0d958f4a36048b3bf3bb335ef25fcb0e47e
|
|
BLAKE2b-256 checksum How to use checksums |
c861ac0344a3b597b5390ca2801fc30ba965e3eede54e5140277c688dd388624
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.10
|