AntoineGS / TeamsStatusV2

Monitoring your Microsoft Teams status with PowerShell
39 stars 6 forks source link

New Log File Appears to have Status / Presence Updates #28

Open latetedemelon opened 5 months ago

latetedemelon commented 5 months ago

As an FYI as you might be able to get this working more quickly than I. I'll take a look this weekend if possible.

C:\Users\username\AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\Logs

AntoineGS commented 5 months ago

I probably won't be working on this for some time as I am working on teams-status-rs. Here is the regex I am using in my unreleased version of that exe that gets additional information from the log file if you want to use it:

UserPresenceAction:.*availability: (?<status>[a-zA-Z]*)

A PR is welcomed though ;)

AntoineGS commented 5 months ago

Bad news for the Availability (not sure about in call, not in call as I get those from their API now), it does not log going back to the 'Available' status. :(

AntoineGS commented 5 months ago

I just remembered someone had posted something here that could help you: https://github.com/AntoineGS/teams-status-rs/issues/7#issuecomment-1913094747

latetedemelon commented 3 months ago

@AntoineGS I've forked the original repo and have it mostly working via monitoring the log file. Interestingly I'm having an issue triggering an update on "Available " but generally Availability is supported. More than happy if you want to steal anything, it's a real hack job (mine).

AntoineGS commented 2 months ago

Thanks, though I am not making active changes to this integration anymore as I am using the API-driven one now (which I have fallen behind on features too). PRs are welcomed though, I will happily merge new features/upgrades into it. :)