Page 1 of 1

Blockly doesn't react on kaku motion sensor

Posted: Friday 15 January 2021 7:51
by svdhaar
Hi!
I have a question. I'm a newby concerning blockly.
i have domo with a 433transceiver and some kaku devices.

With blockly i'm trying to setup a schedule: if bewegingsensor = on and it's dark, turn on a light.
I've even tried without the timing schedule. it seems that blockly doesn't react at all on the motionsensor.

Image




The motionsensor is returning on / of in domo when it's activated.
i also have a script in the sensor setup which makes a snapshot via an ipcam (without blockly) which is working good.
blockly is reacting ok when i try a simple thing with a manual switch

Any one an idea?

Re: Blockly doesn't react on kaku motion sensor

Posted: Friday 15 January 2021 8:22
by waaren
svdhaar wrote: Friday 15 January 2021 7:51 Any one an idea?
Your time conditions are mutually exclusive so the [and] should change to [or]
Also
you have [ sensor = ] [ On and time ... and time ... ]
and that should be
[sensor = On ] and [ time .. or time ... ]

Re: Blockly doesn't react on kaku motion sensor

Posted: Friday 15 January 2021 8:51
by svdhaar
waaren wrote: Friday 15 January 2021 8:22
svdhaar wrote: Friday 15 January 2021 7:51 Any one an idea?
Your time conditions are mutually exclusive so the [and] should change to [or]
Also
you have [ sensor = ] [ On and time ... and time ... ]
and that should be
[sensor = On ] and [ time .. or time ... ]
thx for your tip!
I think my biggest issue is that the blockly doesn't react at all when i use the motionsensor.
Even this one doesn't do anything:

Image

When i use an manual switch, it does work.. > Nevermind.. It just started to work. :-)

Re: Blockly doesn't react on kaku motion sensor

Posted: Friday 15 January 2021 15:38
by kuifje
SvdHaar.
you need to change the blue do-if in to a normal do blockly. This one is waiting for more.

kuifje