Files
parking_solution/.gitignore
T
julian c08e232339 feat(firmware): relay-proxy PoC — NodeMCU as a Dingtian DT-R004 + cloud proxy/watchdog
A NodeMCU v3 (ESP8266) that speaks the Dingtian wire contract (binary UDP 60000 with
relay_pw, string UDP 60001, config CGI incl. the setconfig gotcha, userset.cgi, Digest
input push) so the booth's existing driver needs no change, plus a heartbeat/command/
watchdog path to an ephemeral cloud stand-in (poc/cloud-standin.mjs). Verified at park-lab:
the booth's assign flow configured it like real hardware and a button press reached the
booth (401→Digest→200) and the cloud with the booth's status. Watchdog probes /health and
power-cycles the PC via a spare relay with backoff. IO behind one interface for the ESP32/
Dingtian port.

wiki: relay-proxy-firmware page; esp32-flashability-test runbook (esptool lock test);
dingtian-relay "can we flash our own firmware" (vendor locks the standard SKU);
site-device-installation: booth ufw must allow device-net → 3000 (push targets PORT, not
Caddy's 80); open-questions: cloud takeover vs signed ledger (parked).

.gitignore: firmware venv/.pio/secrets.h.
2026-10-22 12:08:20 +02:00

44 lines
916 B
Plaintext

node_modules/
dist/
.turbo/
*.tsbuildinfo
# Local database & secrets
*.sqlite
*.sqlite-shm
*.sqlite-wal
*.db
.env
.env.*
!.env.example
# Committed (non-secret): the desktop/prod build's backend origin — see apps/web/.env.production
!.env.production
# Editor/OS
.DS_Store
*:Zone.Identifier
.playwright-mcp/
# stray hardware/UI test screenshots
/*.png
# Vendor device SDKs (reference only — protocol captured in wiki, not committed)
/dingtian/
/QRCode_sdk*/
# Graphify knowledge-graph output (dev tool; generated, not committed)
graphify-out/
parking.sqlite*.bak-*
questions.txt
# session planning files (planning-with-files skill)
task_plan.md
findings.md
progress.md
# local scratch (site snapshots pulled for incident review, never committed)
tmp/
# Firmware PoC (firmware/relay-proxy/README.md): toolchain venv, build output, Wi-Fi secrets
firmware/.venv/
firmware/**/.pio/
firmware/**/include/secrets.h