Does broadcast intent require Syncthing to be running?

Does broadcast intent require Syncthing to be running or is the intent alone enough to start Syncthing if it’s not? I seem to recall a long time ago it didnt’t (I don’t remember any indication that Syncthing is running in the background), but switching to Catfriend1’s version, it seems it’s not possible to sync via intents unless Syncthing is running in the background.

My intention (with the goal of reducing battery consumption as much as possible):

  • A Tasker task to start Syncthing on-demand for 1 minute and auto-stop after with a Tasker task. I have this associated with a button on my Android homepage if I want to take a pictures immediately sync to my server.

  • Run the task above every 2 hours automatically.


  • Is it true I need Syncthing running for above?

  • EDIT: I see there’s a builtin option to accomplish my second point–would that be exactly as my existing tasker rule to run every 2 hours for 1 minute or is it somehow preferable?


P.S. Is Catfriend1’s syncthing-android officially supported by Syncthing? Opening a question there requires opening a thread here instead.

1 Like

I think that is your use case, yes :slightly_smiling_face:. The app requires to run to be controlled by intents, it won’t consume much battery after a stop intent as this stops the “working part” aka SyncthingNative completely plus the polling for events.

1 Like

The intent behaviour has been fixed in v1.30.0.4 (last fdroid v1 release) and v2.0.7.0+. There was a bug preventing to launch the service when it was not running.

I’m having issues getting broadcast to work via Tasker after upgrading from 2.0.3.0 to 2.0.8.0. it looks like the command changed with version 2.0.8.0

I tried entering:

${applicationId}.action.START

${applicationId}.action.STOP

${applicationId}.action.FOLLOW

com.github.catfriendl.syncthingfork.Action.START …etc, no luck