From 776e6fdd8415edd0daa5743c35cbee029a89c6a7 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 23 Mar 2026 17:59:33 +0100 Subject: Add shelly configuration parsing 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/valid/shelly.json') 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