From 5b25200b8afea648b5598c97a9566f8bc5c0aff7 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 23 Mar 2026 17:59:33 +0100 Subject: WIP: Add shelly configuration parsing TODO: Add strict checks for config like uniqueness of IDs. This allows to specify Shelly cover devices to be added to the configuration file with all information required by the Sia server. --- configs/valid/shelly.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 configs/valid/shelly.json (limited to 'configs') diff --git a/configs/valid/shelly.json b/configs/valid/shelly.json new file mode 100644 index 0000000..578f6dc --- /dev/null +++ b/configs/valid/shelly.json @@ -0,0 +1,21 @@ +{ + "mqtt": { + "broker": "tcp://127.0.0.1:1883", + "client-id": "siaserver", + "topic-prefix": "sia" + }, + "homematic": { + "ccu": "http://127.0.0.1:8080", + "polling-period": "50ms" + }, + "shelly": [ + { + "id": "shelly1", + "ip": "192.168.1.20" + }, + { + "id": "shelly2", + "ip": "2001:db8::68" + } + ] +} -- cgit v1.3