first blocky won't work

Moderator: leecollings

Post Reply
carpaccio
Posts: 3
Joined: Wednesday 21 February 2018 22:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:

first blocky won't work

Post by carpaccio »

hi all,

I just started with creating events in Domoticz, I think it is a easy one but for a noob like me it isn't.
the script won't work. the meaning of the script is when the "tv lamp" goes on (it is a hue) and we are home, this will be checked with the ping on our phone, the other lights goes on.

I hope you can help me out.

Regards, Mario
Attachments
Schermafbeelding 2018-02-21 om 22.05.17.png
Schermafbeelding 2018-02-21 om 22.05.17.png (30.59 KiB) Viewed 1180 times
User avatar
Domosapiens
Posts: 232
Joined: Wednesday 20 August 2014 12:08
Target OS: Windows
Domoticz version: V3.5981
Location: NL
Contact:

Re: first blocky won't work

Post by Domosapiens »

Make it
(....) AND ( (Camilla Telefoon=ON) OR (Mario Telefoon = ON) )
Win Vista&7; 1#Aeon Z-Stick S2; 1#Aeotec Z-Sick Gen5, 6#Fib.FGBS001; 24#DS18B20; 8#Everspr.AN158-2; 3#Philio PAN04; 1#Philio PAN06, 1#YouLess El; 1#Fib.FGWPE; 1#ZME_RC2; 2#FAK_ZWS230, 2#Quib.ZMNHCDx, 1#Quib.ZMNHDD1, 7#EM6555
carpaccio
Posts: 3
Joined: Wednesday 21 February 2018 22:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:

Re: first blocky won't work

Post by carpaccio »

thanks for the quick response, you mean like this?
it isn't working yet do you know what is wrong?

thanks in advance
Attachments
Schermafbeelding 2018-02-21 om 22.55.59.png
Schermafbeelding 2018-02-21 om 22.55.59.png (27.59 KiB) Viewed 1170 times
User avatar
StanHD
Posts: 347
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

Re: first blocky won't work

Post by StanHD »

Hi, try using a "Set" block for each switch:-

Set switch 1= On
Set switch 2= On
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
carpaccio
Posts: 3
Joined: Wednesday 21 February 2018 22:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:

Re: first blocky won't work

Post by carpaccio »

i have tried 2 set commands to, is it possible the hue's aren't working with a script?
User avatar
StanHD
Posts: 347
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

Re: first blocky won't work

Post by StanHD »

carpaccio wrote:i have tried 2 set commands to, is it possible the hue's aren't working with a script?
Can you show your modified Blockly?

Sent from my SM-G950F using Tapatalk

Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest