switch livingroom off and after 30 seconds bedroom lights on for 5 minutes

Moderator: leecollings

Post Reply
bhennink
Posts: 6
Joined: Monday 10 June 2019 13:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Nederland
Contact:

switch livingroom off and after 30 seconds bedroom lights on for 5 minutes

Post by bhennink »

Hi I am a bit new to Domiticz and I have figured out quite a lot.
I understand how I can create scenes
I also want to use the random function to hide absense.

Nu I want to create a scene with the folowing settings
It is called "to bed" and in the devices I have:

Woonkamer Ledstrip Off 51 % 0 0
Slaapkamerlamp On 100 % 30 300


I did some test where I switch on the light at a certain time and an off delay set at 300 sec.
I have that light on the timer and it turns on as expected but it does not switch of after 300 sec.
:o

what I programmed for this test:
Name State Level On Delay Off Delay Order
Woonkamer Ledstrip - 84 % 0 300

I expected this to be on for 5 minutes
Where did I understand this wrong?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: switch livingroom off and after 30 seconds bedroom lights on for 5 minutes

Post by waaren »

bhennink wrote: Monday 10 June 2019 17:39 Now I want to create a scene
I do not quite understand what you mean but this scene switch the 'Bedlampjes' On after 30 seconds and to Off after 300 seconds and the 'LM46 tafel links' to On after 3 seconds and to Off after 30 seconds.
Hope this helps
2bed.png
2bed.png (139.22 KiB) Viewed 975 times
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
bhennink
Posts: 6
Joined: Monday 10 June 2019 13:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Nederland
Contact:

Re: switch livingroom off and after 30 seconds bedroom lights on for 5 minutes

Post by bhennink »

I think the problem is that the woonkamer ledstrip was used twice with the Off delay at different values.
I have the feeling it is working now, but need to do some more testing
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest