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

PN532 NFC/RFID reader implementation #269

Merged
merged 1 commit into from
Oct 13, 2022
Merged

Conversation

vytautassurvila
Copy link
Contributor

Implementation via nfcpy. Solves #64

Sample configuration:

stream_modules:
  - name: nfc-scanner
    module: pn532
    device: ttyUSB0
    read_interval: 0.5

Note that streams does not support homeassistant discovery. One can workaround it with following homeassistant automation:

- alias: doorbell_mqqt_tag_scan_to_tag_scanned_event
  trigger:
    platform: mqtt
    topic: doorbell/stream/nfc-scanner
  action:
    event: tag_scanned
    event_data:
      tag_id: "{{ trigger.payload }}"

@BenjiU BenjiU merged commit 3993b23 into flyte:develop Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants