# General

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

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

**Page:** 360

---

## [Uibuilder vue3 example: TypeError: Class extends value undefined is not a constructor or null](https://discourse.nodered.org/t/uibuilder-vue3-example-typeerror-class-extends-value-undefined-is-not-a-constructor-or-null/64264)

<div class="topic-metadata">

**Author:** [@skipware](https://discourse.nodered.org/u/skipware)\
**Replies:** 8\
**Last updated:** [24 June 2022 08:16 UTC](https://discourse.nodered.org/t/uibuilder-vue3-example-typeerror-class-extends-value-undefined-is-not-a-constructor-or-null/64264 "2022-06-24T08:16:18Z")

</div>

I followed the instructions here: \[Basic Vite Vue 3 TypeScript App · TotallyInformation/node-red-contrib-uibuilder Wiki · GitHub\](https://Basic Vite Vue 3 TypeScript App) After going through the build phase successfull…

---

## [Mute node on debug screen](https://discourse.nodered.org/t/mute-node-on-debug-screen/64309)

<div class="topic-metadata">

**Author:** [@subwayfootlong](https://discourse.nodered.org/u/subwayfootlong)\
**Replies:** 1\
**Last updated:** [24 June 2022 07:26 UTC](https://discourse.nodered.org/t/mute-node-on-debug-screen/64309 "2022-06-24T07:26:44Z")

</div>

Hello all, I am using the OPCUA Node to subscribe to multiple nodeIds and upon a good read, it will output: CytroPac: StatusCode: Good (0x00000000) Usually this would be ok with the debug filter however, it is also c…

---

## [How to pass used\_id to Watson-AssistantV2 node?](https://discourse.nodered.org/t/how-to-pass-used-id-to-watson-assistantv2-node/64312)

<div class="topic-metadata">

**Author:** [@fedepoe](https://discourse.nodered.org/u/fedepoe)\
**Replies:** 0\
**Last updated:** [24 June 2022 02:05 UTC](https://discourse.nodered.org/t/how-to-pass-used-id-to-watson-assistantv2-node/64312 "2022-06-24T02:05:46Z")

</div>

Hi! I have been trying to send the user\_id to the Watson Assistant V2 node in different ways but I could not find anyone that worked. I tried: msg.user\_id msg.params.user\_id msg.params.context.user\_id msg.params.con…

---

## [Reference error: msg is not defined](https://discourse.nodered.org/t/reference-error-msg-is-not-defined/64299)

<div class="topic-metadata">

**Author:** [@omardmf](https://discourse.nodered.org/u/omardmf)\
**Replies:** 4\
**Last updated:** [24 June 2022 00:05 UTC](https://discourse.nodered.org/t/reference-error-msg-is-not-defined/64299 "2022-06-24T00:05:22Z")

</div>

i'm using mqtt to send and recieve messages on node red. i'm receiving "Red" or "Green" messages and import them to an on start function. var Color = msg.payload if (Color === "Red") { return msg; } else if (Color …

---

## [Eaton E4 com API Key](https://discourse.nodered.org/t/eaton-e4-com-api-key/64305)

<div class="topic-metadata">

**Author:** [@Dan1](https://discourse.nodered.org/u/Dan1)\
**Replies:** 0\
**Last updated:** [23 June 2022 22:34 UTC](https://discourse.nodered.org/t/eaton-e4-com-api-key/64305 "2022-06-23T22:34:10Z")

</div>

I am attempting to use the eaton E4 and did manage to create a functional dashboard where I could plot data and now can't get it to work. I guess that my problem is the API KEY is wrong. How do I solve this issue? Than…

---

## [Please help with Xero webhook to Node Red](https://discourse.nodered.org/t/please-help-with-xero-webhook-to-node-red/64234)

<div class="topic-metadata">

**Author:** [@stathisaska](https://discourse.nodered.org/u/stathisaska)\
**Replies:** 12\
**Last updated:** [23 June 2022 22:08 UTC](https://discourse.nodered.org/t/please-help-with-xero-webhook-to-node-red/64234 "2022-06-23T22:08:15Z")

</div>

I have been dealing with cryptography craziness since yesterday, I 've literally lost my sleep over this. I am implementing a node red solution to get webhooks from Xero to be written in a custom app. I have experienced…

---

## [I need to get the RAW body from a listener node](https://discourse.nodered.org/t/i-need-to-get-the-raw-body-from-a-listener-node/3105)

<div class="topic-metadata">

**Author:** [@stefanopog](https://discourse.nodered.org/u/stefanopog)\
**Replies:** 38\
**Last updated:** [23 June 2022 22:04 UTC](https://discourse.nodered.org/t/i-need-to-get-the-raw-body-from-a-listener-node/3105 "2022-06-23T22:04:21Z")

</div>

Hello I am developping a node as part of a package. The node is a WebHook (much like what you can imagine exist in SLACK... so, the user subscribes to events and the target app will deliver those events as POST to the …

---

## [How to set and use variables in node property panels](https://discourse.nodered.org/t/how-to-set-and-use-variables-in-node-property-panels/64297)

<div class="topic-metadata">

**Author:** [@Wilay](https://discourse.nodered.org/u/Wilay)\
**Replies:** 0\
**Last updated:** [23 June 2022 17:17 UTC](https://discourse.nodered.org/t/how-to-set-and-use-variables-in-node-property-panels/64297 "2022-06-23T17:17:53Z")

</div>

I am trying to make a system that is flexible depending on the input that a Google Sheets node (node-red-contrib-google-sheets) receives. I'd like to, depending on the input received, change the targeted Sheet/Tab in my …

---

## [Group Name using an environment variable](https://discourse.nodered.org/t/group-name-using-an-environment-variable/64253)

<div class="topic-metadata">

**Author:** [@mojgithub](https://discourse.nodered.org/u/mojgithub)\
**Replies:** 3\
**Last updated:** [23 June 2022 15:40 UTC](https://discourse.nodered.org/t/group-name-using-an-environment-variable/64253 "2022-06-23T15:40:16Z")

</div>

HI Does Group Name supports an environment variable? If Yes.. how can i use it? My code doesnt work.

---

## [How do I add user defined logs in log file](https://discourse.nodered.org/t/how-do-i-add-user-defined-logs-in-log-file/64242)

<div class="topic-metadata">

**Author:** [@MiliH](https://discourse.nodered.org/u/MiliH)\
**Replies:** 11\
**Last updated:** [23 June 2022 14:54 UTC](https://discourse.nodered.org/t/how-do-i-add-user-defined-logs-in-log-file/64242 "2022-06-23T14:54:30Z")

</div>

Hello, I want to add logs to log file in Node-RED to check whether workflow is working properly. Can anyone help me out how to add logs. Thank you!

---

## [Send data from node red to an automaton via a web service](https://discourse.nodered.org/t/send-data-from-node-red-to-an-automaton-via-a-web-service/64287)

<div class="topic-metadata">

**Author:** [@samirovic](https://discourse.nodered.org/u/samirovic)\
**Replies:** 0\
**Last updated:** [23 June 2022 14:17 UTC](https://discourse.nodered.org/t/send-data-from-node-red-to-an-automaton-via-a-web-service/64287 "2022-06-23T14:17:06Z")

</div>

the objective is to send data from node red to an PLC via a web service. here are the web services that I can use to retrieve this data. do you have any idea how i can do this?

---

## [Retrieve HTTP POST cUrl data on node-red](https://discourse.nodered.org/t/retrieve-http-post-curl-data-on-node-red/64266)

<div class="topic-metadata">

**Author:** [@samirovic](https://discourse.nodered.org/u/samirovic)\
**Replies:** 16\
**Last updated:** [23 June 2022 13:31 UTC](https://discourse.nodered.org/t/retrieve-http-post-curl-data-on-node-red/64266 "2022-06-23T13:31:49Z")

</div>

Hello, I am new to node-red. I would like to know how I can recover HTTP Post Curl data on node red. I leave you the example: curl -H "Content-Type:application/x-www-form-urlencoded" -c ./cookie.txt -X POST --data '{"i…

---

## [Parse data from AHT1X-0x38](https://discourse.nodered.org/t/parse-data-from-aht1x-0x38/64275)

<div class="topic-metadata">

**Author:** [@ferdoo](https://discourse.nodered.org/u/ferdoo)\
**Replies:** 4\
**Last updated:** [23 June 2022 10:41 UTC](https://discourse.nodered.org/t/parse-data-from-aht1x-0x38/64275 "2022-06-23T10:41:51Z")

</div>

Hi can please someone help my parse data from AHT1X-0x38. Message is: { "topic": "tele/tasmota\_E9B332/SENSOR", "payload": "{\\"Time\\":\\"2022-06-23T10:08:05\\",\\"AHT1X-0x38\\":{\\"Temperature\\":27.2,\\"Humidity\\":47.7,\\"Dew…

---

## [Install Oracle client on existing nodered container](https://discourse.nodered.org/t/install-oracle-client-on-existing-nodered-container/64269)

<div class="topic-metadata">

**Author:** [@sys4cad1](https://discourse.nodered.org/u/sys4cad1)\
**Replies:** 1\
**Last updated:** [23 June 2022 10:29 UTC](https://discourse.nodered.org/t/install-oracle-client-on-existing-nodered-container/64269 "2022-06-23T10:29:16Z")

</div>

As I spent few days to sort out oracle connection with exsting nodered container, I'd like to share how I solved the problem as following. download oracle client zip file: ( in my case target oracle version is 11g ) …

---

## [How to divide two variables defined in 2 functions](https://discourse.nodered.org/t/how-to-divide-two-variables-defined-in-2-functions/64036)

<div class="topic-metadata">

**Author:** [@Bruno1](https://discourse.nodered.org/u/Bruno1)\
**Replies:** 3\
**Last updated:** [23 June 2022 08:49 UTC](https://discourse.nodered.org/t/how-to-divide-two-variables-defined-in-2-functions/64036 "2022-06-23T08:49:22Z")

</div>

Hi everyone! In this case i cant´t calculate the division of two variables defined in diferent functions. I want that my output will be a numeric (x/y). How to resolve this problem? In the first function (top left) …

---

## [Localhost:1880 not loading](https://discourse.nodered.org/t/localhost-1880-not-loading/64241)

<div class="topic-metadata">

**Author:** [@Jerre](https://discourse.nodered.org/u/Jerre)\
**Replies:** 5\
**Last updated:** [23 June 2022 05:57 UTC](https://discourse.nodered.org/t/localhost-1880-not-loading/64241 "2022-06-23T05:57:08Z")

</div>

Hello, I installed Node-red on a virtual Windows-10 machine (Vm-ware) After my coffee break my node red stoped working. (Disconnected) I restarted my VM ware and started Node-red Then I openend my webbrowser and t…

---

## [Node-red on docker-compose with Kong gateway](https://discourse.nodered.org/t/node-red-on-docker-compose-with-kong-gateway/63417)

<div class="topic-metadata">

**Author:** [@n2048](https://discourse.nodered.org/u/n2048)\
**Replies:** 3\
**Last updated:** [22 June 2022 23:07 UTC](https://discourse.nodered.org/t/node-red-on-docker-compose-with-kong-gateway/63417 "2022-06-22T23:07:48Z")

</div>

I have aa docker-composes environment wheree all the services are routed and protected through a KONG gateway. I recently added aa node-red service to the infrastructure but I can't seem to make it fully work. The inte…

---

## [Same dashboard/NR instance view but on two different devices? Get out of sync?](https://discourse.nodered.org/t/same-dashboard-nr-instance-view-but-on-two-different-devices-get-out-of-sync/64251)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 2\
**Last updated:** [22 June 2022 18:58 UTC](https://discourse.nodered.org/t/same-dashboard-nr-instance-view-but-on-two-different-devices-get-out-of-sync/64251 "2022-06-22T18:58:29Z")

</div>

Came across an interesting issue today... my touch screen view of NR, being faster than my phone, I noticed that changes to one device where not timely to the later. My phone is much slower at times. I know the basic d…

---

## [Force ui\_chart to use UTC not current locale?](https://discourse.nodered.org/t/force-ui-chart-to-use-utc-not-current-locale/64124)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 8\
**Last updated:** [22 June 2022 18:25 UTC](https://discourse.nodered.org/t/force-ui-chart-to-use-utc-not-current-locale/64124 "2022-06-22T18:25:17Z")

</div>

Force ui\_chart to use UTC not current locale? Even though the system is using UTC, and I have am sourcing timestamp from new Date() timezone UTC, ui\_chart is still showing time in local context. For example, UTC may…

---

## [Mongodb3 node : how to pass information from function node](https://discourse.nodered.org/t/mongodb3-node-how-to-pass-information-from-function-node/64197)

<div class="topic-metadata">

**Author:** [@bertaud](https://discourse.nodered.org/u/bertaud)\
**Replies:** 9\
**Last updated:** [22 June 2022 18:20 UTC](https://discourse.nodered.org/t/mongodb3-node-how-to-pass-information-from-function-node/64197 "2022-06-22T18:20:29Z")

</div>

i want to pass information in function node to a mongo node especially the server information (URI). What is the syntax to use in function node ? i try following code but doesn't works var URI= "mongodb://"+ mongo\_User…

---

## [Nodered flows.json comparator](https://discourse.nodered.org/t/nodered-flows-json-comparator/64208)

<div class="topic-metadata">

**Author:** [@KarolisL](https://discourse.nodered.org/u/KarolisL)\
**Replies:** 4\
**Last updated:** [22 June 2022 18:09 UTC](https://discourse.nodered.org/t/nodered-flows-json-comparator/64208 "2022-06-22T18:09:37Z")

</div>

Is there a way to compare flows.json by removing "x": and "y": coordinates? Nodes might be moved in development and it generates unnecessary differences in comparator. Right now I bookmark the lines with and then re…

---

## [So the Node Red SmartLife Air Nodes appear to be abandoned or support is no longer done?](https://discourse.nodered.org/t/so-the-node-red-smartlife-air-nodes-appear-to-be-abandoned-or-support-is-no-longer-done/64114)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 13\
**Last updated:** [22 June 2022 17:33 UTC](https://discourse.nodered.org/t/so-the-node-red-smartlife-air-nodes-appear-to-be-abandoned-or-support-is-no-longer-done/64114 "2022-06-22T17:33:30Z")

</div>

So the Node Red SmartLife Air Nodes appear to be abandoned or support is no longer done? I have tried to contact the author via his direct email (which he game me some time ago), but no response. Tried to contact him v…

---

## [Node Red parser not flagging syntax error?](https://discourse.nodered.org/t/node-red-parser-not-flagging-syntax-error/64217)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 5\
**Last updated:** [22 June 2022 17:31 UTC](https://discourse.nodered.org/t/node-red-parser-not-flagging-syntax-error/64217 "2022-06-22T17:31:17Z")

</div>

Node Red parser not flagging syntax error? I was trying to find a flow logic error and wasted about 2 hours double checking everything. Only to find that it appears the javascript parser missed a typo? Do you see it? …

---

## [Failing to start Node-Red](https://discourse.nodered.org/t/failing-to-start-node-red/64246)

<div class="topic-metadata">

**Author:** [@afletcher](https://discourse.nodered.org/u/afletcher)\
**Replies:** 1\
**Last updated:** [22 June 2022 17:14 UTC](https://discourse.nodered.org/t/failing-to-start-node-red/64246 "2022-06-22T17:14:13Z")

</div>

I was up and running until my linux machine updated. Now I get the following error when attempting to start. /usr/bin/env: 'node': No such file or directory Is there a way to correct this to get access to my existing f…

---

## ["TypeError: Do not know how to serialize a BigInt"](https://discourse.nodered.org/t/typeerror-do-not-know-how-to-serialize-a-bigint/64233)

<div class="topic-metadata">

**Author:** [@Miguel](https://discourse.nodered.org/u/Miguel)\
**Replies:** 4\
**Last updated:** [22 June 2022 16:48 UTC](https://discourse.nodered.org/t/typeerror-do-not-know-how-to-serialize-a-bigint/64233 "2022-06-22T16:48:18Z")

</div>

Hi NR folks! I'm facing a strange sporadic error from the file in node. Sometimes this happens a few times a day and sometimes not at all. As seen below, the node should save all received MQTT data as a log. The MQTT in…

---

## [Connecting to nodered device using different wifi networks](https://discourse.nodered.org/t/connecting-to-nodered-device-using-different-wifi-networks/64237)

<div class="topic-metadata">

**Author:** [@KamranDurrani](https://discourse.nodered.org/u/KamranDurrani)\
**Replies:** 3\
**Last updated:** [22 June 2022 16:12 UTC](https://discourse.nodered.org/t/connecting-to-nodered-device-using-different-wifi-networks/64237 "2022-06-22T16:12:53Z")

</div>

Hello Sir is there a way that I can control the node-red device that is on one network using a device that has connectivity to different network. I want it for remote access of there is a way kindly tell me I will be tha…

---

## [How to restart 'failed' websocket connection automatically?](https://discourse.nodered.org/t/how-to-restart-failed-websocket-connection-automatically/11556)

<div class="topic-metadata">

**Author:** [@swiftnesses](https://discourse.nodered.org/u/swiftnesses)\
**Replies:** 15\
**Last updated:** [22 June 2022 13:52 UTC](https://discourse.nodered.org/t/how-to-restart-failed-websocket-connection-automatically/11556 "2022-06-22T13:52:35Z")

</div>

Hello, I have an issue with a problematic websocket, occasionally it stops sending data and my flows stop - I can get things operational again by 'restarting flows' which appears to completely reset the websocket connec…

---

## [How to make a transition to the site by clicking on the name](https://discourse.nodered.org/t/how-to-make-a-transition-to-the-site-by-clicking-on-the-name/64231)

<div class="topic-metadata">

**Author:** [@JJ22](https://discourse.nodered.org/u/JJ22)\
**Replies:** 3\
**Last updated:** [22 June 2022 11:17 UTC](https://discourse.nodered.org/t/how-to-make-a-transition-to-the-site-by-clicking-on-the-name/64231 "2022-06-22T11:17:16Z")

</div>

Hello! I made a calculator for calculating and selecting equipment, I need it so that at the end, when the calculator gives out the name of the equipment, you can click on this name and go to the site of this equipment …

---

## [Filtering with the switch node](https://discourse.nodered.org/t/filtering-with-the-switch-node/64229)

<div class="topic-metadata">

**Author:** [@noob69](https://discourse.nodered.org/u/noob69)\
**Replies:** 2\
**Last updated:** [22 June 2022 09:16 UTC](https://discourse.nodered.org/t/filtering-with-the-switch-node/64229 "2022-06-22T09:16:25Z")

</div>

Hi, I need to filter out according to it's msg.ocpp.command property. Can I use switch node for that? I tried with the switch node already but it passing the message through 1st outlet even the conditon is not satisfied?…

---

## [Context not updating according to flushInterval & Missing data](https://discourse.nodered.org/t/context-not-updating-according-to-flushinterval-missing-data/64042)

<div class="topic-metadata">

**Author:** [@Integration\_Chads](https://discourse.nodered.org/u/Integration_Chads)\
**Replies:** 9\
**Last updated:** [22 June 2022 08:47 UTC](https://discourse.nodered.org/t/context-not-updating-according-to-flushinterval-missing-data/64042 "2022-06-22T08:47:06Z")

</div>

Hello! The setup I have is 4 Node-RED instances, each one in a Docker container. I want to share the global context between them, and therefore, in each instance's settings.js file, I have set the following: contextSt…

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

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