Improve 3A+ case, making it easier to take the pi out. Improve the fit of the Z2 case.

Make it possible for a hub to reload a config automatically when it changes without being restarted.
Prevent the auto-calibration on first install from being stomped by the app.
Allow updating the hub software via the app.
This commit is contained in:
MarkBryanMilligan
2022-01-13 14:33:21 -06:00
parent 88ed044ef7
commit ed75ab1f05
38 changed files with 659 additions and 261 deletions

View File

@@ -113,6 +113,12 @@ public class RulesEngine {
timer.schedule(nextTask, nextDate);
}
public void schedule(TimerTask _task, long _delay) {
if (timer == null)
return;
timer.schedule(_task, _delay);
}
public static void shutdown() {
if (INSTANCE == null)
return;