google / calblink

Blink(1) monitor for Google Calendar
Apache License 2.0
44 stars 14 forks source link

Add support for working locations once it is released #42

Closed kazrakcom closed 10 months ago

kazrakcom commented 1 year ago

https://developers.google.com/calendar/api/user-availability/reference/rest

Once this is made available, it should be possible to mark that the LED should or should not blink based on where the user's working location is, either as an allowlist (only blink at specific locations) or as a blocklist (do not blink if in specific locations).

kazrakcom commented 11 months ago

Reoved 'blocked' because the API is now generally available. I'll try to investigate this between Christmas and New Years. It looks like what needs to happen is that we request 'workinglocation' events, which will then come in as separate events that we'll need to handle. It may be worthwhile to, instead, request workinglocation separately so we can short-circuit if the workinglocation is not what we want.