TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Automatically Light Up a Sign When Your Webcam Is in Use

132 pointsby marbuover 3 years ago

9 comments

mleoover 3 years ago
For meetings I now have 3 effects. 1. At 1 minute to meeting start the meeting subject is announced on Sonos speakers to awake me from focus. This uses Node to query my Office365 calendar.<p>2. Two Pi Zeros with LED hats light up during Zoom meetings. This uses the Zoom APIs to receive webhook events that are published to MQTT. The PIs listen to MQTT and adjust the light colors.<p>3. I have a color changing Pac-Man Ghost light behind me that turns off during video meetings. In this case, my home automation system listens to MQTT events and turns the plug off and on.<p>Extra. I used the Node&#x2F;Office365 calendar querying to light up PI LEDs for wife’s meetings and kid’s meetings. I didn’t feel like trying to deal with another company’s Teams API or school’s Zoom settings. The kids meetings were also announced over Sonos in the area of home they were working. It worked well enough we didn’t have to look after them every time class started.
nyirover 3 years ago
The top answer on SO that I found (<a href="https:&#x2F;&#x2F;unix.stackexchange.com&#x2F;a&#x2F;344463&#x2F;91434" rel="nofollow">https:&#x2F;&#x2F;unix.stackexchange.com&#x2F;a&#x2F;344463&#x2F;91434</a>) also uses this way of determining whether the device is being used - is that really the best way, or is there anything to actually query the device? E.g. my webcam has a light already that is only active when images are being captured(?), shouldn&#x27;t it be possible to query that bit of information directly?
评论 #28327117 未加载
评论 #28330257 未加载
评论 #28332130 未加载
stragiesover 3 years ago
It&#x27;s a real shame, that USB-Hub manufacturers do not in general implement the Per-Port-Power-Control part of the spec. That would be so useful to controlling 5V&#x2F;12V powered devices. With QC3.0 to barrel-jack-12V adapters a USB-HUB with PPPC(and QC3) would be a godsend.
aksssover 3 years ago
I switched over to using a camcorder with a power switch and electric lens cover. It sits on small tripod behind my monitors, has far better color correction&#x2F;white balance controls than most webcams out there that I’m aware of. But it makes it quite evident when it’s in use vs not, as the physical lens cover is electronically tied to its power status (automatically shuts when off) and the device is not present to the OS at all when device is powered off. So far zero problems with using it and OBS when flipping its power state back and forth multiple times in a day. Teams&#x2F;Windows handles the presence&#x2F;absence gracefully and quickly. It’s also nice to have an IR remote for it, though I rarely use it. I think the only thing to watch out for in this set up - that is potentially inherently worse than a webcam - is latency of video signal. You get what you pay for in cameras, so a cheap camcorder outputting over hdmi may introduce unbearable latency in video signal.
评论 #28332427 未加载
jhenkensover 3 years ago
Seems so much effort was spent on the lighting of a sign. Put it on a smart switch with a spare USB power adapter - I&#x27;m sure the author has a dozen - and control it via rest, MQTT, HomeAssistant, anything.<p>Pros: Not physically tied to PC. Cons: Another wifi device, unless you&#x27;ve already got a z-wave&#x2F;zigbee stack setup you can piggyback on.
评论 #28330722 未加载
monkeydustover 3 years ago
This is great, but all the fancy tech signage in the world won&#x27;t stop by 2 year old trying to barge in at the worst time possible.
rcarmoover 3 years ago
I would suggest Zigbee LED strips. Cheap, can be made as unobtrusive as needed, etc.
robblesover 3 years ago
Is there a similar way of detecting the web cam in use on macOS?
评论 #28330408 未加载
评论 #28330169 未加载
评论 #28372130 未加载
评论 #28330890 未加载
评论 #28330280 未加载
评论 #28330155 未加载
vernieover 3 years ago
Is there a macOS equivalent of this query?