I would like to know if there is any way to know what device scanned the NFC tag.
for example:
A user scans the tag with their phone, i want that to then trigger an event that says "welcom home ‘user’ " but then if another user scans it i would like it to say their name.
You test trigger for for either device_id to identify specific device that was used to scan NFC or user_id to identify user (though this would be user associated with the device, so result woul dbe the same…
Here is sample automation that can be triggered only by specific tag and specific device (so effectively associates this automation to specific user):
Hi,
You can set an automation with an event as trigger, instead of setting it with a tag trigger, then you can get the user who triggered the event. Try something like this:
This will publish a MQTT message on the topic tags/userFName with the user friendly name as payload.
Bear in mind that there should be a person assigned to the user. Users without person don’t have friendly names.
For sure, you can change the action according to your needs.