GadgetbridgeMqtt/Readme.md
Oliver Großkloß 506dc8a0ef remove cron
2025-07-16 14:32:39 +02:00

1.1 KiB

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