Skip to main content

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.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hdo-cez-dist 0.1.6
File Size Uploaded
hdo_cez_dist-0.1.6.tar.gz 26.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hdo-cez-dist 0.1.6
File Interpreter ABI Platform
hdo_cez_dist-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 35.1 kB

Release files / hdo_cez_dist-0.1.6.tar.gz

Download URL hdo_cez_dist-0.1.6.tar.gz
Size 26.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d3f7cf6d50a1a6e11f570a5dc4e130190dbe7f0832c6a1ab6bcb5747273a1373
BLAKE2b-256 checksum
How to use checksums
6e6ac13b33c4a6a08c4172eae4071a2f2360db795c292d90d52f28d2173de92d
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.6-py3-none-any.whl

Download URL hdo_cez_dist-0.1.6-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d5abdc488d2a05c2062c3d4449970404eede5c714a14a6a53e94bdbe9f11afd
BLAKE2b-256 checksum
How to use checksums
11af7401ceeff951a4e0314de506ad16392f482ac42b8744fe4caa2af64b27d1
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 history Release notifications | RSS feed

0.1.8

2 release files

0.1.7

2 release files

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page