Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real-time, safely protected from prying eyes.
The Syncthing integration allows you to monitor states of your synced folders from within Home Assistant and set up automations based on the information.
To set up the monitoring you need to get an API key. Open the Syncthing web
http://127.0.0.1:8384) in the browser and go to Actions -> Settings. You will find
the key on the right of the settings dialog.
Adding Syncthing to your Home Assistant instance can be done via the user interface, by using this My button:
If the above My button doesn’t work, you can also perform the following steps manually:
Browse to your Home Assistant instance.
In the sidebar click on Settings.
From the configuration menu select: Devices & Services.
In the bottom right, click on the Add Integration button.
From the list, search and select “Syncthing”.
Follow the instruction on screen to complete the set up.
The Syncthing integration adds one sensor per syncing folder: