Skip to main content

A simple API for key atome electricity consumption

Project description

KeyAtome PyPi

GitHub release

Get your energy consumption data from Atome, a Linky-compatible device made by Total/Direct-Energie.

Installing

pip install pykeyatome

Use

The __main__.py is provided to show an example of use.

3 types of function provided by client.py in AtomeClient class:

  • login : to be logged to the server
  • get_live : to retrieve live statistics (instant power)
  • get_consumption(period) : to retrieve the consumption since a period (day/week/month/year)

Acknowledgments

Breaking change

V1.2.0 Since this version PyAtomeError exception is no more used. Instead login return False if error , and live/consumption return None

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

pykeyatome-1.2.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

pykeyatome-1.2.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pykeyatome-1.2.0.tar.gz.

File metadata

  • Download URL: pykeyatome-1.2.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for pykeyatome-1.2.0.tar.gz
Algorithm Hash digest
SHA256 d046d2691943e23d406ab1f265b2ad6bc2b4ce2e77376e84e5593f9192608dba
MD5 c5762a757ff0f2ba0f38f473bd2b4288
BLAKE2b-256 fe9432cca9df470cab60015401299b73e2ffd7204dd799bbec9f906e14e2f4fb

See more details on using hashes here.

File details

Details for the file pykeyatome-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: pykeyatome-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for pykeyatome-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aedee33aa95733180b58d8df492261b9be41ea2c706844dd1793ce2a0ae1ea65
MD5 732fcafa65e16b79a95c2c4079d681d9
BLAKE2b-256 c7184adbaf0e7719da199456cc4fdc76ac4af7f7aae6207d43c8a1407a792bf2

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