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
|
|
@ -15,3 +15,7 @@ MATRIX_ACCESS_TOKEN=replace-with-access-token
|
|||
|
||||
# Uptime Kuma push URL
|
||||
UPTIME_KUMA_PUSH_URL=https://uptime.example.net/api/push/your-token
|
||||
|
||||
# Uptime Kuma login for version check
|
||||
UPTIME_KUMA_USERNAME=your-username
|
||||
UPTIME_KUMA_PASSWORD=your-password
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue