mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-17 15:42:09 +08:00
Add Unifi Controller info widget
@@ -112,6 +112,28 @@ The free tier "One Call API" is all thats required, you will need to [subscribe]
|
|||||||
|
|
||||||
You can optionally not pass a `latitude` and `longitude` and the widget will use your current location (requires a secure context, eg. HTTPS).
|
You can optionally not pass a `latitude` and `longitude` and the widget will use your current location (requires a secure context, eg. HTTPS).
|
||||||
|
|
||||||
|
## Unifi Controller
|
||||||
|
|
||||||
|
You can display general connectivity status from your Unifi (Network) Controller. When authenticating you will want to use an account that has at least read privileges.
|
||||||
|
|
||||||
|
You will need to update two files in order to display this information. First, `settings.yaml` which will contain the connection information.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
unifi_console:
|
||||||
|
url: https://unifi.host.or.ip:port
|
||||||
|
username: user
|
||||||
|
password: pass
|
||||||
|
```
|
||||||
|
|
||||||
|
Next, `widgets.yaml` to configure where you want to display the Unifi information widget in the information widget area.
|
||||||
|
|
||||||
|
**Note: The lack of any sub properties is not a typo.**
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- unifi_console:
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Search
|
## Search
|
||||||
|
|
||||||
You can add a search bar to your top widget area that can search using Google, Duckduckgo, Bing, Baidu or any other custom provider that supports the basic `?q=` search query param.
|
You can add a search bar to your top widget area that can search using Google, Duckduckgo, Bing, Baidu or any other custom provider that supports the basic `?q=` search query param.
|
||||||
|
|||||||
Reference in New Issue
Block a user