Added controller watch

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-18 10:47:27 +09:00
co-authored by Claude Opus 5.5
parent da68e9b140
commit 6e188cc307
2 changed files with 83 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# Logs when the arm/body controller 192.168.10.90 drops off the robot LAN or comes back
# (logs/controller_watch.log). Install (once):
# cp ~/Dev/lumi-wave/lumi-ctrlwatch.service ~/.config/systemd/user/
# systemctl --user daemon-reload && systemctl --user enable --now lumi-ctrlwatch
[Unit]
Description=Lumi controller (192.168.10.90) watch
[Service]
WorkingDirectory=/home/cutshion/Dev/lumi-wave
ExecStart=/usr/bin/python3 tools/controller_watch.py
Restart=always
RestartSec=10
[Install]
WantedBy=default.target