From fba5110cc062ddb8a16eabe27b6dd4eecb2d1647 Mon Sep 17 00:00:00 2001 From: bonamin Date: Wed, 28 Oct 2026 21:10:20 +0200 Subject: [PATCH] docs(api-reference): system.get_config time block uses the firmware 3.x shape The example still showed gmtOffsetSec/daylightOffsetSec, removed in firmware 3.0.0; it now shows the ntp and tz objects. Co-Authored-By: Claude Opus 5.5 --- frontend/src/pages/engineering/developer/ApiReferencePage.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/engineering/developer/ApiReferencePage.jsx b/frontend/src/pages/engineering/developer/ApiReferencePage.jsx index 3fda5ac..67b83f1 100644 --- a/frontend/src/pages/engineering/developer/ApiReferencePage.jsx +++ b/frontend/src/pages/engineering/developer/ApiReferencePage.jsx @@ -676,7 +676,7 @@ const NAMESPACES = [ transports: ['All'], description: 'Full ConfigManager dump — all saved settings grouped by subsystem. Alias: system.get_settings (backward compatible).', contents: null, - response: '{\n "status": "SUCCESS",\n "type": "system.get_config",\n "data": {\n "general": {\n "bells_enabled": true, "mqtt_enabled": true,\n "ota_channel": "stable",\n "serial_log": 3, "sd_log": 2, "mqtt_log": 1\n },\n "bell": { "durations": {...}, "outputs": {...} },\n "clock": { ... },\n "time": { "gmtOffsetSec": 7200, "daylightOffsetSec": 3600, ... },\n "network": { "hostname": "...", "useStaticIP": false, ... },\n "mqtt": { "host": "...", "port": 1883, ... }\n }\n}', + response: '{\n "status": "SUCCESS",\n "type": "system.get_config",\n "data": {\n "general": {\n "bells_enabled": true, "mqtt_enabled": true,\n "ota_channel": "stable",\n "serial_log": 3, "sd_log": 2, "mqtt_log": 1\n },\n "bell": { "durations": {...}, "outputs": {...} },\n "clock": { ... },\n "time": { "ntp": { "auto": true, "sync_time": "04:30", ... }, "tz": { "mode": "auto", "name": "Europe/Athens", "posix": "EET-2EEST,M3.5.0/3,M10.5.0/4", ... } },\n "network": { "hostname": "...", "useStaticIP": false, ... },\n "mqtt": { "host": "...", "port": 1883, ... }\n }\n}', errors: [ { message: 'Failed to serialize settings', condition: 'Internal JSON serialization error — rare' }, ],