# General

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

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

**Page:** 231

---

## [Timer that can be extended on every push of a switch - current + X min?](https://discourse.nodered.org/t/timer-that-can-be-extended-on-every-push-of-a-switch-current-x-min/76442)

<div class="topic-metadata">

**Author:** [@johnbull](https://discourse.nodered.org/u/johnbull)\
**Replies:** 22\
**Last updated:** [21 March 2023 21:18 UTC](https://discourse.nodered.org/t/timer-that-can-be-extended-on-every-push-of-a-switch-current-x-min/76442 "2023-03-21T21:18:31Z")

</div>

Hi, I tried to get help via home assistant community, but had no response, so I'm trying here now, even though I'm using NR inside HA and might use HA specific nodes... I have a Node-red flow today to control an exhaus…

---

## [Change payload form](https://discourse.nodered.org/t/change-payload-form/76755)

<div class="topic-metadata">

**Author:** [@Sekuti](https://discourse.nodered.org/u/Sekuti)\
**Replies:** 11\
**Last updated:** [21 March 2023 18:34 UTC](https://discourse.nodered.org/t/change-payload-form/76755 "2023-03-21T18:34:45Z")

</div>

Hello, I am trying to replace tags from s7 node with tags from modbus. In s7 tags are formed like this "{"I1":22.463211059570312,"I2":11.89554214477539,"I3":22.009639739990234,"L1":228.79904174804688,"L2":229.7820739746…

---

## [Aeotec dongle setup in node-red](https://discourse.nodered.org/t/aeotec-dongle-setup-in-node-red/76747)

<div class="topic-metadata">

**Author:** [@fogmajor](https://discourse.nodered.org/u/fogmajor)\
**Replies:** 43\
**Last updated:** [21 March 2023 18:01 UTC](https://discourse.nodered.org/t/aeotec-dongle-setup-in-node-red/76747 "2023-03-21T18:01:52Z")

</div>

Good afternoon I am trying to set up my Aeotec GEN5 zwave dongle on Ubuntu. I presume this is the device when i run dmesg | grep tty. \[ 0.095335\] printk: console \[tty0\] enabled \[ 1.024808\] 00:01: ttyS0 at I/O 0x…

---

## [Simple question from a beginner](https://discourse.nodered.org/t/simple-question-from-a-beginner/76785)

<div class="topic-metadata">

**Author:** [@sohnvonoff](https://discourse.nodered.org/u/sohnvonoff)\
**Replies:** 5\
**Last updated:** [21 March 2023 17:58 UTC](https://discourse.nodered.org/t/simple-question-from-a-beginner/76785 "2023-03-21T17:58:43Z")

</div>

I'm a node red beginner. I'm trying to solve what I think is a simple problem. An illumination sensor (MQTT) supplies the brightness as a value between 0 and 15000. The goal is a NODE with an output (true/false) which …

---

## [Where can I access RED.settings?](https://discourse.nodered.org/t/where-can-i-access-red-settings/76057)

<div class="topic-metadata">

**Author:** [@rmwiseman](https://discourse.nodered.org/u/rmwiseman)\
**Replies:** 6\
**Last updated:** [21 March 2023 16:10 UTC](https://discourse.nodered.org/t/where-can-i-access-red-settings/76057 "2023-03-21T16:10:48Z")

</div>

In this thread, @Steve-Mcl says "You do not have access to RED.settings in a function node." Perhaps this is a stupid question, but where in a flow do I have access to it? It's not in any of the dropdowns (e.g. in the …

---

## [Binance node problem](https://discourse.nodered.org/t/binance-node-problem/76778)

<div class="topic-metadata">

**Author:** [@demokedes](https://discourse.nodered.org/u/demokedes)\
**Replies:** 3\
**Last updated:** [21 March 2023 13:14 UTC](https://discourse.nodered.org/t/binance-node-problem/76778 "2023-03-21T13:14:29Z")

</div>

Dear all, Anyone else facing the problem with Binance node? It was working fine for a while. Since last week, I am getting this error: "Service unavailable from a restricted location according to 'b. Eligibility' in ht…

---

## [Where is my issue Http request push jpg](https://discourse.nodered.org/t/where-is-my-issue-http-request-push-jpg/76779)

<div class="topic-metadata">

**Author:** [@chrissica06](https://discourse.nodered.org/u/chrissica06)\
**Replies:** 2\
**Last updated:** [21 March 2023 13:11 UTC](https://discourse.nodered.org/t/where-is-my-issue-http-request-push-jpg/76779 "2023-03-21T13:11:12Z")

</div>

I am currently using Node-red in HA. I am attempting to push a JPG to Codeproject AI local server to get an OCR response back. I am getting responses back from the server, but I don't think it's getting the jpg data. …

---

## [Date in String which is transformed when included in another String](https://discourse.nodered.org/t/date-in-string-which-is-transformed-when-included-in-another-string/76759)

<div class="topic-metadata">

**Author:** [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Replies:** 2\
**Last updated:** [21 March 2023 12:46 UTC](https://discourse.nodered.org/t/date-in-string-which-is-transformed-when-included-in-another-string/76759 "2023-03-21T12:46:35Z")

</div>

Hi all, I want to retrieve a selection of data from a database managed by InfluxDB. The goal is to give a base date and add an interval (or subtract an interval ), to extract the data from this selection. Here is the f…

---

## [NodeRED ENOENT error when trying to reading the Certificate files](https://discourse.nodered.org/t/nodered-enoent-error-when-trying-to-reading-the-certificate-files/76754)

<div class="topic-metadata">

**Author:** [@rahul.abraham](https://discourse.nodered.org/u/rahul.abraham)\
**Replies:** 10\
**Last updated:** [21 March 2023 12:17 UTC](https://discourse.nodered.org/t/nodered-enoent-error-when-trying-to-reading-the-certificate-files/76754 "2023-03-21T12:17:58Z")

</div>

Hi, I get the following error when I try to enable the 'HTTPS' option in settings.js Error loading settings file: /data/settings.js Error: ENOENT: no such file or directory, open '/home/user/Certificates/key.pem' at …

---

## [Can we pass username, password and permissions as an enviornment variable at run time of docker node-red instance?](https://discourse.nodered.org/t/can-we-pass-username-password-and-permissions-as-an-enviornment-variable-at-run-time-of-docker-node-red-instance/76775)

<div class="topic-metadata">

**Author:** [@prachi](https://discourse.nodered.org/u/prachi)\
**Replies:** 4\
**Last updated:** [21 March 2023 11:00 UTC](https://discourse.nodered.org/t/can-we-pass-username-password-and-permissions-as-an-enviornment-variable-at-run-time-of-docker-node-red-instance/76775 "2023-03-21T11:00:19Z")

</div>

in settings.js I added adminAuth like this: adminAuth: { type: "credentials", users: \[ { username: process.env.USER\_NAME, password: process.env.PASSWORD, permissions: process.env.PERMISSIONS || "\*" } \] }, Dock…

---

## [Change the background color for the input field](https://discourse.nodered.org/t/change-the-background-color-for-the-input-field/76764)

<div class="topic-metadata">

**Author:** [@oswardy](https://discourse.nodered.org/u/oswardy)\
**Replies:** 1\
**Last updated:** [20 March 2023 19:19 UTC](https://discourse.nodered.org/t/change-the-background-color-for-the-input-field/76764 "2023-03-20T19:19:26Z")

</div>

I would like to ask is it there any way to change the background color of the typedinput, possible to request a feature about this?

---

## [RangeError issue with buffer-parser node (Attempt to access memory outside buffer bounds)](https://discourse.nodered.org/t/rangeerror-issue-with-buffer-parser-node-attempt-to-access-memory-outside-buffer-bounds/76761)

<div class="topic-metadata">

**Author:** [@Darren](https://discourse.nodered.org/u/Darren)\
**Replies:** 2\
**Last updated:** [20 March 2023 18:04 UTC](https://discourse.nodered.org/t/rangeerror-issue-with-buffer-parser-node-attempt-to-access-memory-outside-buffer-bounds/76761 "2023-03-20T18:04:00Z")

</div>

Screenshot: node-red-contrib-buffer-parser is erroring with RangeError: Attempt to access memory outside buffer bounds, but is only receiving an empty array at the moment due to sensors being shut-down. It appears t…

---

## [I make time-form and need 6 of them need help why i can use only one](https://discourse.nodered.org/t/i-make-time-form-and-need-6-of-them-need-help-why-i-can-use-only-one/76641)

<div class="topic-metadata">

**Author:** [@Phonix191](https://discourse.nodered.org/u/Phonix191)\
**Replies:** 2\
**Last updated:** [20 March 2023 14:39 UTC](https://discourse.nodered.org/t/i-make-time-form-and-need-6-of-them-need-help-why-i-can-use-only-one/76641 "2023-03-20T14:39:06Z")

</div>

\[ { "id": "6413a75bc26624d5", "type": "tab", "label": "Flow 3", "disabled": false, "info": "", "env": \[\] }, { "id": "6f4019ff5839f3ce", "type": …

---

## [How to change node-red header color?](https://discourse.nodered.org/t/how-to-change-node-red-header-color/76751)

<div class="topic-metadata">

**Author:** [@andreza](https://discourse.nodered.org/u/andreza)\
**Replies:** 1\
**Last updated:** [20 March 2023 14:31 UTC](https://discourse.nodered.org/t/how-to-change-node-red-header-color/76751 "2023-03-20T14:31:21Z")

</div>

How do i change the black header color of node-red? I tried several times but was unsuccessful.

---

## [How to add code in function MC protocol](https://discourse.nodered.org/t/how-to-add-code-in-function-mc-protocol/76744)

<div class="topic-metadata">

**Author:** [@Bao](https://discourse.nodered.org/u/Bao)\
**Replies:** 2\
**Last updated:** [20 March 2023 14:06 UTC](https://discourse.nodered.org/t/how-to-add-code-in-function-mc-protocol/76744 "2023-03-20T14:06:41Z")

</div>

Hi Steve, I am facing the case as below.how to open the protocol MC file and add some code.

---

## [Zwave on Node-red](https://discourse.nodered.org/t/zwave-on-node-red/76714)

<div class="topic-metadata">

**Author:** [@fogmajor](https://discourse.nodered.org/u/fogmajor)\
**Replies:** 10\
**Last updated:** [20 March 2023 12:56 UTC](https://discourse.nodered.org/t/zwave-on-node-red/76714 "2023-03-20T12:56:11Z")

</div>

Hi Is it possible to run a Aeotec zwave dongle on Ubutu using node-red without Home Assistant. Many thanks in advance Andrew

---

## [Context arrays/objects - stuck](https://discourse.nodered.org/t/context-arrays-objects-stuck/76722)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 13\
**Last updated:** [20 March 2023 11:14 UTC](https://discourse.nodered.org/t/context-arrays-objects-stuck/76722 "2023-03-20T11:14:56Z")

</div>

I've done a bit of searching when starting the post and looked at a couple of suggestions. Sorry. I can't see them as answers. Code: let value = msg.payload; let red = flow.get("red"); let led = flow.get("led") || 0;…

---

## [Can anyone explain why one works the other does not?](https://discourse.nodered.org/t/can-anyone-explain-why-one-works-the-other-does-not/76695)

<div class="topic-metadata">

**Author:** [@Busta999](https://discourse.nodered.org/u/Busta999)\
**Replies:** 13\
**Last updated:** [20 March 2023 11:05 UTC](https://discourse.nodered.org/t/can-anyone-explain-why-one-works-the-other-does-not/76695 "2023-03-20T11:05:57Z")

</div>

New to NR so probably doing something really stupid but I cannot figure how this does not work and this one does The ONLY difference is the Change Node Off is connected through the node junction - does not work, th…

---

## [How to enble project in node-red? (I'm running node-red using docker)](https://discourse.nodered.org/t/how-to-enble-project-in-node-red-im-running-node-red-using-docker/76732)

<div class="topic-metadata">

**Author:** [@sabir](https://discourse.nodered.org/u/sabir)\
**Replies:** 5\
**Last updated:** [20 March 2023 10:39 UTC](https://discourse.nodered.org/t/how-to-enble-project-in-node-red-im-running-node-red-using-docker/76732 "2023-03-20T10:39:13Z")

</div>

Dockerfile FROM nodered/node-red COPY settings.js /data/ USER root RUN chown -R node-red:root /data USER node-red RUN npm install --no-fund --no-update-notifier --save node-red-contrib-storage-mongodb Docker build …

---

## [Referring to a specific module version in the function node?](https://discourse.nodered.org/t/referring-to-a-specific-module-version-in-the-function-node/76633)

<div class="topic-metadata">

**Author:** [@DirkRodi](https://discourse.nodered.org/u/DirkRodi)\
**Replies:** 5\
**Last updated:** [20 March 2023 09:47 UTC](https://discourse.nodered.org/t/referring-to-a-specific-module-version-in-the-function-node/76633 "2023-03-20T09:47:29Z")

</div>

Is there a way to reference a specific module version when adding modules to a function node? I tried with a module name like this "mymodule@0.1.0" and the logs showed that this specific version has been installed succe…

---

## [Configurable-interval node to use the interval value in the UI?](https://discourse.nodered.org/t/configurable-interval-node-to-use-the-interval-value-in-the-ui/76728)

<div class="topic-metadata">

**Author:** [@GoldD](https://discourse.nodered.org/u/GoldD)\
**Replies:** 4\
**Last updated:** [20 March 2023 08:48 UTC](https://discourse.nodered.org/t/configurable-interval-node-to-use-the-interval-value-in-the-ui/76728 "2023-03-20T08:48:32Z")

</div>

Is it possible for the configurable-interval node to use the interval value when I enter the interval value in a DASHBOARD text input node on the UI?

---

## [How to use mustache template in inserting array into sql table](https://discourse.nodered.org/t/how-to-use-mustache-template-in-inserting-array-into-sql-table/76724)

<div class="topic-metadata">

**Author:** [@kjbambe](https://discourse.nodered.org/u/kjbambe)\
**Replies:** 7\
**Last updated:** [20 March 2023 07:33 UTC](https://discourse.nodered.org/t/how-to-use-mustache-template-in-inserting-array-into-sql-table/76724 "2023-03-20T07:33:46Z")

</div>

Hello, im a newbie here. I am reading the documentation here mustache(5) - Logic-less templates. but it is not clear how to insert an array data into my sql table. I want to input my array data (image 1) into an sql tab…

---

## [Svalue5 to domoticz](https://discourse.nodered.org/t/svalue5-to-domoticz/76718)

<div class="topic-metadata">

**Author:** [@nodouser](https://discourse.nodered.org/u/nodouser)\
**Replies:** 0\
**Last updated:** [19 March 2023 21:08 UTC](https://discourse.nodered.org/t/svalue5-to-domoticz/76718 "2023-03-19T21:08:58Z")

</div>

Hi, Thanks for reading! I want to send the svalue5 to domoticz, IDX 5569. Is that possible? Battery: 255 LastUpdate: "2023-03-19 20:38:05" RSSI: 12 description: "Stroom verbruikToon - Power usage" dtype: "P1 Smar…

---

## [How to enter query/funtion to secure Modbus read with CronePlus](https://discourse.nodered.org/t/how-to-enter-query-funtion-to-secure-modbus-read-with-croneplus/76686)

<div class="topic-metadata">

**Author:** [@GuE](https://discourse.nodered.org/u/GuE)\
**Replies:** 1\
**Last updated:** [19 March 2023 18:11 UTC](https://discourse.nodered.org/t/how-to-enter-query-funtion-to-secure-modbus-read-with-croneplus/76686 "2023-03-19T18:11:16Z")

</div>

Hello. Using several flows to read data from Modbus device -\> data are stored in influxdb. Using CronePlus or inject node to trigger the read with a modbus-getter node. Read durations are different -\> some 15s / every …

---

## [NodeRed v3 - wire junctions](https://discourse.nodered.org/t/nodered-v3-wire-junctions/76713)

<div class="topic-metadata">

**Author:** [@k5map](https://discourse.nodered.org/u/k5map)\
**Replies:** 1\
**Last updated:** [19 March 2023 14:32 UTC](https://discourse.nodered.org/t/nodered-v3-wire-junctions/76713 "2023-03-19T14:32:09Z")

</div>

In the latest release you can now add a junction then connect multiple nodes to the junction. Does the feature exist whereby you can select multiple wires and add them to a single junction at one time?

---

## [Retaining variables after power failure](https://discourse.nodered.org/t/retaining-variables-after-power-failure/76711)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 3\
**Last updated:** [19 March 2023 13:32 UTC](https://discourse.nodered.org/t/retaining-variables-after-power-failure/76711 "2023-03-19T13:32:06Z")

</div>

I have not seen any method to retain a variable (Such as setpoint) if there is a power cycle. Am I missing something?

---

## [Problem combining data from two Serial ports](https://discourse.nodered.org/t/problem-combining-data-from-two-serial-ports/76693)

<div class="topic-metadata">

**Author:** [@yzerman](https://discourse.nodered.org/u/yzerman)\
**Replies:** 4\
**Last updated:** [19 March 2023 10:28 UTC](https://discourse.nodered.org/t/problem-combining-data-from-two-serial-ports/76693 "2023-03-19T10:28:29Z")

</div>

Hi I am using two external devices connected to two COM ports. The data coming to COM 1 is at 50Hz rate. The data coming to COM2 is at 10Hz rate I am parsing the data from COM1 and I have: msg.payload = {"timestamp":1…

---

## [UTC Conversion using Function](https://discourse.nodered.org/t/utc-conversion-using-function/76706)

<div class="topic-metadata">

**Author:** [@ankit.prasad](https://discourse.nodered.org/u/ankit.prasad)\
**Replies:** 23\
**Last updated:** [19 March 2023 09:55 UTC](https://discourse.nodered.org/t/utc-conversion-using-function/76706 "2023-03-19T09:55:29Z")

</div>

node-red-utc-help-demo.json (3.8 KB) Convert using function utc hex to time in this format 2023-3-19 14:20:14 I am able to convert the code after that in the defined format I am unable to do \[ { "id…

---

## [Worldmap Weblink is not a link](https://discourse.nodered.org/t/worldmap-weblink-is-not-a-link/76705)

<div class="topic-metadata">

**Author:** [@Nice\_to\_have](https://discourse.nodered.org/u/Nice_to_have)\
**Replies:** 1\
**Last updated:** [19 March 2023 07:45 UTC](https://discourse.nodered.org/t/worldmap-weblink-is-not-a-link/76705 "2023-03-19T07:45:57Z")

</div>

Hi Everyone, In the popup on worldmap i'd like to put a link to the vessel. So far I am only getting the link as a text and not as a link. What am I doing wrong? \[ { "id": "99f4629073c60a15", "ty…

---

## [Function nodes and \`let\` for variables](https://discourse.nodered.org/t/function-nodes-and-let-for-variables/76679)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 30\
**Last updated:** [19 March 2023 05:56 UTC](https://discourse.nodered.org/t/function-nodes-and-let-for-variables/76679 "2023-03-19T05:56:30Z")

</div>

If I am not mistaken when you use variables you need to declare them at the start. In the olden days it was: var x = "foo"; This evolved into: let x = "foo"; And so the question arises: I am writing in a function n…

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

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