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

WearOS: Connection loss to nightscout when switching from WiFi to cellular (no phones involved) #142

Open
thepartisan opened this issue Mar 21, 2024 · 1 comment

Comments

@thepartisan
Copy link

Situation

Working mirroring of data from a direct-to-watch paired Libre3 to nightscout while the watch being on WiFi, phone completely turned off. Leaving WiFi range now into cellular/LTE.

Actual behaviour

Data not received anymore by nightscout server. This can be worked around by force-restarting Juggluco on the watch once wifi connection is lost. After that data is received again on this path: Libre3 -bluetooth-> Watch -cellular-> nightscout URL

Impact

As my 11-year-old son keeps forgetting to restart, this leads to negative vibes in the family.

Expectation

The data keeps getting transmitted, as the URL did not change. No need for a restart of Juggluco.

Hint

If you start Juggluco while there is no WiFi connection established, a WiFi connection dialog pops up. After ignoring this pop-up, LTE/cellular is used and everything works until you enter WiFi the next time.

System details

Google Pixel Watch 2 LTE
Libre 3 bluetooth direct-to-watch (rock-solid, btw.)
No phones involved here (except for pairing every two weeks)

Being a software engineer myself, but with no Android development experience at all, I can offer to have a look into that myself if someone can give me a hint where in the code base I should start looking.

@thepartisan thepartisan changed the title WearOS cellular: Connection loss to nightscout when switching from WiFi to cellular, without phone in range WearOS cellular: Connection loss to nightscout when switching from WiFi to cellular (no phones involved) Mar 21, 2024
@thepartisan thepartisan changed the title WearOS cellular: Connection loss to nightscout when switching from WiFi to cellular (no phones involved) WearOS: Connection loss to nightscout when switching from WiFi to cellular (no phones involved) Mar 21, 2024
@j-kaltes
Copy link
Owner

You mean that you have configured a Nightscout Uploader on Juggluco for WearOS. It uploads via WIFI, but doesn't switch to LTE automatically when the watch comes out of WIFI reach. Only after restarting Juggluco on the watch does that happen.

What happens when you turn mobile data off and on, or turn the uploader off and on?

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

2 participants