Skip to content

bremade/AvailabilityChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


drawing

Availability Checker

Grab the usage of the microphone and trigger an availability lamp accordingly



About The Project

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.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

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.

Windows Application

  1. Import Project to Visual Studio 2019
  2. Install needed packages
  3. Build the project using the release/debug config
    press Ctrl + Shift + b
  4. Adapt marked configurations for MQTT-BROKER
    • host
    • topic
    • user
    • password

ESP Application

  1. Install PlatformIO plugin for Visual Studio Code
  2. Adapt platformio.ini for your corresponding micro controller
  3. Adapt marked configurations for MQTT-Broker and WIFI access
    • ssid
    • password
    • mqtt host
    • mqtt topic
    • mqtt user
    • mqtt password

MQTT Broker

For the async communication a mqtt broker is required. I used mosquitto on my raspberry pi. See in the Acknowledgements for a tutorial.

Usage

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.
Controls of trayicon

Make sure that the mic in use icon is pinned in the taskbar
Pinned mic use icon

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Jan Bremauer - @BremauerJan - mail@bremauer.cc

Project Link: https://github.com/bremade/AvailabilityChecker

Acknowledgements

About

Grab the usage of the microphone in Windows 10 and trigger an availability lamp accordingly.

Resources

License

Stars

Watchers

Forks