Page 1 of 1

Blockly not working

Posted: Saturday 28 September 2019 13:05
by Matthiasfr
Hi all,

I configured my blockly script and I think it should switch my switch ('zithoek') to 'on'. However, nothing is hapening. Am I doing something wrong?

Re: Blockly not working

Posted: Saturday 28 September 2019 13:43
by KroontjesPen
There is no action that trigger the If ... Do.

If <action>

Do <re-action>

This was a simple test for me for later.
Image

Using the doorbell is: action
Light on is:             reaction

Re: Blockly not working

Posted: Saturday 28 September 2019 16:54
by Matthiasfr
Also, if I make something like this, it does not work.

Re: Blockly not working

Posted: Saturday 28 September 2019 17:51
by Matthiasfr
Ok. I think I see the problem. The sensor is not yust giving a value, but rather a string like this 20.5;70;3;1019.7;7

I think I will have to do this with Lua...