Gadgetbridge data dashboard
from _hovi_@lemmy.world to selfhosted@lemmy.world on 27 Oct 10:19
https://lemmy.world/post/37930796

Hey all. Unemployed and looking for something fun/interesting to work on lol

I use gadgetbridge to connect to a smart ring to track some basic health data, and while having everything on the phone is OK, I much prefer doing/viewing things from my PC. I thought maybe having some kind of self hosted dashboard/site displaying data gathered by gadgetbridge could be cool, but what do you guys think? Anything more interesting that could be done with the database that it can export on a schedule? I’ve also considered having gadgetbridge as one of several sources, but I’m not sure how many other privacy conscious options are out there.

I’m thinking of just leaving the transferring of the database to other programs, would that be acceptable? I already have gadgetbridge export every 2hrs and use syncthing to get it onto the NAS.

Would appreciate any thoughts, or if you think it’s unnecessary even.

#selfhosted

threaded - newest

warmaster@lemmy.world on 27 Oct 10:26 next collapse

Does gadgetbridge integrate with home assistant?

I would love to see the dashboard there.

_hovi_@lemmy.world on 27 Oct 10:36 collapse

I can check it out - don’t actually have a home assistant setup yet but yeah would that be better?

Hominine@lemmy.world on 27 Oct 13:07 collapse

github.com/Progaros/GadgetbridgeMqtt This can be used to broker GB data to different services. As a Home Assistant junkie I’d go this route to visualize the info… (given the time, so many projects!)

_hovi_@lemmy.world on 27 Oct 14:25 next collapse

So this gets the data to home assistant - does home assistant then handle visualising it in a nice way or how does it work?

Hominine@lemmy.world on 28 Oct 17:02 collapse

Home Assistant has a couple of plugins in the community store (HACS) that can help visualize the data in addition to it’s own native cards. I’m for sure going to tinker with this later but, like the other poster said, it’s a rabbit hole.

lka1988@lemmy.dbzer0.com on 27 Oct 17:27 collapse

Oh cool! Just gonna add that real quick… falls down rabbit hole again

Impromptu2599@lemmy.world on 27 Oct 12:51 next collapse

How did you get the database to export?

_hovi_@lemmy.world on 27 Oct 14:20 collapse

In the app, go to settings -> automations -> auto export database

ProperlyProperTea@lemmy.ml on 27 Oct 14:14 next collapse

I remember seeing someone mention wanting to set up a grafana dashboard from the data exported from gadget bridge. I’ll see if I can find it

_hovi_@lemmy.world on 27 Oct 14:18 next collapse

Thanks, yeah let me know. Maybe that’s simpler.

ProperlyProperTea@lemmy.ml on 27 Oct 17:51 collapse

I searched and couldn’t come across it again, sorry

Nickm8@lemmy.world on 28 Oct 19:58 collapse

www.reddit.com/…/huawei_band_grafana_dashboard/

Is it this one?

ProperlyProperTea@lemmy.ml on 28 Oct 20:25 collapse

Woah, that looks pretty sweet. No, mine was definitely a lemmy post. I’ll have to look into this one since I actually stopped using my Amazfit band a while back.

0_o7@lemmy.dbzer0.com on 27 Oct 15:26 collapse

I much prefer doing/viewing things from my PC.

Me too, syncthing should work for that. Then you could use the database synced on desktop or home server to display a web dashboard available locally?

_hovi_@lemmy.world on 27 Oct 18:53 collapse

That was the plan yeah