aw-watcher-afk
aw-watcher-afk copied to clipboard
Watches keyboard and mouse activity to determine if you are AFK or not (for use with ActivityWatch)
I suggest that whenever loginwindow is the current window on macOS, the state be changed to AFK. loginwindow is what is shown when the computer is locked, which means the...
Using this on Windows, I tried several different patterns to avoid Microsoft Teams to be registered as AFK, (Teams, Teams.exe, Microsoft Teams) but it always shows AFK in the timeline...
While experimenting with analysing the watcher data separately, I noticed that data often is doubled, with two events starting at identical timestamps but with different durations. Here are two screenshots...
Hi there! thanks for ActivitWatch, this is a very nice tool! I'm trying to track the computer usage of my daughter (in cooperation with her), and I noticed a difference...
I've not looked into what APIs might be available but I would love to have the AFK detection be able to detect when I'm on a video conference and listening...
This library might be useful: https://github.com/zeth/inputs Unfortunately it doesn't seem to be very well maintained, but worth a try. I should add that this issue has quite some history... 
Was wondering for a long while why I didn't get any activity data visualized despite the buckets being updated regularly. I now noticed I have a 54h 14m 27s long...
See comment here: https://github.com/ActivityWatch/aw-watcher-afk/pull/14/files/f7bc0a6e87bfe69e37fa90fec97864b0531d2c1c#r112380224 - [Microsoft docs about GetTickCount](https://msdn.microsoft.com/en-us/library/windows/desktop/ms724408(v=vs.85).aspx) - [Microsoft docs about GetLastInputInfo](https://msdn.microsoft.com/en-us/library/windows/desktop/ms646302(v=vs.85).aspx)
One aspect of this seems difficult: We'd want to log the number of keystrokes **per window**, so that'd mean we have to couple the keycount event duration to the window...