#tags-archived

1 messages · Page 3 of 1

misty coral
#

I actually got it figured out. Instead settting up the automation through the tag, i just did it through the actual automation tab in configuration. I"m sorry i'm not very good at yaml yet so i did it all through the visualizer

ionic hare
#

you don't have to be good at yaml you can view an automation as yaml using the dots in the top right corner and then show it

misty coral
#

Oh, cool! Thank you!

ionic hare
#

and that's exactly how you can go back to the interface

#

in yaml we can see the errors better

misty coral
#

i didn't know that! Definitely need to put more time into yaml then. I have a basic understanding but i want to get better. I only started even looking at home assistant a week ago, but i've already figured out quite a bit! I'm excited at the possibilities of the platform

glass flame
#

Anyone ever had the issue with tags being really unresponsive? I've one setup to disable my alarm and when I scan it when I come home it takes ages to process, most times not even successfully processing

proven shoal
#

Which OS are you on?

glass flame
#

Raspbian but running container

stark depot
#

I get a "tag type not supported"

#

Samsung Galaxy A5 Android 6.01, with latest ha comp

#

😫

pliant bay
#

Does anyone have an example automation using a RFID tag?

calm drift
#

I'd like to create an automation to notify me when a tag gets added to the Tags list for the first time.
What trigger could I use for this ?

karmic lion
#

nfc tags are the stickers right ? these can be programmed to connect to wifi network right ?

#

nfc tag can be programmed by phone right ?

gleaming bay
calm drift
calm drift
#

Can an automation read the Tag Name as entered in the Tags Manager screen ?

fiery falcon
calm drift
fiery falcon
#

Remove that condition. But use that template to get the tag ID and the device id

#

So what I am saying is that trigger.event.data.tag_id will give you the tag that was scanned. You can use that in the action. Same for the device_id

calm drift
fiery falcon
calm drift
fiery falcon
calm drift
#

okay, thx for your input; I never discovered that thread.

fiery falcon
#

i think you could also write a App daemon script and check for history - not sure if the event of the tag name change is registered. If it is then you could use that a database to compare against any new tag scan

novel tendon
#

is there a way to lower the volume of @gleaming bay’s tag reader’s buzzer or remove the sound completely?

gleaming bay
#

You can disable it in the config, wen does it bother you ?

#

At startup or on scan ?

novel tendon
#

On scan

#

But I can appreciate the confirmation of the scan but I intend to scan 175 cards during the weekend and I might go insane 🙂

brisk gorge
#

Why the fk are scams here from this channel?!

#

where can we report them?!

novel tendon
#

Wht do you mean?

gleaming bay
#

@novel tendon in HA , go to integrations, then go to , esphome find tagreader

It has a switch for the buzzer

novel tendon
gleaming bay
#

Sorry for the late reply didn‘t get a notification

novel tendon
vestal schooner
#

Morning all, noob question but is there a script or a way to use a usb tag reader with a RPI and work the same as when scanning tags on mobile devices and the standalone esphome card reader. i plan to build some of the esphome readers when my PN532 modules arrive but i have a whole bunch of usb readers and would like to be able to use them.

Is there a way to use the rest API to trigger ?

karmic lion
#

was wondering , can I disable/enable HA alarm with the help of an NFC tag with 3d printed shell outside of my home ?

karmic lion
#

using HA app as NFC scanner...

karmic lion
#

bought myself some nfc stickers, are these things re-writeable ?

karmic lion
#

possible to write an service call to it , and connect to wifi user/pass bit ?

severe anchor
#

you probably could but need to be on the network already and connected to HA with the app for it to work

karmic lion
#

actually want 2 bits on an nfc tag , the wifi credentials so android IOS phones can connect to my guest network, and a unique id for HA to service call enable guest network, if this is possible...?

frank lily
#

Is it secure to have a NFC tag place outside the front door, so when my mobile phone is place in front of it opens the front door lock? - if yes, which is the most secure way of integrating it?

ionic hare
#

you need the home assistant app and a connection with your server to use the nfc tag

#

it should be save

frank lily
#

okay. so for "intruders" trying to gain acces to the tag, the will have to login with my credentials etc, in order to activate the action "stored" on the tag? @ionic hare

ionic hare
#

the tag only open the app and activate the action

#

you have to login to use it

frank lily
#

okay thanks

karmic lion
karmic lion
#

prob was conditions 😛

mossy summit
#

any way to remove tags entirely from my instance? I removed default_config: and tag: but no dice.

austere remnant
#

Hi, I have a question about rfid scanning. It is possible that each scanner is able to scan card and get different value?
I have Nexus 7 tablet with NFC and I bought new RFID scanner RC522 and connected it through esp8266 with esphome.

Everything works (I see scanned tag events in home assistant) but if I use card on the tabled it will load my custom tag id (which I configured in home assistant via Nexus 7 tablet, for example one of my custom tag id is "music-playlist-car") but if I scan the same card with RC522 I will get scanned tag id "04-77-42-EC-C9-73-1F".

Is this somehow expected behavior and those custom tag ids are somehow mapped only for Nexus 7 because I use it to write it by Nexus 7 tablet?

(The card hasn't been overwritten, I tested it again on Nexus 7 tablet and it loaded the tag id "music-playlist-car")

Does it mean that the companion app on Nexus 7 is translating loaded NFC card to the custom tag id or am I missing something? 🤔

link on esphome https://esphome.io/components/binary_sensor/rc522.html
I used this on tag event action

  • homeassistant.tag_scanned: !lambda 'return x;'
gleaming bay
austere remnant
austere remnant
hot terrace
#

Can anyone help me?
If i add an nfc tag it never gets saved and it just resets.

sand kraken
#

Anyone here running nfc tags to control media playback through automations?

#

Specifically interested in getting Netflix to work 🙂

dawn escarp
#

Hi Everyone, Anyone know how to identify which device a tag was scanned on. For example using multiple tag scanners on different doors to use as security tags?

novel tendon
craggy quartz
#

What’s the best way to read NFC cards/ tags and respond appropriately in HA. Not using the mobile apps but external cards

novel tendon
#

Adonno has card readers for sale. I use one

craggy quartz
novel tendon
#

Currently I use it for music (magic cards) but will repurpose it for my wine cellar somehow

craggy quartz
gleaming bay
#

Do you want it to be wired ?

#

With ethernet ?

novel scroll
# dawn escarp Hi Everyone, Anyone know how to identify which device a tag was scanned on. For ...

If you watch tag_scanned, in the developer event scanner, you will see that each device for each door reader has data.device_id, which you can use in a condition for trigger.event.data.device_id.
I've got a number of HID Signo and basic RFID readers hooked to esphome devices with some custom lambda code that handles security for all my work doors. I should compile this all and put on the HA community.

dawn escarp
novel scroll
#

I need to sanitize my YAML of any specific information before I post that, but using YAML variables in the automation make this a lot easier.

novel scroll
#

variables:
readers:
1deadbeef3:
id: 1_north_door
friendly_name: 1 North Door
a10c0ffeee:
id: 1_south_door
friendly_name: 1 South Door

plush rain
#

Hello, I've looked for on old messages and I think this has not been asked.
I have some old bank cards laying around and today It came to my mind.
Could they be used with the companion app as a NFC tags? 🤔
I try to scan them even with the HA app open and the phone shoes a message saying there is no app related with that NFC tag. (I use an Android btw)

ionic hare
#

the problem will be that the home assistant companion app has to write on the tags

#

if i'm wrong please correct me

#

I think the old bank cards are write-protected

plush rain
#

yes, you can write the id in the tag, although it looks like you can also create a tag in HA and set the id that you want. Setting the Id manually is how I think this could be done

proven shoal
#

If you're on iOS, the Shortcuts app just reads the ID so that can be used to trigger automations from any NFC card without modifying it

remote kraken
#

are there technical differences I should be aware of and consider when buying NFC tags? Afaik tags are just tags, right? I should be safe grabbing the super cheep but most sold ones from Aliexpress?
(I think the only real difference would be the physical specs? size, how rugged and waterproof, colors etc?)

plush rain
# proven shoal If you're on iOS, the Shortcuts app just reads the ID so that can be used to tri...

I use android, and I have an app call NFC tools, which reads the bank card correctly. Although from all the info in there I don't know which is the correct to put in Home Assistant.
There is a serial number which is an hexadecimal like this XX:XX:XX:XX
Also even if I have the HA app open when I try to read a card the phone shows a message saying that there is no compatible app with this NFC tag

fervent glacier
ionic hare
#

you can use tasker to read the tags and use webhooks

fervent glacier
#

hum. so, basically, chinese whispers. and using an app i wouldn't use otherwise. :[

ionic hare
#

tasker is an app from a developer from portugal

#

China not included

glass lark
#

Hi guys, I'm new here. I had a look on the old messages but I didn't found anything. I know how to add a NFC tag on HA, and how to pair with a light, switch.... but actually I want to open the garage door when somebody (me, my father, etc..) scans it, but with previous authentication of course. Is it possible? thank you all the community

slate perch
#

I'm wondering about using NFCs to toggle a given automation. Like if I have an automation to automatically turn on the bedroom light at 6:00 AM for day shifts, but want to turn that automation off when I'm done my stretch of days, is there a way to use a tag to do that? So far I haven't seen anything obvious, but I'm hoping there's a reasonably simple solution 🙂
Thanks!

gleaming bay
#

Your stretch of days ?

#

An automation can toggle another automation you can do an automation upon reading your tag that toggles another automation

slate perch
slate perch
gleaming bay
#

Look for
Call service
Automation.toggle

slate perch
#

Thank you!

pearl sail
#

How can I create a QR Code from a NFC Tag? I cannot find an option in the Android App..

#

Oh just realized the QR Code is already showed when editing the Tag.. But now I scanned it with my Android Phone and it sends me to the Website instead of the App..

swift sandal
#

So, what's the correct solution to getting the 'card name' when scanning a tag?
I can't find the documentation on how to use the 'card name' in any meaningful way.

novel tendon
#

I have a stupid question

#

Can different scanned cards on the same reader output two (or more) different actions, e.g. play music and turn off all the lights?

rain steppe
#

Are tags secure? Does it do any authentication?

#

or can anyone scan it and run stuff?

spice fog
torn orchid
novel tendon
#

Thanks!

versed minnow
#

HI all,
I have multiple tag readers withing the house.
I would want to link a tag reader with the media player. For instance I have a media player in the living room and tag reader in living room. I want, whenever that particular tag reader is used the media to go to the living room.
Each room where there is a media player would have its onw tag reader.
So I need a way to associate tag reader with the media players.
Does anyone knows how to achieve this.
Currently I am using Node-RED for my Jukebox.
Any help would be appreciated.
Thanks in advance

novel tendon
#

I use it mostly that way. I set up the automation in the living room at first, sen copied it and changed to media player for each specific room

versed minnow
#

Yes I would use the same card. My kid has it's own playlists and then when she is in living room she use the same card as in her own room on different media players

novel tendon
#

Then just copy the automation and change the respective media player entity

versed minnow
#

Hmmm, I just don't know how to determine when tag is scanned what device it was scanned

glass lark
#

The tag_scanned event has a device_id value. You could use this to determine where to play the media.