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
- Install dependencies:
poetry install
- Install pre-commit hooks:
poetry run pre-commit install
- 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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ab1bb83374cbec396825ffe51fca38ced8008bace3298bdbd9ad370753bd77c |
|
MD5 | 4d764238d91e77073138f5d434b15a72 |
|
BLAKE2b-256 | fcec634493fea9101e9ee0fb134f30355b2f303ac9b899eae97fca0c2e9f0ee0 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4b0be2866d1a5a125a99b03ccc196f97c10b06fbfb715086551ea63dc6f8a55 |
|
MD5 | 28ca3314417633ae2c783a645ac30968 |
|
BLAKE2b-256 | 870e2bd0144e072ee6cc793d2da11a955d44e2936343cc06080b074981243e8e |