beufanet / linkyndle

Fetch dataset from Enedis portal (need Linky) and push it to grafana
53 stars 15 forks source link

add posibility to last the script via --last #10

Closed roumano closed 5 years ago

roumano commented 5 years ago

Getting last data from influx DB

Exemple of running it

python3 linkynflux.py --last
2019-04-24 11:49:58,056 logging in InfluxDB Server Host localhost...
2019-04-24 11:49:58,057 logged in InfluxDB Server Host localhost succesfully
2019-04-24 11:49:58,057 logging in Enedis URI https://espace-client-particuliers.enedis.fr/group/espace-particuliers...
2019-04-24 11:49:58,346 logged in successfully!
2019-04-24 11:49:58,354 get Data from Enedis from 18/04/2019 to 24/04/2019
2019-04-24 11:50:02,835 found value ordre(  1) :    0.21 kWh at 2019-04-17T22:00
roumano commented 5 years ago

Fixing #8