Is it possible to create a routine to turn lights on/off when away?

Hi @freddyq

If none of your lights use zigbee light multifunction Mc driver then.

You can use Virtual Mirror switch device created with the Aplicaciones Virtuales Mc driver.

This device has a timer with the Random option:

  • In preference settings you choose the minimum and maximum time to calculate each random turn on and off.

  • Select Mirror and Switch profile

  • When you set Random mode manually or with a routine, a timer starts that calculates the time between the minimum and maximum random set values to turn On the switch and will show what time this change will occur.

  • When the switch is turned on, it calculates another new random time to turn it Off and will show the time when it will happen.

  • These random changes will persist indefinitely until you set Inactive mode manually or routine.

  • You can set routines to activate and deactivate it automatically at a certain time when the mode is Away.

    • Activation Routine

  • Deactivation Routine

My Channel link