Adding a rules language to Philips Hue lighting automation

{hour gte 20,<Living room> none,[Kitchen night light] off} [Kitchen night light] on

Peg.js

Language design

Sunrise and sunset

Putting it together

Putting it together

Next steps

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store