Skip to content

feat(sthings-edge): check-in by phone, pong and homerun2 under sthings-edge.com - #463

Merged
patrick-hermann-sva merged 2 commits into
mainfrom
feat/sthings-edge-phone-checkin-pong-homerun2
Oct 18, 2026
Merged

patrick-hermann-sva merged 2 commits into
mainfrom
feat/sthings-edge-phone-checkin-pong-homerun2

Conversation

@patrick-hermann-sva

Copy link
Copy Markdown
Contributor

Stacked on #462 (flux v1.152.0). Merge that first. Step 2 from #442.

Values (tabletennis-sops-backup, as in clusters/edge)

Variable Value
TABLETENNIS_SCHMETTERPAUSE_ZAEHLWERK 'on': check-in by phone (/table/left|right on schmetterpause)
TABLETENNIS_SCHMETTERPAUSE_ZAEHLWERK_URL https://zaehlwerk.${EDGE_PLAY_DOMAIN}
TABLETENNIS_ZAEHLWERK_SCHMETTERPAUSE_URL https://schmetterpause.${EDGE_PLAY_DOMAIN} (previously the default <EDGE_DOMAIN> with the edge CA)
TABLETENNIS_ZAEHLWERK_ALLOWED_ORIGINS both schmetterpause names (CORS for /live/stream)
TABLETENNIS_LINK_DOMAIN ${EDGE_PLAY_DOMAIN}
TABLETENNIS_ZAEHLWERK_PONG 'on', attract mode stays off

Left out on purpose: TABLETENNIS_FOB_CHECKIN (no fob hub yet) and TABLETENNIS_ZAEHLWERK_BUTTONS_* (table mock, lab only).

Routes on edge-play-gateway

kubectl kustomize renders 3 + 9 HTTPRoutes. Re-rendered with blueprints flux@v3.11.0 and --existing-secrets. Generated changes: six substitute values in apps-platform.yaml, no secret changes.

Check at power-on (box is offline)

  • Pods resolve *.sthings-edge.com to 192.168.8.21 (Opal dnsmasq). zaehlwerk and schmetterpause now call each other over these names, and the public Hetzner record points at the lab VIP.
  • Opal dnsmasq: zaehlwerk-pong.edge.sthings.lab → 192.168.8.20 for the internal route (already in sthings-edge: catch up with the lab (edge-tt-test1) before power-on — living checklist #442)
  • Smoke test: check in by phone on schmetterpause.sthings-edge.com/table/left, then play a match, then check the Teams card. Also open pong on zaehlwerk-pong.sthings-edge.com.

Access: zaehlwerk, demo-pitcher, the led-catcher stream switch and the wled-mock have no authentication. Anyone on the table Wi-Fi can score matches and send messages to the LED matrix.

🤖 Generated with Claude Code

patrick-hermann-sva and others added 2 commits October 18, 2026 21:15
notification-catcher v3.1.0 (flux#747): the table tennis results card
with players and set scores, demo/bot games (demo=1) no longer posted --
the box has the dry run off. TABLETENNIS_ZAEHLWERK_BUTTONS_DEVICE and
HOMERUN2_LIGHT_CATCHER_TABLETENNIS_PROFILE_CM exist now, neither is set.
Nothing for the box in cilium 1.20.3 (k3s installs it) or
kube-prometheus-stack (not deployed).

Re-rendered (blueprints flux@v3.11.0, --existing-secrets): only the tag
in apps.yaml, no secret changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s-edge.com

- tabletennis-sops-backup: TABLETENNIS_SCHMETTERPAUSE_ZAEHLWERK on, with
  zaehlwerk and schmetterpause reaching each other over the players'
  names (SCHMETTERPAUSE_ZAEHLWERK_URL, ZAEHLWERK_SCHMETTERPAUSE_URL,
  ZAEHLWERK_ALLOWED_ORIGINS), TABLETENNIS_LINK_DOMAIN and
  TABLETENNIS_ZAEHLWERK_PONG on -- as clusters/edge, minus the table mock
  and the fob check-in.
- play/play-routes: zaehlwerk and zaehlwerk-pong at
  <app>.${EDGE_PLAY_DOMAIN}.
- play/homerun2-play-routes: the nine homerun2 routes of #460.

Re-rendered (blueprints flux@v3.11.0, --existing-secrets): six substitute
values in apps-platform.yaml, no secret changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@patrick-hermann-sva
patrick-hermann-sva merged commit 036ca22 into main Oct 18, 2026
1 check passed
@patrick-hermann-sva
patrick-hermann-sva deleted the feat/sthings-edge-phone-checkin-pong-homerun2 branch October 18, 2026 21:33

This branch was successfully deployed

1 active deployment
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.

1 participant