Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger action on arbitrary NFC #3292

Open
nicholascioli opened this issue Mar 4, 2023 · 1 comment
Open

Trigger action on arbitrary NFC #3292

nicholascioli opened this issue Mar 4, 2023 · 1 comment
Labels
enhancement Indicates new feature requests

Comments

@nicholascioli
Copy link

nicholascioli commented Mar 4, 2023

Is your feature request related to a problem? Please describe.

No.

Describe the solution you'd like

I have a few amiibos laying around and would love to be able to use them to trigger events in openhab. The existing NFC functionality seems to work by writing a tag, but I would prefer to not overwrite my amiibos. It would be nice if you could add app-local tasks that run on reading arbitrary NFS tags.

Describe alternatives you've considered

You could probably use tasker in conjunction with the intent launcher to get the same functionality, but it requires installing tasker separately from OpenHAB just for reading a few amiibos.

It might also be possible to just have unknown NFC tags pass through to the server, similarly to how phone calls and other device information get sent. If the device identifier prefix is set up, then it could trigger individual actions based on the phone scanning the tag.

Additional context

None.

@nicholascioli nicholascioli added the enhancement Indicates new feature requests label Mar 4, 2023
@mueller-ma
Copy link
Member

I'm not sure if a setting can be implemented as the scheme has to be written to the manifest before building the app: https://github.com/openhab/openhab-android/blob/main/mobile/src/main/AndroidManifest.xml#L273

Currently it's set to openhab, so the app only accepts tags with openhab://<more information>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Indicates new feature requests
Projects
None yet
Development

No branches or pull requests

2 participants