Releases: ssenart/PyGazpar
Releases · ssenart/PyGazpar
1.1.2
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
1.1.0
1.0.2
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
1.0.0
[#12] Be able to retrieve consumption not only on a daily basis, but weekly and monthly
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)
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)
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).
Fixed
- Remove useless warning log messages (log message level has been decreased to debug).