benceszasz / xDripCareLinkFollower

Experimental Medtronic CareLink Follower data source for xDrip+
GNU General Public License v3.0
86 stars 64 forks source link

No Active Insulin in Pump Status and no Notifications #42

Open CenGo86 opened 10 months ago

CenGo86 commented 10 months ago

Hello, I noticed that since the last update I no longer have a display in the status bar about the active insulin in my Pump Status Information Tab. Only Battery and Insulin in Reservoir is showing. Has something changed or has a small bug crept in?

Greetings

Edit: I See there was a Problem with notifications too. They don't show up.

benceszasz commented 10 months ago

I will check it.

CenGo86 commented 3 months ago

Did you find something out about this issue?

sedy89 commented 2 months ago

I was debugging for some time and I could verify that the input data is still fine. Seems like everything is okay until data = new GsonBuilder().create().fromJson(responseString, dataClass); in the getData function of the CareLinkClient is being called. I did not check all mapped objects, but I saw that in CareLinkDataProcessor e.g. lastAlarm and activeInsulin objects were still null after pushing data into the RecentData class. I could fix that problem by adding implements Serializable to all model classes in message folder. E.g. public class ActiveInsulin implements Serializable { and public class RecentData implements Serializable {

@benceszasz maybe you find some time to verify and update