Fork of https://git.olli.info/Oliver/GadgetbridgeMqtt/ with support for Fossil Hybrid HR
| compose.yaml | ||
| healthcheck.py | ||
| main.py | ||
| Readme.md | ||
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.yamland 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
ConfigDataset 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