More details for automations triggered by Tags (NFC/QR) #3140
Unanswered
SrTaronja
asked this question in
Automations & scripts
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature
Whenever a NFC or QR tag is canned and an automation is triggered, an entry is created in the corresponding activity log; however, the information provided is very limited as it only refers to the automation, but not to the phone/tablet/device that scanned the tag nor the user logged in that device.
Use cases
e.g. someone scans a tag that opens the house's cellar door. I can see that the door was opened through a tag and when, but not who did it.
ideally the activity log would display something like
Cellar Door
Activity
March 9, 2026
is opened triggered by automation "Open Cellar Door via NFC/QR Tag" Tag scanned
19:23:13 - 2 hours ago - John Smith (Samsung Galaxy S23)
Current workarounds
navigating deep into the "step details" - "changed variables":
the user_id can be found under "trigger" - "event" - "context".
the device_id can be found under "trigger" - "event" - "data":
The user_id can be checked against each user (though this has to be done one by one).
I have not been able to find the device despite knowing its device_id (NOTE: I am quite new in Home Assistant).
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions