# General

**URL:** https://discourse.nodered.org/c/general/7.md?page=407

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

**Page:** 408

---

## [Load a mustache template from file with read node and then inject data in it by a function node](https://discourse.nodered.org/t/load-a-mustache-template-from-file-with-read-node-and-then-inject-data-in-it-by-a-function-node/59702)

<div class="topic-metadata">

**Author:** [@oliver](https://discourse.nodered.org/u/oliver)\
**Replies:** 10\
**Last updated:** [11 March 2022 13:07 UTC](https://discourse.nodered.org/t/load-a-mustache-template-from-file-with-read-node-and-then-inject-data-in-it-by-a-function-node/59702 "2022-03-11T13:07:57Z")

</div>

Hi, is it possible to load a mustache template from file with a read node and then inject data in it by a function node? Thanks in advance!

---

## [Is there an HTTP API where I can ask for Pings for Integration Tests?](https://discourse.nodered.org/t/is-there-an-http-api-where-i-can-ask-for-pings-for-integration-tests/59707)

<div class="topic-metadata">

**Author:** [@Shan](https://discourse.nodered.org/u/Shan)\
**Replies:** 1\
**Last updated:** [11 March 2022 12:44 UTC](https://discourse.nodered.org/t/is-there-an-http-api-where-i-can-ask-for-pings-for-integration-tests/59707 "2022-03-11T12:44:46Z")

</div>

Is there an HTTP GET API within the node-red API reference which I could use for some integrations tests just to know if node-red is up and running for example via a docker-compose stack or a standalone instance on a ma…

---

## [Mqtt message to python script into db database](https://discourse.nodered.org/t/mqtt-message-to-python-script-into-db-database/59694)

<div class="topic-metadata">

**Author:** [@sayod](https://discourse.nodered.org/u/sayod)\
**Replies:** 11\
**Last updated:** [11 March 2022 11:54 UTC](https://discourse.nodered.org/t/mqtt-message-to-python-script-into-db-database/59694 "2022-03-11T11:54:53Z")

</div>

i want a mqtt message to upload into a database without manually typing, python main.py in the Terminal. This is the python code i use: Save MQTT Data to SQLite Database using Python | Lindevs

---

## [Twitter alternative](https://discourse.nodered.org/t/twitter-alternative/59652)

<div class="topic-metadata">

**Author:** [@ilse.markert](https://discourse.nodered.org/u/ilse.markert)\
**Replies:** 4\
**Last updated:** [11 March 2022 08:55 UTC](https://discourse.nodered.org/t/twitter-alternative/59652 "2022-03-11T08:55:08Z")

</div>

Hello, I'm looking for some ideas. I'm using node red in a greenhouse setting. Yesterday I integrated a webcam and I thought it would be cool to publish a feed on twitter for it. I wanted to use it to check up on my da…

---

## [Possibility to delete the collected values in a fully configurable charts in a dashboard template node](https://discourse.nodered.org/t/possibility-to-delete-the-collected-values-in-a-fully-configurable-charts-in-a-dashboard-template-node/59666)

<div class="topic-metadata">

**Author:** [@Jackcat](https://discourse.nodered.org/u/Jackcat)\
**Replies:** 4\
**Last updated:** [11 March 2022 08:51 UTC](https://discourse.nodered.org/t/possibility-to-delete-the-collected-values-in-a-fully-configurable-charts-in-a-dashboard-template-node/59666 "2022-03-11T08:51:33Z")

</div>

Hello Node-Red Community, I have a problem that I have been struggling with for a few days now and would like your advice. I wanted to create a chart with X and Y axis labels in the dashboard. After ruling out the poss…

---

## [Extract a variable at a specific time and feed into function](https://discourse.nodered.org/t/extract-a-variable-at-a-specific-time-and-feed-into-function/59687)

<div class="topic-metadata">

**Author:** [@rocketsausages](https://discourse.nodered.org/u/rocketsausages)\
**Replies:** 1\
**Last updated:** [11 March 2022 00:22 UTC](https://discourse.nodered.org/t/extract-a-variable-at-a-specific-time-and-feed-into-function/59687 "2022-03-11T00:22:36Z")

</div>

I have a variable which changes throughout the day, I want to take that variable at a specific time and feed it into another function. for example at midnight my variable is 60, so I want to take "60" and feed that into…

---

## [Subflows and \`import\`... not always working the same](https://discourse.nodered.org/t/subflows-and-import-not-always-working-the-same/59684)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [10 March 2022 23:51 UTC](https://discourse.nodered.org/t/subflows-and-import-not-always-working-the-same/59684 "2022-03-10T23:51:18Z")

</div>

I have (I know it is not a good idea, but this is the situation as it presents itself to me just now) a few different versions of a subflow I wrote on different machines. I export what I think is the latest and import o…

---

## [VueJS / UIBuilder - v-for ranged values not being passed to Node-Red](https://discourse.nodered.org/t/vuejs-uibuilder-v-for-ranged-values-not-being-passed-to-node-red/59662)

<div class="topic-metadata">

**Author:** [@Dustin](https://discourse.nodered.org/u/Dustin)\
**Replies:** 3\
**Last updated:** [10 March 2022 20:06 UTC](https://discourse.nodered.org/t/vuejs-uibuilder-v-for-ranged-values-not-being-passed-to-node-red/59662 "2022-03-10T20:06:46Z")

</div>

I am messing around with UIBuilder and decided to try to learn VueJS. My coding skills in Javascript/html/css are basic, at best. I think my issue is more VueJS than NodeRed, but not 100% sure. I started this project bu…

---

## [There experiment is this article so i need the code of it](https://discourse.nodered.org/t/there-experiment-is-this-article-so-i-need-the-code-of-it/59675)

<div class="topic-metadata">

**Author:** [@fathi](https://discourse.nodered.org/u/fathi)\
**Replies:** 6\
**Last updated:** [10 March 2022 19:48 UTC](https://discourse.nodered.org/t/there-experiment-is-this-article-so-i-need-the-code-of-it/59675 "2022-03-10T19:48:42Z")

</div>

Low-Cost Precision Monitoring System of Machine Tools for SMEs Author : kanglin Xing

---

## [HELP! Bootlooped my RPi with NR flow](https://discourse.nodered.org/t/help-bootlooped-my-rpi-with-nr-flow/59670)

<div class="topic-metadata">

**Author:** [@daxliniere](https://discourse.nodered.org/u/daxliniere)\
**Replies:** 3\
**Last updated:** [10 March 2022 18:15 UTC](https://discourse.nodered.org/t/help-bootlooped-my-rpi-with-nr-flow/59670 "2022-03-10T18:15:55Z")

</div>

Hey gang, I was testing out a flow which would automatically reboot my RPi whenever the RAM usage was \>75% and somehow I've got it stuck in a bootloop. Can anyone suggest a way to get out of this, please? I used an ex…

---

## [Converting String to Ascii for DataLogic Scanner](https://discourse.nodered.org/t/converting-string-to-ascii-for-datalogic-scanner/59599)

<div class="topic-metadata">

**Author:** [@jts450](https://discourse.nodered.org/u/jts450)\
**Replies:** 17\
**Last updated:** [10 March 2022 16:33 UTC](https://discourse.nodered.org/t/converting-string-to-ascii-for-datalogic-scanner/59599 "2022-03-10T16:33:57Z")

</div>

I have a DataLogix Scanner and I am using TCP/IP node to read barcode data from the scanner and trigger the scanner at IP and Port 51240. This is working fine but according to the manufacture you use port 1023 for changi…

---

## [Uibuilder with PostgreSQL connection](https://discourse.nodered.org/t/uibuilder-with-postgresql-connection/59644)

<div class="topic-metadata">

**Author:** [@endkinghenry](https://discourse.nodered.org/u/endkinghenry)\
**Replies:** 2\
**Last updated:** [10 March 2022 15:01 UTC](https://discourse.nodered.org/t/uibuilder-with-postgresql-connection/59644 "2022-03-10T15:01:47Z")

</div>

Dear sir, madam, Is there a way to connect the uibuilder with the PostgreSQL database to call/ gather data, something similar to the code below here, without using the local flow connection (connecting the lines togethe…

---

## [Gstreamer stream capture](https://discourse.nodered.org/t/gstreamer-stream-capture/59617)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 3\
**Last updated:** [10 March 2022 14:12 UTC](https://discourse.nodered.org/t/gstreamer-stream-capture/59617 "2022-03-10T14:12:59Z")

</div>

I am running node-red on a Jetson Nano. I am using gstreamer to grab video from a USB connected camera. (I need to use Gstreamer and not ffmpeg because I am splitting the video source into two pipes and the other program…

---

## [Template query …](https://discourse.nodered.org/t/template-query/59651)

<div class="topic-metadata">

**Author:** [@Alpal](https://discourse.nodered.org/u/Alpal)\
**Replies:** 6\
**Last updated:** [10 March 2022 11:58 UTC](https://discourse.nodered.org/t/template-query/59651 "2022-03-10T11:58:22Z")

</div>

Newbie here. Hi! I use these templates to display camera images off the internet as shown (proprietary info redacted). I’m curious as to when the data is transferred. Is it only when I look at the images on the dashboard…

---

## [Issues in persisting messages in MQTT Broker using NodeRed MQTT Nodes](https://discourse.nodered.org/t/issues-in-persisting-messages-in-mqtt-broker-using-nodered-mqtt-nodes/4666)

<div class="topic-metadata">

**Author:** [@suryas](https://discourse.nodered.org/u/suryas)\
**Replies:** 25\
**Last updated:** [10 March 2022 10:37 UTC](https://discourse.nodered.org/t/issues-in-persisting-messages-in-mqtt-broker-using-nodered-mqtt-nodes/4666 "2022-03-10T10:37:12Z")

</div>

Hi I have an use case which requires persisting the MQTT messages in Broker whenever a subscriber goes offline. When the subscriber reconnects all the messages published when it was offline should be delivered. To achi…

---

## [MQTT data persistence not possible due to automatic unsubscribe before disconnect](https://discourse.nodered.org/t/mqtt-data-persistence-not-possible-due-to-automatic-unsubscribe-before-disconnect/56865)

<div class="topic-metadata">

**Author:** [@Keylies](https://discourse.nodered.org/u/Keylies)\
**Replies:** 8\
**Last updated:** [10 March 2022 10:34 UTC](https://discourse.nodered.org/t/mqtt-data-persistence-not-possible-due-to-automatic-unsubscribe-before-disconnect/56865 "2022-03-10T10:34:21Z")

</div>

Hello everyone, I have trouble testing the persistence of MQTT messages with Node-RED. I have a Node-RED 2.1.6 server, in which a "mqtt in" node subscribes to a topic. I would like that if my Node-RED server goes down…

---

## [Watson IoT Platform to Node Red local](https://discourse.nodered.org/t/watson-iot-platform-to-node-red-local/59634)

<div class="topic-metadata">

**Author:** [@PanK](https://discourse.nodered.org/u/PanK)\
**Replies:** 0\
**Last updated:** [10 March 2022 06:05 UTC](https://discourse.nodered.org/t/watson-iot-platform-to-node-red-local/59634 "2022-03-10T06:05:54Z")

</div>

0 I am trying to receive event data publish to WIoTP using node-red on a local server. I try both IBM IoT in node and the mqtt in node but either work. My configuration using IoT in node is Authentication as "API Key".…

---

## [Help| how to split string from mqtt](https://discourse.nodered.org/t/help-how-to-split-string-from-mqtt/48931)

<div class="topic-metadata">

**Author:** [@puteramelaka](https://discourse.nodered.org/u/puteramelaka)\
**Replies:** 40\
**Last updated:** [10 March 2022 06:03 UTC](https://discourse.nodered.org/t/help-how-to-split-string-from-mqtt/48931 "2022-03-10T06:03:10Z")

</div>

i have send reading of accelerometer from MQTT to node-red in three axis (x -axis,y-axis and z-axis). however the message recieved is in the form of string. i have been watching youtube and reading google etc.i found th…

---

## [Cannot GET error handler - Controling HTTP\_status\_codes](https://discourse.nodered.org/t/cannot-get-error-handler-controling-http-status-codes/59627)

<div class="topic-metadata">

**Author:** [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Replies:** 0\
**Last updated:** [10 March 2022 03:30 UTC](https://discourse.nodered.org/t/cannot-get-error-handler-controling-http-status-codes/59627 "2022-03-10T03:30:16Z")

</div>

This is in response to closed thread: I just had to deal with this issue and found nginx was a great solution. Solution: proxy\_intercept\_errors on; http://nginx.org/en/docs/http/ngx\_http\_proxy\_module.html#proxy\_inte…

---

## [Node-Red receive JSON File through HTTP](https://discourse.nodered.org/t/node-red-receive-json-file-through-http/59528)

<div class="topic-metadata">

**Author:** [@Mohamedaminhamdad](https://discourse.nodered.org/u/Mohamedaminhamdad)\
**Replies:** 6\
**Last updated:** [9 March 2022 22:01 UTC](https://discourse.nodered.org/t/node-red-receive-json-file-through-http/59528 "2022-03-09T22:01:24Z")

</div>

Hello everybody, I am a new in Node-Red and I have a question regarding the HTTP node in Node red. My node-red is running on an virtual operating system (ctrlX Automation from Bosch Rexroth) and I want to send to it js…

---

## [Neopixel node does not send out signal](https://discourse.nodered.org/t/neopixel-node-does-not-send-out-signal/59438)

<div class="topic-metadata">

**Author:** [@nick](https://discourse.nodered.org/u/nick)\
**Replies:** 7\
**Last updated:** [9 March 2022 20:58 UTC](https://discourse.nodered.org/t/neopixel-node-does-not-send-out-signal/59438 "2022-03-09T20:58:40Z")

</div>

Dear all, i am trying to control a WS2812B ledstrip with the neopixel node. i am using a raspberry pi 3B with 2022-01-28-raspios-bullseye-armhf and node red version 2.2.2. i followed the instruction of installing the …

---

## [Cant write to register in Modbus](https://discourse.nodered.org/t/cant-write-to-register-in-modbus/8566)

<div class="topic-metadata">

**Author:** [@miljume](https://discourse.nodered.org/u/miljume)\
**Replies:** 3\
**Last updated:** [9 March 2022 20:23 UTC](https://discourse.nodered.org/t/cant-write-to-register-in-modbus/8566 "2022-03-09T20:23:44Z")

</div>

Hello, I have a PLC which communicate by Modbus and I have integrated to that with Node Red. I am able to read registers with FC1 without problems but when I try to write a flag with the address 1544 with FC5 I am not a…

---

## [Put the key of a object in ng-repeat to a button's ng-click to send the key as part of a msg](https://discourse.nodered.org/t/put-the-key-of-a-object-in-ng-repeat-to-a-buttons-ng-click-to-send-the-key-as-part-of-a-msg/59614)

<div class="topic-metadata">

**Author:** [@thematrixrearwindow](https://discourse.nodered.org/u/thematrixrearwindow)\
**Replies:** 2\
**Last updated:** [9 March 2022 19:49 UTC](https://discourse.nodered.org/t/put-the-key-of-a-object-in-ng-repeat-to-a-buttons-ng-click-to-send-the-key-as-part-of-a-msg/59614 "2022-03-09T19:49:11Z")

</div>

Hi there, how can i get the key of the (key, value) to a button to send it as msg.payload in ng-click? In this part i want to insert the {{key}} from the ng-repeat but that doesn't seem to work. \<md-button ng-click="m…

---

## [How to compare 2 data sets with either an integral or derivative](https://discourse.nodered.org/t/how-to-compare-2-data-sets-with-either-an-integral-or-derivative/59401)

<div class="topic-metadata">

**Author:** [@bkenobi](https://discourse.nodered.org/u/bkenobi)\
**Replies:** 23\
**Last updated:** [9 March 2022 19:42 UTC](https://discourse.nodered.org/t/how-to-compare-2-data-sets-with-either-an-integral-or-derivative/59401 "2022-03-09T19:42:49Z")

</div>

I have a power meter reader that feeds data to NR through MQTT (reader -\> 433MHz radio -\> rtl\_433 -\> MQTT -\> NR). Once the data is in NR, I process it and send it to InfluxDB for storage. The data comes in correctly so…

---

## [Email formatting](https://discourse.nodered.org/t/email-formatting/59611)

<div class="topic-metadata">

**Author:** [@PiMo131](https://discourse.nodered.org/u/PiMo131)\
**Replies:** 1\
**Last updated:** [9 March 2022 19:28 UTC](https://discourse.nodered.org/t/email-formatting/59611 "2022-03-09T19:28:05Z")

</div>

Hi, I want to format the msg.body property for an email. I have two variable (lat & lon) for storing the location data. then I am formatting a link to match the google-maps links. This way the receiver should be able to…

---

## [Node-red-google-notify - can it read msg.payload?](https://discourse.nodered.org/t/node-red-google-notify-can-it-read-msg-payload/59520)

<div class="topic-metadata">

**Author:** [@Anto79-ops](https://discourse.nodered.org/u/Anto79-ops)\
**Replies:** 22\
**Last updated:** [9 March 2022 17:44 UTC](https://discourse.nodered.org/t/node-red-google-notify-can-it-read-msg-payload/59520 "2022-03-09T17:44:20Z")

</div>

Anybody know if the node-red-google-notify node can read/annouce msg.payload instead of actual text? I placed "msg.payload" in the text box and it just read msg.payload. thanks

---

## [RequestError: Incorrect syntax near '.'](https://discourse.nodered.org/t/requesterror-incorrect-syntax-near/59605)

<div class="topic-metadata">

**Author:** [@QGIO](https://discourse.nodered.org/u/QGIO)\
**Replies:** 3\
**Last updated:** [9 March 2022 16:33 UTC](https://discourse.nodered.org/t/requesterror-incorrect-syntax-near/59605 "2022-03-09T16:33:10Z")

</div>

I have created the following flow: \</\> in which I send by the button 'Carica' a number to the function in order to select a specific raw of a SQL database table. On the MSSQL node I get the following error: Reques…

---

## [Controller Firewall Opening](https://discourse.nodered.org/t/controller-firewall-opening/59587)

<div class="topic-metadata">

**Author:** [@jpmaloney2](https://discourse.nodered.org/u/jpmaloney2)\
**Replies:** 7\
**Last updated:** [9 March 2022 16:07 UTC](https://discourse.nodered.org/t/controller-firewall-opening/59587 "2022-03-09T16:07:49Z")

</div>

Apologies if my question is not thoroughly written enough I am very new to this software. I have a Sturtevant Richmont torque wrench controller that I need to get approval through my company's IT department to use with …

---

## [Uibuilder with chart.js, Wait on msg from nodered](https://discourse.nodered.org/t/uibuilder-with-chart-js-wait-on-msg-from-nodered/59581)

<div class="topic-metadata">

**Author:** [@endkinghenry](https://discourse.nodered.org/u/endkinghenry)\
**Replies:** 7\
**Last updated:** [9 March 2022 15:43 UTC](https://discourse.nodered.org/t/uibuilder-with-chart-js-wait-on-msg-from-nodered/59581 "2022-03-09T15:43:54Z")

</div>

Dear sir, madam, I'm kind of new to programming but does anyone know/ care to explain how to wait for msg from nodered before proceeding the function ? // I am using uibuilder Currently I'm trying to make a chart using…

---

## [Creating a test framework to test the movement of my machine without needing to connect my ma](https://discourse.nodered.org/t/creating-a-test-framework-to-test-the-movement-of-my-machine-without-needing-to-connect-my-ma/59602)

<div class="topic-metadata">

**Author:** [@jannaelghabaty](https://discourse.nodered.org/u/jannaelghabaty)\
**Replies:** 0\
**Last updated:** [9 March 2022 15:25 UTC](https://discourse.nodered.org/t/creating-a-test-framework-to-test-the-movement-of-my-machine-without-needing-to-connect-my-ma/59602 "2022-03-09T15:25:07Z")

</div>

Hello, We have a machine that uses a configuration node to be able to work. For example we have movement node that moves this machine from a place to another and that movement node would be using the configuration node …

[Previous page](https://discourse.nodered.org/c/general/7.md?page=406)

[Next page](https://discourse.nodered.org/c/general/7.md?page=408)
