Page 1 of 1

"Day" in blockly dont work?

Posted: Thursday 18 February 2016 21:51
by Evelen
Today it's Friday.

Image
Why?

The goal is to get this to run on all weekdays, not this weekend

Re: "Day" in blockly dont work?

Posted: Wednesday 24 February 2016 10:04
by mrf68
I tested your first and last Blockly in v2.2762 and they work. I don't update that often, because 'if it ain't broke, don't fix it'. Maybe a bug?

EDIT: I just created a Windows test machine and installed Domoticz version 2.4739. I created a Blockly:

If Day = Wednesday
Do Write to log "It's wednesday"

Result: every minute this message appears in the log

Next test:

If Day > Tuesday
Do Write to log "It's after Tuesday"

Result: every minute the message appears in the log

Next test:

If Day > Tuesday and Time > 12:06
Do Write to log "It's after Tuesday and time is past 12h 06m"

Result: starting from 12:07, every minute the message appears in the log

Re: "Day" in blockly dont work?

Posted: Friday 26 February 2016 7:38
by Evelen
worked the next day for me.
Need to check some more