Hi, I've made a blockly script, but dosen't work.
Any help would be greatly appreciated.
Blockly not working
Moderator: leecollings
-
sion
- Posts: 113
- Joined: Friday 08 January 2016 12:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Blockly not working
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??
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.
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
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
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.
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
Think this is rogt.
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.
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.
Who is online
Users browsing this forum: No registered users and 1 guest