EnOcean to MQTT bridge
Project description
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
pi
user
- 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.service
sudo chmod 644 /etc/systemd/system/enocean2mqtt.service
sudo systemctl daemon-reload
sudo systemctl enable enocean2mqtt
sudo systemctl start enocean2mqtt
Check status : sudo systemctl status enocean2mqtt
See logs : journalctl -f -u enocean2mqtt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
enocean2mqtt-0.2.1.tar.gz
(7.6 kB
view details)
Built Distribution
File details
Details for the file enocean2mqtt-0.2.1.tar.gz
.
File metadata
- Download URL: enocean2mqtt-0.2.1.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0dd3b31f9fe9b25d5236299e39afe6eba49080a25015677369b8061be60b6cb |
|
MD5 | 164c61bcbe2512e58e771958eba9e995 |
|
BLAKE2b-256 | 45e79b8ec151ba520224dcb168fccf9e43264a3f3a066535ba66829586c90462 |
File details
Details for the file enocean2mqtt-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: enocean2mqtt-0.2.1-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c55ef690ee6a46dc93f529e7e351f0d958f4a36048b3bf3bb335ef25fcb0e47e |
|
MD5 | 383192a3fc45bd1d9c000d6354c2827b |
|
BLAKE2b-256 | c861ac0344a3b597b5390ca2801fc30ba965e3eede54e5140277c688dd388624 |