feat: default IP, reset reason in /status, seeded default group

With no DHCP answer in 15 seconds the controller takes 192.168.4.1/24, for a cable straight to a PC with a static IP. /status reports why the board last restarted. First boot also seeds a default group that the default zone plays to.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Opus 5.5 committed 2026-11-04 22:25:22 +13:00
1 parent 4372ba4105
commit 2f0c26e9b8
12 files changed
+99 -35

No files matched your search

+1 -1
View File
@@ -1178,7 +1178,7 @@
</div>
<div class="form-group">
<label>Static IPs</label>
<small>Tried in order each time the Ethernet link comes up; the first whose gateway answers is used. If none does, or the list is empty, DHCP is used.</small>
<small>Tried in order each time the Ethernet link comes up; the first whose gateway answers is used. If none does, or the list is empty, DHCP is used. With no DHCP server, as on a cable straight to a PC, the controller is at <code>192.168.4.1</code>; give the PC a static IP such as <code>192.168.4.2</code>.</small>
<div id="static-ips-list"></div>
<button type="button" class="btn btn-secondary" id="static-ip-add-btn">Add network</button>
</div>