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:
1 parent
4372ba4105
commit
2f0c26e9b8
12 files changed
+99
-35
No files matched your search
@@ -16,6 +16,10 @@ def test_static(c, path):
|
||||
assert c.get(f"/static/{path}").status_code == 200
|
||||
|
||||
|
||||
def test_status_reset_reason(c):
|
||||
assert c.get("/status").json()["reset_reason"]
|
||||
|
||||
|
||||
def test_settings_page(c):
|
||||
resp = c.get("/settings/page")
|
||||
assert resp.status_code == 200
|
||||
|
||||
Reference in new issue
Block a user