On Wed, Jan 12, 2022 at 1:37 AM Jake via sudo-discuss <sudo-discuss@sudoroom.org> wrote:
I've set up a jitsi terminal on the wall in Sudoroom!


It's a big TV made by Hitachi, and it has a feature where it can go into "power
saving" mode when the HDMI signal is lost.  That means the screen can power
down when DPMS puts the monitor to "sleep".  It has a webcam that's clearly
labeled, and on a hinge so it can easily be aimed down at the floor if people
are shy, and it has a Jabra USB speaker/microphone thing which should hopefully
provide good speakerphone functionality.  I have the computer setup to start
firefox, and i have firefox set to open the jitsi page, where permissions are
already enabled for webcam/audio.  The only remaining need is to automatically
wake the monitor from sleep (using "DISPLAY=:0 xset force dpms on") whenever
there is anyone else detected in the jitsi "room"

I wrote a short program that can trigger a command based on downstream bandwidth usage:


Maybe that's enough to solve this problem? I think the XMPP client method might be best though.