Home automation
Run Zigbee, Thread and Matter, Z-Wave, Hue and Daikin devices from blueprints on a RUAL Nano, with no vendor cloud.
Guides
Home Automation Introduction Local Home AutomationBlocks
Add these blocks on the canvas by searching for their name. Each block page lists its pins and how it behaves.
- climate set
homeassist_climate_setSets an air conditioner or thermostat: on/off, mode, target temperature, fan speed. - device adopt
homeassist_device_adoptTakes a discovered device into service, so triggers fire for it and blocks can command it. - device forget
homeassist_device_forgetRemoves a device from RUAL. It stays paired to the radio and will reappear, unadopted, on its next report. - get device
homeassist_device_getReturns one device: its name, room, capabilities and current state. - get device history
homeassist_device_historyReturns recorded readings for one capability of one device, optionally bucketed for charting. - device rename
homeassist_device_renameSets a device's friendly name and/or room. - device set
homeassist_device_setSets any capability on any device. The escape hatch for things the specific blocks do not cover. - get device state
homeassist_device_stateReads one capability from one device : is the motion sensor triggered, what is the temperature. - get all devices
homeassist_devices_allReturns every adopted device, optionally filtered by type, room or adapter. - door lock
homeassist_door_lockLocks a door, and holds it locked unless you ask it not to. - door unlock
homeassist_door_unlockUnlocks a door. By default this is a momentary unlock : the door releases long enough for one person, then re-locks : matching the 'let them in' button. - gate close
homeassist_gate_closeCloses a gate or garage door. - gate open
homeassist_gate_openOpens a gate or garage door. - light dim
homeassist_light_dimSets a light's brightness without changing anything else. - light off
homeassist_light_offTurns a light off. - light on
homeassist_light_onTurns a light on. Optionally set brightness, colour temperature or colour in the same command. - light toggle
homeassist_light_toggleFlips a light: on if it is off, off if it is on. - get lights that are on
homeassist_lights_onReturns every light currently switched on. - pairing open
homeassist_pairing_openOpens the radio for new devices to join, for a bounded number of seconds. - get rooms
homeassist_roomsReturns the list of rooms that have devices assigned to them. - get active sensors
homeassist_sensors_activeReturns every sensor that is currently triggered: motion present, doors open, leaks found. - get status
homeassist_statusReturns which radios are connected and how many devices are known. - switch off
homeassist_switch_offTurns a plug, relay or switch off. - switch on
homeassist_switch_onTurns a plug, relay or switch on. - access denied
homeassist_trigger_access_deniedStarts the flow when someone is refused: an unknown card, a wrong PIN, a credential outside its schedule. - access granted
homeassist_trigger_access_grantedStarts the flow when someone is let in: a valid card, PIN, wave or mobile credential. The actor and method are on the out-pins. - security alarm activated
homeassist_trigger_alarmStarts the flow when the security system's own alarm goes active. - battery low
homeassist_trigger_battery_lowStarts the flow when a device's battery drops below the threshold, or reports its own low-battery flag. - button pressed
homeassist_trigger_button_pressedStarts the flow when a button or scene switch is pressed. The `value` pin says which press it was: single, double, hold, release. - camera motion detected
homeassist_trigger_camera_motionStarts the flow when a camera detects motion. - contact closed
homeassist_trigger_contact_closedStarts the flow when a door or window is closed. - contact opened
homeassist_trigger_contact_openedStarts the flow when a door or window is opened. - device adopted
homeassist_trigger_device_adoptedStarts the flow when a device is taken into service. - device discovered
homeassist_trigger_device_discoveredStarts the flow when a NEW device appears on the radio, before it is adopted. - device state changed
homeassist_trigger_device_state_changedStarts the flow on ANY change from a device. The catch-all : use a specific trigger where one exists. - device unavailable
homeassist_trigger_device_unavailableStarts the flow when a device stops responding. - door or gate closed
homeassist_trigger_door_closedStarts the flow when a controlled door or gate physically closes. - door or gate locked
homeassist_trigger_door_lockedStarts the flow when the lock engages. - door or gate opened
homeassist_trigger_door_openedStarts the flow when a controlled door or gate physically opens. - door or gate unlocked
homeassist_trigger_door_unlockedStarts the flow when the lock releases, whether or not the door then opens. - doorbell rang
homeassist_trigger_doorbellStarts the flow when someone rings a doorbell or door station. - gate closed
homeassist_trigger_gate_closedStarts the flow when the gate physically closes. - gate opened
homeassist_trigger_gate_openedStarts the flow when the gate physically opens. - humidity changed
homeassist_trigger_humidity_changedStarts the flow when a humidity reading changes. Set above or below to fire only when it crosses a threshold. - light turned off
homeassist_trigger_light_offStarts the flow when a light is switched off. - light turned on
homeassist_trigger_light_onStarts the flow when a light is switched on : by anyone, including a wall switch or the vendor's own app. - NFC card swiped
homeassist_trigger_nfcStarts the flow when any NFC card or fob is presented to a reader, whether or not it was accepted. - presence cleared
homeassist_trigger_presence_clearedStarts the flow when a room becomes empty. - presence detected
homeassist_trigger_presence_detectedStarts the flow when someone is detected in a room. - sensor activated
homeassist_trigger_sensor_activatedStarts the flow when a sensor turns ON: motion detected, a door opened, water found, smoke detected. - sensor deactivated
homeassist_trigger_sensor_deactivatedStarts the flow when a sensor turns OFF: motion cleared, a door closed, a leak stopped. - smoke detected
homeassist_trigger_smoke_detectedStarts the flow when a smoke alarm triggers. - switch turned off
homeassist_trigger_switch_offStarts the flow when a plug, relay or switch is turned off. - switch turned on
homeassist_trigger_switch_onStarts the flow when a plug, relay or switch is turned on. - temperature changed
homeassist_trigger_temperature_changedStarts the flow when a temperature reading changes. Set above or below to fire only when it crosses a threshold. - water leak detected
homeassist_trigger_water_leakStarts the flow when a leak sensor finds water. - selector
storageLets you choose a storage to be used on the connected blocks. - create
trigger_custom_functionCreates a new function that can be executed using the given name. - is on electron
user_is_electronReturns true if the user is an electron user. - is on iPad
user_is_ipadReturns true if the user is on an iPad. - is loggedin
user_is_loggedinReturns true if currently a user is logged-in. - is on mobile
user_is_on_mobileReturns true if the user is on mobile.
1 deprecated blocks not listed Older blocks for this service still run but should not be used in new work. Their block pages name the successor when there is one.