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 previous or next day, depending on the publication time (around 14:00 UTC), using the Europe/Berlin aggregation timezone.
  • async_get_latest_measurements() requests quarter-hour data for the last 25 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.2.1

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.2.1
File Size Uploaded Provenance Actions
pyenergiedock-0.2.1.tar.gz 9.5 kB With provenance Details for pyenergiedock-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 18.8 kB

Release files / pyenergiedock-0.2.1.tar.gz

Download URL pyenergiedock-0.2.1.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e302e64f2a64394c46b79d9765cbc911c9ac52d4a6ebeaff51ddf139b292616c
BLAKE2b-256 checksum
How to use checksums
f5fcb6b7a49353f4c1bec3d98d943b377162a3c96fbc7b229de980c666c4e9c7
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 Nov 4, 2026.

Transparency log

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

Download URL pyenergiedock-0.2.1-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be9bfcf99c89db3128d62c8c6bed894a4bc4fa447f41b59da6d3f04df30482c1
BLAKE2b-256 checksum
How to use checksums
030e04ab94c79c3053a78bbdaf33ab1c5ebcf06ac58910552afd0d7ef99d762e
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 Nov 4, 2026.

Transparency log

Security for pyEnergieDock 0.2.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.

Full provenance

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

Select from 2 files

Attestation for pyenergiedock-0.2.1.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 Nov 4, 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