Skip to content

OStillman/HomeAssistantTeamsStatus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Assistant + Teams Status = Automation Glory

Before we start, thanks to the following for getting the majority of this going:

What does it do?

  • Tails the Teams Log for Status changes I.e. Away, Busy, Available etc.
  • Updates a Home Assitant Sensor with these status changes
  • Home Assistant then updates a Template Sensor to group these statuses better i.e. Busy, Inacall etc. all equal Busy
  • Update a PiZero with Blinkt! running to change to Red, Green or Amber (Busy, Available, Away)
  • Update on Workstation Lock/Unlock
    • Lock = Turn off Lights
    • Unlock = Lights on, assume Available
    • Also Switch the Room Lights on/off as desired

What else do I use it for (Home Assistant Automation Configuration):

  • Home Assitant Toggle for Concentration required allowing for me to play BBC Radio 1 if concentration is not needed, or BBC Radio 2 if concentration is required
  • On Away, Busy, Locked or Laptop Off stop the music
  • When back to availiable use the status of the Concentration toggle to play the correct Radio station

How do I set this up?

Please refer to the Wiki for a detailed setup flow. The general flow is:

  • Add PowerShell Scripts as required to Task Scheduler
  • Create Template Sensor in Home Assistant to take in Raw sensor details
  • Add Blinkt! code to Raspberry Pi with Blinkt!
  • Create Systemd services to run script each time
  • Add Home-Assistant Automations including:
    • Actions to take on different statuses
    • MQTT actions for Blinkt!

About

The most genius Working From Home Automation I've created so far!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published