OpenHAB + Auto-off lights after specific time.

This is another idea how to configure sort of settings to control our lights. In my apartment all the time someone forgets to turn off lights. As I replaced all wall switches with Sonoff Touch Wall switches I tried to figure out new settings section in OpenHAB GUI to set auto-OFF light after certain time.

First let’s create items:



Setpoint type generates switch with stepping setting. Her every 15 minutes.


Rules are only for kitchen 2 lights. Once one of the light turn on stopAlarmTimer is starting for the number of minutes taken from Item myTimer_kitchen.state.

final result


You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *