How aldysetiaa/weighing-scale2 works
This is a Chrome app for weighbridge recording, with a browser UI that captures serial-indicator readings, calculates weighing values, and exchanges records with an API. The documented product also includes multi-port serial monitoring, CCTV image capture, ANPR and vehicle recognition, backup, and ERP integration; those capabilities are represented as product subsystems, but their implementation is not visible in the sampled source. Evidence is limited to the README and excerpts of main.js, background.js, and controller.js.
Main entry points: main.js Weighing UI · window.html App Window · background.js App Launcher · controller.js UI Controller
Components 19
Chrome App
- App Launcher
background.js - App Window
window.html - UI Controller
controller.js
Weighing Workflow
- Weighing UI
main.js - Weight Capture And Calculation
main.js - Record History
main.js - KPCC Records
main.js
Device And Recognition
- Serial Monitor
main.js - Multi-Port Serial
- CCTV Image Capture
- Plate Recognition
- Vehicle Recognition
External Services
- Weighing REST API
- Weighing Records
- Insert Query Backup
- ERP Integration
Other components
- Operator
- Serial Indicator
- CCTV Or Webcam
Connections 18
- Operator → App Window: uses
README.md - App Launcher → App Window: opens
background.js - Operator → Weighing UI: enters weighing data
README.md - Weighing UI → Weight Capture And Calculation: captures and calculates
main.js - Weighing UI → Weighing REST API: requests records
main.js - Weighing UI → Record History: renders records
main.js - Weighing UI → KPCC Records: loads records
main.js - Weighing UI → UI Controller: uses
- Serial Monitor → Serial Indicator: connects and reads
main.js - Operator → Serial Monitor: monitors
README.md - Multi-Port Serial → Serial Indicator: connects
README.md - CCTV Or Webcam → CCTV Image Capture: provides images
README.md - CCTV Image Capture → Plate Recognition: supplies images
README.md - CCTV Image Capture → Weighing Records: saves weighing images
README.md - Plate Recognition → Vehicle Recognition: recognizes vehicle
README.md - Weighing UI → Insert Query Backup: backs up inserts
README.md - Weighing UI → ERP Integration: integrates records
README.md - Weighing REST API → Weighing Records: reads and writes