# Smart Meter Flow stops after a while

**URL:** <https://discourse.nodered.org/t/smart-meter-flow-stops-after-a-while/47342>\
**Category:** General\
**Created:** [18 June 2021 17:35 UTC](https://discourse.nodered.org/t/smart-meter-flow-stops-after-a-while/47342 "2021-06-18T17:35:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [18 June 2021 17:35 UTC](https://discourse.nodered.org/t/smart-meter-flow-stops-after-a-while/47342/1 "2021-06-18T17:35:32Z")

</div>

I have a problem with my Smart Meter Flow from [here](https://www.loxwiki.eu/pages/viewpage.action?pageId=82149444)

It works for a while... sometimes a day and sometimes just for a few hours. After a **deploy** it takes a few seconds and then it runs again for a while.

 ![node 1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/3/2358616cb1cfb296610f16c76225617001d89b53.jpeg)  
 ![node 2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/d/fd7af74156fed0785a0e1212858e3cc47fa849f6.jpeg)

Dont know what i can do anymore - I am a beginner and I would appreciate your help.

I am not sure what informations are usefull to manage this problem:

- Node-Red 1.0.3: Maintenance Release
- Weidmann Elektronik Stromzähler
- AMIS Smart Meter

---

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [18 June 2021 19:36 UTC](https://discourse.nodered.org/t/smart-meter-flow-stops-after-a-while/47342/2 "2021-06-18T19:36:25Z")

</div>

Hard to say whats going wrong just by looking at the flow  
Add some debug nodes and enable them. If it stops working again have a look at the debug panel to see what nodes still give debug output and witch one not. With this you can narrow down the problem area maybe.  
You can also take a look at the NR log to see if there's some in-regularities. Type on the command line of your os` node-red-log`

And try updating your NR version to the latest.

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [18 June 2021 21:08 UTC](https://discourse.nodered.org/t/smart-meter-flow-stops-after-a-while/47342/3 "2021-06-18T21:08:56Z")

</div>

Thanks for your advices. I have updated my NR Version and will watch it for a while.  
Maybe the problem is solved now 🙂

---

<div class="post-metadata">

**Author:** ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)\
**Post date:** [19 June 2021 09:26 UTC](https://discourse.nodered.org/t/smart-meter-flow-stops-after-a-while/47342/4 "2021-06-19T09:26:40Z")

</div>

Maybe the issue is due to the chart. It looks like you are plotting a lot of points on it.  
Note that it needs to memorize all these points which could mean that after some time it runs out of memory.

So you should check if the node red memory (node js process) is not increasing over time.

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [19 June 2021 21:50 UTC](https://discourse.nodered.org/t/smart-meter-flow-stops-after-a-while/47342/5 "2021-06-19T21:50:45Z")

</div>

I tried it yesterday without the chart, unfortunately I had the same problem ☹

is there a cmd to check the memory usage?

Today - after i have updated Node Red and the hole palette - i had a new problem.  
The connection between my KNX System and Node Red stopped without a reason ☹

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [20 June 2021 16:16 UTC](https://discourse.nodered.org/t/smart-meter-flow-stops-after-a-while/47342/6 "2021-06-20T16:16:07Z")

</div>

If i am right with the command "free -h" then i have more then enough free space.  
222MB at the beginning of the record and approximately 6 hours later its 226MB used RAM

As advised i had activated the debugs in the flow and the reslut is - i get no informations  
The flow stops and the debug stays empty ☹

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [22 June 2021 14:04 UTC](https://discourse.nodered.org/t/smart-meter-flow-stops-after-a-while/47342/7 "2021-06-22T14:04:54Z")

</div>

I am pretty sure that i have solved the problem.  
I was using a USB to Chat 5 extension to pass the distance. I changed it with an activ extension and its still working.  
I have never thought that this could be the Problem.

---

<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:** [6 July 2021 14:05 UTC](https://discourse.nodered.org/t/smart-meter-flow-stops-after-a-while/47342/8 "2021-07-06T14:05:15Z")

</div>

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