Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Remote Control by Broadcast Intents

Felix Ableitner edited this page Apr 29, 2016 · 15 revisions

Syncthing can be controlled externally by sending Broadcast-Intents. Applications like Tasker, Llama or Automate now can start or stop Syncthing on behalf of the user. Use cases would be to run Syncthing only in special conditions like at home and charging, or once every night, ...

Sending an intent with the action-string com.nutomic.syncthingandroid.action.START will start Syncthing.

Syncthing can be stopped by sending an intent with the action-string com.nutomic.syncthingandroid.action.STOP.

If Syncthing is configured to „always run in background“ those intents are ignored and the configuration in Syncthing takes precedence over the intents – resulting in ignoring them.

For the App „Automate“ there is an example-flow available in the Automate-Community that demonstrates the start- and the stop-intent. Search for "Syncthing". ;-)

Clone this wiki locally