diff options
| author | xengineering <me@xengineering.eu> | 2026-03-23 17:59:33 +0100 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-03-25 21:09:01 +0100 |
| commit | 776e6fdd8415edd0daa5743c35cbee029a89c6a7 (patch) | |
| tree | af6ec85cf7da94a8c647c1d87bc78705d6f0ad0e /configs | |
| parent | 91844eb24c16d7ba768f913597702f8075fe8af2 (diff) | |
| download | sia-server-776e6fdd8415edd0daa5743c35cbee029a89c6a7.tar sia-server-776e6fdd8415edd0daa5743c35cbee029a89c6a7.tar.zst sia-server-776e6fdd8415edd0daa5743c35cbee029a89c6a7.zip | |
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.
Diffstat (limited to 'configs')
| -rw-r--r-- | configs/valid/shelly.json | 21 |
1 files changed, 21 insertions, 0 deletions
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" + } + ] +} |
