Disable DZVents with a Blockly

Moderator: leecollings

Post Reply
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

Disable DZVents with a Blockly

Post by alarm_guy1 »

Hi guys, I have a DZVents script (Bathroom_Dimmer_DZ) that turns a light on for a specific amount of time when a Pir activates. (I didnt create this, way above my pay grade)

What I would like to do, is create a Blockly (As I have no idea about creating a DZvent) to disable the the (Bathroom_Dimmer_DZ) when the contact Bathroom_door is closed and enable the (Bathroom_Dimmer_DZ) when the door is opened, Basically when the door is shut I want the bathroom light to come on @ 20% until the door is opened again and then go off 1 min later and re-instate (Bathroom_Dimmer_DZ)

Can this be done

Cheers
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest