fix(devices): Dahua snapshot channel is 1-based; add Dahua clock sync; wiki page for the bench IPC-HFW2549T
Build & push images / images (push) Successful in 3m25s
Build & push images / images (push) Successful in 3m25s
The dahua driver decremented the wizard's channel on the belief the CGI is 0-based. On real hardware (IPC-HFW2549T-AS-IL, fw V2.880, 2026-09-17) snapshot.cgi?channel=0 answers HTTP 400 and channel=1 returns the 2880x1620 JPEG — so every Dahua assignment sat at degraded "HTTP 400". The channel is now sent as entered (clamped >= 1) and the URL is pinned in camera.test.ts. DahuaCamera.syncClock reads global.cgi getCurrentTime and, past the drift limit, writes setCurrentTime with the host's naive local wall time (no offset): the OSD burned into snapshots must match the booth clock; the camera's tz/DST config is left alone. Verified live: a 2h-off set, set back, 1s drift -> no write. The device monitor picks it up via isClockSyncable unchanged. Wiki: new entities/dahua-ipc-hfw2549t.md (endpoint table, verbatim eventManager attach parts — VideoMotion Start/Stop, VideoMotionInfo, TimeChange — RealUTC is the camera's belief of UTC, 5-strike login lockout, unit not factory-fresh); lpr-camera Dahua bullet corrected; runbook §3 Dahua paragraph; index + log. The server-side attach-stream subscriber is not built.
This commit is contained in:
@@ -45,6 +45,7 @@ Counts: 4 sources · 19 entities · 47 concepts · 8 decision records.
|
||||
- [[dingtian-dt008-reader]] — Dingtian DT-008 QR/RFID reader on hand; HTTP-GET push, server replies the verdict; ⚠️ our two units read disjoint card sets (125 kHz vs 13.56 MHz) — unresolved, see open question #18.
|
||||
- [[zkteco-controller]] — ❌ rejected/historical; aux-input path was a contender, not pursued.
|
||||
- [[dingtian-relay]] — ✅ CHOSEN access controller; decoupled inputs solve the button blocker (driver verified on hardware); spare relays drive aux outputs (`setAux`).
|
||||
- [[dahua-ipc-hfw2549t]] — first Dahua on the bench (IPC-HFW2549T-AS-IL, fw 2.880, 2026-09-17): the driver's channel decrement gave HTTP 400 (channels are 1-based — fixed + verified live); Dahua clock-sync built (`global.cgi`, naive wall time); events = held `eventManager attach` multipart stream, verbatim `VideoMotion Start/Stop` + `TimeChange` parts captured, subscriber not built; `RealUTC` is the camera's belief of UTC; 5-strike login lockout.
|
||||
- [[hikvision-radar]] — vehicle-presence radar on a Dingtian input; the entry presence gate (per-input active-level caveat).
|
||||
- [[rongta-printer]] — ✅ CHOSEN 80mm thermal printer; ESC/POS over raw TCP 9100 (or local USB, see [[printer-usb-transport]]); driver written, one unit reachable at 10.0.10.6.
|
||||
- [[k200l-printer]] — the park-buzi printer identified (2026-09-09): Xprinter/ICS K200L, USB id 1fc9:2016 "POS-80", J-Speed LAN board at 192.168.123.100 (DHCP off, web config on :80); status page `/prt_status.htm` (Rongta's rows, headerless HTTP) → own `k200l` driver with raw-socket fetch; over USB reachability only, so cover-open never showed at park-buzi.
|
||||
|
||||
Reference in New Issue
Block a user