# General

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

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

**Page:** 123

---

## [Writing updating of out time in csv file in node red](https://discourse.nodered.org/t/writing-updating-of-out-time-in-csv-file-in-node-red/86635)

<div class="topic-metadata">

**Author:** [@hbadshahp](https://discourse.nodered.org/u/hbadshahp)\
**Replies:** 5\
**Last updated:** [21 March 2024 15:20 UTC](https://discourse.nodered.org/t/writing-updating-of-out-time-in-csv-file-in-node-red/86635 "2024-03-21T15:20:29Z")

</div>

Hii, I am writing the sensor data with time stamp in csv file using Nodered. Now I want to store the in time and out time of sensor data in same row of csv because of memory management. Example sensor1 in time punch at…

---

## [Forecast Solar Error since 2 days](https://discourse.nodered.org/t/forecast-solar-error-since-2-days/86623)

<div class="topic-metadata">

**Author:** [@jojogommez](https://discourse.nodered.org/u/jojogommez)\
**Replies:** 1\
**Last updated:** [21 March 2024 10:42 UTC](https://discourse.nodered.org/t/forecast-solar-error-since-2-days/86623 "2024-03-21T10:42:57Z")

</div>

Good morning, Since yesterday my forecast query (Node Red Victron) no longer returns any values but only an error. The new installation of the subflow etc. was also unsuccessful. Debug: The function brings a warning …

---

## [Daemon node message in debug window not available in status node](https://discourse.nodered.org/t/daemon-node-message-in-debug-window-not-available-in-status-node/86624)

<div class="topic-metadata">

**Author:** [@iot.regenesis](https://discourse.nodered.org/u/iot.regenesis)\
**Replies:** 0\
**Last updated:** [21 March 2024 06:58 UTC](https://discourse.nodered.org/t/daemon-node-message-in-debug-window-not-available-in-status-node/86624 "2024-03-21T06:58:52Z")

</div>

hi all, I am using few daemon nodes. I know how to evaluate the daemon node states by using status node. When the flow redeployed/restarted each daemon node sent out message like in the picture below, message inside re…

---

## [Converting Node-RED flows to UNIX pipes](https://discourse.nodered.org/t/converting-node-red-flows-to-unix-pipes/86590)

<div class="topic-metadata">

**Author:** [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Replies:** 5\
**Last updated:** [20 March 2024 20:18 UTC](https://discourse.nodered.org/t/converting-node-red-flows-to-unix-pipes/86590 "2024-03-20T20:18:43Z")

</div>

Hi There, I was thinking about UNIX pipes and the obvious relationship to NR flows, as both are based on flow based programming. Is there anything that converts NR flows to a UNIX pipes representation? It won't have to…

---

## [Node-Red High CPU load after 24 hours](https://discourse.nodered.org/t/node-red-high-cpu-load-after-24-hours/86318)

<div class="topic-metadata">

**Author:** [@Learn](https://discourse.nodered.org/u/Learn)\
**Replies:** 10\
**Last updated:** [20 March 2024 16:51 UTC](https://discourse.nodered.org/t/node-red-high-cpu-load-after-24-hours/86318 "2024-03-20T16:51:17Z")

</div>

Hello, for a few days now I have had the problem that everything is very slow. For example, no matter where I press a button, it takes a very long time (about 5 seconds) for the assigned light to come on. I noticed that…

---

## [No connection information in flows](https://discourse.nodered.org/t/no-connection-information-in-flows/86599)

<div class="topic-metadata">

**Author:** [@Ives25](https://discourse.nodered.org/u/Ives25)\
**Replies:** 0\
**Last updated:** [20 March 2024 16:43 UTC](https://discourse.nodered.org/t/no-connection-information-in-flows/86599 "2024-03-20T16:43:32Z")

</div>

Hi, Hi, Connection information in the flows is displayed after several minutes (Home Assistant add-on) as is the possibility of using the debugger; This problem appeared over a month ago and I can't find the cause.

---

## [Installing dependency modules when cloning project to server](https://discourse.nodered.org/t/installing-dependency-modules-when-cloning-project-to-server/86475)

<div class="topic-metadata">

**Author:** [@bs-eng](https://discourse.nodered.org/u/bs-eng)\
**Replies:** 14\
**Last updated:** [20 March 2024 16:01 UTC](https://discourse.nodered.org/t/installing-dependency-modules-when-cloning-project-to-server/86475 "2024-03-20T16:01:43Z")

</div>

Hi there! Currently I am cloning my project to two other linux PCs, which are set up identical to the the source system. When starting node-red first time on the clone I setup the git and switch to the branch needed. …

---

## [How to display a PDF file in a new tab](https://discourse.nodered.org/t/how-to-display-a-pdf-file-in-a-new-tab/86573)

<div class="topic-metadata">

**Author:** [@Yury](https://discourse.nodered.org/u/Yury)\
**Replies:** 5\
**Last updated:** [20 March 2024 11:24 UTC](https://discourse.nodered.org/t/how-to-display-a-pdf-file-in-a-new-tab/86573 "2024-03-20T11:24:37Z")

</div>

I made the HTML file display (read as utf 8) in a new tab as described by dear Steve-Mcl: https://flows.nodered.org/flow/db68bd4934cf46f39e6e453a348bc419 But the PDF file can only be downloaded in a new tab (read as bu…

---

## [Node red OPCUA write through kepserver](https://discourse.nodered.org/t/node-red-opcua-write-through-kepserver/86589)

<div class="topic-metadata">

**Author:** [@ect\_09](https://discourse.nodered.org/u/ect_09)\
**Replies:** 2\
**Last updated:** [20 March 2024 09:14 UTC](https://discourse.nodered.org/t/node-red-opcua-write-through-kepserver/86589 "2024-03-20T09:14:37Z")

</div>

Hi, I am new to forum, below is the code for node red flow to write the value to opc client. the purpose is to first read the setpoint and then change the set point in it by increasing/decreasing arrow. but issue is it…

---

## [IFM VTV 122 Vibration Transmitter](https://discourse.nodered.org/t/ifm-vtv-122-vibration-transmitter/86416)

<div class="topic-metadata">

**Author:** [@union](https://discourse.nodered.org/u/union)\
**Replies:** 9\
**Last updated:** [20 March 2024 02:06 UTC](https://discourse.nodered.org/t/ifm-vtv-122-vibration-transmitter/86416 "2024-03-20T02:06:42Z")

</div>

Hello, is there anyone who use this type of sensor? I still a bit confuse about this sensor output and communication protocol. This is the technical specification from ifm website: VTV122 - Vibration transmitter - ifm M…

---

## [Error in user guide?](https://discourse.nodered.org/t/error-in-user-guide/86486)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 5\
**Last updated:** [19 March 2024 22:26 UTC](https://discourse.nodered.org/t/error-in-user-guide/86486 "2024-03-19T22:26:56Z")

</div>

The user guide on using environment variables says that when Node-red is running as a service, environment variables can be defined in a file ~/.node-red/environment. The file path seems to be defined in /lib/systemd…

---

## ["Invalid properties: Error in JavaScript Code" in Function Node but Function works](https://discourse.nodered.org/t/invalid-properties-error-in-javascript-code-in-function-node-but-function-works/86571)

<div class="topic-metadata">

**Author:** [@stephenn](https://discourse.nodered.org/u/stephenn)\
**Replies:** 4\
**Last updated:** [19 March 2024 18:56 UTC](https://discourse.nodered.org/t/invalid-properties-error-in-javascript-code-in-function-node-but-function-works/86571 "2024-03-19T18:56:30Z")

</div>

I am trying to use a Function Node to pull a stored temperature value and format it so that I can send it to a Call Service Node in Home Assistant. This code works just as I want. However, the Function Node has a Red T…

---

## [SparkPlug B Manual DBirth but with a Loop Function node](https://discourse.nodered.org/t/sparkplug-b-manual-dbirth-but-with-a-loop-function-node/86468)

<div class="topic-metadata">

**Author:** [@314PITester](https://discourse.nodered.org/u/314PITester)\
**Replies:** 3\
**Last updated:** [19 March 2024 18:36 UTC](https://discourse.nodered.org/t/sparkplug-b-manual-dbirth-but-with-a-loop-function-node/86468 "2024-03-19T18:36:55Z")

</div>

Afternoon everyone, I have a flow that currently works but I think it could be prone to message errors and what I've attempted to do is build this into single function node that loops the data instead. So the end goal …

---

## [Pico W HiveMQ Cloud and Node Red issue](https://discourse.nodered.org/t/pico-w-hivemq-cloud-and-node-red-issue/86565)

<div class="topic-metadata">

**Author:** [@badflash](https://discourse.nodered.org/u/badflash)\
**Replies:** 4\
**Last updated:** [19 March 2024 17:19 UTC](https://discourse.nodered.org/t/pico-w-hivemq-cloud-and-node-red-issue/86565 "2024-03-19T17:19:03Z")

</div>

Totally new to this. I can’t get Node Red to receive MQTT data from HiveMQ Cloud. The Pico W is sending data and I see it in HiveMQ Cloud, but I just can’t seem to connect Node Red to HiveMQ Cloud. I'm using the free acc…

---

## [Accessing environment variables](https://discourse.nodered.org/t/accessing-environment-variables/86388)

<div class="topic-metadata">

**Author:** [@ThisEndUp](https://discourse.nodered.org/u/ThisEndUp)\
**Replies:** 15\
**Last updated:** [19 March 2024 16:47 UTC](https://discourse.nodered.org/t/accessing-environment-variables/86388 "2024-03-19T16:47:38Z")

</div>

I'm trying to use an MQTT broker to broadcast some data. For flexibility, I want to set the MQTT variables in the system environment and then read them in my Node-Red flow. It used to work (some years ago) but no longe…

---

## [Variable instead of fixed value](https://discourse.nodered.org/t/variable-instead-of-fixed-value/86563)

<div class="topic-metadata">

**Author:** [@ziege3.0](https://discourse.nodered.org/u/ziege3.0)\
**Replies:** 1\
**Last updated:** [19 March 2024 15:00 UTC](https://discourse.nodered.org/t/variable-instead-of-fixed-value/86563 "2024-03-19T15:00:23Z")

</div>

Hello, is it possible to set a variable instead of the 15? It would be enough for me if I could define it once in the node. PS: sorry about my english.

---

## [Switch Pi GPIO via Node Red not ok, via HA Dashboard ok?](https://discourse.nodered.org/t/switch-pi-gpio-via-node-red-not-ok-via-ha-dashboard-ok/86561)

<div class="topic-metadata">

**Author:** [@DerKlotz74](https://discourse.nodered.org/u/DerKlotz74)\
**Replies:** 0\
**Last updated:** [19 March 2024 13:34 UTC](https://discourse.nodered.org/t/switch-pi-gpio-via-node-red-not-ok-via-ha-dashboard-ok/86561 "2024-03-19T13:34:09Z")

</div>

Hello, i´m still at the beginning using HA and Node Red. I´m at a point where i like to use Node Red for small automations. Where I am currently failing is the physical switching of relays that are connected to the Pi.…

---

## [Mqtt not connecting to broker ip](https://discourse.nodered.org/t/mqtt-not-connecting-to-broker-ip/86551)

<div class="topic-metadata">

**Author:** [@neyarprasanth1](https://discourse.nodered.org/u/neyarprasanth1)\
**Replies:** 17\
**Last updated:** [19 March 2024 11:36 UTC](https://discourse.nodered.org/t/mqtt-not-connecting-to-broker-ip/86551 "2024-03-19T11:36:23Z")

</div>

Hello All, Actually I bought new R-Pi 4. There inside I installed mosquitto broker and nodered also. And mosquitto.conf file inside edit the things for listener port 1883 and Allow Anonymous true. But still in my nodere…

---

## [JSON: how to generate random number?](https://discourse.nodered.org/t/json-how-to-generate-random-number/86554)

<div class="topic-metadata">

**Author:** [@realtebo](https://discourse.nodered.org/u/realtebo)\
**Replies:** 2\
**Last updated:** [19 March 2024 09:22 UTC](https://discourse.nodered.org/t/json-how-to-generate-random-number/86554 "2024-03-19T09:22:03Z")

</div>

I need to inject random a single value in a json. I am trying msg.payload = { "temperature" : jsonata("Math.random() \* 20 + 10").evaluate(), } msg.topic = "device/ht"; return msg; but temperature is empty. What i…

---

## [Disable Export in context menu](https://discourse.nodered.org/t/disable-export-in-context-menu/86542)

<div class="topic-metadata">

**Author:** [@HarryPottar](https://discourse.nodered.org/u/HarryPottar)\
**Replies:** 1\
**Last updated:** [19 March 2024 09:15 UTC](https://discourse.nodered.org/t/disable-export-in-context-menu/86542 "2024-03-19T09:15:03Z")

</div>

Hello, I did search but couldn't find anything. I have disabled the export in the settings file "menu-item-export-library": false, But I can still export through the context menu. How do you disable items in the con…

---

## [Modbus Server not working](https://discourse.nodered.org/t/modbus-server-not-working/86502)

<div class="topic-metadata">

**Author:** [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Replies:** 6\
**Last updated:** [19 March 2024 07:29 UTC](https://discourse.nodered.org/t/modbus-server-not-working/86502 "2024-03-19T07:29:22Z")

</div>

I am using the Modbus Flex Server from node-red-contrib-modbus. I want to create a modbus client so an industrial PLC can read a Zigbee device. I can see some topic about this back in 2019, I am not sure if anyone if us…

---

## [Html2canvas without internet access](https://discourse.nodered.org/t/html2canvas-without-internet-access/86438)

<div class="topic-metadata">

**Author:** [@baboski](https://discourse.nodered.org/u/baboski)\
**Replies:** 7\
**Last updated:** [18 March 2024 19:31 UTC](https://discourse.nodered.org/t/html2canvas-without-internet-access/86438 "2024-03-18T19:31:38Z")

</div>

Hello, as i wrote in the title i would like to use html2canvas without internet access, i wanted to use again a code for a template that i already have but it works only with internet access because it uses: \<script src…

---

## [Opc ua client error](https://discourse.nodered.org/t/opc-ua-client-error/86519)

<div class="topic-metadata">

**Author:** [@PRABHAKAR82](https://discourse.nodered.org/u/PRABHAKAR82)\
**Replies:** 1\
**Last updated:** [18 March 2024 12:20 UTC](https://discourse.nodered.org/t/opc-ua-client-error/86519 "2024-03-18T12:20:22Z")

</div>

I am able to read opc ua tag data into opc ua client software but when i tried to connect it to node-red then i got following error. "connectio error type error:cannot read property of undefined reading(reading,applicat…

---

## [Support/Premium Support](https://discourse.nodered.org/t/support-premium-support/86516)

<div class="topic-metadata">

**Author:** [@cscientist7](https://discourse.nodered.org/u/cscientist7)\
**Replies:** 1\
**Last updated:** [18 March 2024 10:23 UTC](https://discourse.nodered.org/t/support-premium-support/86516 "2024-03-18T10:23:33Z")

</div>

Hi, Considering integrating Node-RED into our tech stack for enterprise use. Does Node-RED offer premium or 24/7 support for enterprises, or are there third-party vendors known for providing reliable support services fo…

---

## [Saving context data to the file-system， saving map type data will fail](https://discourse.nodered.org/t/saving-context-data-to-the-file-system-saving-map-type-data-will-fail/86510)

<div class="topic-metadata">

**Author:** [@julaoshi](https://discourse.nodered.org/u/julaoshi)\
**Replies:** 1\
**Last updated:** [18 March 2024 08:01 UTC](https://discourse.nodered.org/t/saving-context-data-to-the-file-system-saving-map-type-data-will-fail/86510 "2024-03-18T08:01:06Z")

</div>

setting contextStorage: { default: { module: "localfilesystem" } } After enabling file persistence, saving map type data will fail, while other types can succeed. Why is this? How to solve it 开启文件持久化后，保存m…

---

## [G-Sheet - get multiple values into same row, different coloms](https://discourse.nodered.org/t/g-sheet-get-multiple-values-into-same-row-different-coloms/86513)

<div class="topic-metadata">

**Author:** [@Lance99](https://discourse.nodered.org/u/Lance99)\
**Replies:** 0\
**Last updated:** [18 March 2024 07:50 UTC](https://discourse.nodered.org/t/g-sheet-get-multiple-values-into-same-row-different-coloms/86513 "2024-03-18T07:50:09Z")

</div>

𝗚𝗦𝗵𝗲𝗲𝘁 (𝗱𝗮𝘁𝗮 𝗶𝗻𝘁𝗼 𝗚𝗼𝗼𝗴𝗹𝗲 𝘀𝗽𝗿𝗲𝗮𝗱𝘀𝗵𝗲𝗲𝘁 𝗶𝗻 𝗖𝗹𝗼𝘂𝗱) : I followed this great tutorial https://www.youtube.com/watch?v=JKh9qn0fxewand and got things working in my flow. Question: My incoming data in the flow consists of a time…

---

## [How many clients can connect to the websocket server?](https://discourse.nodered.org/t/how-many-clients-can-connect-to-the-websocket-server/86334)

<div class="topic-metadata">

**Author:** [@sercancetin](https://discourse.nodered.org/u/sercancetin)\
**Replies:** 5\
**Last updated:** [17 March 2024 22:12 UTC](https://discourse.nodered.org/t/how-many-clients-can-connect-to-the-websocket-server/86334 "2024-03-17T22:12:28Z")

</div>

Hello dear node-red masters, I'm just asking for confirmation. I am testing how many clients can connect to the websocket server. According to my observations, each websocket server accepts a maximum of 232 clients. Is …

---

## [Monaco Editor Q](https://discourse.nodered.org/t/monaco-editor-q/86395)

<div class="topic-metadata">

**Author:** [@StrongTown](https://discourse.nodered.org/u/StrongTown)\
**Replies:** 5\
**Last updated:** [17 March 2024 22:08 UTC](https://discourse.nodered.org/t/monaco-editor-q/86395 "2024-03-17T22:08:00Z")

</div>

First, I gotta say I LOVE the Monaco editor. It has saved me so much time with error trapping, saved my butt from unknowingly doing stupid things and with the intelligent coloring makes coding easier to do. Love it! I…

---

## [From Node.js code to Node-Red flows](https://discourse.nodered.org/t/from-node-js-code-to-node-red-flows/86393)

<div class="topic-metadata">

**Author:** [@MagicJF](https://discourse.nodered.org/u/MagicJF)\
**Replies:** 2\
**Last updated:** [17 March 2024 21:55 UTC](https://discourse.nodered.org/t/from-node-js-code-to-node-red-flows/86393 "2024-03-17T21:55:31Z")

</div>

Hello, I do have a server coded in Node.js with thousands of lines of code and I would like to have it working on Node-Red flows instead. Is there an automatic way to do the migration? I suspect I could benefit from G…

---

## [Node-RED & dockerfile, can make folder, cannot add text file to it?](https://discourse.nodered.org/t/node-red-dockerfile-can-make-folder-cannot-add-text-file-to-it/86471)

<div class="topic-metadata">

**Author:** [@questuk](https://discourse.nodered.org/u/questuk)\
**Replies:** 11\
**Last updated:** [17 March 2024 19:41 UTC](https://discourse.nodered.org/t/node-red-dockerfile-can-make-folder-cannot-add-text-file-to-it/86471 "2024-03-17T19:41:39Z")

</div>

HI, I know not so many use docker and I am a beginner, but I am totally stuck ! My dockerfile ... FROM nodered/node-red:3.1.3 RUN mkdir -p /data/gb/test WORKDIR /data/gb/test COPY test.txt /data/gb/test This does…

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

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