Blocky fires twice

Moderator: leecollings

Post Reply
User avatar
jvdz
Posts: 2445
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Blocky fires twice

Post by jvdz »

You are only resetting "RESET ROOKALARM" to Off after 6 seconds, so when in the mean time any device changes, this blockly is fired and the test is still true for "RESET ROOKALARM"="On". Why not change this to happen immediately?

Jos
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: Blocky fires twice

Post by Evelen »

idk if any wait block exist, but this is how I fixed looping of a light (whem montion detected)
A dummy sw
Image
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: Blocky fires twice

Post by Bikey »

I never knew how to reset the status of the smoke detectors in Blockly, thanks to your example I now now the (undocumented!) Json-command. Had to find out that it is case sentive: bot "normal" and "Normal" give a success as result, not only the latter actually works.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest