move hardbeat handling into backend, add publish lanestate for lighttower

This commit is contained in:
Carsten Graf
2025-07-31 01:15:44 +02:00
parent 4a1e0b8bca
commit 0166e1a695
7 changed files with 123 additions and 20 deletions

View File

@@ -34,6 +34,8 @@ struct ButtonConfig {
uint8_t mac[6];
bool isAssigned = false;
float voltage = 0.0;
unsigned long lastHeartbeat = 0; // Zeit des letzten Heartbeats (millis)
bool heartbeatActive = false; // Status: aktiv/inaktiv
};
struct ButtonConfigs {