This commit is contained in:
davidnewhall2 2019-12-20 03:22:41 -08:00
parent ed3bed4c7b
commit 3f6a3e9721
3 changed files with 14 additions and 15 deletions

View File

@ -55,12 +55,12 @@
# provide one and dynamic is disabled. In other words, you can just add your # provide one and dynamic is disabled. In other words, you can just add your
# controller here and delete the following section. Either works. # controller here and delete the following section. Either works.
[unifi.defaults] [unifi.defaults]
role = "https://127.0.0.1:8443" role = "https://127.0.0.1:8443"
url = "https://127.0.0.1:8443" url = "https://127.0.0.1:8443"
user = "unifipoller" user = "unifipoller"
pass = "unifipoller" pass = "unifipoller"
sites = ["all"] sites = ["all"]
save_ids = false save_ids = false
save_sites = true save_sites = true
verify_ssl = false verify_ssl = false
@ -74,7 +74,6 @@
url = "https://127.0.0.1:8443" url = "https://127.0.0.1:8443"
# Make a read-only user in the UniFi Admin Settings. # Make a read-only user in the UniFi Admin Settings.
user = "unifipoller" user = "unifipoller"
# You may also set env variable UNIFI_PASSWORD instead of putting this in the config.
pass = "4BB9345C-2341-48D7-99F5-E01B583FF77F" pass = "4BB9345C-2341-48D7-99F5-E01B583FF77F"
# If the controller has more than one site, specify which sites to poll here. # If the controller has more than one site, specify which sites to poll here.

View File

@ -24,12 +24,12 @@
"unifi": { "unifi": {
"dynamic": false, "dynamic": false,
"defaults": { "defaults": {
"role": "https://127.0.0.1:8443", "role": "https://127.0.0.1:8443",
"user": "unifipoller", "user": "unifipoller",
"pass": "unifipoller", "pass": "unifipoller",
"url": "https://127.0.0.1:8443", "url": "https://127.0.0.1:8443",
"sites": ["all"], "sites": ["all"],
"save_ids": false, "save_ids": false,
"save_sites": true, "save_sites": true,
"verify_ssl": false "verify_ssl": false
}, },

View File

@ -29,11 +29,11 @@ unifi:
role: "https://127.0.0.1:8443" role: "https://127.0.0.1:8443"
user: "unifipoller" user: "unifipoller"
pass: "unifipoller" pass: "unifipoller"
url: "https://127.0.0.1:8443" url: "https://127.0.0.1:8443"
sites: sites:
- all - all
verify_ssl: false verify_ssl: false
save_ids: false save_ids: false
save_sites: true save_sites: true