# General

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

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

**Page:** 161

---

## [Toggle boolean state of context value](https://discourse.nodered.org/t/toggle-boolean-state-of-context-value/82788)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 5\
**Last updated:** [11 November 2023 20:56 UTC](https://discourse.nodered.org/t/toggle-boolean-state-of-context-value/82788 "2023-11-11T20:56:05Z")

</div>

Is there a way of toggling a context value i.e. if it's false - set it true and vice versa (apart from a function node method) while typing I came up with this but is there a nicer way?

---

## [Searching something like filter, but time based](https://discourse.nodered.org/t/searching-something-like-filter-but-time-based/82785)

<div class="topic-metadata">

**Author:** [@andre78](https://discourse.nodered.org/u/andre78)\
**Replies:** 10\
**Last updated:** [11 November 2023 18:35 UTC](https://discourse.nodered.org/t/searching-something-like-filter-but-time-based/82785 "2023-11-11T18:35:27Z")

</div>

Hi, I am using Node-Red to send data from my Solar collector to KNX, mostly status information. IN order to reduce the amount of data being sent, I have included a filter node to only pass messages where the payload has…

---

## [Nodes resetting to default](https://discourse.nodered.org/t/nodes-resetting-to-default/82773)

<div class="topic-metadata">

**Author:** [@smnino](https://discourse.nodered.org/u/smnino)\
**Replies:** 4\
**Last updated:** [11 November 2023 15:04 UTC](https://discourse.nodered.org/t/nodes-resetting-to-default/82773 "2023-11-11T15:04:31Z")

</div>

I am using the Traffic Light node in several flows. I have been doing so for 3 or 4 years and all has worked well and as expected. A few days ago, the traffic light nodes on one flow began resetting to the default state…

---

## [Obtaining httpAdminRoot in a function node in a subflow](https://discourse.nodered.org/t/obtaining-httpadminroot-in-a-function-node-in-a-subflow/82783)

<div class="topic-metadata">

**Author:** [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Replies:** 0\
**Last updated:** [11 November 2023 12:33 UTC](https://discourse.nodered.org/t/obtaining-httpadminroot-in-a-function-node-in-a-subflow/82783 "2023-11-11T12:33:04Z")

</div>

Hi There! The background to this question is this decision tree flow: I use subflows to create questions that are interconnected so that a questionnaire is generated but also the flow can be used as part of another f…

---

## [I cannot figure out where to go from the Node.js](https://discourse.nodered.org/t/i-cannot-figure-out-where-to-go-from-the-node-js/82777)

<div class="topic-metadata">

**Author:** [@giantsquirrel004](https://discourse.nodered.org/u/giantsquirrel004)\
**Replies:** 1\
**Last updated:** [11 November 2023 01:29 UTC](https://discourse.nodered.org/t/i-cannot-figure-out-where-to-go-from-the-node-js/82777 "2023-11-11T01:29:25Z")

</div>

I am as new to this as any can be. I have got everything I think I need downloaded but I cannot figure out where to go from Node.js. How and where do I go to actually learn the programming and use of Node-Red

---

## [Unable to start Node-RED docker container](https://discourse.nodered.org/t/unable-to-start-node-red-docker-container/9632)

<div class="topic-metadata">

**Author:** [@AlexKalopsia](https://discourse.nodered.org/u/AlexKalopsia)\
**Replies:** 2\
**Last updated:** [11 November 2023 00:23 UTC](https://discourse.nodered.org/t/unable-to-start-node-red-docker-container/9632 "2023-11-11T00:23:43Z")

</div>

Hi everyone, I have Docker running on my NAS. What I am trying to do is creating a Node-RED docker to communicate with my HomeAssistant (running in another container). I get what seem to be permission errors after start…

---

## [What language would be best to learn to use rednote?](https://discourse.nodered.org/t/what-language-would-be-best-to-learn-to-use-rednote/82770)

<div class="topic-metadata">

**Author:** [@Xenos](https://discourse.nodered.org/u/Xenos)\
**Replies:** 2\
**Last updated:** [11 November 2023 00:00 UTC](https://discourse.nodered.org/t/what-language-would-be-best-to-learn-to-use-rednote/82770 "2023-11-11T00:00:48Z")

</div>

Just looking to get started.

---

## [Amending settings.js file after NR update](https://discourse.nodered.org/t/amending-settings-js-file-after-nr-update/82768)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 5\
**Last updated:** [10 November 2023 23:55 UTC](https://discourse.nodered.org/t/amending-settings-js-file-after-nr-update/82768 "2023-11-10T23:55:39Z")

</div>

Has anyone found an easy way to update their settings.js file after updating their Node-RED version? I always try to keep my settings file as close to the current default settings file as possible, to ensure that any ne…

---

## [UIBUILDER variable does not update](https://discourse.nodered.org/t/uibuilder-variable-does-not-update/82744)

<div class="topic-metadata">

**Author:** [@Mbessing](https://discourse.nodered.org/u/Mbessing)\
**Replies:** 6\
**Last updated:** [10 November 2023 20:45 UTC](https://discourse.nodered.org/t/uibuilder-variable-does-not-update/82744 "2023-11-10T20:45:57Z")

</div>

Hi, I have Node-RED installed on a Rasperry Pi with a Flowfuse agent running on it. I am trying to set up a stand-alone web server by using the uibuilder node. I want to show a value of a variable that changes frequentl…

---

## [Problem authentication](https://discourse.nodered.org/t/problem-authentication/82759)

<div class="topic-metadata">

**Author:** [@gdero](https://discourse.nodered.org/u/gdero)\
**Replies:** 8\
**Last updated:** [10 November 2023 18:43 UTC](https://discourse.nodered.org/t/problem-authentication/82759 "2023-11-10T18:43:24Z")

</div>

Hello, I have configured my Nodered with login/password The first time i connect , Nodered ask me Login/Password , it is ok But for the next connection it ask nothing and connect directly Thanks for your help gdero

---

## [Node update problem](https://discourse.nodered.org/t/node-update-problem/82753)

<div class="topic-metadata">

**Author:** [@Ives25](https://discourse.nodered.org/u/Ives25)\
**Replies:** 3\
**Last updated:** [10 November 2023 14:45 UTC](https://discourse.nodered.org/t/node-update-problem/82753 "2023-11-10T14:45:25Z")

</div>

Hi, The node-Red update is carried out normally but I get this message when I update the nodes: 2023-11-09T23:49:19.088Z Install: node-red-contrib-knx-ultimate 2.2.25 2023-11-09T23:49:18.412Z npm install --no-audit --…

---

## [How to create/write file with timestamp as a name file without overwritting](https://discourse.nodered.org/t/how-to-create-write-file-with-timestamp-as-a-name-file-without-overwritting/82757)

<div class="topic-metadata">

**Author:** [@lmarkrol](https://discourse.nodered.org/u/lmarkrol)\
**Replies:** 6\
**Last updated:** [10 November 2023 14:32 UTC](https://discourse.nodered.org/t/how-to-create-write-file-with-timestamp-as-a-name-file-without-overwritting/82757 "2023-11-10T14:32:26Z")

</div>

I want to create or write new files from the screenshots taken with Puppeteer, but it won't work unless I overwrite them. What I desire is for the Node to write/create new files with the actual timestamp when the screens…

---

## [Problems renaming using SFTP node and variable file names](https://discourse.nodered.org/t/problems-renaming-using-sftp-node-and-variable-file-names/82749)

<div class="topic-metadata">

**Author:** [@GregHNZ](https://discourse.nodered.org/u/GregHNZ)\
**Replies:** 2\
**Last updated:** [10 November 2023 11:47 UTC](https://discourse.nodered.org/t/problems-renaming-using-sftp-node-and-variable-file-names/82749 "2023-11-10T11:47:08Z")

</div>

Trying to rename (and put) files on an SFTP server. This works if the names are hardcoded into the node, but when trying to use variables to drive source and destination names in a prior function, "Error: No such file" …

---

## [FlowFuse: Move Projects to a different host?](https://discourse.nodered.org/t/flowfuse-move-projects-to-a-different-host/82741)

<div class="topic-metadata">

**Author:** [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Replies:** 4\
**Last updated:** [10 November 2023 11:00 UTC](https://discourse.nodered.org/t/flowfuse-move-projects-to-a-different-host/82741 "2023-11-10T11:00:01Z")

</div>

Let me explain... We started using FlowFuse a while ago, and have ~7 active projects running on it. we have various core systems, that uses in-house API's offered by our flow designs. Now, I have installed the latest …

---

## [MQTT Messages not showing in Debug](https://discourse.nodered.org/t/mqtt-messages-not-showing-in-debug/82737)

<div class="topic-metadata">

**Author:** [@finch6](https://discourse.nodered.org/u/finch6)\
**Replies:** 9\
**Last updated:** [10 November 2023 07:55 UTC](https://discourse.nodered.org/t/mqtt-messages-not-showing-in-debug/82737 "2023-11-10T07:55:24Z")

</div>

Hi everyone. Im using Solar Assistant the trying to get the MQTT messages published from Solar Assistant to run automations. Solar Assistant runs on a RasPi and MQTT is enabled. I set up the IP:Port and credentials of …

---

## [How to use external libraries?](https://discourse.nodered.org/t/how-to-use-external-libraries/82279)

<div class="topic-metadata">

**Author:** [@jase](https://discourse.nodered.org/u/jase)\
**Replies:** 12\
**Last updated:** [9 November 2023 16:22 UTC](https://discourse.nodered.org/t/how-to-use-external-libraries/82279 "2023-11-09T16:22:57Z")

</div>

Hi Community, I'm trying to use the "mupdf-js" library in a function node (because mupdf offers more info than pdfjs). To do so, I tried to follow the recommendations given in the thread # Problem importing external li…

---

## [\[Article\] Visual Code Evolution](https://discourse.nodered.org/t/article-visual-code-evolution/82736)

<div class="topic-metadata">

**Author:** [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Replies:** 1\
**Last updated:** [9 November 2023 16:14 UTC](https://discourse.nodered.org/t/article-visual-code-evolution/82736 "2023-11-09T16:14:13Z")

</div>

Hi There! One thing I really find extremely interesting is change, otherwise known as time. Code changes over time and we spend much time comparing that change. But how does that comparing work if textually there is no …

---

## [World map plugin, how to store area array of unknown length in context store?](https://discourse.nodered.org/t/world-map-plugin-how-to-store-area-array-of-unknown-length-in-context-store/82705)

<div class="topic-metadata">

**Author:** [@88bit](https://discourse.nodered.org/u/88bit)\
**Replies:** 2\
**Last updated:** [9 November 2023 11:39 UTC](https://discourse.nodered.org/t/world-map-plugin-how-to-store-area-array-of-unknown-length-in-context-store/82705 "2023-11-09T11:39:08Z")

</div>

Hi I'm using the node-red world map implementation and creating points on the map and store them in a context store so they won't get lost when the map is refreshed and that works great. I now also try to store areas th…

---

## [Manipulate JSON data](https://discourse.nodered.org/t/manipulate-json-data/82731)

<div class="topic-metadata">

**Author:** [@sepp](https://discourse.nodered.org/u/sepp)\
**Replies:** 2\
**Last updated:** [9 November 2023 09:03 UTC](https://discourse.nodered.org/t/manipulate-json-data/82731 "2023-11-09T09:03:24Z")

</div>

hi, im sending data in JSON format into an enoceanoutput node. ther is a string represtentes 4 bytes of data. for example: "data": "32000008", first byte contains setpoint in hexformat, other bytes contains settinginfo…

---

## [Random package statistic: more new package this year than last](https://discourse.nodered.org/t/random-package-statistic-more-new-package-this-year-than-last/82734)

<div class="topic-metadata">

**Author:** [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Replies:** 0\
**Last updated:** [9 November 2023 08:22 UTC](https://discourse.nodered.org/t/random-package-statistic-more-new-package-this-year-than-last/82734 "2023-11-09T08:22:06Z")

</div>

Hi There! Today seems to be the day on which the number of new packages for this year overtakes last years number of new packages: #justsaying

---

## [Mustache template with node-red-contrib-graphql](https://discourse.nodered.org/t/mustache-template-with-node-red-contrib-graphql/82726)

<div class="topic-metadata">

**Author:** [@quarfie](https://discourse.nodered.org/u/quarfie)\
**Replies:** 3\
**Last updated:** [9 November 2023 03:28 UTC](https://discourse.nodered.org/t/mustache-template-with-node-red-contrib-graphql/82726 "2023-11-09T03:28:29Z")

</div>

I used a change node to set msg.payload.inventory\_item\_id to 42112828440781 Next I use the graphql node (from node-red-contrib-graphql) to run the following GraphQL query: { inventoryItem(id: "gid://shopify/Inventory…

---

## [Object export problem in CSV](https://discourse.nodered.org/t/object-export-problem-in-csv/82693)

<div class="topic-metadata">

**Author:** [@JeromeVISUALS](https://discourse.nodered.org/u/JeromeVISUALS)\
**Replies:** 9\
**Last updated:** [8 November 2023 22:41 UTC](https://discourse.nodered.org/t/object-export-problem-in-csv/82693 "2023-11-08T22:41:03Z")

</div>

Hi, me again, coming with a small problem concerning CSV export :slight\_smile: Most of the Array I export to CSV using the default CSV node is output correctly, but I have a trouble with objects in the array : here is …

---

## [Victron node do not connect!](https://discourse.nodered.org/t/victron-node-do-not-connect/82660)

<div class="topic-metadata">

**Author:** [@AloisBachmeier](https://discourse.nodered.org/u/AloisBachmeier)\
**Replies:** 4\
**Last updated:** [8 November 2023 15:39 UTC](https://discourse.nodered.org/t/victron-node-do-not-connect/82660 "2023-11-08T15:39:10Z")

</div>

Hi all, I run node red on my RasPi. Want to use the Victron nodes however they do not connect ! When I use nodeRed on the Victron controler (Cerbo GX) it works fine. However I need to run nodeRed on the RspPi. Any ide…

---

## [Stop a node from running](https://discourse.nodered.org/t/stop-a-node-from-running/82714)

<div class="topic-metadata">

**Author:** [@richiep](https://discourse.nodered.org/u/richiep)\
**Replies:** 4\
**Last updated:** [8 November 2023 15:33 UTC](https://discourse.nodered.org/t/stop-a-node-from-running/82714 "2023-11-08T15:33:09Z")

</div>

Hey All, I've got a motion sensor that triggers a Light Transition Node which dims down for 3 minutes to a dim level. Then holds at that brightness for 5 minuets at which point it trips the next Light Transition Node wh…

---

## [Implementing Authorization for users](https://discourse.nodered.org/t/implementing-authorization-for-users/82704)

<div class="topic-metadata">

**Author:** [@dharmaraj-bytes](https://discourse.nodered.org/u/dharmaraj-bytes)\
**Replies:** 2\
**Last updated:** [8 November 2023 14:32 UTC](https://discourse.nodered.org/t/implementing-authorization-for-users/82704 "2023-11-08T14:32:32Z")

</div>

I have added user login in my node red app. Now I want to create a solution where individual user can have their own separate environment/session where then can create/edit their own flows. So User A can have access to a…

---

## [Limited capability user](https://discourse.nodered.org/t/limited-capability-user/82683)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 9\
**Last updated:** [8 November 2023 14:19 UTC](https://discourse.nodered.org/t/limited-capability-user/82683 "2023-11-08T14:19:51Z")

</div>

In NR v.3.1.0 is it possible to limit a specific user to use (view/execute) only a single flow?

---

## [/dev/ttyUSB0 Permission denied](https://discourse.nodered.org/t/dev-ttyusb0-permission-denied/82695)

<div class="topic-metadata">

**Author:** [@Chris378](https://discourse.nodered.org/u/Chris378)\
**Replies:** 9\
**Last updated:** [8 November 2023 14:17 UTC](https://discourse.nodered.org/t/dev-ttyusb0-permission-denied/82695 "2023-11-08T14:17:26Z")

</div>

Dear Community I"m running Node-Red in a vitual Lubuntu machine and get this error when trying to connect to USB port. I checked that my user is part of dialout group. Dies anybody has other suggestions how to fix that…

---

## [Ubuntu 22 Node-red systemctl startup issue](https://discourse.nodered.org/t/ubuntu-22-node-red-systemctl-startup-issue/82692)

<div class="topic-metadata">

**Author:** [@Jonathan95](https://discourse.nodered.org/u/Jonathan95)\
**Replies:** 7\
**Last updated:** [8 November 2023 14:08 UTC](https://discourse.nodered.org/t/ubuntu-22-node-red-systemctl-startup-issue/82692 "2023-11-08T14:08:21Z")

</div>

Hi all, Hope someone could maybe help me out with this issue id been experiencing recently. Not to make life hard for myself. I have a fresh install ubuntu server 22 64bit. i am the root user and installed it the foll…

---

## [Node-red-contrib-googlehome: where does query come from?](https://discourse.nodered.org/t/node-red-contrib-googlehome-where-does-query-come-from/82710)

<div class="topic-metadata">

**Author:** [@malys](https://discourse.nodered.org/u/malys)\
**Replies:** 0\
**Last updated:** [8 November 2023 11:19 UTC](https://discourse.nodered.org/t/node-red-contrib-googlehome-where-does-query-come-from/82710 "2023-11-08T11:19:42Z")

</div>

Hi, I have integrated and used node-red-contrib-googlehome with success. It's working well . I have a question about: which device have received vocal command? I want to know it to send its answer to the good device. …

---

## [How to create a UNION of BOOL\[16\] and WORD](https://discourse.nodered.org/t/how-to-create-a-union-of-bool-16-and-word/82665)

<div class="topic-metadata">

**Author:** [@Sysmac](https://discourse.nodered.org/u/Sysmac)\
**Replies:** 4\
**Last updated:** [8 November 2023 09:53 UTC](https://discourse.nodered.org/t/how-to-create-a-union-of-bool-16-and-word/82665 "2023-11-08T09:53:24Z")

</div>

Hello all, new to Node-Red. I would like to create a union connecting an array of bool \[16\] and a word (hex) then convert the word to a string. Any ideas? so 0000000000001100 -\> 0000000C -\> "0000000C" Thank you for y…

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

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