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

Steps to get this working? #3

Open
billreed85 opened this issue May 25, 2023 · 20 comments
Open

Steps to get this working? #3

billreed85 opened this issue May 25, 2023 · 20 comments

Comments

@billreed85
Copy link

I am probably missing something very obvious, but I did the following on my Heroku Nightscout install:

  1. Add 'connect' to the ENABLE config var list.
  2. Added new config vars for: CONNECT_SOURCE, CONNECT_LINK_UP_USERNAME, CONNECT_LINK_UP_PASSWORD, CONNECT_LINK_UP_REGION, CONNECT_LINK_UP_PATIENT_ID

There is no data coming into the Nightscout site from my Libre 3. Any thoughts on the best way to move forward?

@bewest
Copy link
Member

bewest commented Jun 13, 2023

Howdy @billreed85, thanks very much for your interest! To get this running in Nightscout, you'll need to use a branch: wip/bewest/nightscout-connect.

@bewest
Copy link
Member

bewest commented Jun 14, 2023

It's now possible to use Nightscout's dev branch.

@Chapagain43
Copy link

same here....
Pulling this in Azure "nightscout/cgm-remote-monitor-development:latest"
With the following configurations but nothing is getting populated in the website
{
"name": "API_SECRET",
"value": "xxxx",
"slotSetting": false
},
{
"name": "CONNECT_LINK_UP_CONNECTION",
"value": "xxxx",
"slotSetting": false
},
{
"name": "CONNECT_LINK_UP_PASSWORD",
"value": "xxxx",
"slotSetting": false
},
{
"name": "CONNECT_LINK_UP_REGION",
"value": "US",
"slotSetting": false
},
{
"name": "CONNECT_LINK_UP_SERVER",
"value": "api-US.libreview.io",
"slotSetting": false
},
{
"name": "CONNECT_LINK_UP_TIME_INTERVAL",
"value": "1",
"slotSetting": false
},
{
"name": "CONNECT_LINK_UP_USERNAME",
"value": "xxxx",
"slotSetting": false
},
{
"name": "CONNECT_LOG_LEVEL",
"value": "info",
"slotSetting": false
},
{
"name": "CONNECT_SOURCE",
"value": "linkup",
"slotSetting": false
},
{
"name": "DOCKER_REGISTRY_SERVER_URL",
"value": "https://index.docker.io/v1",
"slotSetting": false
},
{
"name": "ENABLE",
"value": "connect",
"slotSetting": false
},
{
"name": "MONGODB_URI",
"value": "xxxx",
"slotSetting": false
},
{
"name": "WEBSITES_ENABLE_APP_SERVICE_STORAGE",
"value": "false",
"slotSetting": false
}
]

@bewest
Copy link
Member

bewest commented Jun 19, 2023

@Chapagain43, I think you have the wrong image/tag name. Try this one instead:
https://hub.docker.com/r/nightscout/cgm-remote-monitor/tags

nightscout/cgm-remote-monitor:latest_dev should resolve to the latest dev image published recently by the build bot.

@Chapagain43
Copy link

Awesome, thank you.
site is working with latest dev version with the above configurations to pull from librelink
will leave it alone but for last 5 minutes nothing is being entered.

@bewest
Copy link
Member

bewest commented Jun 19, 2023

Also, I noticed you are interested in using libre; just this morning I pushed new code required for their recent compatibility updates. I just updated the dev branch to match, and it should be publishing an updated docker image shortly. Once a new image is listed, it's worth retrying.

@bewest
Copy link
Member

bewest commented Jun 19, 2023

You can convince yourself that the plugin is available by leaving out your password or username. If the plugin is configure to be used, but the credentials are empty, it should generate a boot error page that clearly explains the issue.

@Chapagain43
Copy link

Boom!
Left password out and as expected it threw an error.

LibreLinkUp Password is required. CONNECT_LINK_UP_PASSWORD must be the password for the LibreLinkUp User in order to login.
{"stack":"Error: CONNECT_LINK_UP_PASSWORD
at Function.validate_inputs [as validate] (/opt/app/node_modules/nightscout-connect/lib/sources/librelinkup.js:219:156)
at manage (/opt/app/node_modules/nightscout-connect/index.js:49:26)
at setupConnect (/opt/app/lib/server/bootevent.js:323:58)
at Object. (/opt/app/node_modules/bootevent/index.js:12:7)
at EventEmitter.saw.nest (/opt/app/node_modules/chainsaw/index.js:86:12)
at Object.acquire (/opt/app/node_modules/bootevent/index.js:10:9)
at saw.next (/opt/app/node_modules/chainsaw/index.js:62:18)
at setupListeners (/opt/app/lib/server/bootevent.js:318:5)
at Object. (/opt/app/node_modules/bootevent/index.js:12:7)
at EventEmitter.saw.nest (/opt/app/node_modules/chainsaw/index.js:86:12)","message":"CONNECT_LINK_UP_PASSWORD"}

@Chapagain43
Copy link

@bewest,
Really appreciate you walking me thru this.
I will repull the dev docker in the AM tomorrow to see if it starts to write.
Just to clarify: in the LibreLinkUp it required the nightscout website and api token, assuming from the readme file here no need to include these?

@Chapagain43
Copy link

Nothing is being posted in the nightscout site.
not sure but should the logs show activity regarding the “connect”? Not seeing any activity in the logs.

@bewest
Copy link
Member

bewest commented Jun 22, 2023

Maybe get in touch with me via bewest@gmail.com or on FB. It would help to be able to test out with credentials that have data. I don't use Libre, so I was only able to directly test basic login.

@jonisaksson
Copy link

I have the same problem. It doesnt seem to pull any data through from LibreLinkUp. Was there a solution found for this issue?

@bewest
Copy link
Member

bewest commented Aug 21, 2023

In order for this to work, you must invite yourself as a follower in LibreView/LibreLinkUp/Libre. The credentials used are the LibreView credentials. Hope this helps.

@jonisaksson
Copy link

jonisaksson commented Aug 22, 2023 via email

@bewest
Copy link
Member

bewest commented Aug 22, 2023

There are two passwords, one for LibreLinkup and one for LibreView. It's possible for them to not match, worth triple checking.

@jonisaksson
Copy link

jonisaksson commented Aug 22, 2023 via email

@bewest
Copy link
Member

bewest commented Aug 22, 2023

Ok, if you could email me at bewest at medicaldatanetworks.com or gmail.com I will take a look in my development environment. Otherwise I don't have any access to testing or development. It would help if you could set a temporary password and send it to my email. Make sure to mention nightscout-connect and libre in the subject.
Out of curiosity, are you able to get it to work with https://github.com/timoschlueter/nightscout-librelink-up?

@jonisaksson
Copy link

jonisaksson commented Aug 22, 2023 via email

@bewest
Copy link
Member

bewest commented Aug 22, 2023

@jonisaksson thanks for your help! I found several issues that needed to be fixed in order for this to work.

How often does LibreLinkUp update with new data for you?
Updated in latest feature branch: #19

@jonisaksson
Copy link

jonisaksson commented Aug 23, 2023 via email

@sbc2280 sbc2280 mentioned this issue Aug 24, 2023
1 task
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

4 participants