yo-han / Home-Assistant-Carelink

Unofficial Home Assistant Carelink Component
MIT License
24 stars 12 forks source link

MMT-1886 Pump not connect ! #85

Open Fandegith opened 3 months ago

Fandegith commented 3 months ago

hi, since July 27TH at 9h35, the carelink data from my father's Medtronic-pump MMT-1886 is no longer readable by the application on home assistant. I reactivated the logindata.json file but I still have the following messages in the logs:

2024-07-30 23:33:34.099 DEBUG (MainThread) [custom_components.carelink] the marker with type 'MEAL' could not be tracked correctly. Check if your Carelink data contains a key with the name list index out of range, it seems to be missing. 2024-07-30 23:33:34.100 DEBUG (MainThread) [custom_components.carelink] the marker with type 'INSULIN' could not be tracked correctly. Check if your Carelink data contains a key with the name list index out of range, it seems to be missing. 2024-07-30 23:33:34.100 DEBUG (MainThread) [custom_components.carelink] the marker with type 'AUTO_BASAL_DELIVERY' could not be tracked correctly. Check if your Carelink data contains a key with the name list index out of range, it seems to be missing. 2024-07-30 23:33:34.100 DEBUG (MainThread) [custom_components.carelink] the marker with type 'AUTO_MODE_STATUS' could not be tracked correctly. Check if your Carelink data contains a key with the name list index out of range, it seems to be missing. 2024-07-30 23:33:34.100 DEBUG (MainThread) [custom_components.carelink] the marker with type 'LOW_GLUCOSE_SUSPENDED' could not be tracked correctly. Check if your Carelink data contains a key with the name list index out of range, it seems to be missing. What can i do please ? thanks C.A

yo-han commented 3 months ago

It seems the "markers" key in the downloaded data is missing. An option could be to check in the code for this key and if It doesn't exist return null for these values.

Fandegith commented 3 months ago

Ok, thanks yo-han, but what can i do ? Did carelink modify the code page ?...The the Carelink-Cloud gives the updated values...

yo-han commented 3 months ago

There is not much you can do about it, this is something that needs to be fixed in the code of this component.

yo-han commented 3 months ago

It looks like this is the same issue as some other people reported too. https://github.com/yo-han/Home-Assistant-Carelink/issues/82

If I can find the time I will take a look at catching the missing data issue.