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

fitbit versa suddenly no BG data #59

Open
jaknoll opened this issue Mar 5, 2019 · 30 comments
Open

fitbit versa suddenly no BG data #59

jaknoll opened this issue Mar 5, 2019 · 30 comments

Comments

@jaknoll
Copy link

jaknoll commented Mar 5, 2019

Several days ago the data from xdrip stopped showing up on my fitbit versa. It constantly shows up as 'loading' regardless of how many times I force a sync in the fitbit app, reboot the fitbit or reboot the phone. I also tried deleting the glance app from the fitbit and reinstalling, but had no luck.

The error I see from the developer menu and logs from glance are:

Uncaught (in promise) TypeError: Cannot read property 'name' of undefined'
@Rytiggy
Copy link
Owner

Rytiggy commented Mar 5, 2019

Has there been any software changes? Any updates?

What do you see at this url could you send me a screenshot?
http://127.0.0.1:17580/sgv.json

@jaknoll
Copy link
Author

jaknoll commented Mar 5, 2019

No software changes in Glance, it has been running for at least 6 months without issue. I don't think xdrip changed at the time either. It's possible there was an Android update but don't remember the phone rebooting at the time (Pixel 2)

Here are the contents of the URL:

[{"_id":"be39cee9-2bf7-4218-bff4-d9d708b2d689","device":"G6 Native","dateString":"2019-03-05T05:16:57.864-0500","sysTime":"2019-03-05T05:16:57.864-0500","date":1551781017864,"sgv":111,"delta":1,"direction":"Flat","noise":1,"filtered":132702,"unfiltered":133314,"rssi":100,"type":"sgv","units_hint":"mgdl"},{"_id":"fbdf4214-1964-4c72-95f6-a901f5670be7","device":"G6 Native","dateString":"2019-03-05T05:11:57.890-0500","sysTime":"2019-03-05T05:11:57.890-0500","date":1551780717890,"sgv":110,"delta":1,"direction":"Flat","noise":1,"filtered":132906,"unfiltered":132430,"rssi":100,"type":"sgv"},{"_id":"0477b5a2-f185-4a5f-85d7-724190a71e44","device":"G6 Native","dateString":"2019-03-05T05:06:57.958-0500","sysTime":"2019-03-05T05:06:57.958-0500","date":1551780417958,"sgv":111,"delta":1,"direction":"Flat","noise":1,"filtered":132906,"unfiltered":133178,"rssi":100,"type":"sgv"},{"_id":"293b6345-cf87-4489-9c32-e0c8dab97c34","device":"G6 Native","dateString":"2019-03-05T05:01:57.839-0500","sysTime":"2019-03-05T05:01:57.839-0500","date":1551780117839,"sgv":110,"delta":1,"direction":"Flat","noise":1,"filtered":132192,"unfiltered":131648,"rssi":100,"type":"sgv"},{"_id":"dbfd39e7-eed8-4544-8013-e1b85845b4fb","device":"G6 Native","dateString":"2019-03-05T04:56:57.795-0500","sysTime":"2019-03-05T04:56:57.795-0500","date":1551779817795,"sgv":112,"delta":1,"direction":"Flat","noise":1,"filtered":131206,"unfiltered":133110,"rssi":100,"type":"sgv"},{"_id":"09c18fba-5135-4427-95dd-ca05b11e3d46","device":"G6 Native","dateString":"2019-03-05T04:51:57.906-0500","sysTime":"2019-03-05T04:51:57.906-0500","date":1551779517906,"sgv":112,"delta":1,"direction":"Flat","noise":1,"filtered":130424,"unfiltered":133382,"rssi":100,"type":"sgv"},{"_id":"3790c729-215c-4437-88af-be45dda32aef","device":"G6 Native","dateString":"2019-03-05T04:47:04.541-0500","sysTime":"2019-03-05T04:47:04.541-0500","date":1551779224541,"sgv":108,"delta":1,"direction":"Flat","noise":1,"filtered":130253,"unfiltered":129880,"rssi":100,"type":"sgv"},{"_id":"79d0a82a-77f4-45d4-b5ce-26a27128562c","device":"G6 Native","dateString":"2019-03-05T04:41:57.998-0500","sysTime":"2019-03-05T04:41:57.998-0500","date":1551778917998,"sgv":109,"delta":1,"direction":"Flat","noise":1,"filtered":130356,"unfiltered":130151,"rssi":100,"type":"sgv"},{"_id":"cb377eb3-fb64-4c4f-886b-fb986b492b70","device":"G6 Native","dateString":"2019-03-05T04:36:58.100-0500","sysTime":"2019-03-05T04:36:58.100-0500","date":1551778618100,"sgv":109,"delta":1,"direction":"Flat","noise":1,"filtered":130253,"unfiltered":130151,"rssi":100,"type":"sgv"},{"_id":"cc1ea9da-d283-46b0-ad20-a9fb7dd199c1","device":"G6 Native","dateString":"2019-03-05T04:31:57.935-0500","sysTime":"2019-03-05T04:31:57.935-0500","date":1551778317935,"sgv":109,"delta":0.500,"direction":"Flat","noise":1,"filtered":129982,"unfiltered":130560,"rssi":100,"type":"sgv"},{"_id":"37c7d886-2155-4d25-8b14-4a9d81d2416c","device":"G6 Native","dateString":"2019-03-05T04:26:58.002-0500","sysTime":"2019-03-05T04:26:58.002-0500","date":1551778018002,"sgv":109,"delta":0.500,"direction":"Flat","noise":1,"filtered":129744,"unfiltered":130356,"rssi":100,"type":"sgv"},{"_id":"6250d5f4-df9e-4f91-ba00-a8821e38d219","device":"G6 Native","dateString":"2019-03-05T04:21:57.934-0500","sysTime":"2019-03-05T04:21:57.934-0500","date":1551777717934,"sgv":109,"delta":0.500,"direction":"Flat","noise":1,"filtered":129472,"unfiltered":129812,"rssi":100,"type":"sgv"},{"_id":"e24a4894-dfdb-40c8-a204-931aa9281db3","device":"G6 Native","dateString":"2019-03-05T04:16:57.975-0500","sysTime":"2019-03-05T04:16:57.975-0500","date":1551777417975,"sgv":108,"delta":0.500,"direction":"Flat","noise":1,"filtered":128996,"unfiltered":129472,"rssi":100,"type":"sgv"},{"_id":"a73486c4-d263-47fe-a19f-a3caa078ae00","device":"G6 Native","dateString":"2019-03-05T04:11:58.081-0500","sysTime":"2019-03-05T04:11:58.081-0500","date":1551777118081,"sgv":108,"delta":0.500,"direction":"Flat","noise":1,"filtered":128145,"unfiltered":129199,"rssi":100,"type":"sgv"},{"_id":"b27a4d1f-8143-4eda-a122-135b68d4b4d7","device":"G6 Native","dateString":"2019-03-05T04:06:58.218-0500","sysTime":"2019-03-05T04:06:58.218-0500","date":1551776818218,"sgv":108,"delta":0.500,"direction":"Flat","noise":1,"filtered":126956,"unfiltered":128554,"rssi":100,"type":"sgv"},{"_id":"3adeacaf-211d-439c-b207-27bd74a0bf93","device":"G6 Native","dateString":"2019-03-05T04:01:57.923-0500","sysTime":"2019-03-05T04:01:57.923-0500","date":1551776517923,"sgv":107,"delta":0.500,"direction":"Flat","noise":1,"filtered":125970,"unfiltered":127840,"rssi":100,"type":"sgv"},{"_id":"39fd3a34-5c53-42d2-a7dc-2164998ce4a7","device":"G6 Native","dateString":"2019-03-05T03:56:57.979-0500","sysTime":"2019-03-05T03:56:57.979-0500","date":1551776217979,"sgv":106,"delta":1,"direction":"Flat","noise":1,"filtered":125868,"unfiltered":127160,"rssi":100,"type":"sgv"},{"_id":"fb330423-a516-4232-a2fa-3e81360c55d4","device":"G6 Native","dateString":"2019-03-05T03:51:57.954-0500","sysTime":"2019-03-05T03:51:57.954-0500","date":1551775917954,"sgv":105,"delta":-0.500,"direction":"Flat","noise":1,"filtered":126854,"unfiltered":126038,"rssi":100,"type":"sgv"},{"_id":"b1154681-feff-4876-9d87-1e8bf4e80753","device":"G6 Native","dateString":"2019-03-05T03:46:58.290-0500","sysTime":"2019-03-05T03:46:58.290-0500","date":1551775618290,"sgv":104,"delta":-1,"direction":"Flat","noise":1,"filtered":128316,"unfiltered":125732,"rssi":100,"type":"sgv"},{"_id":"f0ee9ed9-8dc0-4bd4-ac78-c6267b80547e","device":"G6 Native","dateString":"2019-03-05T03:41:58.191-0500","sysTime":"2019-03-05T03:41:58.191-0500","date":1551775318191,"sgv":105,"delta":-0.500,"direction":"Flat","noise":1,"filtered":129064,"unfiltered":126446,"rssi":100,"type":"sgv"},{"_id":"cc8d382c-3a1a-4bc1-be9c-ad46f339f763","device":"G6 Native","dateString":"2019-03-05T03:36:58.086-0500","sysTime":"2019-03-05T03:36:58.086-0500","date":1551775018086,"sgv":108,"delta":1,"direction":"Flat","noise":1,"filtered":128826,"unfiltered":128520,"rssi":100,"type":"sgv"},{"_id":"c78cc6b5-226b-4c09-9b32-2afb825126db","device":"G6 Native","dateString":"2019-03-05T03:31:57.982-0500","sysTime":"2019-03-05T03:31:57.982-0500","date":1551774717982,"sgv":109,"delta":0.500,"direction":"Flat","noise":1,"filtered":128282,"unfiltered":130322,"rssi":100,"type":"sgv"},{"_id":"331c9503-f3b7-4c4e-b4d3-fcd3ec7ee484","device":"G6 Native","dateString":"2019-03-05T03:26:57.997-0500","sysTime":"2019-03-05T03:26:57.997-0500","date":1551774417997,"sgv":108,"delta":0.500,"direction":"Flat","noise":1,"filtered":127942,"unfiltered":129404,"rssi":100,"type":"sgv"},{"_id":"fb7f3635-9e43-47d0-a51c-bcf78a1c4cc6","device":"G6 Native","dateString":"2019-03-05T03:21:58.545-0500","sysTime":"2019-03-05T03:21:58.545-0500","date":1551774118545,"sgv":106,"delta":1,"direction":"Flat","noise":1,"filtered":127704,"unfiltered":126650,"rssi":100,"type":"sgv"}]

@Rytiggy
Copy link
Owner

Rytiggy commented Mar 5, 2019

Could you send me a screenshot of the settings in Glance you have entered and also could you send me what you are seeing on the watchface?

@Rytiggy
Copy link
Owner

Rytiggy commented Mar 5, 2019

What version of Glance are you running the official verson? Or the pre-release?

@jaknoll
Copy link
Author

jaknoll commented Mar 11, 2019

I am using a pre-release version that I side loaded. I'll try loading up the official version and let you know if anything changes, and if not I'll post the settings I use.

@Rytiggy
Copy link
Owner

Rytiggy commented Mar 11, 2019

Do you have the latest update on the pre-prelease?

@jaknoll
Copy link
Author

jaknoll commented Mar 11, 2019

I definitely didn't. I got the Versa back in August or so and that's when I installed Glance. It's worked fine since then so never even checked for any updates. Not sure how long it's supposed to take to load up a new watch face, but I've been trying to load the official version now for 6-10 minutes and it doesn't seem to actually be starting (the progress bar is just sliding back and forth, not showing a percentage complete).

@jaknoll
Copy link
Author

jaknoll commented Mar 11, 2019

Ok, killed the fitbit app and tried again and it installed. It's now displaying my last reading and showing the graph properly. I'll give it a couple hours to see if there are any hiccups. Otherwise, sorry for the false alarm 😄

@Thasgolas
Copy link

Thasgolas commented Mar 11, 2019 via email

@Flori3000
Copy link

Using the latest official verion 2.0.49 and it doesn't reconnect (no BG is shown) if the watch was outside the BT range. I have to open then fitbit app > watch faces > settings. Then BG values are updated. As I'm a care giver and do not wear the watch it would be great to get it back to work without interruption. Thx.

@Rytiggy
Copy link
Owner

Rytiggy commented Mar 13, 2019

The Fitbit Versa and ionic require the watch to be within 35 ft (range of bluetooth) as the watch is not stand alone

@Flori3000
Copy link

Range of BT is clear. In the past the BG was shown again if I double clicked on the watch. Now I have to open the fitbit app on the phone and do the steps, written in my last comment.

@Flori3000
Copy link

By the way. We love your watchface. THANK YOU.

@Rytiggy
Copy link
Owner

Rytiggy commented Mar 13, 2019

Oh sorry for the misunderstanding! What version did the connection reconnect as expected?

@Flori3000
Copy link

I'm not sure because there was also a fitbit app update installed. I guess we are on the latest watchface version from the beginning. (Started in December 2018)

@Rytiggy
Copy link
Owner

Rytiggy commented Mar 13, 2019

Hmm would you be interested in testing the pre-release? And see if it's still in the updated code for me?

@Flori3000
Copy link

Sure.

@Rytiggy
Copy link
Owner

Rytiggy commented Mar 13, 2019

Awesome, I appreciate that. If you could join Glance's discord chat server and let me know once you join I'll add you to the pre-release channel where you can download the pre-release
https://discord.gg/Nuc86HJ

@Flori3000
Copy link

I'm pretty new to github. Where can I find the pre-release version?

@Flori3000
Copy link

Ah...ok..you send a link.

@Flori3000
Copy link

Joined.

@fayebee
Copy link

fayebee commented May 17, 2019

Hello I'm new to using a libre sensor, miaomiao, an iPhone SE, a fitbit versa and spike and nightscout, but my versa keeps disconnecting and all I get are flat lines and a E404 message. Can anyone help. I've tried resyncing and resetting my glance watch face, turning Bluetooth off and on etc, but have to wait until it decides to connect again (sometimes an hour, sometimes 12 hours). Can anyone help? Thanks

@Rytiggy
Copy link
Owner

Rytiggy commented May 17, 2019

@fayebee Do you have all day sync and always connected enabled in the fitbit app?

@fayebee
Copy link

fayebee commented May 17, 2019

I have all day sync on. Where can I enable always connected? Thanks for super speedy reply 😃

@Rytiggy
Copy link
Owner

Rytiggy commented May 17, 2019

If you scroll down to the bottom of the menu where you see all day sync, it should be at the bottom

@fayebee
Copy link

fayebee commented May 17, 2019

Under sync I just have 'device lock' and 'remove this versa' - nothing to always connect

@Rytiggy
Copy link
Owner

Rytiggy commented May 17, 2019

Okay that could be an iphone vs android thing. Do you have batter optimization turned off for both the fitbit app and Spike?

@fayebee
Copy link

fayebee commented May 17, 2019

I can't find optimization on either app, but I have just reset all network settings on my iPhone and that seems to have reconnected it. Fingers crossed this might be how to keep it synced. Thanks very much for your help and an amazing watch face!

@Rytiggy
Copy link
Owner

Rytiggy commented May 20, 2019

@fayebee haha that was a typo, I ment battery optimization, which can be found here:

Settings > General > Background App Refresh

Then make sure that the toggle switch is off for both Spike and Fitbit

@fayebee
Copy link

fayebee commented May 20, 2019

Ah ha! I had not done that. I had managed to get it to sync with 3 network refreshes a day, which was better. Just done this so fingers crossed it works even better now. Thank you so, so much.

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

5 participants