"Day" in blockly dont work?

Moderator: leecollings

Post Reply
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

"Day" in blockly dont work?

Post by Evelen »

Today it's Friday.

Image
Why?

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

Re: "Day" in blockly dont work?

Post 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
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: "Day" in blockly dont work?

Post by Evelen »

worked the next day for me.
Need to check some more
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest