30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
|
# Gather smart home status from Hue Bridge
|
||
|
[[inputs.huebridge]]
|
||
|
## The Hue bridges to query.
|
||
|
## See README file for all addressing options.
|
||
|
bridges = [
|
||
|
"address://0123456789ABCDEF:sFlEGnMAFXO6RtZV17aViNUB95G2uXWw64texDzD@mybridgenameorip/",
|
||
|
"cloud://0123456789ABCDEF:sFlEGnMAFXO6RtZV17aViNUB95G2uXWw64texDzD@discovery.meethue.com/",
|
||
|
"mdns://0123456789ABCDEF:sFlEGnMAFXO6RtZV17aViNUB95G2uXWw64texDzD@/",
|
||
|
"remote://0123456789ABCDEF:sFlEGnMAFXO6RtZV17aViNUB95G2uXWw64texDzD@api.meethue.com/",
|
||
|
]
|
||
|
|
||
|
remote_client_id = "client"
|
||
|
remote_client_secret = "secret"
|
||
|
remote_callback_url = "url"
|
||
|
remote_token_dir = "dir"
|
||
|
|
||
|
## Manual device to room assignments to apply during status evaluation.
|
||
|
## E.g. for motion sensors which are reported without a room assignment.
|
||
|
room_assignments = { "Device 1" = "Room A", "Device 2" = "Room B" }
|
||
|
|
||
|
## Timeout for gathering information
|
||
|
timeout = "1m"
|
||
|
|
||
|
## Optional TLS Config
|
||
|
# tls_ca = "/etc/telegraf/ca.pem"
|
||
|
# tls_cert = "/etc/telegraf/cert.pem"
|
||
|
# tls_key = "/etc/telegraf/key.pem"
|
||
|
tls_key_pwd = "secret"
|
||
|
## Use TLS but skip chain & host verification
|
||
|
insecure_skip_verify = true
|