I thought I can automate something around this. Having researched whether I could programatically check if I am in a Zoom call I found that this was possible via a custom Zoom Marketplace App hooking into the Zoom API but my employer would never allow me to run such App in my Zoom account. I looked on the web and found a very reliable way of checking if Zoom is on a call using lsof and checking for UDP traffic on the Zoom process. Here is the bash script I wrote:
- Code: Select all
#!/bin/bash
current_state=`/usr/sbin/lsof -i 4UDP | grep zoom.us | wc -l`
if [[ "$current_state" -eq "0" ]]; then
printf "false"
else
printf "true"
fi
I then bought a LED Neon On Air light on eBay:
And I used a Fibaro Relay Switch to control it. I run the Bash script every 2 seconds with an Indigo Schedule triggering an Action Group (probably a bit too frequent but doesn't seem to impact CPU), update a variable with the script output which then triggers the change on the LED sign. Now my wife and daughter can clearly see when I am in Zoom call