Getting Started Cameras & Video Detection & Recording Industry & Edge Automation & Events Actions Integration & Connectivity Network & Discovery AI & Remote Control MQTT Modbus Pi4J & Raspberry Pi GPIO ZeroMQ System & Administration Comparisons Use Cases Troubleshooting About & Legal
Home / Documentation / Counter Tick Action
Action ยท Core Processing Model 2.1.0

Counter Tick Action

Counter Tick Action applies one signed step to a named counter in a running Counter Thing. Use a positive step to increment and a negative step to decrement.

Apply a controlled counting step

01

Select the Counter Thing

Choose the running Counter Thing that owns the total. The action subscribes to that component when it starts.

02

Select an existing key

The Counter key list is loaded from the selected Counter Thing. Create the key in the Counter panel before configuring the action.

03

Set the signed step

Use 1 for a normal increment, a larger positive value for a batch, or a negative value to subtract. The resulting total may also be negative.

Configuration parameters

ParameterRequiredDescriptionDefault
Title
YesName shown in action groups, Event Manager rules, and action history.Empty
Counter Thing
YesActive Counter Thing that owns the selected key.None
Counter key
YesExisting counter key. Options are read from the selected Counter Thing.None
Step
YesSigned integer added on every execution. Positive values increment; negative values decrement.1

Execution and failure behavior

+1

Atomic change

Each execution calls the Counter Thing counting API and returns only after the in-memory value has been changed.

EVT

Action events

The action emits the normal starting and completed action events, so executions can be audited in Event History.

ERR

Missing target

If the referenced Counter Thing is removed or unavailable, execution fails instead of silently losing the count.

In DATA_SOURCE mode the changed key is marked for persistence according to the Counter Thing storage policy. The action does not create unknown keys; use the Counter panel to keep the key set deliberate and bounded.