Skip to content

RPC Widget ​

Send named RPC methods with parameters. Each action is two-way: the widget waits for device_rpc_response matching the requestId.

Behaviour ​

  1. Choose an action — method name and params.
  2. Sent when the command leaves the platform.
  3. Confirmed (success) when the device replies, or Failed on error/timeout.
  4. Optional execution log shows the reply payload.

Device firmware must subscribe to devices/{token}/rpc/request/+ and publish to devices/{token}/rpc/response/{requestId}.

For retained setpoints, use shared-attribute controls instead. See Command and control.

Configuration ​

  • Device, Actions (label, method, params, timeout, confirm before)
  • Columns, Compact, Show execution log, Retries

Source ​

  • RPCWidgetConfig.tsx / RPCWidget.tsx

support@autoconnecto.in · founder@autoconnecto.in · +91 92121 00555 · app.autoconnecto.in