Page 1 of 1

Smoke Alarm Blocky

Posted: Thursday 08 September 2016 17:34
by TheBod
Hi all

I do not know Lua so tend to use Blockies to write the basic scripts in my home Domoticz system.

I have a KD101 smoke alarm connected to my RFXcom and visible in Domoticz. I can switch it on and off in the Switches screen. I also have a wireless door contact on my shed door which is visible within RFXCom/Domoticz.

I am trying to create a simple blocky that sounds the smoke alarm for 5 minutes if the shed door is opened between 00:00 and 07:00. The attached is my blocky script that i am trying to implement.

Currently the smoke alarm does not sound if the shed door is 'open'. Also, when I do sound the KD101 it only alarms for approx 10-15 seconds before remaining in 'panic' mode and requires resetting to 'normal' mode.

Any helpers?

Many thanks

Re: Smoke Alarm Blocky

Posted: Friday 09 September 2016 13:52
by markk
Can you change Set smoke alarm = "On" to Set smoke alarm = "Panic"?

The duration of the alarm is a known issue. I have one too and can't see that anyone has been able to get them to sound continuously when artificially set into panic mode.

Re: Smoke Alarm Blocky

Posted: Saturday 10 September 2016 16:29
by TheBod
Great, I will try that change an advise