19 lines
1.1 KiB
Markdown
19 lines
1.1 KiB
Markdown
# 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```](./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
|