Beep boop!
CometInterface, what and how?
Starting from Cometin 2.1, you can switch modules on or off automatically, you can with the CometInterface! Create a task in Tasker, Macrodroid, Automate or any other app with a broadcast to the interface and enable or disable modules. This page explains how to use CometInterface and you can download samples.
TASKER
1. Create a new task
2. Add an “Send Intent” action
3. Fill in the fields accordingly:
Action=”CometInterface”
Extra=”enable/disable:[Module Name]”
Package=”host.stjin.cometin”
Target=Broadcast Receiver
You can disable and enable only 1 module per broadcast, use multiple tasks to enable/disable modules.
MACRODROID
1. Create a new task
2. Add an “Send Intent” action
3. Fill in the fields accordingly:
Action=”CometInterface”
Extra parameter name=”enable/disable”
Extra parameter value=[Module Name]
Package=”host.stjin.cometin”
Target=Broadcast
To use the example, make sure you to download it first, and then opening it from the file explorer
AUTOMATE
1. Create a new flow
2. Add an “Send Broadcast” action
3. Fill in the fields accordingly:
Action=”CometInterface”
Extra=”{“enable/disable”: “Better rotation”}”
Package=”host.stjin.cometin”
To use the example, make sure you to download it first, and then opening it from the file explorer
OTHER AUTOMATE APPS
If you’re using another app to automate things, no problem! Just make sure to send a broadcast intent with below parameters:
Parameters Action - Always has to be "CometInterface" (case sensitive) Extra - The action to execute. Extra's always come in a key:value pair, please refer to the documentation of your automation app to get to know how to send extra's properly Extra key: 1. enable, when a module should be enabled or 2. disable, when a module should be disabled Extra value: 1. Module name (case sensitive in the same language as displayed in the app) or 2. Module packagename (e.g. (host.stjin.)cometin_betterrotation Package- Always has to be "host.stjin.cometin" for obvious reasons Target - Make sure to send a broadcast intent, please refer to the documentation of your automation app to get to know how to send broadcasts properly