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
@@ -55,6 +55,8 @@ bool api_preset_in_profile(const cJSON *rec);
|
||||
// Bring records written by older versions into the current shape (at boot)
|
||||
void api_migrate_sequences(void);
|
||||
void api_seed_defaults(void);
|
||||
// A new group with the defaults, saved; its id in id
|
||||
void api_add_group(const char *name, char *id, size_t len);
|
||||
void api_migrate_zones(void);
|
||||
void api_migrate_groups(void);
|
||||
|
||||
|
||||
Reference in new issue
Block a user