enocean_webthing
A web connected enocean gateway. This project provides a webthing API to an enocean gateway such as the EnOcean USB 300 USB-Gateway
The enocean_webthing package exposes a http webthing endpoint supporting enocean devices.
E.g.
# webthing has been started on host 192.168.0.23
curl http://192.168.1.198:9090/0/properties
{
"eep_id":"F6:10:00",
"enocean_id":"81:00:F0:4E",
"state":3
}
Currently, the devices listed below are supported
- Window Handle such as HOPPE Window Handle ConnectHome (EEP ID: F6:10:00)
To install this software you may use the PIP package manager such as shown below
PIP approach
sudo pip install enocean_webthing
After this installation you may start the webthing http endpoint inside your python code or via command line using
sudo enocean --command listen --port 9090 --path /dev/ttyUSB-enocean --devices 'Office/F6:10:00/81:00:F0:4E, Patiodoor/F6:10:00/01:9A:CC:06'
Here, the webthing API will be bound to the local port 9090 by using the USB-Gateway /dev/ttyUSB-enocean. To list the devices to be supported a comma-separated list is used with the syntax {Device name}/{EEP ID}/{ENOCEAN ID}
Alternatively to the listen command, you can use the register command to register and start the webthing service as systemd unit. By doing this the webthing service will be started automatically on boot. Starting the server manually using the listen command is no longer necessary.
sudo enocean --command register --port 9090 --path /dev/ttyUSB-enocean --devices 'Office/F6:10:00/81:00:F0:4E, Patiodoor/F6:10:00/01:9A:CC:06'
Metadata
Release files for enocean-webthing 1.0.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 | |
|---|---|---|---|---|
| enocean_webthing-1.0.1.tar.gz | 6.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| enocean_webthing-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.2 kB
Release files / enocean_webthing-1.0.1.tar.gz
| Download URL | enocean_webthing-1.0.1.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
354b215fe834f84c46b7c570bd223bfc85a68ede6e7dd2df920089dbf94e9e76
|
|
BLAKE2b-256 checksum How to use checksums |
d23c2b32ed05dfd44b951e8380679e0c6820b76cf3909046121a220a0902dac8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / enocean_webthing-1.0.1-py3-none-any.whl
| Download URL | enocean_webthing-1.0.1-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3574f98a0e9b8164212558dc813cded79d99863fe09e9e6a48020face0e46206
|
|
BLAKE2b-256 checksum How to use checksums |
20123ae575002623d738340ca5d87197b187ada681f4376870078a612895017b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Security for enocean-webthing 1.0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.