Page 1 of 1

Simple Blocky script not working

Posted: Tuesday 09 October 2018 19:22
by RapTile
Hi,

For some reason i can't get some events to work so i tried to work with some demo switches to test a simple script.
For some reason this isn't working.
The attachment Screen Shot 2018-10-09 at 19.15.53.png is no longer available

The logfile:
2018-10-09 19:05:55.727 Status: EventSystem: reset all events...
2018-10-09 19:06:04.912 Status: User: Admin initiated a switch command (48/one/On)
2018-10-09 19:06:09.502 Status: User: Admin initiated a switch command (49/two/On)

The "Show current states" window
Screen Shot 2018-10-09 at 19.15.53.png
Screen Shot 2018-10-09 at 19.15.53.png (50.44 KiB) Viewed 1177 times
Eventsystem is enabled in the settings menu.

I updated to version: 4.10049 but this doesn't get it to work either.

What am i doing wrong here?

Thanks in advance for your help!

Re: Simple Blocky script not working

Posted: Tuesday 09 October 2018 20:01
by StanHD
Replace the "if do" block with the one without the blue gear. The one with the blue gear only works if there is an else condition added.

Re: Simple Blocky script not working

Posted: Tuesday 09 October 2018 21:06
by RapTile
StanHD wrote: Tuesday 09 October 2018 20:01 Replace the "if do" block with the one without the blue gear. The one with the blue gear only works if there is an else condition added.
Wow, it was that simple...
Thanks a lot!!