Help converting Tasker/Llama/Automate intent to Macrodroid

Moorhen

Member
I'm using the Calendar Sync app. This app provides the possibility to sync multiple calendars through an intent. The manual of the app describes the way to set the intent for Tasker, Llama and Automate (see screenshot below). Macrodroid is absent in this list. I have tried to combine the information of these three apps into a macro for Macrodroid but without success. Can anyone help me convert this information to a useful Macrodroid intent action please?
 

Attachments

  • Screenshot_20231208-153318.png
    Screenshot_20231208-153318.png
    551.9 KB · Views: 13
Last edited:

Josué García

MacroDroid Support
Staff member
Can you try this?
It should work

Target (Important):
Service

Action:
com.icalparse.autosync.ServiceAutoSync

Package:
com.icalparse

Extra 1:
ForceAutoSyncStart

Value: (true or false)

Extra 2:
ForegroundAutoSync

Value: (true or false)

Here's a little more information on how to use the extras

ForceAutoSyncStart: This is a boolean extra that indicates if you want to start an automatic synchronization of the calendar, ignoring the auto-sync intervals configured in the iCalParse app. If set to true, a synchronization is initiated each time the intent is sent. If set to false, the app settings are respected.

ForegroundAutoSync: This is a boolean extra that indicates whether to run the synchronization service in the foreground or in the background. If set to true, a persistent notification is displayed while the synchronization is running. If set to false, the service is run in the background without notification. This extra is required for Android O (API 26) or later, or if you have enabled
 

Moorhen

Member
Can you try this?
It should work

Target (Important):
Service

Action:
com.icalparse.autosync.ServiceAutoSync

Package:
com.icalparse

Extra 1:
ForceAutoSyncStart

Value: (true or false)

Extra 2:
ForegroundAutoSync

Value: (true or false)

Here's a little more information on how to use the extras

ForceAutoSyncStart: This is a boolean extra that indicates if you want to start an automatic synchronization of the calendar, ignoring the auto-sync intervals configured in the iCalParse app. If set to true, a synchronization is initiated each time the intent is sent. If set to false, the app settings are respected.

ForegroundAutoSync: This is a boolean extra that indicates whether to run the synchronization service in the foreground or in the background. If set to true, a persistent notification is displayed while the synchronization is running. If set to false, the service is run in the background without notification. This extra is required for Android O (API 26) or later, or if you have enabled
Thanks for your quick reply and trying to help me out. Unfortunately this doesn't work. The Calendar Sync app contains a button to test the configuration I set in the app. When I test it, it says that the configuration is correct. When I sync the app manually, I see the sync results in my calendars (so sync is successful). However, somehow the automatic sync in the app doesn't work. Hence I thought to automate it through Macrodroid but unfortunately your settings do not provide a sync result.

Just to be sure, in the intent, you leave Package, Class, Data, MIME type and Flags empty? And at the Extras, do you select Boolean?
 
Last edited:

RSF

Well-known member
I'd recommend putting in the package name:
Screenshot 2023-12-08 1.59.57 PM.png

and also specifying an explicit type of Boolean for both extras... even though the documentation doesn't say that for Tasker, it specifies it for Llama and Automate.

Also: make sure, per this documentation, that you allow external autosync triggers in the Calendar Sync app's options:

1702072997782.png
 

Dimlos

Well-known member
Works with this setting?

Target:
Service

Action:
android.intent.action.MAIN

Package:
com.icalparse

Class:
com.icalparse.autosync.ServiceAutoSync

Extra 1:
ForceAutoSyncStart
Value: (true or false)

Extra 2:
ForegroundAutoSync
Value: (true or false)

We have confirmed that it works in the trial version.
 

Moorhen

Member
Works with this setting?

Target:
Service

Action:
android.intent.action.MAIN

Package:
com.icalparse

Class:
com.icalparse.autosync.ServiceAutoSync

Extra 1:
ForceAutoSyncStart
Value: (true or false)

Extra 2:
ForegroundAutoSync
Value: (true or false)

We have confirmed that it works in the trial version.
This seems to work. Thanks so much, I really appreciate your assistance!
 
Top