# Strange problem with Grafana, InfluxDb and nodered

**URL:** <https://discourse.nodered.org/t/strange-problem-with-grafana-influxdb-and-nodered/18352>\
**Category:** General\
**Created:** [24 November 2019 11:33 UTC](https://discourse.nodered.org/t/strange-problem-with-grafana-influxdb-and-nodered/18352 "2019-11-24T11:33:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![user7](https://avatars.discourse-cdn.com/v4/letter/u/7ea924/32.png) [@user7](https://discourse.nodered.org/u/user7)\
**Post date:** [24 November 2019 11:33 UTC](https://discourse.nodered.org/t/strange-problem-with-grafana-influxdb-and-nodered/18352/1 "2019-11-24T11:33:59Z")

</div>

Hi,  
I have Nodered and Grafana connected and its working as it should.  
But I have problems with 1 sensor data, as it stops to work properly in grafana after around 1-2 days, when Grafana stops to get values from this particular sensor. The sensor is still posting data in Nodered and Grafana is still getting values from other sensors using the same influx database. Im using mqtt to deliver the data from the sensor to nodered and looks like mqtt is not a problem, as Nodered still presents data from this sensor, just grafana dont..

Any ideas how can i approach this problem?  
Thanks!

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [24 November 2019 12:28 UTC](https://discourse.nodered.org/t/strange-problem-with-grafana-influxdb-and-nodered/18352/2 "2019-11-24T12:28:46Z")

</div>

Is the data from the sensor being stored in influx? I'd look at that part.

---

<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:** [24 November 2019 14:12 UTC](https://discourse.nodered.org/t/strange-problem-with-grafana-influxdb-and-nodered/18352/3 "2019-11-24T14:12:33Z")

</div>

Start by putting a debug node showing the data going to the influx node, then you can check whether the data is being sent to the db node

---

<div class="post-metadata">

**Author:** ![user7](https://avatars.discourse-cdn.com/v4/letter/u/7ea924/32.png) [@user7](https://discourse.nodered.org/u/user7)\
**Post date:** [24 November 2019 16:02 UTC](https://discourse.nodered.org/t/strange-problem-with-grafana-influxdb-and-nodered/18352/4 "2019-11-24T16:02:48Z")

</div>

Done, now waiting for sensor dropout.  
@ [zenofmud] Will check influx data too, but im not that familiar with influx in general

---

<div class="post-metadata">

**Author:** ![user7](https://avatars.discourse-cdn.com/v4/letter/u/7ea924/32.png) [@user7](https://discourse.nodered.org/u/user7)\
**Post date:** [27 November 2019 16:15 UTC](https://discourse.nodered.org/t/strange-problem-with-grafana-influxdb-and-nodered/18352/5 "2019-11-27T16:15:05Z")

</div>

Ok I managed to find the problem. I somehow overlooked that the whole sensor drops down, and I actually get no values into nodered.  
Now its time to check debugging on the d1 mini, which holds the mqtt code.  
Thanks for help, but looks like this isnt the right forum for my problem=)
