SmartHomeBrain Trigger
AI-generatedSummary
Listen for SmartHomeBrain device state updates and button events, then start a workflow when they match the selected filters and trigger condition.
Inputs
- Device — Optionally select a device; leave empty to match any device. A specific device is required for Specific Capability Field and Button Press modes.
- Device Type — Optionally filter by type. By default, only switches, toggles, motion and presence sensors, and remotes are included; selecting a type can include other device types.
- Area — Optionally filter by area.
- Trigger On — Choose Any Change to trigger on matching capability updates or button events, Specific Capability Field to test one declared capability field, or Button Press to filter button events.
- Capability, Field, Condition, Value, Threshold — For Specific Capability Field, select a capability and field declared by the chosen device, then a condition. Conditions include changed, becomes true/false, equals a value, crossing above/below a numeric threshold, or changing by at least a threshold, depending on the field type.
- Button, Action — For Button Press, optionally select a declared button and action for the chosen device; empty selections match any button or action.
Output shape
A single item for each matching update or event, containing device details and current capabilities; button event items also include matching events.
Output fields include id and deviceId, slug, deviceName, deviceType, areaId and areaName, capabilities, availability, and timestamp; profileId is included when present, and events are included for button event output. Capability conditions that compare transitions do not fire on the first device update after connecting because no previous value is available. The node connects to SmartHomeBrain over WebSocket and reconnects after disconnection.