From 3a169c74caa79a01b319786ac6c5ff8947686a59 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 24 Mar 2024 11:30:56 +0100 Subject: Provide example and default configuration Those two configuration files should not be the same. The default configuration should be more or less empty while the example configuration should demonstrate the server's capabilities. --- config/default.json | 8 ++++++++ config/example.json | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100644 config/default.json create mode 100644 config/example.json (limited to 'config') diff --git a/config/default.json b/config/default.json new file mode 100644 index 0000000..17d64ef --- /dev/null +++ b/config/default.json @@ -0,0 +1,8 @@ +{ + "devices":{ + "hs100":[] + }, + "web":{ + "listen":"127.0.0.1:9000" + } +} diff --git a/config/example.json b/config/example.json new file mode 100644 index 0000000..9366364 --- /dev/null +++ b/config/example.json @@ -0,0 +1,11 @@ +{ + "devices":{ + "hs100":[ + {"ip":"192.168.1.40","name":"LED strip living room"}, + {"ip":"192.168.1.42","name":"TV"} + ] + }, + "web":{ + "listen":"127.0.0.1:9000" + } +} -- cgit v1.2.3-70-g09d2