Skip to main content

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

Project description

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

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-0.2.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

pysuezV2-0.2.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysuezv2-0.2.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for pysuezv2-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e8f3d3cdd1fcf1dedf53b60925d0ec68130a036e753ad1b5f13c430387c108e5
MD5 d1364d92441f3070860026a35abd4a0d
BLAKE2b-256 1a13cd112a95ba4be9f819d73492a0b1451a3d86d73491f71766dc77c14d837c

See more details on using hashes here.

File details

Details for the file pysuezV2-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pysuezV2-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for pysuezV2-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d401295673e31134a8f0efa0374f80d1ba23226b67374b9b29408389b9cb456f
MD5 efd3c56b617952e315e1ef31a8908b60
BLAKE2b-256 53667356a9d21c4e980a8a14724def0c6ed2a582b300b5e1e6114335d06be966

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