feat: Add Uptime Kuma version check via Socket.IO
Retrieve the running Uptime Kuma version by authenticating over Socket.IO and reading the info event. This adds a new login_socket dataset field, the fetch_socket_info helper, and the python-socketio and websocket-client dependencies.
This commit is contained in:
parent
501a84e0a9
commit
f34e2f2d08
6 changed files with 90 additions and 0 deletions
|
|
@ -26,6 +26,8 @@ export MATRIX_HOMESERVER=...
|
|||
export MATRIX_ROOM_ID=...
|
||||
export MATRIX_ACCESS_TOKEN=...
|
||||
export UPTIME_KUMA_PUSH_URL=...
|
||||
export UPTIME_KUMA_USERNAME=...
|
||||
export UPTIME_KUMA_PASSWORD=...
|
||||
```
|
||||
|
||||
The script also reads `.env` automatically if present.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue