Page 1 of 1
Doorbell ---> Hallway
Posted: Monday 25 June 2018 17:29
by pentacle
I have a task in my Homewizard and that's working fine see attachment.
Now I want to create the same with blocky so I can control it via Domiticz with only one change that the hallway must go on witf a delay of 10 sec
Can't see what i'm doing wrong . who can point me in the right direction.
Regards
Re: Doorbell ---> Hallway
Posted: Friday 20 July 2018 22:09
by ugge
I had a similar problem with my doorbell.
My push button sends "group on" state every time the button is pressed so I had to change the if expression to check for "group on" state instead of on.
This lead to my next problem as my bell only reacted to the "group on" transmission the button never sends a "group off" so I had to set door bell to "group off" otherwise it would just keep running my event script every other second till I restarted my server.
Re: Doorbell ---> Hallway
Posted: Saturday 21 July 2018 10:19
by Dlanor
There is an easy solution. I have added an extra line to set deurbell off after 2 seconds.
Re: Doorbell ---> Hallway
Posted: Saturday 21 July 2018 10:48
by mrf68
Try the other If Do block without the blue little square in the upper left corner.
Re: Doorbell ---> Hallway
Posted: Sunday 22 July 2018 12:37
by Prutsium
mrf68 wrote: ↑Saturday 21 July 2018 10:48
Try the other If Do block without the blue little square in the upper left corner.
Can confirm using the If/Else block for only If cases creates a non working Blockly.
Had similar issue with a presence detection from a PIR, used the Normal IF block and all worked.