mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-15 09:20:32 +00:00
Feature: Wg-Easy Widget (#3476)
--------- Co-authored-by: ConnerWithAnE <46903591+ConnerWithAnE@users.noreply.github.com> Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
1144f4dfa0
commit
6ab6d6fd3a
8 changed files with 158 additions and 0 deletions
20
docs/widgets/services/wgeasy.md
Normal file
20
docs/widgets/services/wgeasy.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
title: Wg-Easy
|
||||
description: Wg-Easy Widget Configuration
|
||||
---
|
||||
|
||||
Learn more about [Wg-Easy](https://github.com/wg-easy/wg-easy).
|
||||
|
||||
Allowed fields: `["connected", "enabled", "disabled", "total"]`.
|
||||
|
||||
Note: by default `["connected", "enabled", "total"]` are displayed.
|
||||
|
||||
To detect if a device is connected the time since the last handshake is queried. `threshold` is the time to wait in minutes since the last handshake to consider a device connected. Default is 2 minutes.
|
||||
|
||||
```yaml
|
||||
widget:
|
||||
type: wgeasy
|
||||
url: http://wg.easy.or.ip
|
||||
password: yourwgeasypassword
|
||||
threshold: 2 # optional
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue