Search found 7 matches

by hoff
Sunday 05 February 2017 19:49
Forum: Blockly
Topic: Timers do not work - in Blocky and in general
Replies: 12
Views: 4818

Re: Timers do not work - in Blocky and in general

What Nautilus recommended actually seems to do the trick. Thanks for the hint.

It's strange though, how Blocky works in Domoticz. I am far from professional regarding coding skills, but Blocky is quite illogic.
by hoff
Tuesday 31 January 2017 20:18
Forum: Blockly
Topic: Timers do not work - in Blocky and in general
Replies: 12
Views: 4818

Re: Timers do not work - in Blocky and in general

Reply to myself :-) I found the problem. Seems like the motto of Apple fits here: "It's not a bug, it's a feature" XD I realized that Domoticz did not set the brightness back to "Level: 0" but to a strange percentage of "Level: 83" (or something). That brightness was set in the "switch section" of ...
by hoff
Tuesday 31 January 2017 19:28
Forum: Blockly
Topic: Timers do not work - in Blocky and in general
Replies: 12
Views: 4818

Re: Timers do not work - in Blocky and in general

ARGH! I'm such an idiot ... I just realized what a stupid idea it was to set a timer for the movement switch ... I thought it might actually activate or deactivate the functionality of the movement sensor, but it just override the on/off signal of the sensor. D'oh! Therefore, I need a virtual switch ...
by hoff
Tuesday 31 January 2017 19:24
Forum: Blockly
Topic: Timers do not work - in Blocky and in general
Replies: 12
Views: 4818

Re: Timers do not work - in Blocky and in general

Well, kalinkamaen ... thanks for your idea. I'm actually trying that right now. Looks promising atm. I have two identical setups, one in the hallway, the other one in the bedroom. I use the second one to try something else: I could use the switch from the Fibaro motion sensor and set a timer ...
by hoff
Monday 30 January 2017 20:05
Forum: Blockly
Topic: Timers do not work - in Blocky and in general
Replies: 12
Views: 4818

Re: Timers do not work - in Blocky and in general

Alright, new problem. The following script works for turning the light bulb on during the time frame given. However, the light is not turned off after one minute. https://picload.org/image/rolgiaci/script2.png Oh, and I just realized that even if there is no movement in the hallway, the light turns ...
by hoff
Monday 30 January 2017 19:44
Forum: Blockly
Topic: Timers do not work - in Blocky and in general
Replies: 12
Views: 4818

Re: Timers do not work - in Blocky and in general

Nested if-blocks don't work at all? Why not?

Do nested if-conditionals work in lua or python?

I just tried what you suggested ... and it worked ... nice! Thx!

But nevertheless, I don't get why I cannot use nested if-blocks ...
by hoff
Monday 30 January 2017 18:43
Forum: Blockly
Topic: Timers do not work - in Blocky and in general
Replies: 12
Views: 4818

Timers do not work - in Blocky and in general

Hello, since about two weeks I've got Domoticz and in general, this is an impressive piece of software. I keep discovering new functions and possibilities almost every day. However, there's one thing I still can't get my head around: TIMERS! In Blocky, simple "if"-conditions work, like if SENSOR ...