I have an NFC tag setup in HA that is firing a NodeRed automation. That part works fine and the payload looks like this:
{"tag_name":"My Tag","user_id":"58b0e1d64d4642e0a1344f08e7fc50f2","tag_id":"8a563d63-0cb2-40d4-9f76-f175b26349c4","name":"My Tag","device_id":"cda48fcb0ad9e05ace8ec41d3d22136f"}
My goal is to send some TTS to a media player that says the name of the person that scanned the NFC tag. I have all of the parts in place save the friendly name of the user that scanned the tag. The payload consists of the “user_id” property so I need some manner to translate that to a person object to get the actual name.
I have played extensively with the “Get Entities” node but cannot seem to get that to work. I have looked at the “API” node but that seems like it is not in the right direction.
Any help would be greatly appreciated!