Page 1 of 1
Alarm for open Doors
Posted: Monday 30 April 2018 22:28
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: Tuesday 01 May 2018 9:45
by timop
How about this and some push notification
https://www.domoticz.com/wiki/Get_Doors_Status
I made for my own garage door, there is swiitvh in esp8266 which communicates to my domotocz and alarms at evening if its forgotten open.
Also notificates always when someone opens it thru switch own notification.
Re: Alarm for open Doors
Posted: Wednesday 16 May 2018 10:26
by AntoonvdOetelaar
I'm still surprissed that checks are allways done on open doors...
Not on locked ones. I'm going to add a switch to my front door lock, so I can monitor if it was not forgotten to lock.
Re: Alarm for open Doors
Posted: Sunday 20 May 2018 16:10
by curious
AntoonvdOetelaar wrote:I'm still surprissed that checks are allways done on open doors...
Not on locked ones. I'm going to add a switch to my front door lock, so I can monitor if it was not forgotten to lock.
I'm curious how you're going to do that. Open or close does not seem that difficult. Locked or unlocked is more difficult i think. What kind of hardware are you going to use?
Sent from my SM-G930F using Tapatalk
Re: Alarm for open Doors
Posted: Sunday 20 May 2018 17:22
by felix63
Hi,
I use a different (dzvents) script to check for doors left open. If a given door has been left open for more time than the threshold defined I am send a message on my phone. I can set different thresholds for each door I want to check. Currently the script stops sending notifications for open doors after 3 times.
Cheers,
Lex
Code: Select all
local devicesToCheck = {
{ ['name'] = 'Voordeur', ['threshold'] = 11 },
{ ['name'] = 'Garagedeur', ['threshold'] = 15 },
{ ['name'] = 'Achterdeur', ['threshold'] = 11 },
{ ['name'] = 'Provisiekast deur', ['threshold'] = 45 },
{ ['name'] = 'Bergingdeur', ['threshold'] = 30 },
}
return {
active = true,
on = {
timer = {'every 10 minutes'},
},
logging = {
level = domoticz.LOG_DEBUG,
marker = "POR"
},
execute = function(domoticz)
local times = 3
for i, deviceToCheck in pairs(devicesToCheck) do
local name = deviceToCheck['name']
local threshold = deviceToCheck['threshold']
local state = domoticz.devices(name).state
local minutes = domoticz.devices(name).lastUpdate.minutesAgo
if ( state == 'Open') then
if (minutes > threshold) and (minutes < 3 * threshold) then
domoticz.notify('Device ' .. name .. ' staat al langer dan ' .. minutes .. ' minuten open.', domoticz.PRIORITY_HIGH)
end
end
end
end
}
Re: Alarm for open Doors
Posted: Tuesday 22 May 2018 10:52
by AntoonvdOetelaar
curious wrote: ↑Sunday 20 May 2018 16:10
AntoonvdOetelaar wrote:I'm going to add a switch to my front door lock, so I can monitor if it was not forgotten to lock.
I'm curious how you're going to do that. Open or close does not seem that difficult. Locked or unlocked is more difficult i think. What kind of hardware are you going to use?
Micro switch mounted behind the frame of the closing plate, connected to a xiaomi door contact. (Remove reedswitch)