I've got a blockly active that actually works fine.
Yet, to accommodate for all events it is getting too large.It's a blockly that triggers once every day (at 12 o'clock) to pick up the values of 5 plantwatering sensors and triggers an alert-output when the value of any of these sensors comes blow the value of 3% soilmoisture.
To be able to accommodate for all of these different variables of the 5 sensors the blockly is getting way to large for comfort.
The question:
Is there a way to put this in more easy blockly or( if need be) another kind of script, dzvents or such that keeps reading all the sensors and triggers when one of more of the 5 sensors exceeds the value. And does so to account for all the different outcomes possible in the right way to show them in the alert ? Because as times passes I keep adding variables that I did not account for. Appearantly there are A LOT of combinations the way I constructed it now.
There MUST be an easier way, but I don't see it.
Perhaps something along the way of: if one or more sensors exceeds the 3% treshold put those sensors in the alert ?
Here is the blockly in the first 3 files.. the remaining 3 parts in the next message. Yup, it IS large

See spoiler: (so I won't flood the forum with many large png's)
Any help and/or insights would be greatly appreciated.
- Spoiler: show