# General

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

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

**Page:** 396

---

## [Global Variables i.e V1 V2 have the same content](https://discourse.nodered.org/t/global-variables-i-e-v1-v2-have-the-same-content/60844)

<div class="topic-metadata">

**Author:** [@Discourse01](https://discourse.nodered.org/u/Discourse01)\
**Replies:** 0\
**Last updated:** [5 April 2022 18:40 UTC](https://discourse.nodered.org/t/global-variables-i-e-v1-v2-have-the-same-content/60844 "2022-04-05T18:40:08Z")

</div>

//msg.payload format = { voltages: , temps: , SOC : , SOH:, STATUS: ,PACK\_V : , PACK\_I : , BTEMP:} ; Npacks = global.get("No\_of\_packs") ; data = msg.payload ; flow.set("data2",data); acsii = 97 ; var pack = {}…

---

## [Concatenation inside formatting](https://discourse.nodered.org/t/concatenation-inside-formatting/60827)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 2\
**Last updated:** [5 April 2022 12:52 UTC](https://discourse.nodered.org/t/concatenation-inside-formatting/60827 "2022-04-05T12:52:38Z")

</div>

Not being a coder I lack some skills.... How to you concatenate a variable with a string in this context (function). I am trying to concatenate VTS which is a float with VC1 which is a string VTS=(k\[9\]) msg.payload =…

---

## [Changing sensor inputs](https://discourse.nodered.org/t/changing-sensor-inputs/60821)

<div class="topic-metadata">

**Author:** [@Surefire01](https://discourse.nodered.org/u/Surefire01)\
**Replies:** 7\
**Last updated:** [5 April 2022 11:42 UTC](https://discourse.nodered.org/t/changing-sensor-inputs/60821 "2022-04-05T11:42:22Z")

</div>

Chaps. Looking to make my Node-Red heating flow more flexible. Currently a hallway Sonoff sensor provides MQTT temperature data to my flow which then controls my central heating. I would like to add a second sensor whic…

---

## [Gmail "Email-in" node no longer working with username&password](https://discourse.nodered.org/t/gmail-email-in-node-no-longer-working-with-username-password/60683)

<div class="topic-metadata">

**Author:** [@PedanticPete](https://discourse.nodered.org/u/PedanticPete)\
**Replies:** 12\
**Last updated:** [5 April 2022 11:02 UTC](https://discourse.nodered.org/t/gmail-email-in-node-no-longer-working-with-username-password/60683 "2022-04-05T11:02:33Z")

</div>

Hi, I have been checking my gmail fine until today ... found this ... " To help keep your account secure, starting May 30, 2022 , ​​Google will no longer support the use of third-party apps or devices which ask you to s…

---

## [UI inputs to control timer](https://discourse.nodered.org/t/ui-inputs-to-control-timer/60528)

<div class="topic-metadata">

**Author:** [@rossjtlambert](https://discourse.nodered.org/u/rossjtlambert)\
**Replies:** 3\
**Last updated:** [5 April 2022 10:22 UTC](https://discourse.nodered.org/t/ui-inputs-to-control-timer/60528 "2022-04-05T10:22:54Z")

</div>

Hi, I have been working on controlling a pump to teach myself how to use node-red. So far I can turn the pump on/off, change direction and control the speed all through the dashboard. I would really like to be able to t…

---

## [Dashboard sidebar (icons only), icon not clickable](https://discourse.nodered.org/t/dashboard-sidebar-icons-only-icon-not-clickable/60814)

<div class="topic-metadata">

**Author:** [@kkuula](https://discourse.nodered.org/u/kkuula)\
**Replies:** 0\
**Last updated:** [5 April 2022 06:50 UTC](https://discourse.nodered.org/t/dashboard-sidebar-icons-only-icon-not-clickable/60814 "2022-04-05T06:50:46Z")

</div>

Hello, I configured my dashboard so that side bar is always shown but icons only. How ever the icon itself is not clickable, nothing happens. But the icon's background is doing the actual redirect -\> I need to try to c…

---

## [Node with hidden wire --\> X output node messages](https://discourse.nodered.org/t/node-with-hidden-wire-x-output-node-messages/58316)

<div class="topic-metadata">

**Author:** [@bigman](https://discourse.nodered.org/u/bigman)\
**Replies:** 8\
**Last updated:** [4 April 2022 23:21 UTC](https://discourse.nodered.org/t/node-with-hidden-wire-x-output-node-messages/58316 "2022-04-04T23:21:45Z")

</div>

Hi ! Sometimes, i have some bug with the wire of some nodes. I use the latest version NR 2.2 The output wire of the node multiply the message (here 3 wires) I don't know how it's happen (merging, deploy, copy paste .…

---

## [How can i view the entire flows?](https://discourse.nodered.org/t/how-can-i-view-the-entire-flows/60769)

<div class="topic-metadata">

**Author:** [@fab29](https://discourse.nodered.org/u/fab29)\
**Replies:** 18\
**Last updated:** [4 April 2022 22:37 UTC](https://discourse.nodered.org/t/how-can-i-view-the-entire-flows/60769 "2022-04-04T22:37:46Z")

</div>

How can i view the entire flows? (work areas). Why can't I see all the blocks I have in the flow:

---

## [Sending e-mail using OAuth 2.0](https://discourse.nodered.org/t/sending-e-mail-using-oauth-2-0/59376)

<div class="topic-metadata">

**Author:** [@fabnavigator](https://discourse.nodered.org/u/fabnavigator)\
**Replies:** 6\
**Last updated:** [4 April 2022 22:23 UTC](https://discourse.nodered.org/t/sending-e-mail-using-oauth-2-0/59376 "2022-04-04T22:23:38Z")

</div>

I'm using node-red-node-email to send e-mail, and just received this notice from Google: On May 30, you may lose access to apps that are using less secure sign-in technology To help keep your account secure, Google wil…

---

## [Ideas needed for how to approach this one please](https://discourse.nodered.org/t/ideas-needed-for-how-to-approach-this-one-please/60624)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 5\
**Last updated:** [4 April 2022 19:30 UTC](https://discourse.nodered.org/t/ideas-needed-for-how-to-approach-this-one-please/60624 "2022-04-04T19:30:03Z")

</div>

Guys, OK a bit of a long winded explanation here - but here goes We have an electricity provider that exposes us to wholesale electricity rates in the Australian market - so when the sun shines and the wind blows we ge…

---

## [Adding conditions to a flow](https://discourse.nodered.org/t/adding-conditions-to-a-flow/60720)

<div class="topic-metadata">

**Author:** [@Willgfc](https://discourse.nodered.org/u/Willgfc)\
**Replies:** 2\
**Last updated:** [4 April 2022 19:08 UTC](https://discourse.nodered.org/t/adding-conditions-to-a-flow/60720 "2022-04-04T19:08:06Z")

</div>

Hello. I've set up a few flows to control my heating system but I'm having a little trouble figuring out how to set conditions on some of them. I've created some switch entity nodes that I'm using to set the various st…

---

## [HTTP Request to get access through an API](https://discourse.nodered.org/t/http-request-to-get-access-through-an-api/60705)

<div class="topic-metadata">

**Author:** [@astrojav](https://discourse.nodered.org/u/astrojav)\
**Replies:** 5\
**Last updated:** [4 April 2022 18:33 UTC](https://discourse.nodered.org/t/http-request-to-get-access-through-an-api/60705 "2022-04-04T18:33:18Z")

</div>

Hi folks, I'm trying to pass some sensor values to an 'api.php' file as a HTTP request that is located on a remote web server. The request should be accepted by the 'api.php' using a \_GET variable. I am trying to do thi…

---

## [Conditional formatting of a table](https://discourse.nodered.org/t/conditional-formatting-of-a-table/60252)

<div class="topic-metadata">

**Author:** [@QGIO](https://discourse.nodered.org/u/QGIO)\
**Replies:** 13\
**Last updated:** [4 April 2022 15:09 UTC](https://discourse.nodered.org/t/conditional-formatting-of-a-table/60252 "2022-04-04T15:09:11Z")

</div>

I would like to colour each cell of a table column on the base of some conditions. The field of interest is a date; I have three conditions and so three possible colours to assign. I want to assign one of the three col…

---

## [NodeRed connection with ThingSpeak](https://discourse.nodered.org/t/nodered-connection-with-thingspeak/60778)

<div class="topic-metadata">

**Author:** [@loacker22](https://discourse.nodered.org/u/loacker22)\
**Replies:** 1\
**Last updated:** [4 April 2022 14:45 UTC](https://discourse.nodered.org/t/nodered-connection-with-thingspeak/60778 "2022-04-04T14:45:31Z")

</div>

Hello everyone, first time i ever use NodeRed, excited to learn a lot!! I am dealing with a problem : i don't know how to connect NodeRed to ThingSpeak. I was wondering how could i connect my data from a weather site …

---

## [GPIO input to msg.reset](https://discourse.nodered.org/t/gpio-input-to-msg-reset/60761)

<div class="topic-metadata">

**Author:** [@BWTH](https://discourse.nodered.org/u/BWTH)\
**Replies:** 8\
**Last updated:** [4 April 2022 12:31 UTC](https://discourse.nodered.org/t/gpio-input-to-msg-reset/60761 "2022-04-04T12:31:05Z")

</div>

Hi i wan´t to toggle input from Raspi and convert this to msg.reset. with my toggle inject it works, what i am doing wrong? \[ { "id": "5542a8a0.2ca958", "type": "tab", "label": "Flow 4", "disabled": false, "info"…

---

## [Node-red-contrib-i2c is unsupported](https://discourse.nodered.org/t/node-red-contrib-i2c-is-unsupported/60753)

<div class="topic-metadata">

**Author:** [@elektronik-freak](https://discourse.nodered.org/u/elektronik-freak)\
**Replies:** 10\
**Last updated:** [4 April 2022 12:09 UTC](https://discourse.nodered.org/t/node-red-contrib-i2c-is-unsupported/60753 "2022-04-04T12:09:59Z")

</div>

The node-red-contrib-i2c is saying unsupported in NodRed version 2.2.2 npm -v 8.5.0 The I2C is working on the console, so looks like somthenthing with nodred. With NodRed 2.2.0 it works great. Is there somthing I ca…

---

## [How to detect which user is connected to Node-RED](https://discourse.nodered.org/t/how-to-detect-which-user-is-connected-to-node-red/59979)

<div class="topic-metadata">

**Author:** [@quemf](https://discourse.nodered.org/u/quemf)\
**Replies:** 8\
**Last updated:** [4 April 2022 10:42 UTC](https://discourse.nodered.org/t/how-to-detect-which-user-is-connected-to-node-red/59979 "2022-04-04T10:42:04Z")

</div>

Hi everyone, I am trying to do a Node-RED application authenticated with multiple users, and I want to detect which user is connected, to show different parts of the Dashboard with the ui\_node. How can I get which user…

---

## [“Error: Client Not Ready To Read At State reconnecting” when try Huawei Sun2000](https://discourse.nodered.org/t/error-client-not-ready-to-read-at-state-reconnecting-when-try-huawei-sun2000/60692)

<div class="topic-metadata">

**Author:** [@CAuboy](https://discourse.nodered.org/u/CAuboy)\
**Replies:** 5\
**Last updated:** [4 April 2022 10:08 UTC](https://discourse.nodered.org/t/error-client-not-ready-to-read-at-state-reconnecting-when-try-huawei-sun2000/60692 "2022-04-04T10:08:50Z")

</div>

Hi. I'm trying to conect to my Huawei Sun 2000 by modbus TCP and when I deploy a Modbus Read module and configurated a client with ID 0 appears that error: "Error: Client Not Ready To Read At State reconnecting" I insta…

---

## [How to send a temperature data that is more than 30 celcius and save it in excel csv file](https://discourse.nodered.org/t/how-to-send-a-temperature-data-that-is-more-than-30-celcius-and-save-it-in-excel-csv-file/60749)

<div class="topic-metadata">

**Author:** [@Goldenguyz](https://discourse.nodered.org/u/Goldenguyz)\
**Replies:** 6\
**Last updated:** [4 April 2022 09:50 UTC](https://discourse.nodered.org/t/how-to-send-a-temperature-data-that-is-more-than-30-celcius-and-save-it-in-excel-csv-file/60749 "2022-04-04T09:50:28Z")

</div>

Hi all, I'm trying to send some specific data of temperature in celcius that received an inputs from COMPORT3 which I connect with raspberry pi pico and when the temperature is above 30, it will Line notify to me. Here …

---

## [Node-red-contrib-machine-learning (Question)](https://discourse.nodered.org/t/node-red-contrib-machine-learning-question/60759)

<div class="topic-metadata">

**Author:** [@Thar](https://discourse.nodered.org/u/Thar)\
**Replies:** 0\
**Last updated:** [4 April 2022 09:40 UTC](https://discourse.nodered.org/t/node-red-contrib-machine-learning-question/60759 "2022-04-04T09:40:49Z")

</div>

Hello, I want to know about the result 0.9333333333333 is good or bad in this flow node-red? You can find the flow chart in here : node-red-contrib-machine-learning (node) - Node-RED (nodered.org). And here is my assess…

---

## [Not able to write file content into SFTP folder](https://discourse.nodered.org/t/not-able-to-write-file-content-into-sftp-folder/60682)

<div class="topic-metadata">

**Author:** [@sinmeera](https://discourse.nodered.org/u/sinmeera)\
**Replies:** 2\
**Last updated:** [4 April 2022 07:34 UTC](https://discourse.nodered.org/t/not-able-to-write-file-content-into-sftp-folder/60682 "2022-04-04T07:34:26Z")

</div>

HI All, I have installed "node-red-contrib-better-sftp" into my node red and using this am trying to create the file with the content into the SFTP folder. Issue : i have done the configuration and able to create a fil…

---

## [Memory management - js heap size](https://discourse.nodered.org/t/memory-management-js-heap-size/60729)

<div class="topic-metadata">

**Author:** [@pet](https://discourse.nodered.org/u/pet)\
**Replies:** 0\
**Last updated:** [3 April 2022 16:12 UTC](https://discourse.nodered.org/t/memory-management-js-heap-size/60729 "2022-04-03T16:12:11Z")

</div>

I'm running node-red on a docker container, on Linux. Node.js v 14.18.2 Node-red v 2.2.2 I have several flows. When the all active, or even few of them, i have an error thrown y nodejs. FATAL ERROR: Ineffective mark-…

---

## [Need help to understand the below code](https://discourse.nodered.org/t/need-help-to-understand-the-below-code/60721)

<div class="topic-metadata">

**Author:** [@Kai](https://discourse.nodered.org/u/Kai)\
**Replies:** 2\
**Last updated:** [4 April 2022 00:48 UTC](https://discourse.nodered.org/t/need-help-to-understand-the-below-code/60721 "2022-04-04T00:48:50Z")

</div>

Hi, I actually found a tutorial about how to access the message object in template script: https://flows.nodered.org/flow/2f1aaf0635f9bf23207152682323240a but I dont understand what is "scope" in the closure function.…

---

## [Serial Request echo's input message](https://discourse.nodered.org/t/serial-request-echos-input-message/60715)

<div class="topic-metadata">

**Author:** [@ebrady](https://discourse.nodered.org/u/ebrady)\
**Replies:** 6\
**Last updated:** [3 April 2022 23:19 UTC](https://discourse.nodered.org/t/serial-request-echos-input-message/60715 "2022-04-03T23:19:52Z")

</div>

I am trying to Solve a problem with the Serial Request Node. I am using a Raspberry PI, with a USB Serial converter to send data to an ICOM radio. I am not sure what other information would be helpful with understandi…

---

## [Large virtual memory usage with 64-bit OS Bullseye](https://discourse.nodered.org/t/large-virtual-memory-usage-with-64-bit-os-bullseye/60672)

<div class="topic-metadata">

**Author:** [@davidz](https://discourse.nodered.org/u/davidz)\
**Replies:** 18\
**Last updated:** [3 April 2022 22:49 UTC](https://discourse.nodered.org/t/large-virtual-memory-usage-with-64-bit-os-bullseye/60672 "2022-04-03T22:49:19Z")

</div>

We are testing 64-bit OS bullseye and noticed large virtual memory usage by Node-RED (more than 10GB), compared to 200MB virtual memory usage of 32-bit OS. See attached pictures of 32-bit OS vs 64-bit OS node-RED virtua…

---

## [Node-red-contrib-tplink understanding emeter values](https://discourse.nodered.org/t/node-red-contrib-tplink-understanding-emeter-values/60737)

<div class="topic-metadata">

**Author:** [@dedelajoie](https://discourse.nodered.org/u/dedelajoie)\
**Replies:** 2\
**Last updated:** [3 April 2022 22:15 UTC](https://discourse.nodered.org/t/node-red-contrib-tplink-understanding-emeter-values/60737 "2022-04-03T22:15:55Z")

</div>

I am willing to use the node-red-contrib-tplink node. I retrieved power consumption values from this node without any problem : { "current":0.054276, "voltage":234.629612, "power":1.102936, "total":13.577, "err\_code"…

---

## [Trigger & block in subflow](https://discourse.nodered.org/t/trigger-block-in-subflow/60735)

<div class="topic-metadata">

**Author:** [@zimcube](https://discourse.nodered.org/u/zimcube)\
**Replies:** 1\
**Last updated:** [3 April 2022 18:15 UTC](https://discourse.nodered.org/t/trigger-block-in-subflow/60735 "2022-04-03T18:15:33Z")

</div>

Can I put a trigger & block node inside a subflow? My guess is each time a new message comes in, a new instance of the subflow will be created. What mental model should I have of a "node". Is it analogous to an insta…

---

## [From SQL database to UI bar chart](https://discourse.nodered.org/t/from-sql-database-to-ui-bar-chart/60722)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 2\
**Last updated:** [3 April 2022 16:29 UTC](https://discourse.nodered.org/t/from-sql-database-to-ui-bar-chart/60722 "2022-04-03T16:29:22Z")

</div>

I have an SQL query which produces this output: \[{"id":1,"month":"january","temperature":65},{"id":2,"month":"january","temperature":28},{"id":3,"month":"january","temperature":38},{"id":4,"month":"february","temperatur…

---

## [Check If file exists - functionGlobalContext](https://discourse.nodered.org/t/check-if-file-exists-functionglobalcontext/60507)

<div class="topic-metadata">

**Author:** [@mk500](https://discourse.nodered.org/u/mk500)\
**Replies:** 7\
**Last updated:** [3 April 2022 15:58 UTC](https://discourse.nodered.org/t/check-if-file-exists-functionglobalcontext/60507 "2022-04-03T15:58:57Z")

</div>

Hey, it's my first post here at the forum. I simply want to check, if a file in my rasperry directory exist. So I tried a few things. But don't get the right way. So I found this example. I like functions, so this one…

---

## [Why Coap Server resend message twice?](https://discourse.nodered.org/t/why-coap-server-resend-message-twice/60724)

<div class="topic-metadata">

**Author:** [@Salarj](https://discourse.nodered.org/u/Salarj)\
**Replies:** 0\
**Last updated:** [3 April 2022 14:45 UTC](https://discourse.nodered.org/t/why-coap-server-resend-message-twice/60724 "2022-04-03T14:45:48Z")

</div>

Hi Dear I am working on CoAP in a Node-Red application. In my scenario, the client sends a single request to the CoAP Server every one second . Why do I always receive two responses from the CoAP Server (for each reques…

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

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