diff options
Diffstat (limited to 'config.json.example')
| -rw-r--r-- | config.json.example | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/config.json.example b/config.json.example index 14ab023..ce7d209 100644 --- a/config.json.example +++ b/config.json.example @@ -13,8 +13,14 @@ "altitude": 2.0 }, "deviceMetrics": { - "broadcastInterval": 300, - "upsAddress": "upsname@localhost" + "broadcastInterval": 0, + "command": "jq", + "commandArgs": [ + "-n", + "--arg", "battery_level", "100", + "--arg", "voltage", "13.37", + ".battery_level=($battery_level|tonumber) | .voltage=($voltage|tonumber)" + ] }, "channels": [ { |
