Releases: gillesvs/librelink
Adding new countries with local endpoints.
New URL for Canada and adding additional tests for API results
Canada users cannot retrieve data with the global API, therefore a dedicated end point is added. This has to be chosen at integration configuration.
- adding extra tests on API results to avoid refresh failure is one patient has no sensors activated in a multi patients mode.
Minor improvements
No more sensitive data in logs
API timeout increased to 20 seconds
Better messaging for invalid user/password
Multiple patients and multi regions management
This release manages multi-patients per account and multi regions (just Russia for the moment, but ready for other regions API which do not use the global one).
It also manages choosing between, mg/dL or mmol/L when installing the integration.
Warning:
If upgrading from v1.1.1, the integration will fail to init and you will loose your sensors as they are now prefixed by the patient name and not the account bearer name.
So best is to delete integration and install the new one. Sorry for the inconvenience.
Also, Librelink API does not always send patients in the same order. For this reason, if you add a new patient to an account after installing the integration, best is to delete integration and reinstalling it after adding the patient to the account. You will not loose sensors as unique_id will be the same.
I still have to work on this but if an expert in the coordinator class wants to have a look, you're welcome.
Another solution is to use the GetGraph APIs which uses the patientId. I alrady implement the class (see in api.py) and test it but not use it as it will need a complete refactoring of this integration and I do not have time at the moment.
Hope it helps,
Cordialement,
Gilles
Beta Release for multiple patients
Beta Release for multiple patients
- Management of russia URL which does not work with global API
Beta version for mmol measurement
For defautl repo
v1.1.1 minor corrections