access denied
This block is part of the globals group and was last modified in core v15.0.0.
access denied v15.0.0 Starts the flow when someone is refused: an unknown card, a wrong PIN, a credential outside its schedule.
- device
valuev15.0.0Only fire for this door. Leave empty for every door.
- room
valuev15.0.0Only fire for devices in this room. Leave empty for every room.
- flow
v15.0.0 - device
objectv15.0.0The full device: id, name, room, type, capabilities, current state.
- device id
valuev15.0.0Stable platform id, e.g. zigbee:0x00158d0007e1a2b3.
- name
valuev15.0.0The device's friendly name.
- room
valuev15.0.0The room the device is assigned to, empty if none.
- type
valuev15.0.0sensor, light, switch, climate, cover, lock or button.
- capability
valuev15.0.0Which capability changed, e.g. occupancy, contact, power.
- value
valuev15.0.0The new value.
- previous
valuev15.0.0The value before this change, empty on the first report.
- at
numberv15.0.0Unix seconds the device reported.
- actor
valuev15.0.0Who: the user or credential name, empty when the reader could not identify them.
- method
valuev15.0.0How: nfc, pin, wave, mobile, touchpass or manual.
- granted
conditionv15.0.0True when access was allowed, false when the reader denied it.
Start-of-flow trigger for a FAILED entry. Fires when an access_entry event is denied. Same out-pins as access granted, with granted=false. Use for security alerting: an unknown card at 3am is worth a notification.
unifi |
access |
security |
door |
trigger |
A refusal is the more interesting half of an access system. access denied fires when a reader rejects something, and the method pin says what was presented. One refusal is somebody holding the wrong card; a run of them at three in the morning is worth waking a person for, which is why this trigger belongs on a notification path rather than only in a log file.
Used in these guides
These documentation pages use or explain this block:
Version history
Introduced in v15.0.0.
Back to
globals Return to the main group to view all sub-groups Back to home Return to the group to view all blocks within this group 