nfc card swiped

This block is part of the globals group and was last modified in core v15.0.0.

nfc card swiped v15.0.0

Starts the flow when any NFC card or fob is presented to a reader, whether or not it was accepted.

In pins 3
  • device value v15.0.0

    Only fire for this reader. Leave empty for every reader.

  • room value v15.0.0

    Only fire for devices in this room. Leave empty for every room.

  • card value v15.0.0

    Only fire for this card token or actor. Leave empty for any card.

Out pins 9 + flow
  • flow v15.0.0
  • device object v15.0.0

    The full device: id, name, room, type, capabilities, current state.

  • device id value v15.0.0

    Stable platform id, e.g. zigbee:0x00158d0007e1a2b3.

  • name value v15.0.0

    The device's friendly name.

  • room value v15.0.0

    The room the device is assigned to, empty if none.

  • type value v15.0.0

    sensor, light, switch, climate, cover, lock or button.

  • capability value v15.0.0

    Which capability changed, e.g. occupancy, contact, power.

  • value value v15.0.0

    The new value.

  • previous value v15.0.0

    The value before this change, empty on the first report.

  • at number v15.0.0

    Unix seconds the device reported.

Start-of-flow trigger on the nfc capability. Fires when a card is presented, BEFORE and regardless of the access decision : a swipe may be denied. The `value` out-pin carries the card token or actor. Use this to react to a specific card ('when my gym fob is tapped, turn on the porch light') independent of whether it unlocks anything.

unifi
nfc
card
fob
badge
door
trigger

nfc scanned reports every token a reader sees, including ones nobody issued, so the decision is yours to make in the flow: compare the token against your own list with == before anything opens. Use the access granted and denied triggers instead when the reader itself holds the credential list.

Studio canvas example for the NFC card swiped block: a card was presented, which is not the same as accepted.

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