[Problem] Event with time won't trigger

Moderator: leecollings

Post Reply
edozwart
Posts: 10
Joined: Sunday 12 November 2017 20:27
Target OS: Windows
Domoticz version:
Contact:

[Problem] Event with time won't trigger

Post by edozwart »

Hi,

I just installed Domoticz on my Synology NAS, added 4 lamps and manually it is working very sexy :D

but, I want to automate this with making use of time/days and made this very simple example, but does not work:

check attachment

I tried without days or even more simple, when it is OFF, Set is On, nothing seems to be responding.

If you can take a look, please do, highly appriciated.

Thanks!
Attachments
Blockly.PNG
Blockly.PNG (12.53 KiB) Viewed 1836 times
edozwart
Posts: 10
Joined: Sunday 12 November 2017 20:27
Target OS: Windows
Domoticz version:
Contact:

Re: [Problem] Event with time won't trigger

Post by edozwart »

help!! ;) anybody?
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: [Problem] Event with time won't trigger

Post by emme »

neasted if will not work in blokly ;)
The most dangerous phrase in any language is:
"We always done this way"
askmurphy
Posts: 30
Joined: Friday 03 October 2014 22:51
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: [Problem] Event with time won't trigger

Post by askmurphy »

I have the same problem:

http://prntscr.com/hfwzgs

The time option doesn't work at all ??? Any help will be appreciated,,,,
GJvdP
Posts: 19
Joined: Thursday 30 November 2017 0:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Arnhem, the Netherlands
Contact:

Re: [Problem] Event with time won't trigger

Post by GJvdP »

I am also a Newby in this.
But if I look at your time statement, that is always true.
From 10 to 0:00 it is true and from 0:00 till 14 it is true, so always
I think you mean "and" instead of "or" so it is true between 10 and 14 hour.
JimmyH1969
Posts: 153
Joined: Tuesday 28 June 2016 16:38
Target OS: Windows
Domoticz version: Beta
Location: Amersfoort NL
Contact:

Re: [Problem] Event with time won't trigger

Post by JimmyH1969 »

Nesting IF statements wont work

The second time thingy < 14:00 wont do anything because it is switched on at 10:01 and not somewhere between 10:00 an 14:00
You probably need a else if statement like this as well

If Living Lamp = off AND day = Thursday AND time > 10:00
switch on
Else if Living Lamp = on AND day = Thursday AND time > 14:00
switch off
edozwart
Posts: 10
Joined: Sunday 12 November 2017 20:27
Target OS: Windows
Domoticz version:
Contact:

Re: [Problem] Event with time won't trigger

Post by edozwart »

hi guys! thanks for your help! I re-installed domoticz because the version seems to be not working, I also created another blockly script and this is working very nicely (also possible to turn off the lights manually with the remote)
Attachments
Knipsel.PNG
Knipsel.PNG (47.88 KiB) Viewed 1442 times
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest