contact sensor multiple notifications

Moderator: leecollings

Post Reply
maia
Posts: 3
Joined: Tuesday 11 December 2018 14:07
Target OS: Linux
Domoticz version:
Contact:

contact sensor multiple notifications

Post by maia »

I have xiaomi door sensor mounted on my garage door, with open/close notifications enabled. everything works fine, except every time door open/close it fires 3 times.... so i receive 6 notifications each door cycle.


door opening:
13:23 garage open
13:23 garage close
13:23 garage open

door closing:
13:25 garage close
13:25 garage open
13:25 garage close

heared somewhere - "you should put 1sec delay on your sensor" but i have no such option in domoticz edit sensor interface.... please, advice how not to be burried under tons of notifications, not really want write python script with manual notification... and also prefer see in logs two lines instead of 6...


2018-12-12 09:03:57 Off
2018-12-12 09:03:57 On
2018-12-12 09:03:57 Off
2018-12-12 09:03:13 On
2018-12-12 09:03:13 Off
2018-12-12 09:03:13 On
teemurama
Posts: 12
Joined: Saturday 09 June 2018 19:40
Target OS: Linux
Domoticz version:
Contact:

Re: contact sensor multiple notifications

Post by teemurama »

I have same problem. Any solution for this one ?
Gerwin
Posts: 84
Joined: Friday 12 August 2016 13:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: contact sensor multiple notifications

Post by Gerwin »

Hello.

You can make a dummy switch and switch these on and of with a blocky script
If garage is open and dummy is off
Set : dummy on for 20sec
Message garage door is open

And also for close

Gerwin
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest