A smarter way to integrate your standing desk with Microsoft Teams

A number of months ago I integrated my standing desk with Home Assistant, so that it would automatically raise when I would join a call using Microsoft Teams.

Unfortunately, the solution was rather crude and limiting as it only worked for one of my two powered standing desks (in separate rooms), didn’t capture the desk current state or height, and relied on having a Raspberry Pi Pico W under the desk to act as a message relay to the Bluetooth module plugged into the controller.

As one of my colleagues says, I’m more of a software guy. Because of this, that same colleague (Lee Stevenson) had to help me by building the modules that allowed my desks to actually connect directly to Home Assistant.

The new solution is built using ESP2866 PCBs with RJ45 sockets that sit in between the physical panel as well as the desk controller.

 

What this allows me to now see is the current status and height of desk, as well as data and history.

image

image

image

image

And because it is now a sensor, I can do a bunch of things with it using templating and automations, such as aggregating the time spent between desks and displaying it as a visual.

image

image

 

The full code for the ESPHome modules, templates, sensors, automations, and dashboard card is available up on GitHub.


Also published on Medium.


Discover more from Loryan Strant, Microsoft 365 MVP

Subscribe to get the latest posts sent to your email.

5 comments

  1. Any chance you could share the schematics of the esp and Rj45 passthrough. I am very eager to do this. But am completely new to home automation and have really no idea on how to get started.

    1. If you have a read of the thread on the HA community site, one of tvr posts has the relevant schematics. I’m not a hardware guy, so had one of my colleagues build it for me. 🙂

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Loryan Strant, Microsoft 365 MVP

Subscribe now to keep reading and get access to the full archive.

Continue reading