Fork of https://git.olli.info/Oliver/GadgetbridgeMqtt/ with support for Fossil Hybrid HR
Go to file
2025-12-07 13:50:57 +01:00
compose.yaml Update volume mapping in compose.yaml to mount the entire Gadgetbridge directory 2025-12-07 13:07:50 +01:00
healthcheck.py Update healthcheck.py 2025-09-17 19:42:21 +00:00
main.py Add method to get midnight timestamp and update queries to use it 2025-12-07 12:57:18 +01:00
Readme.md Update Readme.md to include database size reduction steps 2025-12-07 13:50:57 +01:00

GadgetbridgeMqtt for TrueNAS Scale

This is a Gadgetbridge MQTT bridge for TrueNAS Scale, which allows you to connect your Gadgetbridge database to Home Assistant or other MQTT clients.

Setup

  • copy content compose.yaml your TrueNAS Scale Apps -> Discover Apps -> ⋮ -> Install via YAML
  • edit
    • mount point for your Gadgetbridge database
    • your Timezone
    • environment variables for your MQTT broker
  • start the app

Editing Sensors

Reduce Database Size

  1. Export ZIP in Gadgetbridge > Data Management
  2. Unzip, clear logs & other unneeded data.
  3. Locate Gadgetbridge in database/ and files/ and delete old heart pulse samples to reduce the size of the Gadgetbridge database:
sqlite3 Gadgetbridge.db "DELETE FROM HEART_PULSE_SAMPLE; VACUUM;"
  1. Rezip and import back into Gadgetbridge