I have two Philips Hue Motion Sensors which are working fine within Hue app and are recognised by Domoticz to the extent that I can use the temperature sensors in a Blockly script without a problem.
However, any attempt to use the motion sensor itself seems to fail even in a simple script such as the one below. Does anybody have any ideas? What am I doing wrong?
Blockly Script Not Working - Hue Motion Sensor Topic is solved
Moderator: leecollings
-
- Posts: 6
- Joined: Thursday 09 January 2020 19:24
- Target OS: Windows
- Domoticz version:
- Contact:
Blockly Script Not Working - Hue Motion Sensor
- Attachments
-
- Motion sensor demo.jpg (22.19 KiB) Viewed 964 times
-
- Posts: 2
- Joined: Saturday 13 June 2020 17:19
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Blockly Script Not Working - Hue Motion Sensor
Hi
You are using the wrong if control. you have to choice if control without blue field.
Piet
You are using the wrong if control. you have to choice if control without blue field.
Piet
-
- Posts: 6
- Joined: Thursday 09 January 2020 19:24
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Blockly Script Not Working - Hue Motion Sensor
That solved the problem.
I had reduced that script from a copy of another more complex one that included "Else If". It seems that, if there is only one set of "If Do" statements, it is necessary to use the single "If Do" logic block, i.e., the one without the blue gear icon.
Many thanks
I had reduced that script from a copy of another more complex one that included "Else If". It seems that, if there is only one set of "If Do" statements, it is necessary to use the single "If Do" logic block, i.e., the one without the blue gear icon.
Many thanks
Who is online
Users browsing this forum: No registered users and 1 guest