# General

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

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

**Page:** 331

---

## [I can't get the time data of my own country from mysql](https://discourse.nodered.org/t/i-cant-get-the-time-data-of-my-own-country-from-mysql/66901)

<div class="topic-metadata">

**Author:** [@Sezgin\_krk](https://discourse.nodered.org/u/Sezgin_krk)\
**Replies:** 4\
**Last updated:** [26 August 2022 08:57 UTC](https://discourse.nodered.org/t/i-cant-get-the-time-data-of-my-own-country-from-mysql/66901 "2022-08-26T08:57:08Z")

</div>

Hi, I want to compare the data of two sensors that I have taken from mysql server in separate graphs. I can extract the data, but I cannot change the time data of the data I have taken with the time data of my own co…

---

## [Can anyone tell how to set the resource for AC grant in node red](https://discourse.nodered.org/t/can-anyone-tell-how-to-set-the-resource-for-ac-grant-in-node-red/66909)

<div class="topic-metadata">

**Author:** [@Techie](https://discourse.nodered.org/u/Techie)\
**Replies:** 3\
**Last updated:** [26 August 2022 07:30 UTC](https://discourse.nodered.org/t/can-anyone-tell-how-to-set-the-resource-for-ac-grant-in-node-red/66909 "2022-08-26T07:30:34Z")

</div>

i have the grant node in which i set the property msg.res = object as mentioned. can anyone tell how to set the resource as the node is for grant permission on a resource

---

## [Payload decoding error](https://discourse.nodered.org/t/payload-decoding-error/66924)

<div class="topic-metadata">

**Author:** [@sn19](https://discourse.nodered.org/u/sn19)\
**Replies:** 10\
**Last updated:** [25 August 2022 21:01 UTC](https://discourse.nodered.org/t/payload-decoding-error/66924 "2022-08-25T21:01:01Z")

</div>

I am using an MQTT block and a Sparkplug block as subscribers as shown below. I am trying to publish .json data onto the broker and use these two blocks as subscribers to receive the payload. In case of the MQTT blo…

---

## [Json Data Mapping](https://discourse.nodered.org/t/json-data-mapping/66914)

<div class="topic-metadata">

**Author:** [@Ryanshafer](https://discourse.nodered.org/u/Ryanshafer)\
**Replies:** 12\
**Last updated:** [25 August 2022 20:23 UTC](https://discourse.nodered.org/t/json-data-mapping/66914 "2022-08-25T20:23:47Z")

</div>

Hi, I currently have a function node that maps this nasa data to an object for use later in the flow. I'm not totally happy with it because it occasionally throws an error. I could add some better error handling, but I …

---

## [Nfc to interfere a flow](https://discourse.nodered.org/t/nfc-to-interfere-a-flow/66896)

<div class="topic-metadata">

**Author:** [@wolfbastion](https://discourse.nodered.org/u/wolfbastion)\
**Replies:** 3\
**Last updated:** [25 August 2022 19:32 UTC](https://discourse.nodered.org/t/nfc-to-interfere-a-flow/66896 "2022-08-25T19:32:38Z")

</div>

Hello, im a newbie and trying to learn improve little by little :slight\_smile: i have a small question, in my flow bathroom light will close in 4 minute but i want to add a tag and when i touch that nfc timer become 30…

---

## [Python Funktion Stop](https://discourse.nodered.org/t/python-funktion-stop/66757)

<div class="topic-metadata">

**Author:** [@OPH](https://discourse.nodered.org/u/OPH)\
**Replies:** 8\
**Last updated:** [25 August 2022 19:20 UTC](https://discourse.nodered.org/t/python-funktion-stop/66757 "2022-08-25T19:20:55Z")

</div>

Hi, I'm trying to stop python-function-node with a while loop in it. with a stop button on the dashboard. unfortunately i can't get the node to read in new msg. does anyone have an idea how i can solve this? thanks for…

---

## [Finding value in array of JSON Objects](https://discourse.nodered.org/t/finding-value-in-array-of-json-objects/66872)

<div class="topic-metadata">

**Author:** [@TheadehAnank](https://discourse.nodered.org/u/TheadehAnank)\
**Replies:** 2\
**Last updated:** [25 August 2022 17:52 UTC](https://discourse.nodered.org/t/finding-value-in-array-of-json-objects/66872 "2022-08-25T17:52:35Z")

</div>

Hello - Please advise how to find a specifc value for "sw-a" (see below), and return the value in "zone". I am unable to change the format of the array without causing other issues. I've tried several variations of the f…

---

## [How to make a split of a large CSV file to sub CSV files?](https://discourse.nodered.org/t/how-to-make-a-split-of-a-large-csv-file-to-sub-csv-files/66918)

<div class="topic-metadata">

**Author:** [@ger94](https://discourse.nodered.org/u/ger94)\
**Replies:** 6\
**Last updated:** [25 August 2022 17:00 UTC](https://discourse.nodered.org/t/how-to-make-a-split-of-a-large-csv-file-to-sub-csv-files/66918 "2022-08-25T17:00:19Z")

</div>

How to implement the partition of large CSV files and thus generate CSV subfiles?

---

## [Node exec doesn't work](https://discourse.nodered.org/t/node-exec-doesnt-work/66906)

<div class="topic-metadata">

**Author:** [@Gabriel1310](https://discourse.nodered.org/u/Gabriel1310)\
**Replies:** 4\
**Last updated:** [25 August 2022 16:23 UTC](https://discourse.nodered.org/t/node-exec-doesnt-work/66906 "2022-08-25T16:23:48Z")

</div>

Hello, I'm using exec for some commands on my computer, passing node to test environment(on another pc) exec node doesn't work, it starts pid, but the command doesn't execute, I tried to put even something basic like "st…

---

## [Is there a Hadoop File system node?](https://discourse.nodered.org/t/is-there-a-hadoop-file-system-node/66812)

<div class="topic-metadata">

**Author:** [@Josh](https://discourse.nodered.org/u/Josh)\
**Replies:** 3\
**Last updated:** [25 August 2022 16:02 UTC](https://discourse.nodered.org/t/is-there-a-hadoop-file-system-node/66812 "2022-08-25T16:02:16Z")

</div>

Hey there, I am wondering if there is a node for Hadoop file system. Basically I want to write and read a file. Any suggestions are welcomed !!

---

## [Monaco editor - mouse pointer](https://discourse.nodered.org/t/monaco-editor-mouse-pointer/66767)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 9\
**Last updated:** [25 August 2022 14:21 UTC](https://discourse.nodered.org/t/monaco-editor-mouse-pointer/66767 "2022-08-25T14:21:39Z")

</div>

Hi, only recently I use Monaco editor but I have this "problem" and I try to explain ... Often happens that when I try to place the mouse pointer at the beginning of a line, It's like that line is disabled; it's necess…

---

## [How to use shared code?](https://discourse.nodered.org/t/how-to-use-shared-code/66907)

<div class="topic-metadata">

**Author:** [@kll](https://discourse.nodered.org/u/kll)\
**Replies:** 2\
**Last updated:** [25 August 2022 13:25 UTC](https://discourse.nodered.org/t/how-to-use-shared-code/66907 "2022-08-25T13:25:19Z")

</div>

new to node-red ( and here ) there are many posts sharing code also a general info how to do that: https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506 ahm, but i need info how to use such a code snip…

---

## [Uibuilder toast message](https://discourse.nodered.org/t/uibuilder-toast-message/66817)

<div class="topic-metadata">

**Author:** [@magicman](https://discourse.nodered.org/u/magicman)\
**Replies:** 6\
**Last updated:** [25 August 2022 13:19 UTC](https://discourse.nodered.org/t/uibuilder-toast-message/66817 "2022-08-25T13:19:47Z")

</div>

hi, I am using uibuilder v5 and want to use toast messages I am using the vue template when i inject this:- { "componentRef": "globalNotification", "options": { "noAutoHide": true, "title": "Buttered, Yum!", "var…

---

## [RBE/filter + Rate Limit](https://discourse.nodered.org/t/rbe-filter-rate-limit/66882)

<div class="topic-metadata">

**Author:** [@GeorgeCastanza](https://discourse.nodered.org/u/GeorgeCastanza)\
**Replies:** 2\
**Last updated:** [25 August 2022 13:07 UTC](https://discourse.nodered.org/t/rbe-filter-rate-limit/66882 "2022-08-25T13:07:14Z")

</div>

I've appreciated this code here from @Colin. How would I go about comparing objects, for it seems that objects pass through the RBE + rate limit node without reference to the rate limit. Here is the code: const minInt…

---

## [How to set 2 timestamp for the same request?](https://discourse.nodered.org/t/how-to-set-2-timestamp-for-the-same-request/66535)

<div class="topic-metadata">

**Author:** [@mykerinos1](https://discourse.nodered.org/u/mykerinos1)\
**Replies:** 40\
**Last updated:** [25 August 2022 11:21 UTC](https://discourse.nodered.org/t/how-to-set-2-timestamp-for-the-same-request/66535 "2022-08-25T11:21:31Z")

</div>

Hllo i'm using a Http request node to receive my weatherdata. At first i used a timestamp each second to feed a data live in a flow with my unique http request. at second i used another flow to feed a database with ano…

---

## [Extract a value from message payload using Name not Object](https://discourse.nodered.org/t/extract-a-value-from-message-payload-using-name-not-object/66885)

<div class="topic-metadata">

**Author:** [@CJ10](https://discourse.nodered.org/u/CJ10)\
**Replies:** 2\
**Last updated:** [25 August 2022 11:06 UTC](https://discourse.nodered.org/t/extract-a-value-from-message-payload-using-name-not-object/66885 "2022-08-25T11:06:42Z")

</div>

Can anyone guide me. I am trying to extract the value associated with a string. The data is coming from an XML file, of which, I have no control over its format. \<?xml version="1.0" encoding="utf-8" ?\> \<!DOCTYPE data \[…

---

## [Setting mqtt out node properties from json string](https://discourse.nodered.org/t/setting-mqtt-out-node-properties-from-json-string/66856)

<div class="topic-metadata">

**Author:** [@MikeyMikey](https://discourse.nodered.org/u/MikeyMikey)\
**Replies:** 2\
**Last updated:** [25 August 2022 10:58 UTC](https://discourse.nodered.org/t/setting-mqtt-out-node-properties-from-json-string/66856 "2022-08-25T10:58:52Z")

</div>

Hi, Is it possible to set the properties of a mqtt out node e.g. server name, port, protocol, username, password etc from a function in node red? Along the same line as msg.qos=2 and msg.retain=false and msg.topic="my/t…

---

## [Splitting a tcp message into different values](https://discourse.nodered.org/t/splitting-a-tcp-message-into-different-values/66874)

<div class="topic-metadata">

**Author:** [@Lostcat67](https://discourse.nodered.org/u/Lostcat67)\
**Replies:** 2\
**Last updated:** [25 August 2022 09:43 UTC](https://discourse.nodered.org/t/splitting-a-tcp-message-into-different-values/66874 "2022-08-25T09:43:51Z")

</div>

Hi. Im new in node red. Im running it from my raspberry pi 4 and I have a question. I just want to recieve a TCP message from my ESP32, is actually a set of sensor values, and take only one of those values and use it so…

---

## [Node-red-contrib-web-worldmap question - maps not loading on boot](https://discourse.nodered.org/t/node-red-contrib-web-worldmap-question-maps-not-loading-on-boot/66829)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [25 August 2022 09:43 UTC](https://discourse.nodered.org/t/node-red-contrib-web-worldmap-question-maps-not-loading-on-boot/66829 "2022-08-25T09:43:42Z")

</div>

(From my other thread but now I'm confused with this problem) Forgive me if I am missing something, but on initial "set up" things were looking great. I would inject a message and then look at the map. There would b…

---

## [How to pass request body in http request node to API](https://discourse.nodered.org/t/how-to-pass-request-body-in-http-request-node-to-api/66883)

<div class="topic-metadata">

**Author:** [@MiliH](https://discourse.nodered.org/u/MiliH)\
**Replies:** 2\
**Last updated:** [25 August 2022 09:19 UTC](https://discourse.nodered.org/t/how-to-pass-request-body-in-http-request-node-to-api/66883 "2022-08-25T09:19:40Z")

</div>

In postman, for token based API, we first generate token, then pass that generated token to the API. Now if we want to pass request body to API in postman, we pass JSON in Body tab. As shown is above image, I want t…

---

## [Payload not decoded](https://discourse.nodered.org/t/payload-not-decoded/66870)

<div class="topic-metadata">

**Author:** [@sn19](https://discourse.nodered.org/u/sn19)\
**Replies:** 4\
**Last updated:** [25 August 2022 08:25 UTC](https://discourse.nodered.org/t/payload-not-decoded/66870 "2022-08-25T08:25:51Z")

</div>

The NODE RED Test case as of now is moving forward to another test case. A solution to this issue is still being assessed.

---

## [How to connect Node RED workflow to web application developed in ASP.NET](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585)

<div class="topic-metadata">

**Author:** [@MiliH](https://discourse.nodered.org/u/MiliH)\
**Replies:** 14\
**Last updated:** [25 August 2022 06:56 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-workflow-to-web-application-developed-in-asp-net/66585 "2022-08-25T06:56:57Z")

</div>

I want to connect Node RED workflow with web application that is developed in ASP.NET. Can anyone help me out how to connect it. Thank you!

---

## [Anyone mind checking how I am going with this code?](https://discourse.nodered.org/t/anyone-mind-checking-how-i-am-going-with-this-code/66848)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 11\
**Last updated:** [25 August 2022 04:15 UTC](https://discourse.nodered.org/t/anyone-mind-checking-how-i-am-going-with-this-code/66848 "2022-08-25T04:15:41Z")

</div>

This is my latest attempt to get a block for train signals working. This is a tab for now but will eventually be a sub-flow. There is a lot of extra stuff on the tab. Input simulation and debug stuff. The idea is th…

---

## [Holding and sending Value in node red](https://discourse.nodered.org/t/holding-and-sending-value-in-node-red/66875)

<div class="topic-metadata">

**Author:** [@Kaij3](https://discourse.nodered.org/u/Kaij3)\
**Replies:** 8\
**Last updated:** [25 August 2022 03:36 UTC](https://discourse.nodered.org/t/holding-and-sending-value-in-node-red/66875 "2022-08-25T03:36:50Z")

</div>

Hello :wave: :wave:, For my flow , the value would be constantly injected and send it to a database but when the timer hits a certain timing eg,7pm , it resets the value and gives me a 0 which then sends it to my databa…

---

## [Button not sending \`topic\` as I see it](https://discourse.nodered.org/t/button-not-sending-topic-as-i-see-it/66871)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 8\
**Last updated:** [25 August 2022 00:39 UTC](https://discourse.nodered.org/t/button-not-sending-topic-as-i-see-it/66871 "2022-08-25T00:39:20Z")

</div>

Although it is the button node, it is more to do with the message coming out of it. This is the node code: \[ { "id": "89af2b10f87e66e9", "type": "ui\_button", "z": "f6a2d75e7dd8f7ed", …

---

## [Cannot access node red in browser on some PCs](https://discourse.nodered.org/t/cannot-access-node-red-in-browser-on-some-pcs/66862)

<div class="topic-metadata">

**Author:** [@Disaile12](https://discourse.nodered.org/u/Disaile12)\
**Replies:** 11\
**Last updated:** [24 August 2022 22:14 UTC](https://discourse.nodered.org/t/cannot-access-node-red-in-browser-on-some-pcs/66862 "2022-08-24T22:14:38Z")

</div>

Hello, I have a problem with the display of the dashboard. I am working with the IoT2040 in an application that collects data and sends it to the node-red dashboard. At first when I tried to enter the dashboard with the…

---

## [Node shows code error but only AFTER I look at it](https://discourse.nodered.org/t/node-shows-code-error-but-only-after-i-look-at-it/66832)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 8\
**Last updated:** [24 August 2022 21:53 UTC](https://discourse.nodered.org/t/node-shows-code-error-but-only-after-i-look-at-it/66832 "2022-08-24T21:53:13Z")

</div>

Although there are other problems in the mix, they aren't of concern at this stage. Yes, I know this is probably a recipe for disaster, but please indulge me. This node code is from within a subflow I made (a long time…

---

## [EXPORTING flows - compact vs formatted](https://discourse.nodered.org/t/exporting-flows-compact-vs-formatted/66830)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [24 August 2022 21:44 UTC](https://discourse.nodered.org/t/exporting-flows-compact-vs-formatted/66830 "2022-08-24T21:44:02Z")

</div>

NR 2.1.4 (in this example). Ubuntu "old" 21.0.4. When I usually export and paste it is in compact. Now - recently - it has changed to formatted. Which is fine for the mechanics of moving stuff between machines, but w…

---

## [AWS authentication using role based IAM (no secret key)](https://discourse.nodered.org/t/aws-authentication-using-role-based-iam-no-secret-key/66864)

<div class="topic-metadata">

**Author:** [@Barbudor](https://discourse.nodered.org/u/Barbudor)\
**Replies:** 3\
**Last updated:** [24 August 2022 18:54 UTC](https://discourse.nodered.org/t/aws-authentication-using-role-based-iam-no-secret-key/66864 "2022-08-24T18:54:43Z")

</div>

Hello We are using NodeRED running in AWS as a container with some AWS nodes part of node-red-node-aws (node-red-web-nodes) or node-red-contrib-aws Those nodes require a global config node with AccessKey and SecretKey …

---

## [Should assigning a value to a non-existent property give a run-time error?](https://discourse.nodered.org/t/should-assigning-a-value-to-a-non-existent-property-give-a-run-time-error/66768)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 6\
**Last updated:** [24 August 2022 15:42 UTC](https://discourse.nodered.org/t/should-assigning-a-value-to-a-non-existent-property-give-a-run-time-error/66768 "2022-08-24T15:42:03Z")

</div>

I expected this code (in a function node) to generate a run-time error, but it doesn't. msg.payload = 0 msg.payload.x = 7 return msg; Do others find this surprising? node-red 3.0.2 nodejs 16.17.0

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

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