Appearance
RPC Widget
Send named RPC methods with parameters. Each action is two-way: the widget waits for device_rpc_response matching the requestId.
Behaviour
- Choose an action — method name and params.
- Sent when the command leaves the platform.
- Confirmed (success) when the device replies, or Failed on error/timeout.
- 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
