Hi all,
I am trying to bind some events to my doorbell. For example, to switch on the light in the hall 3 seconds after the doorbell is pressed. I have a KAKU doorbell, which works great. But, the status is always "On". So when I activate this event, my light always get switched on when I switch it off manually.
How can I make sure the light doesn't switch on automatically again?
I only want this event to happen when my doorbell is actually pressed, and not always when the status of the doorbell is "On".
I also tried to set my doorbell to "Off" in this same condition, but that doesn't work.
In my camera config I also set that a snapshot is sent when the doorbell is pressed, and this works like a charm.
Doorbell event in Blocky always fired
Moderator: leecollings
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Doorbell event in Blocky always fired
So what is the status of the Doorbell and how does it change when it is pressed and released?
You can see the status changes in the device log.
Jos
You can see the status changes in the device log.
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 6
- Joined: Wednesday 15 February 2017 22:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Doorbell event in Blocky always fired
Hi Jos,
The status is always "On", and when the doorbell is pressed a new "On" signal is sent. I need this event only to trigger when a new "On" signal is sent.
As far as I can see there is no possibility to have the doorbell set to "Off", or I must be missing something? I use the standard KAKU implementation for doorbells, since it's a KAKU doorbell.
The status is always "On", and when the doorbell is pressed a new "On" signal is sent. I need this event only to trigger when a new "On" signal is sent.
As far as I can see there is no possibility to have the doorbell set to "Off", or I must be missing something? I use the standard KAKU implementation for doorbells, since it's a KAKU doorbell.
-
- Posts: 10
- Joined: Monday 12 September 2016 14:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Doorbell event in Blocky always fired
make a dummy switch and call it "Doorbell_status" or something like that.
On the doorbell put this link in the by on action: http://IPADRESS:8080/json.htm?type=comm ... itchcmd=On
Change IDX 99 to the IDX of the Doorbell_status switch.
use the doorbell_status switch in your blocky and its working fine.
I have the same solution.
On the doorbell put this link in the by on action: http://IPADRESS:8080/json.htm?type=comm ... itchcmd=On
Change IDX 99 to the IDX of the Doorbell_status switch.
use the doorbell_status switch in your blocky and its working fine.
I have the same solution.
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Doorbell event in Blocky always fired
I know how to do this in LUA as you can make that fire only when a device changes, but am unsure how that works with Blockly.
Jos
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 6
- Joined: Wednesday 15 February 2017 22:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Doorbell event in Blocky always fired
And then you set the dummy switch to off with the blockly script?chatjozef wrote:make a dummy switch and call it "Doorbell_status" or something like that.
On the doorbell put this link in the by on action: http://IPADRESS:8080/json.htm?type=comm ... itchcmd=On
Change IDX 99 to the IDX of the Doorbell_status switch.
use the doorbell_status switch in your blocky and its working fine.
-
- Posts: 10
- Joined: Monday 12 September 2016 14:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Doorbell event in Blocky always fired
Excuse me, I forgot to say, that the off delay of the doorbell_status is set for 1 second
-
- Posts: 1
- Joined: Thursday 11 January 2018 16:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Doorbell event in Blocky always fired
Hi Skef
You mentioned in your post : "In my camera config I also set that a snapshot is sent when the doorbell is pressed, and this works like a charm."
To which device are you sending the snapshot and how did you do this?
Thnx Hugo
You mentioned in your post : "In my camera config I also set that a snapshot is sent when the doorbell is pressed, and this works like a charm."
To which device are you sending the snapshot and how did you do this?
Thnx Hugo
Who is online
Users browsing this forum: Google [Bot] and 1 guest