Fork of https://git.olli.info/Oliver/GadgetbridgeMqtt/ with support for Fossil Hybrid HR
Go to file
2025-07-17 12:48:46 +02:00
compose.yaml change to git deploy & add battery sensor 2025-07-17 12:43:34 +02:00
healthcheck.py remove watchdog 2025-07-16 17:38:02 +02:00
main.py fix unknown value on startup 2025-07-17 12:48:46 +02:00
Readme.md remove cron 2025-07-16 14:32:39 +02: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

  • edit compose.yaml and set
    • mount points for your data
    • mount point for your Gadgetbridge database
    • your Timezone
    • environment variables for your MQTT broker
    • your DEVICE_NAME. (Can be skipped first time: If you start the app with "unknown" as DEVICE_NAME, you will see all devices from the Gadgetbridge Database in your App Log.)
    • create Config Dataset in TrueNAS Scale with App Preset "Generic"
    • write your compose.yaml into the Config Dataset, e.g. sudo nano /mnt/Data/Apps/GadgetbridgeMqtt/Config/compose.yaml
    • use the Console give admin access (instead of root) e.g:sudo chown -R 950:950 /mnt/Data/Apps/GadgetbridgeMqtt/App (this should prevent apps to modify the config?)
  • include it in your TrueNAS Scale Custom Apps e.g. include: [/mnt/Data/Apps/GadgetbridgeMqtt/Config/compose.yaml]
  • start the app
    • find your DEVICE_NAME in the App Log and set it in the compose.yaml, then restart