Page 1 of 1

Disable DZVents with a Blockly

Posted: Tuesday 17 March 2020 1:24
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