ooii / pySuez

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

Where to find counter_id ? #4

Open grm opened 4 years ago

grm commented 4 years ago

Hello,

I can't find my counter_id on the site. Can you tell me how to find it ? I have a "N° compteur" on the bill with both letters and digits, but it does not work with the library. When using the URL https://www.toutsurmoneau.fr/mon-compte-en-ligne/statJData/2019/01/counter_id, i have the message : "["ERR","Aucune consommation n'a \u00e9t\u00e9 enregistr\u00e9e sur cette p\u00e9riode"]"

Thanks for your help

ooii commented 4 years ago

Hello @grm,

When going to "Historique de mes consommations", show page source code and you should get something that looks like the following figure. The counter id is in the red circle.

image

grm commented 4 years ago

Hello @ooii,

Thanks for your answer. This is kind of strange, i do not have the same page. Did you click somewhere else ?

I could not find statMData in the whole source code, which is also weird.

suez

And it seems your data are more accurate than mine :)

ooii commented 4 years ago

Are you sure you have a connecte counter?

grm commented 4 years ago

Not sure at all ! I am going to contact suez to check that.

Thx

ybizeul commented 1 year ago

Old thread, but you can also get your meter ID in the URL when you download a report from the web site. The web site changed and there is no stasMData anymore.

Download a report, and it should point to something like : https://www.seop.fr/mon-compte-en-ligne/exporter-consommation/month/xxxxxxxxxx