-
Notifications
You must be signed in to change notification settings - Fork 21
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
:INFO]_get_data() Expecting value: line 1 column 1 (char 0) #16
Comments
Do you have some more info? Maybe the complete log. |
Hello, my country is HU, I'm using a carepartner acccount, but I tried with patient and I got the same error and the program crashes. python3 carelink_client2_cli.py -d -v Thanks for trying to help! |
You could try to enable the DEBUG log level by changing line 68 in
Maybe the additional information will give us some idea of what is happening. Furthermore you can disable the |
Client created |
The request to download the pump data from the Carelink API produces a response status code 204 - No Content. That means there is no data in the response and the attempt to decode it fails. I have no idea why the Carelink server doesn't send any data in your case. Do you get data with the official Carelink app? |
Official carelink website is working. I only use a sensor with the Guardian Connect app. |
That would explain things. I don't have your setup (using a 780G pump with sensor) here, so unfortunately I cannot test this. But I guess that the API endpoint for fetching the sensor data is different when using just the sensor. Maybe @palmarci has some information on this. |
I discovered some kind of android stuff in the carelink_client2.py but I don't understand everything, but maybe that's why the old one worked because it used some firefox stuff. Preveously you asked the Carelink app, maybe you meant the phone application, and that isn't working, because my sernsor device isn't supported. (I totally forget, there is a carelink app) |
Exactly, the new The old Carelink Client used the API from the Carelink Web UI, which is probably the same for both insulin pumps and standalone sensors. |
I have a 780 pump with a sensor and i cannot seem to use the Carelink Web UI, it prompts me to use the Carelink Connect mobile app, however your scripts work fine @ondrej1024, so this is just a "frontend" limitation :) When i was researching this i only had a sensor, and the initial script was written for that. The response format is definitely not the same, however as far as i remember the endpoints are the same. |
@palmarci But in the new carelink client we use this endpoint: This is probably not working for the sensor only setup. So this case will have to be handled separately. |
Running carelink_client2_cli.py (or the proxy) gives the following error:
:INFO]_get_data()
Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered: