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
Blocky fires twice
Moderator: leecollings
-
Evelen
- Posts: 234
- Joined: Thursday 09 July 2015 12:03
- Target OS: Linux
- Domoticz version: 2.4538
- Location: Norway
- Contact:
Re: Blocky fires twice
idk if any wait block exist, but this is how I fixed looping of a light (whem montion detected)
A dummy sw

A dummy sw

-
Bikey
- Posts: 331
- Joined: Sunday 22 February 2015 12:19
- Target OS: Linux
- Domoticz version: 2020.x
- Location: Netherlands
- Contact:
Re: Blocky fires twice
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.
Who is online
Users browsing this forum: No registered users and 1 guest