Page 1 of 1
Alarm for open Doors
Posted: Monday 30 April 2018 22:29
by lumjajo
Hello, all.
I am not so sure about the way how to handle the following event. I have a Garagedoor (side entrance not main door). Sometimes this door is open over night.
I have installed a door sensor which shows me the actuasl status on my tablet. However, sometimes I am not looking at the tablet. Basically I would like to have a more obvious "alarm" to remind me that the door is open.
what are you using as a status message? Lights? blinking lights? Sirene (which I do not really prefer).
This will be more important in the future, where I want to include water sensors in the cellar etc. I am not sure about how the alarm should look like.
Any ideas?
Thanks
Re: Alarm for open Doors
Posted: Monday 30 April 2018 23:23
by fvdl
Hi,
Why don't you use a notification.
I use for my doorsensors (NeoCoolcam) the notification in the switch tab.
In the settings tab you can choose the way you want to send the notification.
I use PROWL to send the notification to my Iphone.
On your smartphone you can choose the sound for the notification.
There are also alarm devices that have a alarm sound and /or a doorbell sound, so you can choose.
You can also write a blockley script to check the status of the sensors combined with a notification.
Re: Alarm for open Doors
Posted: Tuesday 01 May 2018 0:30
by berny
Hi I use this example ....
Send a warning when the garage door has been open for more than 10 minutes
https://www.domoticz.com/wiki/Event_script_examples
Re: Alarm for open Doors
Posted: Tuesday 01 May 2018 13:03
by snuiter
You could use a simple dzVents scripts that checks the status of your door or in my case a lamp every 30 minutes only based on the lastUpdate time of the device, and then act upon it in this a simple domoticz.notify
- Spoiler: show
Code: Select all
return {
on = {
timer = {'every 30 minutes'},
},
execute = function(domoticz)
local garage = domoticz.devices('garage lamp')
-- garage lampen check
if garage.state == 'On' and garage.lastUpdate.minutesAgo > 50 then
domoticz.notify('','garage lampen nog niet uit')
end
end
}
or use a script that checks every 5 minutes and repeatedly informs you(repeatTime) that the door is open
- Spoiler: show
Code: Select all
return {
active = true,
on = {
timer = {
'every 5 minutes',
},
},
execute = function(domoticz)
local firstMessage = 5
local repeatTime = 60
local door2 = domoticz.devices('door2')
local laaWij2 = domoticz.devices('door2').lastUpdate.minutesAgo
offset1 = (laaWij2 - firstMessage) % repeatTime
if (door2.state == 'Open' and laaWij2 > 5) then
if (laaWij2 <= 10 ) then
domoticz.notify('', 'voordeur staat open!', domoticz.PRIORITY_HIGH)
domoticz.log('ACTION : voordeur open', domoticz.LOG_INFO)
else
if offset1 > 55 and offset1 <= 60 then
domoticz.notify('', 'voordeur open: ' .. laaWij2 .. ' minuten', domoticz.PRIORITY_HIGH)
print("voordeur staat nog open na : " .. laaWij2)
end
end
end
end
}
I guess the script can be made simpler as I learned more on using dzVents, but they work fine for a long time so have not reviewed them anymore
Re: Alarm for open Doors
Posted: Tuesday 01 May 2018 21:35
by randytsuch
I also used dzvents to create a simple script to notify me when the garage door is open for too long.
I created an email account just for domoticz email notifications, and set it up so the emails get forwarded to my phone as text messages.
I found that most phone providers will turn emails to texts, you just need to know where to send the emails. I have tmobile, but I think all the large carriers do this.
So I get a text message whenever the garage is open too long. Also when the freezer door is open for too long.
This has proved to be very useful.
Randy
Re: Alarm for open Doors
Posted: Tuesday 01 May 2018 23:08
by lumjajo
many thanks, thats a good idea via phones..
Does anyone have a kind of alarm lamp in his house?
Re: Alarm for open Doors
Posted: Wednesday 02 May 2018 8:05
by philchillbill
I play a spoken (TTS) message on my Logitech Squeezeboxes around the house to remind me if either the garage door or the front door are left open for longer than 5 minutes. The messages repeat every 10 minutes in case I missed them.
I also have a Philips Bloom lamp in the living room that switches on to a special color to alert me of things that need my attention.
Both methods (spoken text / spontaneous colored lighting) allow feedback to passive users by not requiring a phone or tablet check.
Sent from my iPhone using Tapatalk