Jeedom plugin to retrieve water consumption from Veolia website

Plugin allowing the recovery of consumption from the Teleo communicating meter by querying the Veolia customer account. As the data is not made available in real time, the plugin recovers the water consumption data of the previous day every day.
The following types of consumption data are available:
Important
It is necessary to have a communicating water meter Téléo and a Veolia customer account. The plugin retrieves the information, according to the configuration chosen in the plugin, from the my space part of the Veolia Ile de France website for Ile de France customers. You must therefore check that you have access to it with your usual identifiers and that the data is visible. If not, the plugin will not work.
The Veolia Téléo plugin retrieves the information using a Python script (one for the Veolia Ile de France site and one for the other sites). Each script has some constraints
Python 3.7.x version is required and Firefox 102 or higher (so use buster distrib)
The software dependencies are installed automatically by Jeedom within 5 minutes. They will also be reinstalled when the plugin is updated if necessary.
The data is checked every hour between 4 a.m. and 10 p.m. and updated only if not available in Jeedom. The start time can be set between 1 a.m. and 8 p.m.
To access the various Veolia Téléo facilities, go to the menu Plugins → Energy → Veolia Téléo.
Knowledge The + Add button allows you to add a new account Veolia Téléo.
On the equipment page, enter :
Then click on the Save button.
The plugin will then check the correct connection to the Veolia site and recover and insert in history :
As the calculation of consumption is based on the index, it is necessary to keep a history of at least 2 years (1 year and 2 days in fact).
For the weekly, monthly and annual periods, only the last history of the current period is kept.
On Jeedom, the plugin is configured to gather data every hour. It may happen that it does not work each time: no issue, just wait for the next scheduled run.
The plugin is based on the way the Veolia site is structured. Any change on the site will probably lead to an error on the plugin and will require an adaptation of the python scripts more or less difficult to do.
This plugin is opened for contributions and even encouraged! Please submit your pull requests for improvements/fixes on Github
This plugin has been inspired by the work done by:
Available here.