Skip to content

Releases: ssenart/PyGazpar

1.1.2

08 Jan 13:57
bbcfa40
Compare
Choose a tag to compare

Fixed

  • #39: NameError: name 'Frequency' is not defined (thanks nicolas-r).
  • Numéro PCE pas forcément un nombre: Le numéro PCE de mon compteur commence par un 0 et lorsque j'essaie de récupérer mes relevés avec PyGazpar, une erreur de l'API est renvoyée. Le numéro PCE ne doit donc pas être converti en int lorsque il est passé en paramètre mais doit être une string (thanks maelgangloff).

1.1.1

02 Dec 21:37
f8e3cd1
Compare
Choose a tag to compare
Merge pull request #35 from ssenart/develop

Exact same version as 1.1.0 except that 1.1.0 has not been published …

1.1.0

02 Dec 21:29
9624e75
Compare
Choose a tag to compare

Remove Selenium usage and use simple Web request for login and data retrieval.

1.0.2

25 Nov 21:44
c05b41a
Compare
Choose a tag to compare

1.0.2 - 2021-11-25

Fixed

  • Fix broken command line pygazpar caused by adding the new lastNDays parameter.
  • Fix the error : ValueError: could not convert string to float: 'Index de début de période (m3)'. It occurs because the records in the Excel file now starts at line 10 instead of line 8 before (thanks to DEFAYArnaud for having spotted the issue and bringing the fix).

Changed

  • In the Excel file, if a cell is empty, then no corresponding key will be inserted in the result dictionary (before we inserted a key with an empty string).

1.0.1

24 Nov 12:55
28dc042
Compare
Choose a tag to compare

Fix typo warning from Pylance preventing 1.0.0 to be published.

1.0.0

24 Nov 12:39
6a29542
Compare
Choose a tag to compare

PyGazpar broken since GRDF Monespace has been upgraded to a new version.

[#12] Be able to retrieve consumption not only on a daily basis, but weekly and monthly

21 Apr 09:45
e51cc1b
Compare
Choose a tag to compare

Added

  • #12: Be able to retrieve consumption not only on a daily basis, but weekly and monthly:
    • API : Add a new parameter 'meterReadingFrequency' to Client that accepts enumeration: Frequency.DAILY, Frequency.WEEKLY or Frequency.MONTHLY.
    • Command line : Add a new argument '--frequency' that accepts values : DAILY, WEEKLY or MONTHLY.
  • Be able to test using offline data :
    • API : Add a new parameter 'testMode' to Clients used to specify whether we want to get some live data (testMode=False) and static testing data (testMode=True).
    • Command line : Add a new argument '--testMode' (True if specified and False by default).

Changed

  • Some ouput energy property names have changed:
    • 'date' => 'time_period'.
    • 'converter_factor' => 'converter_factor_kwh/m3'.
    • 'local_temperature' => 'temperature_degC'.

Fix #10 : Does not download data file in tmpdir as expected (instead it is downloaded in the default user Download directory)

20 Apr 06:38
Compare
Choose a tag to compare

Fixed

  • #10 : Does not download data file in tmpdir as expected (instead it is downloaded in the default user Download directory). The previous attempt in version 0.1.26 is a failure. The origin of the bug is that we send a relative tmp directory path to Webdriver. Additionally, this path has to be normalized to the runtime OS (using slash or backslash).

[10] Does not download data file in tmpdir as expected (instead it is downloaded in the default user Download directory)

18 Apr 11:33
Compare
Choose a tag to compare

Fixed

  • #10 : Does not download data file in tmpdir as expected (instead it is downloaded in the default user Download directory).

Added

  • A new parameter to drive whether we want Selenium in headless mode or not (mainly for troubleshooting purpose).

Remove useless warning log messages (log message level has been decreased to debug).

15 Apr 17:43
Compare
Choose a tag to compare

Fixed

  • Remove useless warning log messages (log message level has been decreased to debug).