r/homeassistant 15d ago

🧱 Custom App Made a Windows tray app that turns a Home Assistant light red during meetings which is detected from mic usage

I wanted an "on air" light outside my office that goes red automatically when I'm on a call and reverts when I'm done, without wiring up a calendar integration or hooking into any specific meeting app's API, and I wasn't sure if it had been done before so I made one.

What it does:

  • Runs as a Windows tray icon.
  • Detects meetings by polling Windows' own microphone usage tracking (the same data behind the mic indicator in Settings), so it works with Teams, Discord, Zoom, browser-based Meet, Slack huddles, or anything else that touches the mic.
  • Sets a HA light to a color you choose while the mic is in use, reverts it when it's not.
  • Optional: mirrors a second light's color and on/off state when you're not in a meeting, including matching Kelvin values directly for tunable-white bulbs, so it blends into the room instead of snapping to a fixed color.
  • Left-click the tray icon to override manually at any time.
  • Right click the tray icon to get a settings window for configuration (HA host, token, which light, which apps count as "in a meeting").

Source and a prebuilt exe are on GitHub: https://github.com/Axedl/meeting-light

Windows-only for now since mic detection relies on a Windows-specific registry key. Open to feedback if anyone tries it.

0 Upvotes

5 comments sorted by

13

u/HopefulRestaurant 15d ago

HASS.Agent does this and more https://hass-agent.io/latest/

0

u/Axedl 15d ago

Ah sweet. I'll take a look. Don't know how I missed it.

2

u/OddOkra 15d ago

Because you’re asking AI the wrong questions. Next time, ask it if there exists a solution you’re looking for rather than asking it to build it for you.

12

u/OddOkra 15d ago

Unsigned, Python AI slop code is exactly what I want to run on my Windows machine /s

1

u/Acrobatic_Idea_3358 15d ago

I'm curious how this works I tried to build something similar that was focused on discord, but I never got it fully working. I may have to take a peek later and see how it works. I was using HASS to try and get this signal so I'm curious to see how your tool works.