Trackers: ajoute le type torr9 (login JWT + /api/v1/users/me)

torr9 a une API Go dédiée (api.torr9.net) avec auth JWT (username/password).
Le ratio se calcule (total+bonus) up/down comme le frontend ; pas de champ
ratio dans l'API. Le passkey du compte ne sert qu'au RSS, pas au profil.
This commit is contained in:
jerem
2026-06-17 10:39:09 +02:00
parent 4680092f8a
commit 291a076759
2 changed files with 47 additions and 2 deletions

View File

@@ -41,12 +41,19 @@ MONITORINK_CODEX_TOKEN_FILE=/hermes/auth.json
# Liste des clés actives, puis UN bloc par tracker. v1 : type "unit3d_nuxt" (ex. c411).
# Le ratio n'est PAS lisible au token API -> login requis (username/password du compte).
# Laisser MONITORINK_TRACKERS vide pour masquer la section.
#MONITORINK_TRACKERS=c411
#MONITORINK_TRACKERS=c411,torr9
#MONITORINK_TRACKER_C411_LABEL=c411
#MONITORINK_TRACKER_C411_TYPE=unit3d_nuxt
#MONITORINK_TRACKER_C411_URL=https://c411.org
#MONITORINK_TRACKER_C411_USER=TonUsername
#MONITORINK_TRACKER_C411_PASS=TonMotDePasse
# torr9 : type "torr9" (API JWT dédiée). URL = sous-domaine API. Le passkey ne sert
# qu'au RSS, pas au ratio -> identifiant/mot de passe requis.
#MONITORINK_TRACKER_TORR9_LABEL=torr9
#MONITORINK_TRACKER_TORR9_TYPE=torr9
#MONITORINK_TRACKER_TORR9_URL=https://api.torr9.net
#MONITORINK_TRACKER_TORR9_USER=TonUsername
#MONITORINK_TRACKER_TORR9_PASS=TonMotDePasse
#MONITORINK_TRACKER_TTL=1800
# Home Assistant (optionnel) — laisser vide pour désactiver