protohaven / protohaven/protohaven_api

NFC tap to sign in

Open
#596 0 comments 0 reactions 1 assignee View on GitHub

@smartin015 is already working on this.

Since Jul 21, 2026.

Dominant language
PLpgSQL
Stars
2
Forks
9
Avg merge
10m
Merged PRs (30d)
2

Description

  • Create a custom embedded device that accepts NFC taps and can write info to NFC tokens via Zigbee
  • Set up shop home assistant service to broker zigbee data between the device and the sign-in display
  • Increase number of gunicorn workers to support long-running handlers
  • Add a persistent websocket handler that listens for NFC tap actions and triggers the sign-in flow
  • Modify the sign-in page to indicate when NFC tap is offline (MQTT disconnected, tap device healthcheck failing, too many workers occupied etc.)
  • Limit the maximum number of gunicorn workers running persistent handlers
  • Enforce cross-worker ratelimit on Neon web requests
  • Pair NFC tap device to phaven HA server
  • Create automation to receive NFC tap and forward to MQTT
  • Test with ?nfc=1 on browser page
  • Deploy channel groups to prevent duplicate MQTT message handling
  • Add timeout on NFC tag writing to prevent accidental overwrites
  • Update /welcome UX to do NFC token registration / publish MQTT event
  • HA automation to receive protohaven_api MQTT message
  • Switch to using Neon ID stored on the device (instead of email) for "more correct" sign in. May require changing account cache to allow lookup by ID.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.