Grab the usage of the microphone and trigger an availability lamp accordingly
After being "forced" to work from the home office by corona , I was increasingly confronted with the situation of family or roommates unintentionally bursting into the room during meetings. A friend then gave me an LED sign that could visually reflect my availability status.
Since the Microsoft Teams API for the presents is extremely cumbersome for privacy reasons, I coded a small workaround that also works for other programs.
To get a local copy up and running follow these simple steps.
git clone https://github.com/bremade/AvailabilityChecker.git
This is an example of how to list things you need to use the software and how to install them.
- Import Project to Visual Studio 2019
- Install needed packages
- Build the project using the release/debug config
press Ctrl + Shift + b
- Adapt marked configurations for MQTT-BROKER
- host
- topic
- user
- password
- Install PlatformIO plugin for Visual Studio Code
- Adapt platformio.ini for your corresponding micro controller
- Adapt marked configurations for MQTT-Broker and WIFI access
- ssid
- password
- mqtt host
- mqtt topic
- mqtt user
- mqtt password
For the async communication a mqtt broker is required. I used mosquitto on my raspberry pi. See in the Acknowledgements for a tutorial.
After installing and openening the programm the microphone status will be retrieved every 5 minutes. The interval can be adapted by changing the value INTERVAL_MINUTES
. The the task will stop automaticly after the enddate (8 hours aka one workday) is reached.
By using the controlls in the tray the status can be toggled manually.
Make sure that the mic in use icon is pinned in the taskbar
Distributed under the MIT License. See LICENSE
for more information.
Jan Bremauer - @BremauerJan - mail@bremauer.cc
Project Link: https://github.com/bremade/AvailabilityChecker