Skip to main content

Unofficial library for reading from The Energy Detective power meters

Project description

TEDpy

Unofficial library for reading from The Energy Detective power meters

This library supports the TED5000 and TED6000 devices.

It is based on @realumhelp's ted6000py, Home Assistant's ted5000 implementation, and @gtdiehl and @jesserizzo's envoy_reader. Also huge thanks to @realumhelp for patching support for consumption/production distinction!

Usage

from tedpy import createTED

HOST = 'ted6000'

# Use asyncio to deal with the async methods
reader = await createTED(HOST)
await reader.update()
reader.print_to_console()

Testing

To print out your energy meter's values, run poetry run python -m tedpy.

The module's tests can be run using poetry run pytest (make sure you poetry install first!).

Development

  1. Install dependencies: poetry install
  2. Install pre-commit hooks: poetry run pre-commit install
  3. Develop!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tedpy-0.2.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

tedpy-0.2.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file tedpy-0.2.0.tar.gz.

File metadata

  • Download URL: tedpy-0.2.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.7 Darwin/20.6.0

File hashes

Hashes for tedpy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9ab1bb83374cbec396825ffe51fca38ced8008bace3298bdbd9ad370753bd77c
MD5 4d764238d91e77073138f5d434b15a72
BLAKE2b-256 fcec634493fea9101e9ee0fb134f30355b2f303ac9b899eae97fca0c2e9f0ee0

See more details on using hashes here.

File details

Details for the file tedpy-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: tedpy-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.7 Darwin/20.6.0

File hashes

Hashes for tedpy-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4b0be2866d1a5a125a99b03ccc196f97c10b06fbfb715086551ea63dc6f8a55
MD5 28ca3314417633ae2c783a645ac30968
BLAKE2b-256 870e2bd0144e072ee6cc793d2da11a955d44e2936343cc06080b074981243e8e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page