Skip to content

jb101010-2/pySuez

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Credits

Originally forked from ooii/pySuez