Snooze timer event

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
TonB
Posts: 11
Joined: Thursday 18 February 2021 21:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Snooze timer event

Post by TonB »

I have created a group called "All OFF"
When this group is activated, all of my lights will turn of in a specific sequence and interval.
For example, all outdoor lights are switched off immediately, living room 2 minutes later, and hallway stays on for 2 minutes, so i can find the door and walk the stairs safely to bed :)

Currently I'm using a Klikaan-Klikuit smart wall socket (ZCC-3500) to switch on/off my livingroom light.
On top of this switch ther is a small switch to manually switch it on or off.

What I want to do is, when the timer of the group "All Off", wich is activated every night at 23:30, is activaded, the livingroomlight turns off immediately.
If I do nothing, the sequence will continue to kill all the lights, BUT, when I manually switch on the livingroomlight, using the KaKu switch, I would like to snooze the timer function with, let's say 15 or 30 minutes.

So, is it possible to intterupt this sequence and trigger it again after 30 minutes when i pressed the KaKu button.
rrozema
Posts: 470
Joined: Thursday 26 October 2017 13:37
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Delft
Contact:

Re: Snooze timer event

Post by rrozema »

Without the script you're using we can't do much to help you.
TonB
Posts: 11
Joined: Thursday 18 February 2021 21:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: Snooze timer event

Post by TonB »

I've managed to create some Lua scripts to make it work :)
If someone is interested I can post the solution.
User avatar
Xenomes
Posts: 416
Joined: Tuesday 27 November 2018 19:05
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Snooze timer event

Post by Xenomes »

We are always interested 😅
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2025.1 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest