Skip to content

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)

License

Notifications You must be signed in to change notification settings

negativeeddy/MeetingBulb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

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"

About

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)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published