mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-13 00:18:50 +00:00
Enhancement: support speedtest v1.2 API (#4695)
This commit is contained in:
parent
cbacf458b2
commit
07dff4c8a5
5 changed files with 26 additions and 9 deletions
|
@ -8,7 +8,12 @@ Learn more about [Speedtest Tracker](https://github.com/alexjustesen/speedtest-t
|
|||
|
||||
No extra configuration is required.
|
||||
|
||||
This widget is compatible with both [alexjustesen/speedtest-tracker](https://github.com/alexjustesen/speedtest-tracker) and [henrywhitaker3/Speedtest-Tracker](https://github.com/henrywhitaker3/Speedtest-Tracker).
|
||||
Version 1 of the widget is compatible with both [alexjustesen/speedtest-tracker](https://github.com/alexjustesen/speedtest-tracker) and [henrywhitaker3/Speedtest-Tracker](https://github.com/henrywhitaker3/Speedtest-Tracker), while version 2 is only compatible with [alexjustesen/speedtest-tracker](https://github.com/alexjustesen/speedtest-tracker).
|
||||
|
||||
| Speedtest Version (AJ) | Speedtest Version (HW) | Homepage Widget Version |
|
||||
| ---------------------- | ---------------------- | ----------------------- |
|
||||
| < 1.2.1 | ≤ 1.12.0 | 1 (default) |
|
||||
| >= 1.2.1 | N/A | 2 |
|
||||
|
||||
Allowed fields: `["download", "upload", "ping"]`.
|
||||
|
||||
|
@ -16,5 +21,7 @@ Allowed fields: `["download", "upload", "ping"]`.
|
|||
widget:
|
||||
type: speedtest
|
||||
url: http://speedtest.host.or.ip
|
||||
version: 1 # optional, default is 1
|
||||
key: speedtestapikey # required for version 2
|
||||
bitratePrecision: 3 # optional, default is 0
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue