Alert type device use as switch

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
JeroNeo
Posts: 15
Joined: Sunday 03 March 2019 12:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10532
Location: the Netherlands
Contact:

Alert type device use as switch

Post by JeroNeo »

Hello,

I have i think a simple question but i cannot find the solution.
I have Domoticz Beta V 4.10532 installed on a OrangePi Plus 2e with Armbian stretch
I also have a INTEGRA 64 V1.18 with a ETHM-1+ V2.05

i want to use a Alarm detector zone from my INTEGRA to use as a trigger in a Blockly but i cannot select this zone.
the alert zone is added in my device list and i can monitor it's state in the utility state tab.
is there a way to use this in this way? i have searched but did not find the solution how to do this.

Best regards,

Jeroen

(edit, fixed a typo)
OrangePi Plus 2e with Armbian Buster.
1x Evohome setup (6x radiators), 1x Tuya floorheater bathroom,
1x RGBW led strip, Satel INTEGRA 256+
IKEA-Trädfri Gateway with 48 controlable lights COAP-Client,
SolarEdge inverter, homebrew P1 meter.
ksacca
Posts: 80
Joined: Thursday 31 May 2018 21:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Alert type device use as switch

Post by ksacca »

Hi,

I'm not using my sensors connected to the satel alarm in blockly. I use them in dzvents with the .color attribute. I would really advise you look into dzvents for scripting as it makes life so much easier.

If you prefer to use blockly, you can achieve this with

if Zone:TestZone (devices, utility) = 3 (logic, the one with "0" prefilled)
Set Lamp = ON

If status is 1, no breach
If status is 3, zone breached (so window open, motion detected, ...)

In the example above, the lamp will be switched on if the zone is breached (if motion is detected)
JeroNeo
Posts: 15
Joined: Sunday 03 March 2019 12:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10532
Location: the Netherlands
Contact:

Re: Alert type device use as switch

Post by JeroNeo »

Thank you Ksacca for your full awnser!
i can now controll my IKEA GU10 bulbs Trough my Motion sensor from my alarm :P

Jeroen
OrangePi Plus 2e with Armbian Buster.
1x Evohome setup (6x radiators), 1x Tuya floorheater bathroom,
1x RGBW led strip, Satel INTEGRA 256+
IKEA-Trädfri Gateway with 48 controlable lights COAP-Client,
SolarEdge inverter, homebrew P1 meter.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest