ooii / pySuez

Get your water consumption data from your Suez account (www.toutsurmoneau.fr)
Apache License 2.0
8 stars 13 forks source link

Added month start handling #15

Open HaythamB opened 3 years ago

HaythamB commented 3 years ago

There's a few days delay (typically 3) between the start of the new month, and Suez making the daily numbers available to the dashboard. This fork helps address that by checking for ERR responses from Suez and stepping the time back one day at a time until a complete data set is retrieved successfully.