[Problem] Event with time won't trigger

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

[Problem] Event with time won't trigger

Post by edozwart » Thursday 16 November 2017 11:52

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 1063 times

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

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

Post by edozwart » Friday 17 November 2017 16:23

help!! ;) anybody?

User avatar
emme
Posts: 931
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

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

Post by emme » Thursday 23 November 2017 10:21

neasted if will not work in blokly ;)
The most dangerous phrase in any language is:
"We always done this way"

askmurphy
Posts: 34
Joined: Friday 03 October 2014 22:51
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

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

Post by askmurphy » Monday 27 November 2017 17:17

I have the same problem:

http://prntscr.com/hfwzgs

The time option doesn't work at all ??? Any help will be appreciated,,,,

GJvdP
Posts: 4
Joined: Thursday 30 November 2017 1:33
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Arnhem, the Netherlands
Contact:

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

Post by GJvdP » Thursday 30 November 2017 1:40

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: 103
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 » Thursday 30 November 2017 10:30

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 21:27
Target OS: Windows
Domoticz version:
Contact:

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

Post by edozwart » Monday 25 December 2017 3:05

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 669 times

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest