Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send amounts to xdrip #95

Open
nvanderperren opened this issue Nov 13, 2023 · 4 comments
Open

send amounts to xdrip #95

nvanderperren opened this issue Nov 13, 2023 · 4 comments

Comments

@nvanderperren
Copy link

Is there a way to send amounts to xdrip? I use it to send values to my watch, since the xdrip webserver in juggluco doesn't work with fitbit's glance app. It would be nice to see also my IOB etc.

@j-kaltes
Copy link
Owner

Others claim that the Glance app works with Juggluco. Turn on the webserver in Juggluco and configure xDrip as source in Glance (https://glancewatchface.com/).
xDrip can receive the amounts, by using the webserver in Juggluco as a Nightscout server for xDrip. You should turn on "Give Amounts' in the web server, see: https://www.juggluco.nl/Jugglucohelp/Nightscouthelp.html

@nvanderperren
Copy link
Author

nvanderperren commented Nov 13, 2023

I did that for the Glance app. It didn't work.

xdrip with webserver returns a : "NS treaments download as not succesful: 404 Not Found". The webserver is active and I used the http://127.0.0.1:17580. When I use http://127.0.0.1:17580 in the browser, it says "Path not found"

@j-kaltes
Copy link
Owner

j-kaltes commented Nov 13, 2023

Did you test whether the web server in Juggluco worked, by testing some of the urls mentioned in https://www.juggluco.nl/Juggluco/webserver.html on the same phone as Juggluco?
Only one app can listen at a particular port on a particular host. If you have turned on the webs erver in xDrip, the one in Juggluco doesn't work. In xDrip settings->Inter-app settings, "xDrip Web Service" should be turned off.
Juggluco's webserver doesn't say "Path not found".

@j-kaltes
Copy link
Owner

The web service in Juggluco could be used as data source with one of three different data source configurations in the Fitbit Glance watch app:
1. As xDrip;
2. As a Nightscout server;
3. http://127.0.0.1:17580/pebble.

In none of these did Juggluco give Insulin on Board.
The xDrip interface and Nightscout don't have an IOB field and Glance didn't ask for treatments from Nightscout (xDrip web service doesn't give treatments).
Only http://127.0.0.1:17580/pebble does have the possibility of an iob value. In Juggluco 7.1.10, I have added such an iob value to http://127.0.0.1:17580/pebble. It is based on the insulin concentration curve of NovoRapid (Insulin Aspart) as published by Novo Nordisk.

https://www.juggluco.nl/Juggluco/download.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants