Get your energy consumption data from Atome, a Linky-compatible device made by Total/Direct-Energie.
pip install pyatome
The tox configuration is already included. Simply launch:
$ tox
(Do not forget to 'pip install tox' if you do not have it.) Tests are written in the tests directory. tests/data folder contains samples of Atome API for tests purposes.
As there is no official documentation on the API, I had to reverse-engineer what is the one used in the Atome IOS APP. This module will cover only the /api path, and not crawl the pages generated by the "graph-query" paths.
Any contribution is welcome, considering the number of features the API provides, there is room for improvement!
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the ASL 2.0 License - see the LICENSE.md file for details
- Thanks to k20human for the original inspiration with https://github.com/k20human/domoticz-atome
- Better tests
- Added consumption feature
First versions, providing live data only