# General

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

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

**Page:** 420

---

## [How to access a message variable while using a JSONata expression in a change node?](https://discourse.nodered.org/t/how-to-access-a-message-variable-while-using-a-jsonata-expression-in-a-change-node/58589)

<div class="topic-metadata">

**Author:** [@janedoe123](https://discourse.nodered.org/u/janedoe123)\
**Replies:** 11\
**Last updated:** [18 February 2022 13:14 UTC](https://discourse.nodered.org/t/how-to-access-a-message-variable-while-using-a-jsonata-expression-in-a-change-node/58589 "2022-02-18T13:14:17Z")

</div>

Hi all, I'm trying to access the value of a message context while using a JSONata expression in a change node, but I can't happen to get it working. Obviously, no problem with Flow or Global context since the JSON func…

---

## [Node Red Dashboard RGBW with KNX](https://discourse.nodered.org/t/node-red-dashboard-rgbw-with-knx/58252)

<div class="topic-metadata">

**Author:** [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Replies:** 23\
**Last updated:** [18 February 2022 13:12 UTC](https://discourse.nodered.org/t/node-red-dashboard-rgbw-with-knx/58252 "2022-02-18T13:12:11Z")

</div>

I have an RGBW DALI Stripe with a Theben DALI Gateway which should be controlled via the dashboard. For this I installed the "ui-iro-color-picker 0.1.6". Unfortunately the KNX node needs a validation bit (mR:1, mG:1, mB…

---

## [Custom Logging/Payload Message](https://discourse.nodered.org/t/custom-logging-payload-message/58182)

<div class="topic-metadata">

**Author:** [@derail\_green](https://discourse.nodered.org/u/derail_green)\
**Replies:** 7\
**Last updated:** [18 February 2022 10:13 UTC](https://discourse.nodered.org/t/custom-logging-payload-message/58182 "2022-02-18T10:13:01Z")

</div>

So I'm pretty sure I need a function node for what I'm looking for... however I'm clueless when it comes to writing javascript. I've attempted to read several different tutorials, however nothing is really "clicking." I'…

---

## [Can I restore accidentally deleted flow](https://discourse.nodered.org/t/can-i-restore-accidentally-deleted-flow/58586)

<div class="topic-metadata">

**Author:** [@elzup](https://discourse.nodered.org/u/elzup)\
**Replies:** 6\
**Last updated:** [18 February 2022 09:38 UTC](https://discourse.nodered.org/t/can-i-restore-accidentally-deleted-flow/58586 "2022-02-18T09:38:47Z")

</div>

I accidentally deleted an important flow while trying to delete another flow Undo couldn't get it back Deploy is done. Is it possible to restore?

---

## [Several identical entries in the editor on the tabs side after several update](https://discourse.nodered.org/t/several-identical-entries-in-the-editor-on-the-tabs-side-after-several-update/58408)

<div class="topic-metadata">

**Author:** [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Replies:** 15\
**Last updated:** [18 February 2022 09:36 UTC](https://discourse.nodered.org/t/several-identical-entries-in-the-editor-on-the-tabs-side-after-several-update/58408 "2022-02-18T09:36:26Z")

</div>

I do not understand what happens in the Tabs & Links menu. I have several times the same entries, a priori 2x? This seems to be the result of several manipulations on my part: an update of Nodered to 2.2.0 with t…

---

## [Nodered Flow missing but Dashboard visible](https://discourse.nodered.org/t/nodered-flow-missing-but-dashboard-visible/58453)

<div class="topic-metadata">

**Author:** [@Xerxes](https://discourse.nodered.org/u/Xerxes)\
**Replies:** 23\
**Last updated:** [18 February 2022 09:20 UTC](https://discourse.nodered.org/t/nodered-flow-missing-but-dashboard-visible/58453 "2022-02-18T09:20:08Z")

</div>

Flows - Not present Dashboard - Present I did not delete them but it just went missing please give advice what could be the issue.

---

## [Node-red-node-serialport issue](https://discourse.nodered.org/t/node-red-node-serialport-issue/58574)

<div class="topic-metadata">

**Author:** [@Echo](https://discourse.nodered.org/u/Echo)\
**Replies:** 3\
**Last updated:** [18 February 2022 09:05 UTC](https://discourse.nodered.org/t/node-red-node-serialport-issue/58574 "2022-02-18T09:05:08Z")

</div>

Hello, First time posting so I hope have done this correctly, feel free to point me to the correct location I should be listing this. I am having issues with node-red-node-serialport version 0.15.0 on my Raspberry Pi. …

---

## [Node-red-node-email hangs after/during netwerk hickup](https://discourse.nodered.org/t/node-red-node-email-hangs-after-during-netwerk-hickup/56994)

<div class="topic-metadata">

**Author:** [@blckshdw](https://discourse.nodered.org/u/blckshdw)\
**Replies:** 4\
**Last updated:** [18 February 2022 06:48 UTC](https://discourse.nodered.org/t/node-red-node-email-hangs-after-during-netwerk-hickup/56994 "2022-02-18T06:48:10Z")

</div>

Hello all I found that this problem occurs when there was no network/internet connection for a certain amount of time. I made a flow that notifies me after a network outage and i see problems with the node-red-node-em…

---

## [Send msg.payload (object) to ui-table using change node?](https://discourse.nodered.org/t/send-msg-payload-object-to-ui-table-using-change-node/58571)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 1\
**Last updated:** [18 February 2022 04:49 UTC](https://discourse.nodered.org/t/send-msg-payload-object-to-ui-table-using-change-node/58571 "2022-02-18T04:49:19Z")

</div>

I seem to recall, there is a short-cut method to send a msg.payload (that is an object) to a ui-table via a change node, versus using a function node? You really just create array of objects, that as just one element, r…

---

## [Allow/disallow flow during a specific time peroid (sleeping hours)](https://discourse.nodered.org/t/allow-disallow-flow-during-a-specific-time-peroid-sleeping-hours/58556)

<div class="topic-metadata">

**Author:** [@Anto79-ops](https://discourse.nodered.org/u/Anto79-ops)\
**Replies:** 8\
**Last updated:** [17 February 2022 23:02 UTC](https://discourse.nodered.org/t/allow-disallow-flow-during-a-specific-time-peroid-sleeping-hours/58556 "2022-02-17T23:02:58Z")

</div>

Hi, ' Hope you've been well. I have a flow here, which basically is a notification system reading off a sensor (in this case, weather-based). Currently, the way it is set up is that if sensor reports a value above (or…

---

## [Node for ploting GPS coorinated on the map](https://discourse.nodered.org/t/node-for-ploting-gps-coorinated-on-the-map/58479)

<div class="topic-metadata">

**Author:** [@demokedes](https://discourse.nodered.org/u/demokedes)\
**Replies:** 13\
**Last updated:** [17 February 2022 22:00 UTC](https://discourse.nodered.org/t/node-for-ploting-gps-coorinated-on-the-map/58479 "2022-02-17T22:00:45Z")

</div>

Dear all, is there any simple node that will base on the inputs (longitude and lattitude) create map with this point on this map. I need simple image of this map. Thank you in advance, Rok

---

## [Timestamping between boolean messages?](https://discourse.nodered.org/t/timestamping-between-boolean-messages/58552)

<div class="topic-metadata">

**Author:** [@Dgillett](https://discourse.nodered.org/u/Dgillett)\
**Replies:** 4\
**Last updated:** [17 February 2022 20:57 UTC](https://discourse.nodered.org/t/timestamping-between-boolean-messages/58552 "2022-02-17T20:57:44Z")

</div>

So I have a windows machine with node-red connected to a Compactlogix controller and am sending Boolean data between the two. I am wanting to start a timer when the data type goes true and stop the timer when the data t…

---

## [Two nodes apparently connected by two wires (bug?)](https://discourse.nodered.org/t/two-nodes-apparently-connected-by-two-wires-bug/58553)

<div class="topic-metadata">

**Author:** [@AndrewRoy](https://discourse.nodered.org/u/AndrewRoy)\
**Replies:** 2\
**Last updated:** [17 February 2022 19:52 UTC](https://discourse.nodered.org/t/two-nodes-apparently-connected-by-two-wires-bug/58553 "2022-02-17T19:52:38Z")

</div>

Running v2.2.0 I apparently have two nodes that are connected by two wires. The output of node 1 was wired to flow into the input of node 2. But node 2 seemed to be getting the message twice. After some debugging, I c…

---

## [Quick easy one - function node limit digits - Solved](https://discourse.nodered.org/t/quick-easy-one-function-node-limit-digits-solved/58549)

<div class="topic-metadata">

**Author:** [@dougle03](https://discourse.nodered.org/u/dougle03)\
**Replies:** 5\
**Last updated:** [17 February 2022 19:21 UTC](https://discourse.nodered.org/t/quick-easy-one-function-node-limit-digits-solved/58549 "2022-02-17T19:21:43Z")

</div>

Quick one and deffo suffering a brain freeze. I need this line to limit the number of digits after the decimal point. var mph = parseFloat (wind) \* 0.44704; I've used the syntax somewhere else in my flows, but after 1…

---

## ["node-red-contrib-cip-ethernet-ip" is crashing node-red](https://discourse.nodered.org/t/node-red-contrib-cip-ethernet-ip-is-crashing-node-red/58462)

<div class="topic-metadata">

**Author:** [@Dgillett](https://discourse.nodered.org/u/Dgillett)\
**Replies:** 4\
**Last updated:** [17 February 2022 19:01 UTC](https://discourse.nodered.org/t/node-red-contrib-cip-ethernet-ip-is-crashing-node-red/58462 "2022-02-17T19:01:56Z")

</div>

Some background on what I am trying to accomplish. My company is a manufacturing facility, that has automated manufacturing lines. I have used node-red in the past for various projects, for example creating data streams …

---

## [Telegram receiver from node-red-contrib-telegrambot problem](https://discourse.nodered.org/t/telegram-receiver-from-node-red-contrib-telegrambot-problem/58543)

<div class="topic-metadata">

**Author:** [@ilexpl01](https://discourse.nodered.org/u/ilexpl01)\
**Replies:** 2\
**Last updated:** [17 February 2022 18:49 UTC](https://discourse.nodered.org/t/telegram-receiver-from-node-red-contrib-telegrambot-problem/58543 "2022-02-17T18:49:50Z")

</div>

Hi. For couple of hours I am trying to get the receiver node to work & ... I am stuck ! Created a new bot, /setprivacy defined to Disabled. My simple flow: \[{"id":"2a01c586770210e4","type":"tab","label":"Test","disab…

---

## [Telegram send message without sound](https://discourse.nodered.org/t/telegram-send-message-without-sound/58492)

<div class="topic-metadata">

**Author:** [@nodouser](https://discourse.nodered.org/u/nodouser)\
**Replies:** 4\
**Last updated:** [17 February 2022 17:33 UTC](https://discourse.nodered.org/t/telegram-send-message-without-sound/58492 "2022-02-17T17:33:45Z")

</div>

Is there a way to send a message with telegram without a sound warning? In domoticz it is possible to choose with or without sound.

---

## [Multiple different connections for one user](https://discourse.nodered.org/t/multiple-different-connections-for-one-user/58523)

<div class="topic-metadata">

**Author:** [@utkarshsaraf19](https://discourse.nodered.org/u/utkarshsaraf19)\
**Replies:** 4\
**Last updated:** [17 February 2022 16:27 UTC](https://discourse.nodered.org/t/multiple-different-connections-for-one-user/58523 "2022-02-17T16:27:05Z")

</div>

Hi All, I am quite new to node-red. I have one simple question. Reading few posts, I came to know that node-red is single threaded. Hence need to spin up new instance per user.But wanted to know the granularity of si…

---

## [Using IF and env variables](https://discourse.nodered.org/t/using-if-and-env-variables/58480)

<div class="topic-metadata">

**Author:** [@Mark\_Ellis](https://discourse.nodered.org/u/Mark_Ellis)\
**Replies:** 13\
**Last updated:** [17 February 2022 16:20 UTC](https://discourse.nodered.org/t/using-if-and-env-variables/58480 "2022-02-17T16:20:52Z")

</div>

I'm trying to use a env variable in an if statement, from a sub flow Command1 as a string as below Command1=payload\[0\].Device==off var Command=env.get("Command1") if(Command1===true){ return msg}; This doesn't work…

---

## [On group or flow change](https://discourse.nodered.org/t/on-group-or-flow-change/58540)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 2\
**Last updated:** [17 February 2022 15:50 UTC](https://discourse.nodered.org/t/on-group-or-flow-change/58540 "2022-02-17T15:50:43Z")

</div>

Hi all I'm intereseting to start some functions when group is loaded or flow is loaded. this is possible? many thanks in advance

---

## [Can a node refer to itself using JSONata?](https://discourse.nodered.org/t/can-a-node-refer-to-itself-using-jsonata/58500)

<div class="topic-metadata">

**Author:** [@PIstonHome](https://discourse.nodered.org/u/PIstonHome)\
**Replies:** 4\
**Last updated:** [17 February 2022 15:47 UTC](https://discourse.nodered.org/t/can-a-node-refer-to-itself-using-jsonata/58500 "2022-02-17T15:47:11Z")

</div>

With JSONata, am I able to refer to the node itself? See image. I would like the JSONata expression to result in global.foobar. Currently, it is taking the information of the previous payload (msg.data.entity\_id), which …

---

## [How to send a object by button click](https://discourse.nodered.org/t/how-to-send-a-object-by-button-click/58524)

<div class="topic-metadata">

**Author:** [@alda](https://discourse.nodered.org/u/alda)\
**Replies:** 10\
**Last updated:** [17 February 2022 15:44 UTC](https://discourse.nodered.org/t/how-to-send-a-object-by-button-click/58524 "2022-02-17T15:44:54Z")

</div>

By clicking on the button I want send this object : not sure if i can do it directly in button properties:

---

## [Node-Red-Arduino-Node](https://discourse.nodered.org/t/node-red-arduino-node/58537)

<div class="topic-metadata">

**Author:** [@rayank97](https://discourse.nodered.org/u/rayank97)\
**Replies:** 2\
**Last updated:** [17 February 2022 15:16 UTC](https://discourse.nodered.org/t/node-red-arduino-node/58537 "2022-02-17T15:16:56Z")

</div>

Hello everyone! This is my first time on NodeRed and I've been carefully following the documentation on installing nodes etc. Additionally, when I was installing node-red itself, I opted to automatically install the add…

---

## [API PUT with JSON](https://discourse.nodered.org/t/api-put-with-json/58455)

<div class="topic-metadata">

**Author:** [@Milanovic](https://discourse.nodered.org/u/Milanovic)\
**Replies:** 14\
**Last updated:** [17 February 2022 14:14 UTC](https://discourse.nodered.org/t/api-put-with-json/58455 "2022-02-17T14:14:03Z")

</div>

Hi, I want to work with API PUT but it's necessary to give a JSON frame with it. How can I do that?

---

## [Best way to control MQTT-parts with Excel-VBA-Dashboard](https://discourse.nodered.org/t/best-way-to-control-mqtt-parts-with-excel-vba-dashboard/58507)

<div class="topic-metadata">

**Author:** [@MichaelLE](https://discourse.nodered.org/u/MichaelLE)\
**Replies:** 1\
**Last updated:** [17 February 2022 10:56 UTC](https://discourse.nodered.org/t/best-way-to-control-mqtt-parts-with-excel-vba-dashboard/58507 "2022-02-17T10:56:37Z")

</div>

Hello, I´m running a Node-RED-Server which normally is controlled with the help of the dashboard. In the office, there is an other dashboard (based on Excel with VBA) running already and will not be changed. Is there a…

---

## [Smart socket power consumption monitoring in Node Red](https://discourse.nodered.org/t/smart-socket-power-consumption-monitoring-in-node-red/58211)

<div class="topic-metadata">

**Author:** [@Surefire01](https://discourse.nodered.org/u/Surefire01)\
**Replies:** 18\
**Last updated:** [17 February 2022 10:31 UTC](https://discourse.nodered.org/t/smart-socket-power-consumption-monitoring-in-node-red/58211 "2022-02-17T10:31:02Z")

</div>

Hi Chaps. The caravan which is powered up to the mains on my drive, recently suffered a spurious electrical spike which tripped the onboard RCD and cut the power off as it should. Problem was that the fridge and freezer…

---

## [How to subscribe to several mqtt brokers within one flow](https://discourse.nodered.org/t/how-to-subscribe-to-several-mqtt-brokers-within-one-flow/58527)

<div class="topic-metadata">

**Author:** [@redhair](https://discourse.nodered.org/u/redhair)\
**Replies:** 2\
**Last updated:** [17 February 2022 10:06 UTC](https://discourse.nodered.org/t/how-to-subscribe-to-several-mqtt-brokers-within-one-flow/58527 "2022-02-17T10:06:53Z")

</div>

I use mqtt-in node to subscribe to mqtt broker. In the same flow i need another mqtt-in node to receive messages from another broker. After i add second mqtt-in node and configure it with second broker credentials, firs…

---

## [Start and Stop logging by switch](https://discourse.nodered.org/t/start-and-stop-logging-by-switch/58516)

<div class="topic-metadata">

**Author:** [@HollaDieWaldfee](https://discourse.nodered.org/u/HollaDieWaldfee)\
**Replies:** 2\
**Last updated:** [17 February 2022 08:58 UTC](https://discourse.nodered.org/t/start-and-stop-logging-by-switch/58516 "2022-02-17T08:58:18Z")

</div>

Hi!! I am currently building a datalogger for my gps. I would like to have a switch that u press to start logging and also stop logging. Every time I stop logging and start over logging I would like a new file to be g…

---

## [How to Zoom in in "Edit function node"](https://discourse.nodered.org/t/how-to-zoom-in-in-edit-function-node/58494)

<div class="topic-metadata">

**Author:** [@demokedes](https://discourse.nodered.org/u/demokedes)\
**Replies:** 4\
**Last updated:** [17 February 2022 08:47 UTC](https://discourse.nodered.org/t/how-to-zoom-in-in-edit-function-node/58494 "2022-02-17T08:47:30Z")

</div>

Somehow....I don't know how, I managed to get very small fonts only and exclusively in edit function node. I don't know how to zoom in. If I Try to zoom in, screen in the background is zooming in, while this function edi…

---

## [MQTT + Sqlite? , no luck](https://discourse.nodered.org/t/mqtt-sqlite-no-luck/58487)

<div class="topic-metadata">

**Author:** [@bar4593](https://discourse.nodered.org/u/bar4593)\
**Replies:** 5\
**Last updated:** [17 February 2022 08:18 UTC](https://discourse.nodered.org/t/mqtt-sqlite-no-luck/58487 "2022-02-17T08:18:35Z")

</div>

I am trying to send MQTT sensor data to an SQL db. It works when I use the inject node but nothing happens when I use it with function node that takes data from the MQTT In node. I use the following code for the function…

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

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