Cannot get a simple blockly to run

Moderator: leecollings

Post Reply
darkdude
Posts: 7
Joined: Thursday 20 June 2019 7:41
Target OS: Linux
Domoticz version: Release
Location: Poland
Contact:

Cannot get a simple blockly to run

Post by darkdude »

I just can't get a very simple blockly to work...

It should trigger an alarm switch if 10 seconds after a pump is started its waterflow is below 20 l/min. Waterflow is stored as a variable since it didn't work with waterflow sensor.

And if pump is "On", 10s timer variable is set to "1" by another blockly, alarm switch is "Off" and waterflow variable is "0" (sometimes the pump doesn't start at all) the event never triggers. However if I set waterflow variable to "0" via MQTT (it was "0" and the new value is still "0") it triggers. Are there any timeouts for variables? If all conditions are met the script should trigger without me confrming any values...

I'm at a loss here.
Attachments
blockly.png
blockly.png (38.48 KiB) Viewed 955 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest