# General

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

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

**Page:** 157

---

## [Problem with moment](https://discourse.nodered.org/t/problem-with-moment/83182)

<div class="topic-metadata">

**Author:** [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Replies:** 10\
**Last updated:** [25 November 2023 16:49 UTC](https://discourse.nodered.org/t/problem-with-moment/83182 "2023-11-25T16:49:45Z")

</div>

Please have a look at the attached flow. Why does moment in a moment node deliver a different result as moment in change node? \[{"id":"8d803f5dd58c9965","type":"debug","z":"db81a52a5a9665c2","name":"debug 2458","active…

---

## [Tags and fields won't go in the same message](https://discourse.nodered.org/t/tags-and-fields-wont-go-in-the-same-message/83181)

<div class="topic-metadata">

**Author:** [@Trisax](https://discourse.nodered.org/u/Trisax)\
**Replies:** 7\
**Last updated:** [25 November 2023 15:54 UTC](https://discourse.nodered.org/t/tags-and-fields-wont-go-in-the-same-message/83181 "2023-11-25T15:54:49Z")

</div>

Hello everybody. I'm a newby. I'm stuck with "function" and "influxdb out" my input msg is : " 25/11/2023 13:16:04noeud: debug 1 msg.payload : string\[275\] "↵ADCO 032261287400 :↵OPTARIF BBR3 ^↵ISOUSC 45 ?↵BBRHCJB 0…

---

## [Problem loading an external module](https://discourse.nodered.org/t/problem-loading-an-external-module/83143)

<div class="topic-metadata">

**Author:** [@rozek](https://discourse.nodered.org/u/rozek)\
**Replies:** 35\
**Last updated:** [25 November 2023 15:17 UTC](https://discourse.nodered.org/t/problem-loading-an-external-module/83143 "2023-11-25T15:17:34Z")

</div>

I just tried to install an external module and use it within a function node, following the docs: within the function editor, I configured the external module (javascript-interface-library -\> JIL) verified that functio…

---

## [Booleans to 0 and 1s](https://discourse.nodered.org/t/booleans-to-0-and-1s/83179)

<div class="topic-metadata">

**Author:** [@martijnspaan](https://discourse.nodered.org/u/martijnspaan)\
**Replies:** 7\
**Last updated:** [25 November 2023 14:06 UTC](https://discourse.nodered.org/t/booleans-to-0-and-1s/83179 "2023-11-25T14:06:16Z")

</div>

Hi, I have an array of booleans which I try to change to 0s and 1s. I have tried to use the change fucntion do replace a boolean to a number. it doesnt do the transformation as the output is still a boolean. How can I…

---

## [Installation of node modules like the dashboard is not possible (err EAI\_AGAIN, docker)](https://discourse.nodered.org/t/installation-of-node-modules-like-the-dashboard-is-not-possible-err-eai-again-docker/83175)

<div class="topic-metadata">

**Author:** [@domi](https://discourse.nodered.org/u/domi)\
**Replies:** 7\
**Last updated:** [25 November 2023 13:19 UTC](https://discourse.nodered.org/t/installation-of-node-modules-like-the-dashboard-is-not-possible-err-eai-again-docker/83175 "2023-11-25T13:19:37Z")

</div>

hello My node-red run in a container. with 192.168.1.232:1880 i can see it. BUT if i try to install an new paket like the node red dashboard, it does not work. the log means: -----------------------------------------…

---

## [WIFI SSID and pass set up via dashboard on RPI](https://discourse.nodered.org/t/wifi-ssid-and-pass-set-up-via-dashboard-on-rpi/83168)

<div class="topic-metadata">

**Author:** [@imperium85](https://discourse.nodered.org/u/imperium85)\
**Replies:** 4\
**Last updated:** [25 November 2023 12:12 UTC](https://discourse.nodered.org/t/wifi-ssid-and-pass-set-up-via-dashboard-on-rpi/83168 "2023-11-25T12:12:59Z")

</div>

Hi Team, I have an application runnning nicely now ( thanks for some mammbers in here ) I have the data I wan't on my dash board but I have hit an other problem. If i deploy my system under an other network i need to se…

---

## [Changing flows\_cred.json values at runtime](https://discourse.nodered.org/t/changing-flows-cred-json-values-at-runtime/83173)

<div class="topic-metadata">

**Author:** [@guillad](https://discourse.nodered.org/u/guillad)\
**Replies:** 1\
**Last updated:** [25 November 2023 11:32 UTC](https://discourse.nodered.org/t/changing-flows-cred-json-values-at-runtime/83173 "2023-11-25T11:32:50Z")

</div>

Hi everyone! My current environment is Node-Red Express and I'd like to be able to modify the flows\_cred.json values at runtime without restarting Node Red. In this way, I thought, the configuration nodes' credentials c…

---

## [NAND gate 4 flow Booleans](https://discourse.nodered.org/t/nand-gate-4-flow-booleans/83162)

<div class="topic-metadata">

**Author:** [@eerke2021](https://discourse.nodered.org/u/eerke2021)\
**Replies:** 6\
**Last updated:** [25 November 2023 11:29 UTC](https://discourse.nodered.org/t/nand-gate-4-flow-booleans/83162 "2023-11-25T11:29:47Z")

</div>

Hi, I have 4 separate Booleans on 4 different flows, each is called the same (flow.occupancy), each of which relates to a section of my house. If none of the 4 areas have anyone in them (eg occupancy = false) it means …

---

## [OracleDB query with variable](https://discourse.nodered.org/t/oracledb-query-with-variable/83133)

<div class="topic-metadata">

**Author:** [@johnolav](https://discourse.nodered.org/u/johnolav)\
**Replies:** 2\
**Last updated:** [25 November 2023 11:02 UTC](https://discourse.nodered.org/t/oracledb-query-with-variable/83133 "2023-11-25T11:02:03Z")

</div>

Hello everyone, I need some help with a sql query. I'm using the node-red-contrib-oracle-mod node with a complex sql query (about 75 lines). This query is working when I post it in the "SQL query" section inside the orac…

---

## [How to install node-red-contrib-mssql-plus](https://discourse.nodered.org/t/how-to-install-node-red-contrib-mssql-plus/83161)

<div class="topic-metadata">

**Author:** [@bachphi](https://discourse.nodered.org/u/bachphi)\
**Replies:** 3\
**Last updated:** [24 November 2023 23:43 UTC](https://discourse.nodered.org/t/how-to-install-node-red-contrib-mssql-plus/83161 "2023-11-24T23:43:01Z")

</div>

I am running node-red v3.1.0 with npm 10.2.3 and node v20.10.0. I used 'Manage palette' to install node-red-contrib-mssql-plus but the installation failed with error: pi@raspberrypi:~ $ npm install --no-audit --no-upd…

---

## [Problems installing Node-red on an old Raspberry Pi](https://discourse.nodered.org/t/problems-installing-node-red-on-an-old-raspberry-pi/83155)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 15\
**Last updated:** [24 November 2023 22:56 UTC](https://discourse.nodered.org/t/problems-installing-node-red-on-an-old-raspberry-pi/83155 "2023-11-24T22:56:20Z")

</div>

I am trying to get Node-red working on a Raspberry Pi Zero (it is a Zero W but the wifi chip died) Should I be able to install NR with the SD card in a modern Pi (Zero 2 W) and it work in a Zero? I did try this but so…

---

## [Playing audio files on remote machine and use their speakers - not the hosts'](https://discourse.nodered.org/t/playing-audio-files-on-remote-machine-and-use-their-speakers-not-the-hosts/82919)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 33\
**Last updated:** [24 November 2023 20:07 UTC](https://discourse.nodered.org/t/playing-audio-files-on-remote-machine-and-use-their-speakers-not-the-hosts/82919 "2023-11-24T20:07:45Z")

</div>

Sorry folks, it's been a while and I seem to be forgetting more than I would like to admit. I have my RasPi 3 with a Bluetooth speaker connected. I've tested that and it is working. I go to it's CLI/Terminal and can p…

---

## [Time zone in A-Z in Node-Red](https://discourse.nodered.org/t/time-zone-in-a-z-in-node-red/82537)

<div class="topic-metadata">

**Author:** [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Replies:** 13\
**Last updated:** [24 November 2023 20:01 UTC](https://discourse.nodered.org/t/time-zone-in-a-z-in-node-red/82537 "2023-11-24T20:01:59Z")

</div>

I have seen a few different topics on time zone issues and solution here, and I thought if we can have a topic to summarize all the common problems. I think this is as much as a Javascript topic and Node-Red. To make su…

---

## [Instance looses label](https://discourse.nodered.org/t/instance-looses-label/83158)

<div class="topic-metadata">

**Author:** [@robvoi](https://discourse.nodered.org/u/robvoi)\
**Replies:** 3\
**Last updated:** [24 November 2023 19:46 UTC](https://discourse.nodered.org/t/instance-looses-label/83158 "2023-11-24T19:46:50Z")

</div>

My Node-Red instance "looses" labels regularly. Buttons and default nodes then do not have a proper label anymore. A "Done" button for example is then called common.label.done A restart of the Docker container fixes the…

---

## [Endpoint security (HTTP-IN) IWA, NA](https://discourse.nodered.org/t/endpoint-security-http-in-iwa-na/83152)

<div class="topic-metadata">

**Author:** [@LucianR](https://discourse.nodered.org/u/LucianR)\
**Replies:** 5\
**Last updated:** [24 November 2023 18:14 UTC](https://discourse.nodered.org/t/endpoint-security-http-in-iwa-na/83152 "2023-11-24T18:14:00Z")

</div>

Hello, I'm running some node-red application under a corporate environment, that mostly use Windows PCs and Active Directory integration. The Node-Red runs on linux dockers. In this particular example i want to use th…

---

## [Format date at 'YYYY:MM:DD HH:MM;SS'](https://discourse.nodered.org/t/format-date-at-yyyydd-hh-mm-ss/83130)

<div class="topic-metadata">

**Author:** [@Jen](https://discourse.nodered.org/u/Jen)\
**Replies:** 13\
**Last updated:** [24 November 2023 17:52 UTC](https://discourse.nodered.org/t/format-date-at-yyyydd-hh-mm-ss/83130 "2023-11-24T17:52:48Z")

</div>

Hello. How can you format the date in the logs? now I have it '23 Nov 2023 hh:mm:ss' it must have been so 'YYYY:MM:DD HH:MM;SS' Writing a function just adds the date again(( const currentDate = new Date(); const for…

---

## [Victron connection from Home-Assistant using ModBus](https://discourse.nodered.org/t/victron-connection-from-home-assistant-using-modbus/82947)

<div class="topic-metadata">

**Author:** [@LeonVanHeerden](https://discourse.nodered.org/u/LeonVanHeerden)\
**Replies:** 3\
**Last updated:** [24 November 2023 16:51 UTC](https://discourse.nodered.org/t/victron-connection-from-home-assistant-using-modbus/82947 "2023-11-24T16:51:38Z")

</div>

Good day, I am hoping that someone can point me in the correct direction here, since a couple of hours of googling and experimenting has not gotten me any closer to resolve this issue: Versions HA Version: 2023.11.2 No…

---

## [Payload.date string change himself to another format when build string variable](https://discourse.nodered.org/t/payload-date-string-change-himself-to-another-format-when-build-string-variable/83149)

<div class="topic-metadata">

**Author:** [@Phildu77](https://discourse.nodered.org/u/Phildu77)\
**Replies:** 4\
**Last updated:** [24 November 2023 15:56 UTC](https://discourse.nodered.org/t/payload-date-string-change-himself-to-another-format-when-build-string-variable/83149 "2023-11-24T15:56:06Z")

</div>

at the output of a function my payload is: {"variable":"index","value":1,"date":"2023-11-20T11:56:53.282Z","id\_mesure":653} I pass this to an other function the payload stay the same but when extract the date string f…

---

## [Raspberry pi gpio pins 27 and 28](https://discourse.nodered.org/t/raspberry-pi-gpio-pins-27-and-28/83140)

<div class="topic-metadata">

**Author:** [@kxkayser](https://discourse.nodered.org/u/kxkayser)\
**Replies:** 7\
**Last updated:** [24 November 2023 15:19 UTC](https://discourse.nodered.org/t/raspberry-pi-gpio-pins-27-and-28/83140 "2023-11-24T15:19:41Z")

</div>

Hi. I am writing flows for an already established hardware setup. The installation uses pin 28 (gpio 1). However, the gpio node doesn’t seem to allow me to select that pin. Any way around this? Thanks.

---

## [Multi udp in-out](https://discourse.nodered.org/t/multi-udp-in-out/83087)

<div class="topic-metadata">

**Author:** [@userd](https://discourse.nodered.org/u/userd)\
**Replies:** 20\
**Last updated:** [24 November 2023 06:31 UTC](https://discourse.nodered.org/t/multi-udp-in-out/83087 "2023-11-24T06:31:36Z")

</div>

Hi everuone! I have an power supply uses UDP porotocol. I has multi UDP request for the power supply and i need separate answer from the power supply (answer looks like number - 20.00). Will be good if i can transmit int…

---

## [Hello! Is it possible to extract data with an htpp request from a database based on id you provide in an insert field and the result to be an table that contains that id. Node-RED v3.0.2, docker](https://discourse.nodered.org/t/hello-is-it-possible-to-extract-data-with-an-htpp-request-from-a-database-based-on-id-you-provide-in-an-insert-field-and-the-result-to-be-an-table-that-contains-that-id-node-red-v3-0-2-docker/83125)

<div class="topic-metadata">

**Author:** [@JanIwnl](https://discourse.nodered.org/u/JanIwnl)\
**Replies:** 5\
**Last updated:** [23 November 2023 20:39 UTC](https://discourse.nodered.org/t/hello-is-it-possible-to-extract-data-with-an-htpp-request-from-a-database-based-on-id-you-provide-in-an-insert-field-and-the-result-to-be-an-table-that-contains-that-id-node-red-v3-0-2-docker/83125 "2023-11-23T20:39:19Z")

</div>

i want dynamically the flow to search and extract (based on the id i give in the insert field) the table containg that id. This is the format of the table:

---

## [Help saving cookie with alexa-remote2-applestrudel](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904)

<div class="topic-metadata">

**Author:** [@Xenos](https://discourse.nodered.org/u/Xenos)\
**Replies:** 16\
**Last updated:** [23 November 2023 19:29 UTC](https://discourse.nodered.org/t/help-saving-cookie-with-alexa-remote2-applestrudel/82904 "2023-11-23T19:29:39Z")

</div>

I'm using node-red-contrib-alexa-remote2-applestrudel with node-red on windows 11 and for the life of me I cant figure out how to save the cookie. Any tips?

---

## [Node-red-node-pi-gpiod variable as host](https://discourse.nodered.org/t/node-red-node-pi-gpiod-variable-as-host/83107)

<div class="topic-metadata">

**Author:** [@kxkayser](https://discourse.nodered.org/u/kxkayser)\
**Replies:** 7\
**Last updated:** [23 November 2023 18:19 UTC](https://discourse.nodered.org/t/node-red-node-pi-gpiod-variable-as-host/83107 "2023-11-23T18:19:41Z")

</div>

Hi. I have been using node-red-node-pi-gpiod for years to control remote gpio pins. I have always hard coded the IP address of the target host. I want to use a variable (flow context) instead. However, I keep getting …

---

## [Msg.payload for TimerTag.PRE & TimerTag.ACC from Rockwell PLC](https://discourse.nodered.org/t/msg-payload-for-timertag-pre-timertag-acc-from-rockwell-plc/83013)

<div class="topic-metadata">

**Author:** [@bachphi](https://discourse.nodered.org/u/bachphi)\
**Replies:** 3\
**Last updated:** [23 November 2023 17:32 UTC](https://discourse.nodered.org/t/msg-payload-for-timertag-pre-timertag-acc-from-rockwell-plc/83013 "2023-11-23T17:32:58Z")

</div>

These two tags were defined in my eth-ip node and I can see their values in debug. How can I pass these values using msg.payload?

---

## [403 - From POST HTTPS depending on size of body](https://discourse.nodered.org/t/403-from-post-https-depending-on-size-of-body/82716)

<div class="topic-metadata">

**Author:** [@kayna](https://discourse.nodered.org/u/kayna)\
**Replies:** 3\
**Last updated:** [23 November 2023 14:30 UTC](https://discourse.nodered.org/t/403-from-post-https-depending-on-size-of-body/82716 "2023-11-23T14:30:14Z")

</div>

Hi, i'm getting the 403 response for my endpoint in the "http-in" node when the request is made through HTTPS. But it only occurs when in the body of the request there are 3 or more items in the array that i send. If i s…

---

## [UIBUILDER 6.5 question about updateing html parts and classes](https://discourse.nodered.org/t/uibuilder-6-5-question-about-updateing-html-parts-and-classes/83112)

<div class="topic-metadata">

**Author:** [@daspixel](https://discourse.nodered.org/u/daspixel)\
**Replies:** 1\
**Last updated:** [23 November 2023 00:49 UTC](https://discourse.nodered.org/t/uibuilder-6-5-question-about-updateing-html-parts-and-classes/83112 "2023-11-23T00:49:33Z")

</div>

Hi, this question are about 6.5 I allready updated to 6.6 but not to 6.7 (but I will do as soon as possible) Actually I do have static coded html "elements" that are looking like this \<div class="i…

---

## [Implment data base](https://discourse.nodered.org/t/implment-data-base/83095)

<div class="topic-metadata">

**Author:** [@modmeid](https://discourse.nodered.org/u/modmeid)\
**Replies:** 4\
**Last updated:** [22 November 2023 20:46 UTC](https://discourse.nodered.org/t/implment-data-base/83095 "2023-11-22T20:46:22Z")

</div>

Hi Guys , I'm new in node red , I have to implement these data into node red can you please guide me how to do that ? , this is wha node red shows me t

---

## [Putting the value of a global variable inside a line of an object from inject](https://discourse.nodered.org/t/putting-the-value-of-a-global-variable-inside-a-line-of-an-object-from-inject/83104)

<div class="topic-metadata">

**Author:** [@Sysmac](https://discourse.nodered.org/u/Sysmac)\
**Replies:** 2\
**Last updated:** [22 November 2023 18:33 UTC](https://discourse.nodered.org/t/putting-the-value-of-a-global-variable-inside-a-line-of-an-object-from-inject/83104 "2023-11-22T18:33:02Z")

</div>

Inject node has { "metrics": \[ { "name": "testing/test1", "value": 11 }, { "name": "testing/test2", "value": 12 } \] } I then use the JSON node to convert to a string "{"metrics":\[{"name":"testing/test1","va…

---

## [GIT project clone "Authentication failed"](https://discourse.nodered.org/t/git-project-clone-authentication-failed/82953)

<div class="topic-metadata">

**Author:** [@alexgorbatchev](https://discourse.nodered.org/u/alexgorbatchev)\
**Replies:** 3\
**Last updated:** [22 November 2023 17:43 UTC](https://discourse.nodered.org/t/git-project-clone-authentication-failed/82953 "2023-11-22T17:43:42Z")

</div>

Hi friends, I've been trying to figure this out for days. Problem: I have a node-red v3.1.0 and gitea v1.21.0 running in a Kubernetes cluster. I'm adding public/private keys to node-red via a secret and gitea user ha…

---

## [What does the error code "port not open" mean?](https://discourse.nodered.org/t/what-does-the-error-code-port-not-open-mean/83101)

<div class="topic-metadata">

**Author:** [@Maans](https://discourse.nodered.org/u/Maans)\
**Replies:** 0\
**Last updated:** [22 November 2023 14:59 UTC](https://discourse.nodered.org/t/what-does-the-error-code-port-not-open-mean/83101 "2023-11-22T14:59:46Z")

</div>

Im trying to use a siemens iot2050 to read values from PAC3220. But from my modbus read node I get the error "Port not open". How do I fix this?

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

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