Skip to main content

Get your water consumption data from your Suez account (www.toutsurmoneau.fr or www.eau-olivet.fr)

Project description

pySuez

Get your consumption data from your Suez account (www.toutsurmoneau.fr)

This work is inspired by the Sirus's domoticz sensor. It is also inspired by pyLinky code from Pirionfr.

Installation

The easiest way to install the library is using pip:

pip install pySuezV2

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>] [-url <endpoint url>] [-l loglevel=DEBUG|INFO|...]

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 project

virtualenv -p /usr/bin/python env
pip install -e .

Credits

Originally forked from ooii/pySuez

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

pysuezv2-1.3.5.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysuezv2-1.3.5-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file pysuezv2-1.3.5.tar.gz.

File metadata

  • Download URL: pysuezv2-1.3.5.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pysuezv2-1.3.5.tar.gz
Algorithm Hash digest
SHA256 cb1f17f41b5c9e03126defa90843c9061661705b59364e6f78d061bd7f8621df
MD5 ca2123d848dc9c86cda717ea1fa277e0
BLAKE2b-256 77b393b40ddd5195a372109a2d09c2f5a3ee59298533dc2cefea34fab3e2aaad

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysuezv2-1.3.5.tar.gz:

Publisher: python-publish.yml on jb101010-2/pySuez

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysuezv2-1.3.5-py3-none-any.whl.

File metadata

  • Download URL: pysuezv2-1.3.5-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pysuezv2-1.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 52afa6be85ad5f6548626d825ff4fa6737d1d1e3e2a40d4fc1a0faee2a67d7ad
MD5 8a75f2fee36b6bf8918806189270c83a
BLAKE2b-256 944fcd23201b6f52d6379c33fc797f724f9adb365c0637d8048d2086c6889b2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysuezv2-1.3.5-py3-none-any.whl:

Publisher: python-publish.yml on jb101010-2/pySuez

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page