Teams Busy LED
I needed to get a Teams Busy LED Lamp up and running quickly. I managed to do this using two Open Source projects.
I was aware of PresenceLight by Isaac Levin. He has done a great job of adding support for various Smart Lights such as LIFX, YeeLight, Philips Hue, etc... I didn't have any of those Smart Lights.
I did have a spare Raspberry Pi Zero (one of many! You know you have a drawer full of Pi's also.) and a WaveShare RGB pHAT. Maybe I intended to do this project a while ago and didn't get to it, no that never happens.
So when you google this you generally will find the blog post by Elio Struyf for his project and he's using homebridge to manage the presence.
I didn't want to go to the bother of setting up homebridge as I am already running Home Assistant.
However Elio wrote what he calls the Unicorn Busy Server that runs on a Pi and controls the colours of the the WaveShare RGB pHAT and he designed it in such a way that all is required is a simple API call to change the colour of the RGB HAT, so calling http://192.168.0.110:5000/api/green would change the LED's to, you gussed it, green!
So once that was set up, it was then a case of popping in the URLs to Presence Light App's Custom API tab and with that you have a working Teams Busy Lamp.
I haven't gone into lots of details of how to do this here as it's covered in the links provided.
- PresenceLight by Isaac Levin : isaacrlevin/presencelight: PresenceLight is a solution to broadcast your various statuses to light bulbs. (github.com)
- Elio's Project : estruyf/unicorn-busy-server: Simple busy light server for Raspberry Pi Zero and Pimoroni Unicorn Hat (github.com)
I would like to take Elio's Unicorn Busy Server and have the Pi boot up, broadcast it's own Wi-Fi hotspot to allow the user to connect to their own LAN and then do the Team's authentication on the Pi and that would elimiate PresenceLight and it would be one simple device, in the mean time, the above is a great way to get a Teams Busy Lamp/LED up and running quickly.