Blockly doesn't react on kaku motion sensor Topic is solved

Moderator: leecollings

Post Reply
svdhaar
Posts: 36
Joined: Friday 10 April 2020 7:01
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Blockly doesn't react on kaku motion sensor

Post 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?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Blockly doesn't react on kaku motion sensor

Post 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 ... ]
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
svdhaar
Posts: 36
Joined: Friday 10 April 2020 7:01
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Blockly doesn't react on kaku motion sensor

Post 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. :-)
User avatar
kuifje
Posts: 36
Joined: Wednesday 25 October 2017 16:38
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Heemskerk
Contact:

Re: Blockly doesn't react on kaku motion sensor

Post by kuifje »

SvdHaar.
you need to change the blue do-if in to a normal do blockly. This one is waiting for more.

kuifje
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest