Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysuez_fork-0.2.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysuez_fork-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 pysuez_fork-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9d4dc5874d6b1b44f5ed47adb7c03add5040a37da1082d36ef7ad030576bc77d
MD5 8a5d3d4e3694fe22d091532dcb387ee1
BLAKE2b-256 7e6bb205d1e9b2dc184119efba12a988ef46bf74f2ff3f57075123121c3e3dcd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pysuez_fork-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 pysuez_fork-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f34b2867dad4ee2373ab718fb09909400d94065dfb2ae315993d81a7320da1aa
MD5 cd82b2d2e69e6bed52e20f310c751b15
BLAKE2b-256 d7ffb4f7c99b7f1904c3bbb89d824a22d528340dbabc15ab5d45ac2e10478a40

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

Supported by

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