# Looking for ideas how to generate a monitoring/control for a drain pump (heating/aircondition water)

**URL:** <https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069>\
**Category:** General\
**Created:** [14 May 2025 20:34 UTC](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069 "2025-05-14T20:34:46Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![daspixel](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@daspixel](https://discourse.nodered.org/u/daspixel)\
**Post date:** [14 May 2025 20:34 UTC](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069/1 "2025-05-14T20:34:46Z")

</div>

Hi,  
**background:**  
I am using node-red for my smart home since some years with basic features and just started to dig deaper 😀

**story:**  
water in the cellar - drain pump was ok - inflow was stuffed with mud 🤨

Now as we had water in the cellar because the drain pump was not getting anything to pump because it was blocked just before it - the alarm for pump failing which is allready monitored - did not throw an alert 🤣

So what I wanted since a long time:  
**ideas and logic**

- check how often the pump is running  
(under different scenarios like winter/rain/summer
- generate something like a "running-factor" per day
- create limits and set different alarms ...

**technical question:**  
I allready log the pump through a power monitor and get values like this (time is not attached yet but that is in my scope of capabilities

What would be the easiest way to collect those values (as long as the pump is running - some seconds only) I want to save this as a "run" with "start-time" and "run-time".  
(For long time checks I will log it in a txt file and in an influxdb for later analysies)

But how could I create something like a round robin list for a day?  
Is there a build in feature like this (or should I just use a function node to code that - I guess I could manage this)

0  
0  
0  
0  
68.3  
66.11  
64.79  
40.5  
0  
0  
0

I guess this could be quite interessting for anybody with a device that is not constantly up and running with no directly other connected paramters which can be controlled.

Best regards for any tipps or ideas  
Antonio

---

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [14 May 2025 22:14 UTC](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069/2 "2025-05-14T22:14:17Z")

</div>

I know you are looking for pump ideas but have you also considered a water level monitor?

---

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [14 May 2025 22:15 UTC](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069/3 "2025-05-14T22:15:25Z")

</div>

Also. They make relatively cheap flow meters.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [15 May 2025 05:03 UTC](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069/4 "2025-05-15T05:03:59Z")

</div>

I think @gerry has a good point. Any time that you want to be sure that something is working correctly then fully independent alarm detection is the ideal solution.

---

<div class="post-metadata">

**Author:** ![daspixel](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@daspixel](https://discourse.nodered.org/u/daspixel)\
**Post date:** [15 May 2025 06:29 UTC](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069/5 "2025-05-15T06:29:15Z")

</div>

Thank you for this tip - I didnt want to write too much in my initial post - the water level monitor is just 15cm near the pump - the amount of water which was stopped in the chimney within the wall - was soaked up by the bricks and just showed up after 2 weeks or so. The screed is only "not dry" and showed same salt extractions - but it is not "wet" enough to start the water monitor - which is totally ok and working.

---

<div class="post-metadata">

**Author:** ![daspixel](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@daspixel](https://discourse.nodered.org/u/daspixel)\
**Post date:** [15 May 2025 06:33 UTC](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069/6 "2025-05-15T06:33:57Z")

</div>

The amount of liquid that "drops" from the chimney is in my opinion even too small to use a mechanical flow meter - and the water contains small parts of ashes so I guess it would break the thing over time. Good electrical inductions sensors would be a different scope and project 😆 and I am not the perfect bread board designer ...

---

<div class="post-metadata">

**Author:** ![daspixel](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@daspixel](https://discourse.nodered.org/u/daspixel)\
**Post date:** [15 May 2025 06:35 UTC](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069/7 "2025-05-15T06:35:42Z")

</div>

Fully agree, but did not find a (cheap and easy) solution yet.

---

<div class="post-metadata">

**Author:** ![repho](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@repho](https://discourse.nodered.org/u/repho)\
**Post date:** [15 May 2025 08:45 UTC](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069/8 "2025-05-15T08:45:22Z")

</div>

How is the pump powered? You should find readily available power monitors. From that you can compile all sorts of data to help you with monitoring/automation.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [15 May 2025 11:11 UTC](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069/9 "2025-05-15T11:11:37Z")

</div>

> [@daspixel](#):
>
> influxdb

If you are already using InfluxDB, wouldn't that be the answer to the data question? Throw them into InfluxDB and then you can use it's timeseries calculation capabilities.

---

<div class="post-metadata">

**Author:** ![daspixel](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@daspixel](https://discourse.nodered.org/u/daspixel)\
**Post date:** [22 May 2025 08:39 UTC](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069/10 "2025-05-22T08:39:51Z")

</div>

Sorry for my late reply, I am sure that would be awesome but I am not so deep into influxdb - I just put lots of data in to check/compare several values. I wanted to do a lot more - but life is to short for all those places ... . (I still do have troubles to understand why influxdb does not like my 0 values - and how to fix that) Which is one of my favourite tasks to check for ON/OFF values but that is out of scope now and his thread 😁

Thank you for the tip! pinned a digital card on my digital wallpaper with influxdb reports and actions!

---

<div class="post-metadata">

**Author:** ![daspixel](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@daspixel](https://discourse.nodered.org/u/daspixel)\
**Post date:** [22 May 2025 09:16 UTC](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069/11 "2025-05-22T09:16:08Z")

</div>

For all guessing what I do now:

- getting a new spare pump for the worst case

- tested the water alarm

- tested the "alert" sensor-cable which should close/open in case of an detected error within the pump

- But for the case of all other situations - I did a multilevel monitoring (as allready mentioned the pump itself is not the technical problem)

short reduced description:

- I collect all the values - every time the "Smart Meter" decides to send data

- run/ hour

- run/ day

- run/ week

- run/ month

- (duration of the pumprun - as soon as I have collected enough valuable data)

Now another task is peridicaly 4 times a day checking those values, depending on summer/winter/heating is on/off/rain is on/off 😉 different min/max vales are defined to be ok, otherwise a visuel wet-wall check expert (any family member) is called to check the heating room

we will see whats next to happen that is not checked ... yet

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [22 May 2025 11:20 UTC](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069/12 "2025-05-22T11:20:10Z")

</div>

> [@daspixel](#):
>
> (I still do have troubles to understand why influxdb does not like my 0 values - and how to fix that) Which is one of my favourite tasks to check for ON/OFF values but that is out of scope now and his thread

Do start a new thread for that, I am sure we can help you fix it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [20 August 2025 11:20 UTC](https://discourse.nodered.org/t/looking-for-ideas-how-to-generate-a-monitoring-control-for-a-drain-pump-heating-aircondition-water/97069/13 "2025-08-20T11:20:19Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
