by xafke · 2y ago · 0 comments
I actually hadn't considered QR codes.
To be honest, I had some NFC tags laying around and I was desperate to find a project for them ;)
QR codes might be more complicated because you need a camera and a well-lit environment. NFC tags don't have that issue.
https://www.shopnfc.com/en/content/6-nfc-tags-specs
It also seems that ESPHome has support for reading / writing this arbitrary metadata, once you move to the PN532:
https://esphome.io/components/binary_sensor/pn532.html#ndef
(It's not clear that you can access the metadata with the RC522 through ESPHome, but the hardware should support it.)
But hey, what you've got works.
I have something similar setup in my home office for my music and I just use the ID, no need to complicate it any more than it already is.