Search found 6 matches
- Saturday 18 May 2019 4:21
- Forum: Blockly
- Topic: Why is the last "SET" always being triggered? Driving me nuts
- Replies: 1
- Views: 858
Why is the last "SET" always being triggered? Driving me nuts
Hi, Sorry for posting so much, but once I figure out the previous problem, a new one comes up. So basically as you can see in these pictures, for some reason no matter what is in the "else if" statement, it will ALWAYS trigger the last "SET" action. It is really driving me mental, cause it makes no ...
- Friday 17 May 2019 19:41
- Forum: Blockly
- Topic: How do i stop this from looping forever?
- Replies: 3
- Views: 971
Re: How do i stop this from looping forever?
I'm not sure, but maybe it works if you set the WallSwitch1 to Off in your actions. I tried this, but it stops the action of the light. For example: I press button when light is on, it starts to turn light off (Light starts to dim) then stops (Light is still on) then press again, and it starts to ...
- Friday 17 May 2019 6:40
- Forum: Blockly
- Topic: How do i stop this from looping forever?
- Replies: 3
- Views: 971
How do i stop this from looping forever?
Hi, I have a script which should turn the light on, when the wall remote button is pressed. I had to do this weird work around as you can see to get it to to work. Ok so when I do one if statement at a time (Only have the turn light on command) It works, but putting both the if and else if statement ...
- Thursday 16 May 2019 18:38
- Forum: Blockly
- Topic: How do I trigger the script?
- Replies: 5
- Views: 1300
Re: How do I trigger the script?
Im at work at the moment, ill attach a screenshot later, but when i use group/scene (add button as the activation device, and the light as the thing that gets changed) it works fine. So it must all be there and working. Im using the zwave aeotec wallmote (https://aeotec.com/z-wave-wireless-switch ...
- Thursday 16 May 2019 14:15
- Forum: Blockly
- Topic: How do I trigger the script?
- Replies: 5
- Views: 1300
Re: How do I trigger the script?
HI, it doesn't seem to work, i have it at:
If button = on AND light = off
set light = on
else if button = on AND light = on
set light = off
but it doesn't work
If button = on AND light = off
set light = on
else if button = on AND light = on
set light = off
but it doesn't work
- Thursday 16 May 2019 5:33
- Forum: Blockly
- Topic: How do I trigger the script?
- Replies: 5
- Views: 1300
How do I trigger the script?
Hi, Im new to this whole blocky thing, I am just wondering how i would go about triggering a script to begin with? When i switch the trigger to devices, how do i pick which device triggers the switch? Basically i have a zwave Button which when i press I want it to execute the code. The code is just ...