Atome PyPi
Get your energy consumption data from Atome, a Linky-compatible device made by Total/Direct-Energie.
Installing
pip install pyatome
Running the tests
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.
Side notes
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.
Contributing
Any contribution is welcome, considering the number of features the API provides, there is room for improvement!
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
License
This project is licensed under the ASL 2.0 License - see the LICENSE.md file for details
Acknowledgments
- Thanks to k20human for the original inspiration with https://github.com/k20human/domoticz-atome
Changelog
0.1.x
- Better tests
- Added consumption feature
0.0.x
First versions, providing live data only