refactor(doorbell-touch): add build harness with monitor agent and board-specific setup

This commit is contained in:
2026-02-18 03:28:38 -08:00
parent 4ea7165148
commit 3b8e54c511
9 changed files with 353 additions and 84 deletions

View File

@@ -231,11 +231,13 @@ void DoorbellLogic::onAdmin(const String& cmd) {
ESP.restart();
} else if(cmd == "dashboard") {
Serial.printf("[%lu] [ADMIN] dashboard\n", millis());
_lastActivityMs = millis(); // Reset inactivity timer
_state.screen = ScreenID::DASHBOARD;
_display->setBacklight(true);
_state.backlightOn = true;
} else if(cmd == "off") {
Serial.printf("[%lu] [ADMIN] off\n", millis());
_lastActivityMs = millis(); // Reset inactivity timer
_state.screen = ScreenID::OFF;
_display->setBacklight(false);
_state.backlightOn = false;