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>]

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/python 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-1.1.1.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

pysuezv2-1.1.1-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysuezv2-1.1.1.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pysuezv2-1.1.1.tar.gz
Algorithm Hash digest
SHA256 4d80f8525456f22d527dca4f6fc6112226564ce3f83d02abe3caf34c2b60b61f
MD5 bcfec2ef07cee6a5d0ae6138bf97f6fa
BLAKE2b-256 95d5708a5e68c500f1050ffeb53015ebbb2acf475b0641ad559f933dbf3276d3

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

  • Download URL: pysuezv2-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pysuezv2-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec72b90ab70d104702345181843033b944668fca68446dbdf06ee048372cfbd1
MD5 0cd014da9c834d0d9c0c57ff3d48a836
BLAKE2b-256 12eb792c13571c75cc4ff143fec1219923248cbee52b7d65017a00da37a1bf9b

See more details on using hashes here.

Provenance

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

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

Attestations:

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