Skip to main content

Posts

Showing posts with the label lightwave

Automatic Kitchen Lights

We recently purchased Hue bulbs for our Kitchen they’re great, but since we already have an RFXCom 433 unit (as per my blog on automating hifi), we wanted to automate the lights and invested in a Lightwave PIR motion sensor.  I downloaded Domoticz [ http://domoticz.com/ ] on an SD Card for my Raspberry PI and also installed node-red [ http://nodered.org/ ] a tool for filtering and processing MQTT messages.  Domoticz is used to store the state of the motion sensor and is configured to emit an MQTT message whenever the state changes.  We also wanted the lights to have a different colour depending on the time of day we enter the kitchen, for example during the evening we might want a relaxing light, meal times a white light above the dining table and during the day some multi coloured lights, but not change them if they've already on.  For each of the time slots of the day, a template has been created containing the settings of each of th...