Physical Universal Remote for OpenHAB

I’ve posted my lighting setup here.

I don’t have PIRs so I only use time of day and weather conditions to control my lights. However, the first posting on the above thread has bob_dickenson’s approach to manage that.

The tl;dr description is:

  • Some items and rules to to keep track of time of day driven by cron triggers and astro events
  • Put lights in groups and make rules that when triggered loop over the members of the group to turn on or off lights based on current conditions (time of day or weather). If a light is manually toggled it is marked as overridden and will keep changes because of changes to the weather conditions from switching a light.
  • bob-dickenson’s proxy design pattern where you create a proxy Item to control a light and rules that can handle PIR and other conditions to determine whether to actually turn on or off the light.