/MeetingBulb

For my blog post describing my quick solution to turn a light bulb on/off based on my O365 Calendar schedule ("Light on" == I'm in a meeting)

MIT LicenseMIT

MeetingBulb

For my blog post https://blog.negativeeddy.com/2020/03/30/wfh-diy-meeting-light-bulb/ describing my quick solution to turn a light bulb on/off based on my O365 Calendar schedule ("Light on" == I'm in a meeting)

This is an ARM template which deploys the Logic App portion of the solution. The logic app checks my "busy" status on my calendar on a schedule. If I am busy it, calls a the LIFX API which turns a wifi light bulb on/off in my house. That way, my family knows I'm unavailable/available (and doesnt have to poke their head in and mime "are you on the phone?!?" all the time).

To deploy you will need your auth token from LIFX which you can get from your account settings page https://cloud.lifx.com/settings.

Deploy to Azure

Visualize

When first deployed, the "Get calendar view of events" activity will fail because it has not been authorized. Open the logic app editor and expand the Connections node. Then click the "!" under "invalid." That will initiate the authentication flow.

You can find your calendar ID by using the Graph Explorer and running the query "https://graph.microsoft.com/v1.0/me/Calendars"