Hello
following question:
i have a water counter that ticks every 0,25 litre. This means if somebody draws water, it will signal 4 times when somebody gets one litre.
So now i think of a alert function. if there is a constant flow off let us say
0,25l / minute
and this over a timespan of 1h for example
and reset if first is not reached
then this is suspicious. This could mean something is wrong and I want to give an allert.
So my question is , what node red subsystems exist that i can use to get the functionality?
my passwort is asdfycxv#1 i just paste it here so that i cant for get.
First off a piece of advice: Don't keep posting on the thread to bump it, it won't get you attention any faster and might annoy people so they won't help you out.
The short answer is "none".
However you can build it yourself. But you haven't told us what you have tried yet, what hardware you are using, what version of NR you have or what node you are using to measure the water flow or how you want an alert (email, LED flashing, message on your phone, bell ringing, popup on a terminal)
Without any of that it's pretty hard go give you any advice other than general suggestions. I'd used a flow variable to store the start time and another to store the number of 'ticks' and a flow that would run at some interval to see if the start time is over an hour ago and if the 'ticks' exceeds the limit and then send the alert.
I always have the lastest version of node red.
The water level is a numeric value as input and as output i only need a logical signal, any other processing I can do my own.
I would have used now a custom function node that gets triggered by a water level update.
But im wondering what existing blocks i could use to come to a more profesional level.
Your algorithm is sensing high water consumption, what i need is an algorithm to detect unexpected permanent (even low) flow. Because the situation in my etablishment is that someone takes water for a limited time and most of the time it is sero.
Something like integrate in a time grid when an increment is assumend in the fault case, maybe 1 min and window over it for the time it is expected or guaranteed that flow is zero, maybe half hour (to be tested) and altert if in the window are always non sero.
What existing nodes could i use?
For input it depends on the sensor you are using. For the calculation you could use a function node. For the output it depends on what you do with it.
I would have two flows, one to collect the data and a second (to run at a certain interval) to calculate the usage - probably using a function node - and sending out the data you want
Big thank yous for all for asking me lot of questions on details on my algorithm in Mails.
I have more idea to build in and when i finish i give it out to you in a combined package.
My next idea is a new warning algorithm.
I live in a wealthy residence. The number of water taping locations is limited:
-one dunghole, lets assume a session is 10 minutes and with a worst case number of 3 flushings we have unsage of 30l + 5l handwashing / 10 min max
-someone can drink 1l per mintute, so in the kitchen the max. is 10l/10 min
-garden is maybe more
-bathroom is 10l/10m
-wath mashene is 10l/10lmin
-dish washer is 10l/10 min
so in the worst case everything together is 100l/10 min. If this is exceeded I will give a high level alert out to the rescue
question: a toilet flush has a known flow of water in a known period of time,
dish washer, washer maschine etc. has a somehow known pattern;
now i want to go to the data over a past timespan and find out what has happened, e.g. a bar chart
with colors for 2x flushing, 1 shower, washer.
How can I do this?
Thank you
Sadly it needs a lot more than a node. Google for TensorFlow both here and on the internet. There may be other options, I am not an expert on this subject.