maxi07 / teams-presence Goto Github PK
View Code? Open in Web Editor NEWDisplays the current Microsoft Teams presence as LED with a raspberry pi.
License: MIT License
Displays the current Microsoft Teams presence as LED with a raspberry pi.
License: MIT License
It's works on my RPi 4 B but not on my RPi W.
I got the same version of the module but i can't seems to find the solution
How can this be adapted to work with a generic RGB LED hooked up via the GPIO?
The --brightness argument does not work. When doing values between 0.1 and 1, the script fails to run. It appears the argument is looking for an int type value instead of float.
The other issue with the brightness is there are 2 variables. brighness_led appears to be the variable adjusting the brightness while the --brightness arg changes the brightness variable. This fixed it for me:
if args.brightness: if args.brightness < 0.1 and args.brightness > 1: printerror("Value must be between 0.1 and 1") exit(5) brightness = args.brightness printwarning("Option: Brightness set to " + str(brightness))
Probably could do away with the 'brightness' variable all together.
it would be nice to have the light pulse red when in a call.
I keep getting
Failed to authenticate. 'access_token'
Failed authorizing, empty token (1/10). Will try again in 10 seconds.
Starting authentication workflow.
also, the appi id from the original page no longer works as well.
any ideas?
I was wondering if this is possible to add the 2FA authentification ? I would like to use the application but my account is protected with Duo Mobile. Feel free to pm me on Discord at thebabeu#1709
The Unicorn pHAT is not produced anymore. The successor is the Unicorn HAT mini. Could support be added?
Currently, the script only checks every 60 minutes, if the working time now begins. This can lead to a display delay of up to 59 minutes.
There is a little error on the main page.
Under the header 'Run the script' there is a line:
sudo python3 teams-presency.py
but this should be:
sudo python3 teams-presence.py
I have this setup and working with a UnicorHD LED hat. But I have to SSH in to start teams-presence.py and it quits working if I close out of the SSH session. I'd like to have this auto start when the Pi boots, and run indefinitely. I've tried using auto-start like this https://www.raspberrypi-spy.co.uk/2015/02/how-to-autorun-a-python-script-on-raspberry-pi-boot/ but I have to connect with a monitor and keyboard to complete the azure config, and then after half an hour or so it will need me to re authenticate with microsoft. I've also tried setting up systemd to run the script as a service, but I wasn't successful with that either.
Is there a good way to handle auto starting teams-presence.py that will keep it running indefinately.
I love this project and have one setup outside my home office and at my work office.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.