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
Smoke Alarm Blocky
Moderator: leecollings
-
- Posts: 52
- Joined: Friday 01 January 2016 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Smoke Alarm Blocky
- Attachments
-
- Blocky.JPG (28.92 KiB) Viewed 1147 times
-
- Posts: 267
- Joined: Tuesday 14 January 2014 14:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Smoke Alarm Blocky
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.
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.
-
- Posts: 52
- Joined: Friday 01 January 2016 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Smoke Alarm Blocky
Great, I will try that change an advise
Who is online
Users browsing this forum: No registered users and 1 guest