# \#influxdb

**URL:** https://discourse.nodered.org/tag/influxdb/84.md

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

---

## [Not able to insert msg.tags in influx dB using node-red-contrib-influxdb](https://discourse.nodered.org/t/not-able-to-insert-msg-tags-in-influx-db-using-node-red-contrib-influxdb/97658)

<div class="topic-metadata">

**Author:** [@joseeviral](https://discourse.nodered.org/u/joseeviral)\
**Replies:** 4\
**Last updated:** [19 June 2025 08:55 UTC](https://discourse.nodered.org/t/not-able-to-insert-msg-tags-in-influx-db-using-node-red-contrib-influxdb/97658 "2025-06-19T08:55:02Z")

</div>

I have created function to insert data in influx db 2.0 where i would like to insert 10 different parameter with measurement and tags. so i can filter data from m/c wise by using msg.tags. But not able to insert msg.…

---

## [Sonoff iHost and Node red: influxdb backup node error](https://discourse.nodered.org/t/sonoff-ihost-and-node-red-influxdb-backup-node-error/97126)

<div class="topic-metadata">

**Author:** [@djpole](https://discourse.nodered.org/u/djpole)\
**Replies:** 13\
**Last updated:** [20 May 2025 10:48 UTC](https://discourse.nodered.org/t/sonoff-ihost-and-node-red-influxdb-backup-node-error/97126 "2025-05-20T10:48:25Z")

</div>

I´m running Node red in a Sonoff iHost. I have running the Nodered container and running too an influxdb container, so I´m hosting my own database (it´s influx 1.x , not 1.8 or 2.0). As iHost relays on an SD card (like R…

---

## [InfluxDB v2, how to combine multiple queries to show in one graph](https://discourse.nodered.org/t/influxdb-v2-how-to-combine-multiple-queries-to-show-in-one-graph/95778)

<div class="topic-metadata">

**Author:** [@cameo69](https://discourse.nodered.org/u/cameo69)\
**Replies:** 6\
**Last updated:** [8 March 2025 12:46 UTC](https://discourse.nodered.org/t/influxdb-v2-how-to-combine-multiple-queries-to-show-in-one-graph/95778 "2025-03-08T12:46:59Z")

</div>

Hi, could I get some help with InfluxDB Queries for V2? I used to use Influx v1.8 and am now trying to migrate to v2, but retrieving multiple time series in one go, like I did before, does not work right now. Retrievi…

---

## [Mqtt to influxdb via node red](https://discourse.nodered.org/t/mqtt-to-influxdb-via-node-red/94856)

<div class="topic-metadata">

**Author:** [@Pascal1993](https://discourse.nodered.org/u/Pascal1993)\
**Replies:** 3\
**Last updated:** [25 January 2025 03:55 UTC](https://discourse.nodered.org/t/mqtt-to-influxdb-via-node-red/94856 "2025-01-25T03:55:36Z")

</div>

Hey there, after searching the internet for a while a tryin thing out I think it is time to look for some specific help for my problem. Me and some colleagues working on a school project where we put industrial sensors…

---

## [Error while insert data into InfluxDB2 database without any change in flow](https://discourse.nodered.org/t/error-while-insert-data-into-influxdb2-database-without-any-change-in-flow/92903)

<div class="topic-metadata">

**Author:** [@twohlgemuth](https://discourse.nodered.org/u/twohlgemuth)\
**Replies:** 15\
**Last updated:** [5 November 2024 09:17 UTC](https://discourse.nodered.org/t/error-while-insert-data-into-influxdb2-database-without-any-change-in-flow/92903 "2024-11-05T09:17:42Z")

</div>

Hello I started with smarthome automation a few weeks ago. That's why I'm still more of a newbie in almost all respects. First, I used a Tasmota sensor to transfer the data from my electricity meter via the Mosquitto …

---

## [TIGO Energy import data from API into influxDB](https://discourse.nodered.org/t/tigo-energy-import-data-from-api-into-influxdb/92451)

<div class="topic-metadata">

**Author:** [@muligamma](https://discourse.nodered.org/u/muligamma)\
**Replies:** 0\
**Last updated:** [17 October 2024 06:43 UTC](https://discourse.nodered.org/t/tigo-energy-import-data-from-api-into-influxdb/92451 "2024-10-17T06:43:25Z")

</div>

I found this post but it doesn't work. I have a Premium account for TIGO, I created the token, but I can't import data into the InfluxDB database https://discourse.nodered.org/t/tigo-energy-pv-combined-api-to-influxdb c…

---

## [Specific timestamp from Node-Red to InfluxDB shell version 1.8.10](https://discourse.nodered.org/t/specific-timestamp-from-node-red-to-influxdb-shell-version-1-8-10/90501)

<div class="topic-metadata">

**Author:** [@King-of-Noobs](https://discourse.nodered.org/u/King-of-Noobs)\
**Replies:** 4\
**Last updated:** [29 August 2024 08:20 UTC](https://discourse.nodered.org/t/specific-timestamp-from-node-red-to-influxdb-shell-version-1-8-10/90501 "2024-08-29T08:20:50Z")

</div>

Hi community, my first time in the forum since so far I was able to help myself (also thanks to the forum) but my current task is kind of challenging. The basic idea is kind of simple and I will explain on a minimum exa…

---

## [Calculations with values from array](https://discourse.nodered.org/t/calculations-with-values-from-array/90148)

<div class="topic-metadata">

**Author:** [@polareisbaer](https://discourse.nodered.org/u/polareisbaer)\
**Replies:** 9\
**Last updated:** [13 August 2024 13:39 UTC](https://discourse.nodered.org/t/calculations-with-values-from-array/90148 "2024-08-13T13:39:29Z")

</div>

Hello, I have a problem with two arrays. I want to calculate with two values from the arrays but get stuck when merging them. I want to put the values of round and max in relation ( round\*100/max ). \[ { …

---

## [Select bucket dynamically via parameter](https://discourse.nodered.org/t/select-bucket-dynamically-via-parameter/88458)

<div class="topic-metadata">

**Author:** [@IngoKnito](https://discourse.nodered.org/u/IngoKnito)\
**Replies:** 2\
**Last updated:** [3 June 2024 17:27 UTC](https://discourse.nodered.org/t/select-bucket-dynamically-via-parameter/88458 "2024-06-03T17:27:36Z")

</div>

I have several influxdb-out nodes and would like to combine them into one. Is there a way to set or overwrite the bucketname to the influxdb-node via a parameter in the msg? Something like this: msg.bucket="bucket1" W…

---

## [Change topic dynamically](https://discourse.nodered.org/t/change-topic-dynamically/87930)

<div class="topic-metadata">

**Author:** [@Fahrerkrieger](https://discourse.nodered.org/u/Fahrerkrieger)\
**Replies:** 0\
**Last updated:** [14 May 2024 06:46 UTC](https://discourse.nodered.org/t/change-topic-dynamically/87930 "2024-05-14T06:46:04Z")

</div>

Hello Node-Red Community. I have a question for all of you. I have created a node red flow, where I am reading the data from a Modbus Server and storing the values in my Influxdb Database. In the Picture below, you will …

---

## [Flows\_cred.json are encrypted](https://discourse.nodered.org/t/flows-cred-json-are-encrypted/87405)

<div class="topic-metadata">

**Author:** [@jiadong696](https://discourse.nodered.org/u/jiadong696)\
**Replies:** 5\
**Last updated:** [22 April 2024 10:19 UTC](https://discourse.nodered.org/t/flows-cred-json-are-encrypted/87405 "2024-04-22T10:19:53Z")

</div>

flows\_cred.json How do I execute the command to load the credentials in flows.json below the privacy, how do I modify the configuration file, load it through the sh command? How to solve this problem? Thank you for info…

---

## [Influx Configuration Node - unexpected https:// protocol](https://discourse.nodered.org/t/influx-configuration-node-unexpected-https-protocol/85596)

<div class="topic-metadata">

**Author:** [@ricm](https://discourse.nodered.org/u/ricm)\
**Replies:** 0\
**Last updated:** [16 February 2024 16:00 UTC](https://discourse.nodered.org/t/influx-configuration-node-unexpected-https-protocol/85596 "2024-02-16T16:00:16Z")

</div>

Good afternoon, I'm having problems configuring the Influx Configuration Node (i.e., the Influx Server selected when setting up an InfluxDB In or InfluxDB Out Node). I'm using InfluxDB v1.8 Occasionally the protocol d…

---

## [Barchart from InfluxDB request](https://discourse.nodered.org/t/barchart-from-influxdb-request/84635)

<div class="topic-metadata">

**Author:** [@polareisbaer](https://discourse.nodered.org/u/polareisbaer)\
**Replies:** 4\
**Last updated:** [17 January 2024 12:28 UTC](https://discourse.nodered.org/t/barchart-from-influxdb-request/84635 "2024-01-17T12:28:02Z")

</div>

Hello, I am trying to create a bar chart from a query from my InfluxDB using the max values of several days. Unfortunately, I am not able to do this. After converting using function node, it looks like this: This i…

---

## [Influxdb2 always in error](https://discourse.nodered.org/t/influxdb2-always-in-error/84075)

<div class="topic-metadata">

**Author:** [@Phoenix](https://discourse.nodered.org/u/Phoenix)\
**Replies:** 20\
**Last updated:** [6 January 2024 08:23 UTC](https://discourse.nodered.org/t/influxdb2-always-in-error/84075 "2024-01-06T08:23:52Z")

</div>

Dear all, I have a strange behavior of Influxdb2, every time I open the webpage to Node-RED the Influxdb2 node shows up with red error sign. But if I only refresh the settings, then it goes away. If I refresh the webpage…

---

## [Today I discovered data will not survive to restart :(](https://discourse.nodered.org/t/today-i-discovered-data-will-not-survive-to-restart/84085)

<div class="topic-metadata">

**Author:** [@realtebo](https://discourse.nodered.org/u/realtebo)\
**Replies:** 2\
**Last updated:** [30 December 2023 12:52 UTC](https://discourse.nodered.org/t/today-i-discovered-data-will-not-survive-to-restart/84085 "2023-12-30T12:52:57Z")

</div>

It's only 2 weeks I play with RPI and node-red. I built 2 usefull, for me, workflows; both send data to dashboard. For me, historic data (last 2-3 days) is someway important. Today, only today, I discovered than resta…

---

## [How to delete data from influxdb2 with node red](https://discourse.nodered.org/t/how-to-delete-data-from-influxdb2-with-node-red/83007)

<div class="topic-metadata">

**Author:** [@88bit](https://discourse.nodered.org/u/88bit)\
**Replies:** 4\
**Last updated:** [19 November 2023 11:56 UTC](https://discourse.nodered.org/t/how-to-delete-data-from-influxdb2-with-node-red/83007 "2023-11-19T11:56:02Z")

</div>

Hi all, I’m trying to delete records from a influxdb and I can’t find anything about this anywhere. I have found some possibilities using the http API but I have no idea how to implement this in Node Red. Any help would…

---

## [InfluxdB out node](https://discourse.nodered.org/t/influxdb-out-node/80826)

<div class="topic-metadata">

**Author:** [@CJ10](https://discourse.nodered.org/u/CJ10)\
**Replies:** 1\
**Last updated:** [26 August 2023 15:13 UTC](https://discourse.nodered.org/t/influxdb-out-node/80826 "2023-08-26T15:13:52Z")

</div>

Does anybody know how to pass a payload, topic or flow variable into the InfluxDB Out node, as the measurement name/field? Usually {{payload}} or {{msg.topic}} works in order to insert the payload/topic into another nod…

---

## [Parsing and Formatting JSON Object for InfluxDB](https://discourse.nodered.org/t/parsing-and-formatting-json-object-for-influxdb/80325)

<div class="topic-metadata">

**Author:** [@thezfunk](https://discourse.nodered.org/u/thezfunk)\
**Replies:** 13\
**Last updated:** [7 August 2023 06:20 UTC](https://discourse.nodered.org/t/parsing-and-formatting-json-object-for-influxdb/80325 "2023-08-07T06:20:43Z")

</div>

Hi Everyone. I am new here and new to Node-Red and Influxdb for that matter. I had some intro programming courses 20 years ago and was never my favorite. With that being said, I am trying to take license plate data fr…

---

## [Can't get data from Influxdb with node-red-contrib-influxdb in 1.x InfluxQL style](https://discourse.nodered.org/t/cant-get-data-from-influxdb-with-node-red-contrib-influxdb-in-1-x-influxql-style/80149)

<div class="topic-metadata">

**Author:** [@Hans4711](https://discourse.nodered.org/u/Hans4711)\
**Replies:** 5\
**Last updated:** [1 August 2023 08:59 UTC](https://discourse.nodered.org/t/cant-get-data-from-influxdb-with-node-red-contrib-influxdb-in-1-x-influxql-style/80149 "2023-08-01T08:59:44Z")

</div>

I saving data from my node red flow to InfluxDB by using node-red-contrib-influxdb palette. I setup the connection parameter with "v2" option and token from Influxdb2. Working fine. Also I'm able to query my saved Infl…

---

## [How to separate digits for influxdb](https://discourse.nodered.org/t/how-to-separate-digits-for-influxdb/78666)

<div class="topic-metadata">

**Author:** [@Nagi](https://discourse.nodered.org/u/Nagi)\
**Replies:** 2\
**Last updated:** [24 May 2023 21:02 UTC](https://discourse.nodered.org/t/how-to-separate-digits-for-influxdb/78666 "2023-05-24T21:02:24Z")

</div>

Dear all, can you pleas help me, i am turning around for days. I have to seperate in this case the "5838.86" from the rest to push the number to the infludb. How can I do that? best regards Nagi

---

## [Timestamps not being recorded correctly](https://discourse.nodered.org/t/timestamps-not-being-recorded-correctly/77817)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 18\
**Last updated:** [23 April 2023 18:00 UTC](https://discourse.nodered.org/t/timestamps-not-being-recorded-correctly/77817 "2023-04-23T18:00:20Z")

</div>

I have a small flow that gets weather data from the met office, which I then change into the required format for feeding into the node-red-contrib-influxdb node. This then updates the data in Influxdb (which is on the sa…
