Goal: when a tag is detected and reader is capable of reading the UID of the chip, but no NDEF payload (again, type 4 only currently) is detected, open a pre-defined URI with the UID of the chip appended as query parameter in small case hex.
That is:
If the daemon is started with parameter --uid-url https://example.com/foo#bar and the UID of the chip presented to a reader is 046B477AB92980, the following URL will be triggered: https://example.com/foo?uid=046b477ab92980#bar
This will work independently of the tag technology with most readers, meaning that even if currently NTAG NDEF values are not read, the UID is still available and would trigger the URL opening
Possible enhancements:
Do a silent triggering with --silent-uid - only show the notification, but don't open the browser, only send a "webhook" (PROBABLY)
Add basic/api key authentication to the request (PROBABLY)
Add GUI to change the UID URL and silent option (MAYBE)
Goal: when a tag is detected and reader is capable of reading the UID of the chip, but no NDEF payload (again, type 4 only currently) is detected, open a pre-defined URI with the UID of the chip appended as query parameter in small case hex.
That is:
--uid-url https://example.com/foo#bar
and the UID of the chip presented to a reader is046B477AB92980
, the following URL will be triggered:https://example.com/foo?uid=046b477ab92980#bar
Possible enhancements:
--silent-uid
- only show the notification, but don't open the browser, only send a "webhook" (PROBABLY)