Trigger Tasker and Automate from a counter

Counter speaks Android intents in both directions. Make a counter fire a broadcast intent that Tasker, Automate, or MacroDroid can catch, or let those apps control your counters. No code required.

Guide for the Counter app on Android. Works with Tasker, Automate, and MacroDroid.

Two ways to connect

Direction A: a counter triggers Tasker

  1. In Counter, open the counter, go to Events & Actions, and add a rule. Pick an event (Reached Value, Counter Updated, or a time-based event like Every day at a time).
  2. Choose the Tasker Intent action. Counter sends a broadcast intent carrying the counter data (id, value, title) plus any custom extras you add.
  3. In Tasker, create a Profile > Event > System > Intent Received and set the action filter to match the broadcast.
  4. Attach a Task that does what you want: toggle Bluetooth, send an SMS, launch an app, or call a web service.

Direction B: Tasker controls a counter

  1. In Counter, open Settings > External Integration and enable it. Optionally set an authentication token.
  2. In Tasker, use the Send Intent action with the action and extras below.
Action: com.zipangulu.counter.ACTION_EXTERNAL_COMMAND
Extras:
  counter_id (long)   - required
  command (string)    - required: increment, decrement, reset, set_value
  value (int)         - optional
  auth_token (string) - if authentication is enabled

For example, send the intent with counter_id: 1 and command: increment to bump counter 1 by its step.

Works with Automate and MacroDroid too

The same broadcast intents and commands work with Automate and MacroDroid. Use their "intent received" and "send intent" blocks in place of Tasker's.

Note: Direction B needs the External Intent Receiver enabled. If you set an auth token, include it in every intent you send.

Things you can build

For the full intent format and command reference, see the FAQ.

Start automating your counters

Free download. No account required. Unlimited counters.

Get it on Google Play