Contents

Relay Status

relay_status · Nodes · Iot

Checks whether a Verdalia Relay connection is online.

Relay Status#

Checks whether a Verdalia Relay connection is usable.

Use this before Relay filesystem, Relay request, Relay Coding Agent, or Hue nodes when a workflow should branch on Relay availability.

Configuration#

Field Description
connection Verdalia Relay connection to check: pick one, or write a template such as {{ input.connection_id }} that resolves to a connection id from input on each run. The node fails, naming the template and what it resolved to, when the input has no value for it, the value is not a connection id, or no Verdalia Relay connection has that id. An offline relay is the output (online: false), not a failure.

Output#

The output object includes:

Field Description
mode static or dynamic.
online true when requests can be routed now.
reason unpaired, identity_revoked_or_missing, offline, or null.
relay_identity_id Dynamic Relay identity id, when paired.
machine_id Paired machine id, when known.
machine_label Human label for the paired machine, when set.
capabilities Capabilities reported by the Relay.
last_seen_at Last persisted heartbeat time.
session_generation Active broker session generation when online.
active_requests Number of active broker requests when online.

Static Relay returns online: true because it has no broker session to inspect. Use a Relay Request node for a live HTTP reachability check.

Inputs

  • inputRequired

Outputs

  • output

Configuration

FieldTypeRequiredDescription
connectionconnection(verdalia_relay)YesVerdalia Relay connection to check, or a template that resolves to a connection id from the node's input, such as {{ input.connection_id }}
base_configrecordNoShared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow).