my blockly does not want to work. Topic is solved

Moderator: leecollings

Post Reply
salopette
Posts: 187
Joined: Tuesday 07 March 2017 21:03
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Germany
Contact:

my blockly does not want to work.

Post by salopette »

Hello, I did a blockly script but it does not work for me.
Can someone help me there?

There are 6 lmpen to be turned on at the same time.
Attachments
sshot-2019-02-02-[1].jpg
sshot-2019-02-02-[1].jpg (94.17 KiB) Viewed 756 times
salopette
Posts: 187
Joined: Tuesday 07 March 2017 21:03
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Germany
Contact:

Re: my blockly does not want to work.

Post by salopette »

It does not work that way.
If I take out or leave only a motion sensor then it works.
Attachments
sshot-2019-02-02-[2].jpg
sshot-2019-02-02-[2].jpg (172.09 KiB) Viewed 754 times
tozzke
Posts: 135
Joined: Friday 02 January 2015 9:22
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands
Contact:

Re: my blockly does not want to work.

Post by tozzke »

salopette wrote: Saturday 02 February 2019 7:39 It does not work that way.
If I take out or leave only a motion sensor then it works.
You have to specify the state for each switch seperately. So you'll get:

Code: Select all

If [ [ [Aqara Motion Sensor] = [On] ] or [ [Zigbee Stick - BWM1] = [On] ] ]
Do [Set [x] = [On] ]
   [Set [y] = [On] ]
This is basic blockly/programming and yet a lot of people seem to get it wrong :|
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest