32 lines
810 B
YAML
32 lines
810 B
YAML
# HTTP server configuration.
|
|
host: 0.0.0.0
|
|
port: 9090
|
|
|
|
# Panic = 0, Fatal = 1, Error = 2, Warn = 3,
|
|
# Info = 4, Debug = 5, Trace = 6
|
|
logLevel: 4
|
|
|
|
shelly:
|
|
# Per-device HTTP timeout. Devices are scraped concurrently.
|
|
timeoutSeconds: 10
|
|
|
|
devices:
|
|
- name: office-plug
|
|
product: plug_s
|
|
url: http://192.168.0.30
|
|
username: admin
|
|
password: change-me
|
|
|
|
# Multiple devices of the same or another registered product are supported.
|
|
# - name: main-meter
|
|
# product: shelly_3em
|
|
# url: http://192.168.0.31
|
|
# username: admin
|
|
# password: change-me
|
|
|
|
# Use gen1 for another compatible Shelly Gen1 /status response. Only fields
|
|
# actually present in the response are exported.
|
|
# - name: other-shelly
|
|
# product: gen1
|
|
# url: http://192.168.0.32
|