Blockly not working

Moderator: leecollings

Post Reply
vgr2
Posts: 71
Joined: Monday 29 August 2016 12:02
Target OS: -
Domoticz version:
Contact:

Blockly not working

Post by vgr2 »

Hi, I've made a blockly script, but dosen't work.
Any help would be greatly appreciated.
Blockly.JPG
Blockly.JPG (36.63 KiB) Viewed 801 times
sion
Posts: 113
Joined: Friday 08 January 2016 12:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blockly not working

Post by sion »

I think you have them boxed / bracketed incorrectly.
I'm on my mobile at the mo so can't to a proper example but will give it a go;

You have :
If (someone home=(off and (m =(on or (v= on))))

You need :

If (((someone home=off) and ((m =on) or (v= on))))

Hopefully that makes sense. :)

If not I will try and do a proper blocky example tomorow if one has before.

How do you get an image of the blocky ? Just with print screen??
running domoticz 3.4834 on rpi2, with
Hue bridge / bulbs.
lightwave rf sockets, mood controlers, sensors & contacts.
Home bridge / Siri.
Ha bridge / echo Alexa.
Hard wired alarm system - setting home / away status.

Next: harmony hub.
sion
Posts: 113
Joined: Friday 08 January 2016 12:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blockly not working

Post by sion »

Also, in your else if statement, I think you want
If sh is on, and BOTH v and m are so( both are away)
Set sh off. At the mo you have an or there.
So if you are both home, and one of you goes out - It would set someone home off
running domoticz 3.4834 on rpi2, with
Hue bridge / bulbs.
lightwave rf sockets, mood controlers, sensors & contacts.
Home bridge / Siri.
Ha bridge / echo Alexa.
Hard wired alarm system - setting home / away status.

Next: harmony hub.
sion
Posts: 113
Joined: Friday 08 January 2016 12:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blockly not working

Post by sion »

Think this is rogt.
IMG_4816.JPG
IMG_4816.JPG (54.14 KiB) Viewed 787 times
running domoticz 3.4834 on rpi2, with
Hue bridge / bulbs.
lightwave rf sockets, mood controlers, sensors & contacts.
Home bridge / Siri.
Ha bridge / echo Alexa.
Hard wired alarm system - setting home / away status.

Next: harmony hub.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest