Glance
Glance copied to clipboard
fitbit versa suddenly no BG data
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'
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
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"}]
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?
What version of Glance are you running the official verson? Or the pre-release?
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.
Do you have the latest update on the pre-prelease?
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).
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 😄
Possibly related, or not, but I've seen a lot of periods today (sobe the recent pre-release updates) where the Versa face does not update, unless I manually force a resync. I've seen this grin both xdrip and Dexcom sources
Sent from BlueMail
On Mar 10, 2019, 7:09 PM, at 7:09 PM, jaknoll [email protected] wrote:
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 😄
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/Rytiggy/Glance/issues/59#issuecomment-471368399
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.
The Fitbit Versa and ionic require the watch to be within 35 ft (range of bluetooth) as the watch is not stand alone
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.
By the way. We love your watchface. THANK YOU.
Oh sorry for the misunderstanding! What version did the connection reconnect as expected?
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)
Hmm would you be interested in testing the pre-release? And see if it's still in the updated code for me?
Sure.
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
I'm pretty new to github. Where can I find the pre-release version?
Ah...ok..you send a link.
Joined.
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
@fayebee Do you have all day sync and always connected enabled in the fitbit app?
I have all day sync on. Where can I enable always connected? Thanks for super speedy reply 😃
If you scroll down to the bottom of the menu where you see all day sync, it should be at the bottom
Under sync I just have 'device lock' and 'remove this versa' - nothing to always connect
Okay that could be an iphone vs android thing. Do you have batter optimization turned off for both the fitbit app and Spike?
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!
@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
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.