Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ashkyd/ato-wfh-timesheet-pingbot

A Node service that preiodically pings your computer, to tell if you're working from home.
https://github.com/ashkyd/ato-wfh-timesheet-pingbot

Last synced: 4 days ago
JSON representation

A Node service that preiodically pings your computer, to tell if you're working from home.

Awesome Lists containing this project

README

        

Apparently the ATO requires an hourly timesheet to prove you were working from home at any given time.

Anyway I thought I'd automate it: ping my work laptop from my home server and if it's online then I'm working from home. Easy!

# Caveats

- Macbooks respond to pings [even when they're asleep](http://cweiske.de/tagebuch/osx-sleep-ping.htm). Disable this in System Preferences > Energy Saver > Power Adapter > Wake for Wi-Fi network access. This will shut down the network interface ~1 minute after the Mac sleeps.
- I'm running this on my Docker host because it's simple enough, however I can't resolve local names from inside