CEZ Distribution HDO detector
App to monitor CEZ Distribuce HDO times and handle e-plugs via its API. HDO Distribution times for triggering e-plugs are based on this website https://www.cezdistribuce.cz/pro-zakazniky/potrebuji-vyresit/stavajici-pripojeni/casy-spinani-nizkeho-tarifu and its GraphQL API.
- Provider support: CEZ Distribuce
- ePlug support: Shelly Plug generation 2 and 3
Instalation
pip install hdo-cez-dist
Usage
hdo-cez-dist --help
usage: App to monitor CEZ Distribuce HDO and turn on/off e-plugs. [-h] [--plug-type PLUG_TYPE] [--plug-host PLUG_HOST] [--range-crop RANGE_CROP] device_code device_area
positional arguments:
device_code HDO Device code consists from 7 letters and numbers.
device_area HDO Device area. For example: morava
optional arguments:
-h, --help show this help message and exit
--plug-type PLUG_TYPE
E-plug type. Example: shelly_plug
--plug-host PLUG_HOST
E-plug host. If you need to control more plugs at once, specify their hosts separated by commas.
--range-crop RANGE_CROP
Crop HDO timing from left and right side (in minites). Default is 0, which means no cropping.
CRON example
*/5 * * * * root hdo-cez-dist ab12345 morava --plug-type shelly_plug --plug-host 192.168.1.10,192.168.1.11 > /var/log/hdo-cez-dist.log
Metadata
Release files for hdo-cez-dist 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hdo_cez_dist-0.1.5.tar.gz | 26.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hdo_cez_dist-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.0 kB
Release files / hdo_cez_dist-0.1.5.tar.gz
| Download URL | hdo_cez_dist-0.1.5.tar.gz |
|---|---|
| Size | 26.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ac538c938bacc0eb39e53cfb3293212c021cc2dada9ddcf6535008def16f888
|
|
BLAKE2b-256 checksum How to use checksums |
f256486072e50ecd3cbaa5ea4e71ea2e2ce68c1dc61c9a5091bd3ec59b971101
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.2","id":"zara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / hdo_cez_dist-0.1.5-py3-none-any.whl
| Download URL | hdo_cez_dist-0.1.5-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34911adb6999d0fa0c1d7771ca20013efbb4d8a84adab1431004769c3ba8c69a
|
|
BLAKE2b-256 checksum How to use checksums |
694d1b9d087212ffe3f788dca048803de12f59d2486b273b556ae5a35db0e072
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.2","id":"zara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|