Snapshot of the working tree exactly as it stood, no edits. This is the predecessor
PRICEGOD was rewritten from ("kept intact, untouched" per pricegod/README.md), and it
is still the only place the DYMO scale is actually implemented —
rfid-daemon/index.js:1068-1265: HID discovery, parseScaleReport, one-shot read, and a
streaming /weight + /scale/start|stop session whose JSON shape PRICEGOD's daemon.js
already speaks.
Preserved verbatim on purpose (hence -og), including the known bug: DYMO_PIDS at
index.js:1082 is [0x8003, 0x8004], so it cannot see the bench M25 (0x8009). Fix that
in whatever daemon inherits the scale, not here.
node_modules stays ignored (22M of the 24M tree). No credentials in the import: the
two PEM markers in utils.js/sheets.js only strip headers off a key read from settings,
and mrpadmin / johnking are an SSH and a Postgres username, both key/trust auth.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
5 lines
1.1 KiB
Plaintext
5 lines
1.1 KiB
Plaintext
2026-04-26 11:06:33 AEST
|
||
--- Device info ---
|
||
{"ok":true,"hwVer":"67.80","firmVer":"45.50","sn":"31 33 39 31","moduleVer":"48.95","moduleName":"V1.2UHF Hand Reader V1.2.09.0499\fK924","raw":"43 50 2D 32 31 33 39 31 30 5F 56 31 2E 32 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 48 46 20 48 61 6E 64 20 52 65 61 64 65 72 20 56 31 2E 32 2E 30 39 2E 30 34 00 00 00 00 00 00 FF FF FF FF 39 39 0C 00 4B 39 32 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00"}
|
||
--- Config ---
|
||
{"ok":true,"raw":"00 00 00 80 04 00 01 01 03 86 02 EE 01 F4 31 1A 01 04 00 00 0C 00 0A 01 00","addr":0,"rfidPro":0,"rfidProName":"ISO 18000-6C","workMode":0,"workModeName":"answer","interface":128,"interfaceName":"RS232","baudRate":4,"baudRateName":"115200","ant":0,"qValue":1,"session":1,"inquiryArea":3,"acsAddr":134,"acsDataLen":2,"filterTime":238,"triggerTime":1,"rfidPower":244,"buzzerTime":49,"pollingInterval":26,"rfidFreq":"01 04 00 00 0C 00 0A 01","rfidFreqName":"US 902-927MHz","wgSet":0} |