Firmware Regression Checklist
Disconnect real coils and use appropriate bench loads for initial checks. Confirm arming, disarming, watchdogs, pulse/hold limits and fault recovery explicitly. Native policy tests do not qualify electrical hardware.
Use this quick checklist before/after firmware changes that affect input/output runtime behavior.
Button Drivers (Button/Default)
- Verify each mapped button pin emits
PRESSEDthenRELEASEDfor a single press. - Verify
CLICKEDemits only after press+release completes. - Verify
DOUBLE_CLICKEDrespects configuredwindowMs. - Verify
HELDstarts afterminMsand repeats only whenrepeatWhileHeld=trueatrepeatMscadence. - Verify stale/out-of-sequence events are dropped and affected outputs return to mapping safe state.
LCD Drivers (LcdDisplay/LCD1602I2C)
- On boot, confirm
DRIVER_WIRINGlog includes LCD target, function, driver, and impl. - Trigger
LCD_SETand verify both lines render with expected truncation bycols. - Verify declared SDA/SCL mapping works; if fallback swap is used,
LCD_STATUS.swappedPins=trueis reported. - Verify backlight auto-sleeps after 60s of no text update.
- Verify next
LCD_SETwakes display immediately and writes both lines.
Coil/Output Drivers (Coil/Default, LED/Default)
- Verify
PIN_SET/ rule-driven output changes resolve correct function+driver (from mapping). - Verify coil output transitions match rule action timing (pulse/high/low) and no stuck-high after release.
- Verify dropped events restore all touched outputs to safe state from mapping.
- Verify manual event fire from UI and physical ESP input both produce identical runtime behavior.
Boot Wiring Self-Check
- On each firmware boot with mapping present, verify:
MAP_BOOTstatus isok.- One
DRIVER_WIRINGframe is emitted. countmatches expected mapped driver bindings.- Each binding reports
target,function,driver, and resolvedimpl.