I found an easy workaround for my problem.
The latest notification sensor in the HA companion app can be configured to send xdrip notifications to HA. It works. Data is coming in every 5 minutes when xdrip is updated.
Your post has reminded me that you use camaps fx. I am currently on a tandem pump. But I have an option to move to a ypsopump plus camaps fx. I am curious what you think of this combo? Cheers.
CAMAPS was a big improvement in our case. We were on Medtronic before. Now I do almost no manual corrections during the night.
They is still lots of room for improvement on the follower app. But together with xdrip it is fine.
that is an easy task, but I need to translate german HA app content to english. It may differ from the actual wording.
Do you receive xdrip notifications with the BC values every 5 minutes on you smartphone?
Within the settings of you home assistant companion app, go to Sensor settings, scroll down to notification sensors and click on latest notification. click on whitelist and search for xdrip and activate it. That“s it. You will find the BC Values in the latest notification entity of HA. You need to look at the attributes, as well.
Thanks again. I have done some fiddling and think I have set up notifications right now, but that allow list is looking and impossible to search. Iāll play again after work.
What is your setup to get CAMAPS data to HA?
I want to connect it too but CAMAPS doesnāt have an integration of API.
Do you have Dexcom G6/Freestyle Libre to CAMAPS and parallelly to xdrip with nightscount? I am under the impression that you cannot connect G6 to 2 apps (CAMAPS & xdrip+).
Thanks for sharing your setup
Thanks. I tried that but it messed up the CamAps app. Luckily the xdrip can have āCompanion Appā as source and it gets the data I need. Also I am trying to connect Ypsopump. But it works now and I can now work with the data.
@wilko Thereās a blood glucose sensor in the HA companion app now, for android. This sensor just reflects data from glucose readings in Health Connect (Google Health). You can setup Xdrip to publish data to Health Connect, then enable the glucose sensor in the companion app and it will reflect the xdrip values. If youāre using android, its a great solution and works flawlessly. No need for nightscout, no need for intercepting notifications.
Hi @Wilko, can you share you final solution for this problem?
I have a similar scenario, I have CamAPS FX (and both xdrip and the HA companion app reading the android notifications). Xdrip send the data to Nightscout (hosted on Railways) and the HA Companion App forward all other notifications to my iPhone (like battery, low glucose, etc).
But now that the CamAPS FX app is available natively for the iPhone I will need an alternative way to send my glucose from the iPhone if I switch (since I cannot do the xdrip magic) to something that HA can read.
Did you find any integration to get CamAPS or Glooko values into HA natively?
I did not try the Health Connect Option, yet. Thank you sdholden28 for pointing that out.
I am still using the notification interception within the HA Android App and it works just fine. I have some template sensors which show me the values of interest. Which are for me BG, trend, delta and age of the value. Not sure if google health will provide all of these.
As far as I know, the only option for IOS Users is switching to Android, since IOS does not allow access to the notifications for any app. Maybe you can use an old android phone to receive the Dexcom sensor values from the second Bluetooth slot, at least while at Home.
Google health only provides the actual BG reading. I have a template sensor which keeps track of the value changes, giving me the āage of valueā you have as well. Since trend and delta are just calculated from the BG readings, Iām sure you could create template sensors to generate those values based on the last however many readings you like. No reason to change your setup if itās working for you of course.
This got me thinking. A delta sensor would only require the previous value and the current one, so thatās easy. For trend, it turns out that HA actually has a trend sensor for exactly this type of thing. I didnāt know that and Iāve never used it. Iām going to set one up and compare it with the xdrip trend readings. Iāll report back.
@Wilko The Xdrip trend is really simple, and only compares the last two readings. Screenshot of the xdrip docs attached. No ātrendā sensor or derivative sensor needed in HA. I created a helper to hold the previous value and an automation to set current value to previous whenever a new value comes in. Then thereās a template sensor for the delta, and then another template sensor which translates the delta into the trend and adds arrows for visualization. Happy to provide code snippets if anyone is interested.