globals
69 blocks in 5 groups. Open a block for its pins, an example and how it behaves.
current user
- is loggedin
conditionv10.4.28Returns true if currently a user is logged-in. - is on ipad
conditionv10.4.28Returns true if the user is on an iPad. - get ip
valuev10.4.28Returns the ip of the user currently browsing the page. It uses the connection so the user does not need to be logged in in order for the IP to be returned. - token
objectv10.4.28Returns information about the currently used user token. - is on mobile
conditionv10.4.28Returns true if the user is on mobile. - get connection
flowv10.4.28Returns an API connection for the current user - is on electron
conditionv10.4.28Returns true if the user is an electron user. - has 2fa
conditionv14.0.3Returns true if the current user has 2FA enabled and outputs the enabled methods. - current user
userv15.0.2Returns the current logged-in user object as user-pin, and its guid.
function
- create
flowv10.4.28Creates a new function that can be executed using the given name. - create
flowv10.4.28Creates a new state function that can be executed using the given name.
home
- get device history
arrayv15.0.0Returns recorded readings for one capability of one device, optionally bucketed for charting. - climate set
conditionv15.0.0Sets an air conditioner or thermostat: on/off, mode, target temperature, fan speed. - get all devices
arrayv15.0.0Returns every adopted device, optionally filtered by type, room or adapter. - contact opened
objectv15.0.0Starts the flow when a door or window is opened. - door or gate opened
objectv15.0.0Starts the flow when a controlled door or gate physically opens. - light off
conditionv15.0.0Turns a light off. - switch turned off
objectv15.0.0Starts the flow when a plug, relay or switch is turned off. - pairing open
conditionv15.0.0Opens the radio for new devices to join, for a bounded number of seconds. - temperature changed
objectv15.0.0Starts the flow when a temperature reading changes. Set above or below to fire only when it crosses a threshold. - device set
conditionv15.0.0Sets any capability on any device. The escape hatch for things the specific blocks do not cover. - door or gate closed
objectv15.0.0Starts the flow when a controlled door or gate physically closes. - light toggle
conditionv15.0.0Flips a light: on if it is off, off if it is on. - gate close
conditionv15.0.0Closes a gate or garage door. - presence cleared
objectv15.0.0Starts the flow when a room becomes empty. - door or gate unlocked
objectv15.0.0Starts the flow when the lock releases, whether or not the door then opens. - get device state
conditionv15.0.0Reads one capability from one device — is the motion sensor triggered, what is the temperature. - device adopted
objectv15.0.0Starts the flow when a device is taken into service. - water leak detected
objectv15.0.0Starts the flow when a leak sensor finds water. - device forget
conditionv15.0.0Removes a device from RUAL. It stays paired to the radio and will reappear, unadopted, on its next report. - switch turned on
objectv15.0.0Starts the flow when a plug, relay or switch is turned on. - light turned on
objectv15.0.0Starts the flow when a light is switched on — by anyone, including a wall switch or the vendor's own app. - switch on
conditionv15.0.0Turns a plug, relay or switch on. - get status
arrayv15.0.0Returns which radios are connected and how many devices are known. - get device
conditionv15.0.0Returns one device: its name, room, capabilities and current state. - light dim
conditionv15.0.0Sets a light's brightness without changing anything else. - door or gate locked
objectv15.0.0Starts the flow when the lock engages. - device state changed
objectv15.0.0Starts the flow on ANY change from a device. The catch-all — use a specific trigger where one exists. - door unlock
conditionv15.0.0Unlocks 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. - humidity changed
objectv15.0.0Starts the flow when a humidity reading changes. Set above or below to fire only when it crosses a threshold. - device rename
conditionv15.0.0Sets a device's friendly name and/or room. - door lock
conditionv15.0.0Locks a door, and holds it locked unless you ask it not to. - access denied
objectv15.0.0Starts the flow when someone is refused: an unknown card, a wrong PIN, a credential outside its schedule. - device adopt
conditionv15.0.0Takes a discovered device into service, so triggers fire for it and blocks can command it. - camera motion detected
objectv15.0.0Starts the flow when a camera detects motion. - get lights that are on
arrayv15.0.0Returns every light currently switched on. - get active sensors
arrayv15.0.0Returns every sensor that is currently triggered: motion present, doors open, leaks found. - button pressed
objectv15.0.0Starts the flow when a button or scene switch is pressed. The `value` pin says which press it was: single, double, hold, release. - device discovered
objectv15.0.0Starts the flow when a NEW device appears on the radio, before it is adopted. - smoke detected
objectv15.0.0Starts the flow when a smoke alarm triggers. - light turned off
objectv15.0.0Starts the flow when a light is switched off. - presence detected
objectv15.0.0Starts the flow when someone is detected in a room. - gate opened
objectv15.0.0Starts the flow when the gate physically opens. - get rooms
arrayv15.0.0Returns the list of rooms that have devices assigned to them. - doorbell rang
objectv15.0.0Starts the flow when someone rings a doorbell or door station. - gate open
conditionv15.0.0Opens a gate or garage door. - nfc card swiped
objectv15.0.0Starts the flow when any NFC card or fob is presented to a reader, whether or not it was accepted. - access granted
objectv15.0.0Starts the flow when someone is let in: a valid card, PIN, wave or mobile credential. The actor and method are on the out-pins. - sensor deactivated
objectv15.0.0Starts the flow when a sensor turns OFF: motion cleared, a door closed, a leak stopped. - switch off
conditionv15.0.0Turns a plug, relay or switch off. - sensor activated
objectv15.0.0Starts the flow when a sensor turns ON: motion detected, a door opened, water found, smoke detected. - battery low
objectv15.0.0Starts the flow when a device's battery drops below the threshold, or reports its own low-battery flag. - gate closed
objectv15.0.0Starts the flow when the gate physically closes. - light on
conditionv15.0.0Turns a light on. Optionally set brightness, colour temperature or colour in the same command. - security alarm activated
objectv15.0.0Starts the flow when the security system's own alarm goes active. - device unavailable
objectv15.0.0Starts the flow when a device stops responding. - contact closed
objectv15.0.0Starts the flow when a door or window is closed.