Module tick_agent

Module tick_agent 

Source
Expand description

Scheduled / periodic ticker agent.

TickAgent fires a configurable callback (Rhai script or MQTT publish) on a fixed interval. Useful for polling, scheduled reports, or periodic data collection.

The tick interval is configurable via the interval_secs field (default 60s). On each tick it publishes to agents/{id}/tick.

Structsยง

TickAgent