The long-press action to write an action to an NFC tag comes as a surprise to new users.
I'd suggest to add a menu entry to the hamburger menu (e.g. "Write NFC tag") which simply described this function in a few words.
See my comments in #527 - I'd make this a nav drawer item as well, but move the functionality there because - as you mentioned - long press actions are not discoverable.
Sounds like you are on the right track!
Feel free to close this Issue in favor of an issue with the proposal by yourself.
but move the functionality there because
IMO it's better to have the long press action, because the sitemap is a structured and well-known representation of all items.
I have some improvements in mind: Add a new uri for item state changes (e.g. openhab-icon://?i=item&s=state). This way we can use two different receivers for nfc tags. The current one to open a sitemap and a worker to send the item updates. The current implementation for is opening the app, sending the update and closing the app, which is a quite bad ux IMO.
Mostly unrelated to nfc, but to the long press menu: Having the ability to share a chart or image. The share action should be located in the long press menu, so we have to add headers to this menu.
An info screen can be added to read tags, clear tags and inform the user how to write new tags.
IMO it's better to have the long press action, because the sitemap is a structured and well-known representation of all items.
I didn't think at all the HABPanel-only users or that it might be useful to assign items that aren't used in a sitemap, e.g. assign an item that triggers a rule to do more advanced stuff.
I want to keep the possibility to write tags at the sitemap, but also add the possibility to get a full list of all items.
I'm working on this.
Most helpful comment
See my comments in #527 - I'd make this a nav drawer item as well, but move the functionality there because - as you mentioned - long press actions are not discoverable.