psonnera / minimed-connect-to-nightscout-wrapper

mmconnect to Nightscout plugin wrapper
3 stars 1 forks source link

No data for MMCONNECT_SERVER=EU #1

Open ClifClimber opened 3 years ago

ClifClimber commented 3 years ago

After follow all the steps and execute run.js , the data is not displayed on NS .

My .env is :

MMCONNECT_SERVER=EU
CARELINK_USERNAME=_user_
CARELINK_PASSWORD=_pass_
CARELINK_QUIET=false

# Nightscout API SECRET
API_SECRET=_api_
# Nightscout HOSTNAME
WEBSITE_HOSTNAME=oscarramos.herokuapp.com

And the logs captures show the login seems good but the fetch does not get data :

`pi@raspberry:~/minimed-connect-to-nightscout-wrapper $ node run.js
Thu Feb 25 2021 13:30:23 GMT+0100 (hora estándar de Europa central) Logging in to CareLink
Thu Feb 25 2021 13:30:23 GMT+0100 (hora estándar de Europa central) EU login 1
Thu Feb 25 2021 13:30:24 GMT+0100 (hora estándar de Europa central) EU login 2 (url: https://mdtlogin.medtronic.com/mmcl/auth/oauth/v2/authorize?client_id=b330fa11-0fc1-4284-800e-d51a4a5a5a0e&response_type=code&redirect_uri=https://carelink.minimed.eu/patient/sso/auth&scope=openid%20profile%20roles&state=auth&lang=en&country=gb&code_challenge=yc84KUeido3QHBkiugV8DSflVdKpgFBLi44VFQGA3po&code_challenge_method=S256)
Thu Feb 25 2021 13:30:25 GMT+0100 (hora estándar de Europa central) EU login 3 (url: https://mdtlogin.medtronic.com/mmcl/auth/oauth/v2/authorize/login?locale=en&countrycode=gb)
Thu Feb 25 2021 13:30:27 GMT+0100 (hora estándar de Europa central) EU login 4 (url: https://mdtlogin.medtronic.com/mmcl/auth/oauth/v2/authorize/consent, sessionID: e468cedc-66f8-47f7-acb7-501c05bb33c2, sessionData: eyJ0eXAiOiJKV1QiLCJjdHkiOiJKV1QiLCJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..r7jpKf3B9rcpRdc-APwRIw.81XEX42wGF3NCh596675dn9R9Fxa2d9uVNFaQYkWqYUWktQjmD9CGINGwMWZ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: https://carelink.minimed.eu/patient/sso/auth?code=4d374df0-6967-49cf-a68e-1be58ec42453&state=auth)
Thu Feb 25 2021 13:30:29 GMT+0100 (hora estándar de Europa central) GET data https://carelink.minimed.eu/patient/connect/data?cpSerialNumber=NONE&msgType=last24hours&requestTime=1614256229616
Thu Feb 25 2021 13:30:30 GMT+0100 (hora estándar de Europa central) Stale CareLink data: 26904270.50 minutes old
Thu Feb 25 2021 13:30:30 GMT+0100 (hora estándar de Europa central) Next check 306s later (at Thu Feb 25 2021 13:35:36 GMT+0100 (hora estándar de Europa central))
Thu Feb 25 2021 13:30:30 GMT+0100 (hora estándar de Europa central) No new items for https://oscarramos.herokuapp.com/api/v1/entries.json
Thu Feb 25 2021 13:30:30 GMT+0100 (hora estándar de Europa central) No new items for https://oscarramos.herokuapp.com/api/v1/devicestatus.json

Thu Feb 25 2021 13:35:36 GMT+0100 (hora estándar de Europa central) GET data https://carelink.minimed.eu/patient/connect/data?cpSerialNumber=NONE&msgType=last24hours&requestTime=1614256536198
Thu Feb 25 2021 13:35:37 GMT+0100 (hora estándar de Europa central) Stale CareLink data: 26904275.62 minutes old
Thu Feb 25 2021 13:35:37 GMT+0100 (hora estándar de Europa central) Next check 306s later (at Thu Feb 25 2021 13:40:43 GMT+0100 (hora estándar de Europa central))
Thu Feb 25 2021 13:35:37 GMT+0100 (hora estándar de Europa central) No new items for https://oscarramos.herokuapp.com/api/v1/entries.json
Thu Feb 25 2021 13:35:37 GMT+0100 (hora estándar de Europa central) No new items for https://oscarramos.herokuapp.com/api/v1/devicestatus.json`

Thanks for the process ! ! !

AlejandroPaula commented 3 years ago

Hola, estoy intentando ver BG en Ns para 780g y no lo consigo..he seguido este tutorial y no consigo ver, usted a podido ver BG de 780g en Ns?