Smoke Alarm Blocky

Moderator: leecollings

Post Reply
TheBod
Posts: 52
Joined: Friday 01 January 2016 20:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Smoke Alarm Blocky

Post 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
Attachments
Blocky.JPG
Blocky.JPG (28.92 KiB) Viewed 1147 times
markk
Posts: 267
Joined: Tuesday 14 January 2014 14:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Smoke Alarm Blocky

Post 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.
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
TheBod
Posts: 52
Joined: Friday 01 January 2016 20:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Smoke Alarm Blocky

Post by TheBod »

Great, I will try that change an advise
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest