Giter Site home page Giter Site logo

onlinestatuslight's Introduction

OnlineStatusLight

.NET app that controls a lighting service to show online status of Microsoft Teams

=> Current implementation for MS Teams which checks the Status by reading the local logs file.

"msteams": {
    "interval": 5,
    "logfile": "%appdata%\\Microsoft\\Teams\\logs.txt"
}

Currently, there are two services supported: Sonoff and Razer.

Sonoff

Details of the hardware implementation here: https://www.linkedin.com/feed/update/urn:li:activity:6895151178066579456/.

  • Red light turns on for Busy.
  • Green light turns on for Available.
  • Both lights turn on for Do Not Disturb (Presenting). Initial idea was to blink the red light but the switch makes a noise every time it is activated so I had to give up that idea.

Use this service by stating in appsettings.json or by omitting it completely:

"lightservice": "OnlineStatusLight.Application.SonoffBasicR3Service, OnlineStatusLight.Application"

Additional config:

"sonoff": {
    "red": {
      "ip": "192.168.0.62"
    },
    "green": {
      "ip": "192.168.0.61"
    }
}

Razer

  • Red light turns on for Busy, In a meeting and Do Not Disturb (Presenting).
  • Green light turns on for Available.
  • Yellow light turns on for Away
  • Purple light turns on for OutOfOffice

Use this service by stating in appsettings.json:

"lightservice": "OnlineStatusLight.Application.Razer.RazerLightService, OnlineStatusLight.Application.Razer"

Additional config:

"razer": {
    // true = will color the HeadSet device only. false = will color ALL Razer devices
    "headsetonly": true
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.