publish "start_beep"

This commit is contained in:
Flo
2026-03-10 07:45:59 +01:00
parent 3cfabb85df
commit b14dc46cc1
+4
View File
@@ -487,6 +487,10 @@ static void handleKeyReceived(void)
tBeepingStartWithoutWindowClose = Seconds::Get();
piepPattern->Start(DOUT_PIEP_PWM);
bUpdateDisp = true;
char payload[64];
snprintf(payload, sizeof(payload), "{\"event\":\"start_beep\", \"variant\": \"" PROJECT_VARIANT "\" }");
myMqttClient.publishStatus(payload);
}
shallPiepPrevious = shallPiepNew;
numberWindowsOpen = numberWindowsOpenNew;