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
Alarm for open Doors
Moderators: leecollings, remb0
-
- Posts: 57
- Joined: Sunday 03 January 2016 17:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Alarm for open Doors
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.
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.
-
- Posts: 15
- Joined: Thursday 24 August 2017 14:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Holland
- Contact:
Re: Alarm for open Doors
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.
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.
RPI3B, Z-WAVE AEOTEC GEN5, Zigbee2Mqtt, Xiaomi gateway, GPIO, I2C, 1-wire, DS18B20, P1 meter, Growatt, Buienradar, Harmony hub, Domoticz 2020.2
Re: Alarm for open Doors
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?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.
Sent from my SM-G930F using Tapatalk
- felix63
- Posts: 244
- Joined: Monday 07 December 2015 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Gouda
- Contact:
Re: Alarm for open Doors
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
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
}
-
- Posts: 15
- Joined: Thursday 24 August 2017 14:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Holland
- Contact:
Re: Alarm for open Doors
Micro switch mounted behind the frame of the closing plate, connected to a xiaomi door contact. (Remove reedswitch)curious wrote: ↑Sunday 20 May 2018 16:10I'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?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.
RPI3B, Z-WAVE AEOTEC GEN5, Zigbee2Mqtt, Xiaomi gateway, GPIO, I2C, 1-wire, DS18B20, P1 meter, Growatt, Buienradar, Harmony hub, Domoticz 2020.2
Who is online
Users browsing this forum: No registered users and 1 guest