Fibaro motion sensor not working in Blockly

Moderator: leecollings

Post Reply
Koektrommel
Posts: 3
Joined: Tuesday 15 December 2020 21:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Fibaro motion sensor not working in Blockly

Post by Koektrommel »

Hi all,

I am trying to configure a flood light to switch on after motion is detected. Attached a simple Blockly to test the motion sensor by writing a message to the log.

The motion sensor 'switch' does change state when motion is detected. Alarm events are recorded in the log.

2021-06-06 21:55:50.538 Status: Z-Wave Controller: OpenZWave: Alarm received (Home Security: Motion Detected at Unknown Location), NodeID: 22 (0x16)

However, I can't get the Blockly script to respond to motion detected and write to the log. Any ideas?

Thanks!
Jos
Attachments
Blockly Motion Sensor.png
Blockly Motion Sensor.png (25.7 KiB) Viewed 621 times
Ron
Posts: 82
Joined: Friday 27 December 2013 23:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2284
Location: Nederland, Den Bosch
Contact:

Re: Fibaro motion sensor not working in Blockly

Post by Ron »

Maybe you should add another statement, If motion sensor is off and lampke is off
Do write to log motion on

I think it should use it like this, for me it works with this sensor.

My Blocky for the toilet sensor:
Knipsel.JPG
Knipsel.JPG (94.33 KiB) Viewed 589 times
Blanche45
Posts: 1
Joined: Thursday 02 September 2021 8:41
Target OS: Windows
Domoticz version:
Contact:

Re: Fibaro motion sensor not working in Blockly

Post by Blanche45 »

Make sure the Sensor is powered.
Press and hold the B-button.
Wait for 4-6 seconds for the visual LED indicator to glow yellow (2nd position of the MENU)
Release the B-button.
Click the B-button, once.
Successful reset will be confirmed with the visual indicator changing colour to red and fading.

peryourhealth official
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest