carelink-python-client icon indicating copy to clipboard operation
carelink-python-client copied to clipboard

Run on mobile

Open Snorrski opened this issue 6 months ago • 4 comments

Is it at all possible to run this on mobile, e.g. in termux? I have been trying, but fail at the carelink_carepartner_api_login.py step.

Snorrski avatar Jun 17 '25 14:06 Snorrski

If you have a Python3 environment and all the dependencies installed on your mobile device then carelink-python-client should run.

Please note that the login script can be run conveniently on a PC. It is only needed once to generate the login data.

ondrej1024 avatar Jun 18 '25 09:06 ondrej1024

If you port this program to Swift or Kotlin, you'll be able to do the same thing. (I've done similar thing on Android with WebView before.)

Recently, I made TypeScript program to fetch data from Carelink periodically on a server. Though initial logindata.json have to be made on a PC. Thank you @ondrej1024 to publish such awesome code!

odiak avatar Sep 04 '25 03:09 odiak

Good afternoon, is it possible to use your example to make an emulator of Guardian 3 so that the pump would identify it and I would send my values?

AlexHobbi avatar Oct 05 '25 17:10 AlexHobbi

Good afternoon, is it possible to use your example to make an emulator of Guardian 3 so that the pump would identify it and I would send my values?

@AlexHobbi If you have a question not related to this issue, then please open a new issue. But anyway, the answer to your question is no. You can find the answer also yourself reading the provided documentation and learning what carelink-python-client does.

ondrej1024 avatar Oct 06 '25 07:10 ondrej1024