Possible to add a Mouse Jiggler?
By @ppxntwq
Would like to be able to keep remote device awake that doesn't have typical "sleep" settings.
Linked from:
- Michael Lynch @michael2021-02-24 21:20:59.884Z
It's unlikely that I'll add this to the web app anytime soon, but you can do this easily with a shell script.
If you SSH in to your TinyPilot and run these commands, it will jiggle the mouse every three seconds.
wget https://gist.githubusercontent.com/mtlynch/906534da530482e9afcf1e1309b3dbbe/raw/3e51ba4fe87d609503d19cf1404d259d1a1ea9e2/tinypilot-jiggle.bash chmod +x tinypilot-jiggle.bash ./tinypilot-jiggle.bash
The script is pretty straightforward, so you can modify it to tweak the timing:
https://gist.github.com/mtlynch/906534da530482e9afcf1e1309b3dbbe
- TIn reply toppxntwq⬆:Brandon Friesen @TCW
I would like to see this added to the WebUI. I have a hardware based jiggler that moves the mouse cursor 1pixel at a time but it would be nice not to have to plug another device into the target machine.
Michael Lynch @michael2022-06-24 19:32:55.897Z
Thanks for the feedback!
Have you tried using the software-based jiggle script above?