Skip to content

Commit ad137cf

Browse files
Copilotdorkmo
andcommitted
Change relay polling interval from 5 seconds to 1 hour
Co-authored-by: dorkmo <1923070+dorkmo@users.noreply.github.com>
1 parent 6eb5e81 commit ad137cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

TankAlarm-112025-Client-BluesOpta/RELAY_CONTROL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Commands are sent via Blues Notecard to `device:<clientUID>:relay.qi`:
132132

133133
### Client Polling
134134

135-
- Client polls `relay.qi` every 5 seconds
135+
- Client polls `relay.qi` every 1 hour
136136
- Commands are deleted after processing
137137
- Invalid commands are logged and ignored
138138

TankAlarm-112025-Client-BluesOpta/TankAlarm-112025-Client-BluesOpta.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ void loop() {
366366
pollForConfigUpdates();
367367
}
368368

369-
if (now - gLastRelayCheckMillis >= 5000UL) { // Check every 5 seconds
369+
if (now - gLastRelayCheckMillis >= 3600000UL) { // Check every 1 hour
370370
gLastRelayCheckMillis = now;
371371
pollForRelayCommands();
372372
}

0 commit comments

Comments
 (0)