mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-18 16:22:11 +08:00
Enhancement: support netalertx v26.1.17 breaking changes (#6196)
This commit is contained in:
@@ -9,11 +9,17 @@ _Note that the project was renamed from PiAlert to NetAlertX._
|
||||
|
||||
Allowed fields: `["total", "connected", "new_devices", "down_alerts"]`.
|
||||
|
||||
If you have enabled a password on your NetAlertX instance, you will need to provide the `SYNC_api_token` as the `key` in your config.
|
||||
Provide the `API_TOKEN` (f.k.a. `SYNC_api_token`) as the `key` in your config.
|
||||
|
||||
| NetAlertX Version | Homepage Widget Version |
|
||||
| ----------------- | ----------------------- |
|
||||
| < v26.1.17 | 1 (default) |
|
||||
| > v26.1.17 | 2 |
|
||||
|
||||
```yaml
|
||||
widget:
|
||||
type: netalertx
|
||||
url: http://ip:port
|
||||
key: netalertxsyncapitoken # optional, only if password is enabled
|
||||
key: yournetalertxapitoken
|
||||
version: 2 # optional, default is 1
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user