dhermanns / rpi-nightscout

CGM Remote Monitor aka Nightscout for the Raspberry Pi 1/2.
35 stars 49 forks source link

Upload not possible from xDrip+ / Glimp #4

Closed majatocaha closed 7 years ago

majatocaha commented 7 years ago

I set up nightscout just as in the instructions described. I can access it via browser perfectly fine, but if I try to upload it by xDrip+ the error says "Please ensure careportal plugin is enablen on nightscout for treatment upload". I checked already and even gave all permissions to role "careportal", but no effect. I provide the address in this format: http://api_secret>@<ip_address:1337/api/v1/

The format in the instructions causes xDrip+ to show an error message about invalid format/characters. The API consists of legal characters only.

When providing Glimp with the address and the API, it says "Not Found!".

majatocaha commented 7 years ago

Oh my, nvm, I just had enable the plugin before deplyoing nightscout. Sorry for the inconvenience...

dhermanns commented 7 years ago

welcome ;-) majatocaha notifications@github.com schrieb am Do. 6. Juli 2017 um 20:24:

Closed #4 https://github.com/dhermanns/rpi-nightscout/issues/4.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dhermanns/rpi-nightscout/issues/4#event-1153256407, or mute the thread https://github.com/notifications/unsubscribe-auth/ADDwlaLCniT-VMGQtpZfXLCtMzJMfGOaks5sLSZCgaJpZM4OP9xg .

bcdiabetes commented 4 years ago

I have the same problem; I have tried enabling CarePortal, but upon clicking "Test Connection", I see the prompt "Not Found".

dhermanns commented 4 years ago

Hi!

You should try to drill the problem down by trying to manually post data to your nightscout backend.

Have a look e.g. here:

https://github.com/nightscout/cgm-remote-monitor/blob/master/testing/populate_rest.js

bcdiabetes notifications@github.com schrieb am Di. 25. Feb. 2020 um 01:20:

I have the same problem; I have tried enabling CarePortal, but upon clicking "Test Connection", I see the prompt "Not Found".

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dhermanns/rpi-nightscout/issues/4?email_source=notifications&email_token=AAYPBFPGDKNOBUQOA7UM2NLRERP6TA5CNFSM4DR73RQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM2BMFA#issuecomment-590616084, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYPBFMX7NYTFZTONREYC33RERP6TANCNFSM4DR73RQA .

bcdiabetes commented 4 years ago

Hi

Thank you for your response. I apologise for my rudimentary programming skills. How does one "manually post data" to Nightscout's "backend"?

dhermanns commented 4 years ago

You can do that with the HTTP Tool you like. Using Linux you can use curl or wget to do a http post.

bcdiabetes notifications@github.com schrieb am Di. 25. Feb. 2020 um 21:08:

Hi

Thank you for your response. I apologise for my rudimentary programming skills. How does one "manually post data" to Nightscout's "backend"?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dhermanns/rpi-nightscout/issues/4?email_source=notifications&email_token=AAYPBFPM3H7XESBLYQ22BBDREV3DBA5CNFSM4DR73RQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM5J6OY#issuecomment-591044411, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYPBFPXLEKIFQCIUIH4MQTREV3DBANCNFSM4DR73RQA .

bcdiabetes commented 4 years ago

Thank you. I will attempt this and let you know if it worked.