On Tasker I have the following Send Intent running:
Action: me.msfjarvis.viscerion.SET_TUNNEL_UP (or SET_TUNNEL_DOWN)
Extra: tunnel_name:<name of your tunnel>
Extra: integration_secret:<Secret set in Viscerion>
Package: me.msfjarvis.viscerion
Class: com.wireguard.android.services.TaskerIntegrationReceiver
I am now trying to send this Intent with Automagic without success (tried Start Activity and Send Broadcast)
Could someone help me please?
Regards
Luigi
Need Help adapting Tasker Send Intent
Moderator: Martin
Re: Need Help adapting Tasker Send Intent
Hi,
I think there's an option in Tasker that specifies if it should target an activity, broadcast receiver or service. Use action Send Broadcast, Start Activity or Start Service according to the configuration in Tasker.
-Action use the same value that you've used in Tasker
-Extras: Sounds like the values are strings so you can add this script to the field Extras:
putString("tunnel_name", "<name of your tunnel>");
putString("integration_secret", "<Secret set in Viscerion>");
-Explicit Component: checked and set the fields Package Name and Class Name to me.msfjarvis.viscerion respectively com.wireguard.android.services.TaskerIntegrationReceiver
Regards,
Martin
I think there's an option in Tasker that specifies if it should target an activity, broadcast receiver or service. Use action Send Broadcast, Start Activity or Start Service according to the configuration in Tasker.
-Action use the same value that you've used in Tasker
-Extras: Sounds like the values are strings so you can add this script to the field Extras:
putString("tunnel_name", "<name of your tunnel>");
putString("integration_secret", "<Secret set in Viscerion>");
-Explicit Component: checked and set the fields Package Name and Class Name to me.msfjarvis.viscerion respectively com.wireguard.android.services.TaskerIntegrationReceiver
Regards,
Martin
Re: Need Help adapting Tasker Send Intent
That works,thank you for your help!
Regards
Luigi
Regards
Luigi