Client Kobo (overlay trmnl-kobo) + README + sonde usage

This commit is contained in:
2026-06-15 10:52:04 +02:00
parent bc4cf89a4b
commit e5ea377199
6 changed files with 200 additions and 0 deletions

18
kobo/monitorink.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/sh
# Monitorink — point d'entrée lancé par NickelMenu.
# Configure quelques paramètres puis lance la boucle d'affichage.
BASE="/mnt/onboard/.adds/Monitorink"
cd "$BASE" || exit 1
# --- Configuration (adapter au besoin) ---
export MONITORINK_URL="http://monitorink.homelab.nestor-server.fr/image.png"
export MONITORINK_REFRESH=600
# Gouverneur CPU économe pendant les phases actives.
for gov in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do
echo ondemand > "$gov" 2>/dev/null
done
# Lance la boucle (journalisée). exec pour ne pas laisser de process orphelin.
exec sh "$BASE/monitorinkloop.sh" >> /tmp/monitorink.log 2>&1