Skip to content

Industry News

systemd Services: Turn a Script into a Reliable Boot Service

rc.local causes three production problems: it starts too early, it doesn’t restart on crash, and it logs nothing. systemd fixes all three. Script vs service Write the unit: /etc/systemd/system/myapp.service with ExecStart, Restart=always, RestartSec=5 and a non-root User; Ordering: After=network-online.target plus Wants=network-online.target so you don’t start before the network is up; Logs: journalctl -u myapp -f […]

阅读全文 →

USB Networking for Debug: Into the System Without an Ethernet Cable

When a device is racked with no spare Ethernet, USB networking is the lifeline. Linux’s gadget mode makes it plug-and-play. Why USB networking Gadget mode: configure a usb0 virtual NIC (ECM/RNDIS) on the device; a new NIC appears on the host for ssh; Addressing convention: fix a private pair like 10.55.0.1/10.55.0.2 and document it — […]

阅读全文 →

Edge-Side Video Redaction: Automatic Face/Plate Masking Done Right

The key decision is when to redact: earlier is safer, later is flexible. In practice nearly every deployment should mask at the edge before upload. Which layer to mask at Detect + track + mask: track faces/plates by track ID so masks stay stable across frames instead of flickering; Reversible authorization: for authorized investigations, keep […]

阅读全文 →

Firmware Image Pipelines: Turning Manual Steps into Reproducible Builds

Image customization must be versioned, reproducible and traceable, or two devices with the same version number will eventually differ. From manual to pipeline Configuration as code: describe partitioning, services, defaults and preinstalled apps in scripts and config files under version control; Automated builds: CI triggers the build and produces an image tagged with version and […]

阅读全文 →

Solar Monitoring: Inverter Data Collection and Generation-Load Coupling

Owning solar isn’t using solar. Once inverter data lands locally, self-consumption becomes optimizable. Optimization needs data first Collection: most inverters offer RS485/Modbus or vendor APIs — prefer local protocols over cloud dependence; Coupling logic: start the water heater or dishwasher during generation peaks; charge batteries in valleys; Dashboard: generation, consumption and battery on one screen. […]

阅读全文 →

Production Test Fixtures: The First Guarantee of Line Yield

Line testing aims to verify all functions in minimal time while every unit is judged by the same standard. Fixtures deliver speed and consistency Test items: power-on current, interface loopbacks, Wi-Fi and Bluetooth connectivity, storage read/write, buttons and LEDs, sequenced to the takt; Automatic verdicts: pass or fail is decided and logged automatically with the […]

阅读全文 →