hack-together
hack-together copied to clipboard
Project: Presence to Home Assistant
Project name
Presence to Home Assistant
Description
I built an system tray app (windows forms) that using Microsoft Graph and Home Assistants API controls a the color of a lamp that sits outside my office - that way others know before entering the office if I'm in a call or not
The code is designed to be easily reused to do different things, the PresenceWatcher that is responsable for keeping an eye on they users presence accepts multiple subscribers, so if you wanted to control several lights, you could do that, if you wanted to integrate to a timetracking system you could do that, possibilities are endless
Repo URL
https://github.com/Tanddant/Teams-Presence-to-Home-Assistant
Team members
Tanddant
Very cool! Thank you for sharing your hack with us! 👏
This sound really promising! Awesome experiment with the TrayApp, I never got my mind around that. It's just console apps for me.
Pretty sure my Trayicon implementation would terrify people who know what they're doing 😂
First time ever even creating a windows form app, but got it working!
Hey @Tanddant awesome project! Would you mind recording a short video walkthrough of your hack? Any format will work. It's not required for the hackathon but it would help us showcase your work both internally at Microsoft and publicly in the community. 😊
Hi @aycabas,
When you say a walkthrough, what do you mean, like walkthrough of the code or? 😊
I made a demo video initially demonstrating what it does, but I'm assuming you're looking for something else? - I'm more than happy to help
https://www.youtube.com/watch?v=v89xS8rHM74
This video is good @Tanddant! 👍
@waldekmastykarz Awesome, here by my full consent to use any random tool to rip the video from YouTube 😅 - let me know if you want the raw video, the file is rather large, so didn't wanna toss it in the repo
https://support.microsoft.com/en-us/office/connect-third-party-devices-to-teams-aabca9f2-47bb-407f-9f9b-81a104a883d6 👀
Local api for meeting status.