Get your consumption data from your Suez account (www.toutsurmoneau.fr)
This work is inspired by the [Sirus](https://github.com/Sirus10)’s [domoticz sensor](https://github.com/Sirus10/domoticz). It is also inspired by [pyLinky](https://github.com/pirionfr/pyLinky) code from [Pirionfr](https://github.com/pirionfr).
Installation
The easiest way to install the library is using [pip](https://pip.pypa.io/en/stable/):
pip install pySuez
You can also download the source code and install it manually:
cd /path/to/pySuez/ python setup.py install
Usage
Print your current and history data
pySuez -u <USERNAME> -p <PASSWORD> -c <COUNTER_ID> -P <PROVIDER_NAME>
You need to get your COUNTER_ID either from your bill or from your history consumption on your Suez’s website. You can find it in the source code of this webpage, right after …/mon-compte-en-ligne/statMData/xxxxxxx?…. If no provider name is given, Tout sur mon eau will be used. The only one supported here is Eau Olivet.
Dev env
create virtual env and install requirements
virtualenv -p /usr/bin/python3.4 env pip install -r requirements.txt
Metadata
Release files for pysuez 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pysuez-0.2.0.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pysuez-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.4 kB
Release files / pysuez-0.2.0.tar.gz
| Download URL | pysuez-0.2.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5bdb2b29b42866aba41f0a75700c511a1d44f33e6cb9ac20f158091f2524a06
|
|
BLAKE2b-256 checksum How to use checksums |
ea6bc50d82107b76a041998e1c77f07fca930c08add0be41c000c7db0b8e2371
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|
Release files / pysuez-0.2.0-py3-none-any.whl
| Download URL | pysuez-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5acd8dc6b344c4205a4d720ec00e105768b8cb8ace44a4e44699b50d25fb855c
|
|
BLAKE2b-256 checksum How to use checksums |
a8a0b3964460ede9e175b7213b9a0070cea5c600075e735e531e2156e20088dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|