![]() $lineNum = (($fileContents | Select-String ‘Setting the taskbar overlay icon’). This was a very useful feature which should be carried over to WebEx client. $fileContents = Get-Content -Path “C:\Users\zzzz\AppData\Roaming\Microsoft\Teams\logs.txt” -Tail 100 Automatically set status to Inactive like Jabber (timer, screen lock) - add option Jabber has a feature which allows you to automatically have your status set to away when you are idle for X minutes or lock your screen. Seems to work ok, I use MQTT to update HA and have ordered a Unicorn mini HAT for a Pi Zero WH to create my status lamp (this will listen to an MQTT topic that HA will be in control of, turning lamp off when outside of working hours etc) I chose to only look for the string “Setting the taskbar overlay icon”, but maybe that’s limiting me somehow. However, if we do this, the request locks up the script while it waits for the response from the API, which means that if you want to use dynamic displays on the pHAT, like the Rainbow effect, it will freeze while it waits for the request to return. Hi hacked your powershell so it can deal with rapid update changes by only looking at the very last presence update. Webex Teams status API check This should respond with your current status. Note that Teams will automatically set your status from Available to Away when the Teams app is in the background. Here’s more detail about each kind of status that you change: Available is when you’re active in Teams and don’t have anything in your calendar (no meetings or calls, for example). You can archive those inactive spaces to get rid of the clutter. Then, tap your status to view your options. alias: Update status light when work PC inactiveĮntity_id: input_boolean.win10_work_laptop_active You may have spaces in Webex Teams that no one is using anymore. I then use this automation to turn off the indicator light: automation: I went the Powershell route here and I think my code is quite optimized: it requires only one line and works flawlessly! Get-Content $env:APPDATA\Microsoft\Teams\logs.txt -Wait -Tail 0 | ? 'Įntity_id: input_boolean.win10_laptop_active
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |