Skip to main content

pyEnergieDock

Version License

An asynchronous Python client for the EnergieDock API. It is intended as a small API layer for applications and integrations such as Home Assistant.

Install

pip install pyEnergieDock

Usage

Provide the account credentials username and password when creating the client. It authenticates on the first data request and refreshes the access token when the API rejects it.

Optional: Pass your Home Assistant Client Session with the session parameter*. The api_name parameter selects the API endpoint (default: "ED").

import asyncio

from pyenergiedock import DynamiT


async def main() -> None:
    async with DynamiT(
        username="<username>",
        password="<password>",
        session=ClientSession(),
        api_name="WWS",
    ) as client:
        prices = await client.async_get_latest_prices()
        measurements = await client.async_get_latest_measurements()


asyncio.run(main())

*If the session is passed by the Home Assistant integration, it retains ownership.

Client API

  • async_login() authenticates explicitly. Data requests log in automatically when needed.
  • async_refresh_login() refreshes the access token, or logs in if no refresh token is available.
  • async_get_latest_prices() returns today's tariff periods as a list of dictionaries, including the final 15-minute interval from the previous day, using the Europe/Berlin aggregation timezone.
  • async_get_latest_measurements() requests quarter-hour data for the last 24 hours and 15 minutes, using the Europe/Berlin aggregation timezone.
  • close() closes only a session created by this client.

Metadata

Release files for pyEnergieDock 0.1.0

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

Source distribution (sdist)

Source distribution for pyEnergieDock 0.1.0
File Size Uploaded Provenance Actions
pyenergiedock-0.1.0.tar.gz 9.5 kB With provenance Details for pyenergiedock-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyEnergieDock 0.1.0
File Interpreter ABI Platform Actions
pyenergiedock-0.1.0-py3-none-any.whl Python 3 none any Details for pyenergiedock-0.1.0-py3-none-any.whl

Total release size: 18.8 kB

Release files / pyenergiedock-0.1.0.tar.gz

Download URL pyenergiedock-0.1.0.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
00af679e30ad3738e45ab58aa9b4cd2c469b7e9815e2b3d9d478037946bad9b7
BLAKE2b-256 checksum
How to use checksums
d39eda393d14bd73e3e2947f033836528bd30f35510bbd7b29c792757572e04d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / pyenergiedock-0.1.0-py3-none-any.whl

Download URL pyenergiedock-0.1.0-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
377d6bf16a015ebf81a7984db282ae43dde7c2a88ab6ef36d1a9b1aa5b53a5de
BLAKE2b-256 checksum
How to use checksums
3c08092eab639b498b2f08bda6d53fa205012795c81ac86506cbf5e683cea26b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Security for pyEnergieDock 0.1.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyenergiedock-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

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.

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