Simple Blocky script not working

Post Reply
RapTile
Posts: 58
Joined: Saturday 10 March 2018 3:01
Target OS: Raspberry Pi
Domoticz version:
Contact:

Simple Blocky script not working

Post by RapTile » Tuesday 09 October 2018 19:22

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 182 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!

User avatar
StanHD
Posts: 590
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

Re: Simple Blocky script not working

Post by StanHD » 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.
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Domoticz Slave - Asrock Ion - Linux, Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa

RapTile
Posts: 58
Joined: Saturday 10 March 2018 3:01
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Simple Blocky script not working

Post by RapTile » Tuesday 09 October 2018 21:06

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!!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest