# General

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

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

**Page:** 905

---

## [Help with logic filtering of message](https://discourse.nodered.org/t/help-with-logic-filtering-of-message/9076)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 20\
**Last updated:** [17 March 2019 12:24 UTC](https://discourse.nodered.org/t/help-with-logic-filtering-of-message/9076 "2019-03-17T12:24:16Z")

</div>

Ok, rather than like my previous attempt (may be deleted now) here is the problem: Two RPIs. They both ping the Gateway and another "real" IP address. They both report their results and publish them to MQTT. The mess…

---

## [Handling JSON in the file](https://discourse.nodered.org/t/handling-json-in-the-file/7823)

<div class="topic-metadata">

**Author:** [@aargollo](https://discourse.nodered.org/u/aargollo)\
**Replies:** 7\
**Last updated:** [15 March 2019 01:27 UTC](https://discourse.nodered.org/t/handling-json-in-the-file/7823 "2019-03-15T01:27:16Z")

</div>

Hi Guys! I try to work with JSON file to persist important parameters and I using at first moment, to study the best way to handling it, I starting to read a file, to do it i using REQUIRE Method, and I had this error "…

---

## [Streaming video from uv4l to Blynk using nodered](https://discourse.nodered.org/t/streaming-video-from-uv4l-to-blynk-using-nodered/9071)

<div class="topic-metadata">

**Author:** [@janek](https://discourse.nodered.org/u/janek)\
**Replies:** 0\
**Last updated:** [17 March 2019 01:51 UTC](https://discourse.nodered.org/t/streaming-video-from-uv4l-to-blynk-using-nodered/9071 "2019-03-17T01:51:26Z")

</div>

Hi, I am able to stream video using uv4l and nodered on local server. Now I want to stream it to my phone using Blynk. I have a local Blynk server installed on my RPi3B+ and it works. On another RPi3B+ I have a rspicam …

---

## [In node red drop down node not giving expected result incase of one selction item](https://discourse.nodered.org/t/in-node-red-drop-down-node-not-giving-expected-result-incase-of-one-selction-item/9067)

<div class="topic-metadata">

**Author:** [@VIKRAMAS](https://discourse.nodered.org/u/VIKRAMAS)\
**Replies:** 3\
**Last updated:** [16 March 2019 22:20 UTC](https://discourse.nodered.org/t/in-node-red-drop-down-node-not-giving-expected-result-incase-of-one-selction-item/9067 "2019-03-16T22:20:09Z")

</div>

In nodered dropdown, I am using first drop down to select the controllerid and based on the controller id it'll push data for further choosing of data to choose luminar id. But while selcting the second dropdown values a…

---

## [User create own custom button](https://discourse.nodered.org/t/user-create-own-custom-button/9055)

<div class="topic-metadata">

**Author:** [@shafirin](https://discourse.nodered.org/u/shafirin)\
**Replies:** 4\
**Last updated:** [16 March 2019 19:42 UTC](https://discourse.nodered.org/t/user-create-own-custom-button/9055 "2019-03-16T19:42:23Z")

</div>

hello and good evening. im new to node-red, and I want to ask. can user create new button as a custom button after picking the 2 color? btw im try to make a user to create its own custom light button for the rgb light. …

---

## [Problems with the function node in 0.20.2](https://discourse.nodered.org/t/problems-with-the-function-node-in-0-20-2/9036)

<div class="topic-metadata">

**Author:** [@anderdk](https://discourse.nodered.org/u/anderdk)\
**Replies:** 21\
**Last updated:** [16 March 2019 17:40 UTC](https://discourse.nodered.org/t/problems-with-the-function-node-in-0-20-2/9036 "2019-03-16T17:40:15Z")

</div>

Hi is there anybody else that got problems with the function node in version 0.20.2 the code text is unreadable after upgrade?

---

## [How store JSONata expression inside a global variable and use that for evaluation](https://discourse.nodered.org/t/how-store-jsonata-expression-inside-a-global-variable-and-use-that-for-evaluation/9032)

<div class="topic-metadata">

**Author:** [@VIKRAMAS](https://discourse.nodered.org/u/VIKRAMAS)\
**Replies:** 5\
**Last updated:** [16 March 2019 17:09 UTC](https://discourse.nodered.org/t/how-store-jsonata-expression-inside-a-global-variable-and-use-that-for-evaluation/9032 "2019-03-16T17:09:17Z")

</div>

I storing the JSONata expression inside Database or variable and while evaluating on incoming message how to use that expression(Which is stored as just string). How to achieve this in node-red.

---

## [How can I split byte from string](https://discourse.nodered.org/t/how-can-i-split-byte-from-string/7774)

<div class="topic-metadata">

**Author:** [@tgurecky](https://discourse.nodered.org/u/tgurecky)\
**Replies:** 9\
**Last updated:** [16 March 2019 16:50 UTC](https://discourse.nodered.org/t/how-can-i-split-byte-from-string/7774 "2019-03-16T16:50:51Z")

</div>

Hello friends, I'm a beginner, some simple flow I've already created and working on. Now I would like to read data from the RS485 power meter concentrator. The data is loaded into a string that has 83 bytes. Data is in…

---

## [Workspace Movement on Click or Node Closure](https://discourse.nodered.org/t/workspace-movement-on-click-or-node-closure/9031)

<div class="topic-metadata">

**Author:** [@dave-kinnear](https://discourse.nodered.org/u/dave-kinnear)\
**Replies:** 6\
**Last updated:** [16 March 2019 16:20 UTC](https://discourse.nodered.org/t/workspace-movement-on-click-or-node-closure/9031 "2019-03-16T16:20:37Z")

</div>

After a few weeks of developing a Node-RED flow to control a hydraulic system, the workspace now jumps to an unused portion (the lower right corner) upon double clicking the workspace or closing a node ('Cancel' or 'Done…

---

## [How can I map a static image on map](https://discourse.nodered.org/t/how-can-i-map-a-static-image-on-map/8823)

<div class="topic-metadata">

**Author:** [@VIKRAMAS](https://discourse.nodered.org/u/VIKRAMAS)\
**Replies:** 12\
**Last updated:** [16 March 2019 13:26 UTC](https://discourse.nodered.org/t/how-can-i-map-a-static-image-on-map/8823 "2019-03-16T13:26:01Z")

</div>

In openlayer map we can show the image on map(openlayer static image). Same thing how can we do in nodered world map as I wanted to load a static image and plot points on that one.

---

## [Auto hiding status bar on android device](https://discourse.nodered.org/t/auto-hiding-status-bar-on-android-device/9037)

<div class="topic-metadata">

**Author:** [@Petr](https://discourse.nodered.org/u/Petr)\
**Replies:** 9\
**Last updated:** [16 March 2019 13:09 UTC](https://discourse.nodered.org/t/auto-hiding-status-bar-on-android-device/9037 "2019-03-16T13:09:37Z")

</div>

Is there a way to set the dashboard to hide status bar (top of the android screen + browser top screen with the url field) I have dashboard where the size is set for my mobile phone (see attached picture), but I didn’t …

---

## [Color Picker Support for RGBW](https://discourse.nodered.org/t/color-picker-support-for-rgbw/8868)

<div class="topic-metadata">

**Author:** [@Janstander2011](https://discourse.nodered.org/u/Janstander2011)\
**Replies:** 10\
**Last updated:** [16 March 2019 10:32 UTC](https://discourse.nodered.org/t/color-picker-support-for-rgbw/8868 "2019-03-16T10:32:36Z")

</div>

I have a MerkuryA21 RGBW bulb ( with tuya-convert flashed sonoff / tasmota firmware) that accepts colors in the form of 255,255,255,255. I was super excited to see the color picker that's included in the default NR pale…

---

## [Forward Port to Modbus TCP](https://discourse.nodered.org/t/forward-port-to-modbus-tcp/8976)

<div class="topic-metadata">

**Author:** [@workano](https://discourse.nodered.org/u/workano)\
**Replies:** 18\
**Last updated:** [16 March 2019 03:35 UTC](https://discourse.nodered.org/t/forward-port-to-modbus-tcp/8976 "2019-03-16T03:35:08Z")

</div>

Hello all, I have a Modbus device capable to connect to a remote IP/Port. I would like to to connect it to Node-Red and bind this port to Modbus TCP. I did a connection to Node-Red TCP listener, but I do not know how to…

---

## [Raspberry Pi Node Red](https://discourse.nodered.org/t/raspberry-pi-node-red/9007)

<div class="topic-metadata">

**Author:** [@cannco](https://discourse.nodered.org/u/cannco)\
**Replies:** 9\
**Last updated:** [15 March 2019 10:39 UTC](https://discourse.nodered.org/t/raspberry-pi-node-red/9007 "2019-03-15T10:39:55Z")

</div>

Hi all, I'm a Coderdojo mentor teaching a Raspberry Pi class. We've been successfully using the sensors from the CamJam Edukit2 (https://camjam.me/?page\_id=623) with the Pi and I've just started looking at Node Red. Wha…

---

## [Timestamps...... Sorry](https://discourse.nodered.org/t/timestamps-sorry/7364)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 22\
**Last updated:** [15 March 2019 18:39 UTC](https://discourse.nodered.org/t/timestamps-sorry/7364 "2019-03-15T18:39:17Z")

</div>

I've been messing about with things and wanted a "human readable" time stamp on stuff. I've seen reference to the J: now() thing which is handy to put in, as I just add a change node and set msg.time to J: now() and I g…

---

## [In node red using JSONata the output is empty](https://discourse.nodered.org/t/in-node-red-using-jsonata-the-output-is-empty/8998)

<div class="topic-metadata">

**Author:** [@VIKRAMAS](https://discourse.nodered.org/u/VIKRAMAS)\
**Replies:** 5\
**Last updated:** [15 March 2019 18:29 UTC](https://discourse.nodered.org/t/in-node-red-using-jsonata-the-output-is-empty/8998 "2019-03-15T18:29:13Z")

</div>

The input I'm giving is { "payload": \[ { "FirstName": "Fred", "Surname": "Smith", "Age": 28, "Address": { "Street": "Hursley Park", "City": "Winchester", "Postcode": "SO21 2JN" }, "Phone": \[ { "type": "home", "number": …

---

## [Global/Flow Variable Access in Custom Node?](https://discourse.nodered.org/t/global-flow-variable-access-in-custom-node/9029)

<div class="topic-metadata">

**Author:** [@tcontrada](https://discourse.nodered.org/u/tcontrada)\
**Replies:** 4\
**Last updated:** [15 March 2019 18:24 UTC](https://discourse.nodered.org/t/global-flow-variable-access-in-custom-node/9029 "2019-03-15T18:24:02Z")

</div>

I was using globalContext.get("myVariable") in my custom node in order to read my application global variable, but that syntax is not working. What is the correct syntax to access my Global variable within my node.js fi…

---

## [Read msg.topic?](https://discourse.nodered.org/t/read-msg-topic/8934)

<div class="topic-metadata">

**Author:** [@malcomxcia](https://discourse.nodered.org/u/malcomxcia)\
**Replies:** 4\
**Last updated:** [15 March 2019 17:38 UTC](https://discourse.nodered.org/t/read-msg-topic/8934 "2019-03-15T17:38:09Z")

</div>

Hello ! ! ! I will read the Tobic of an Message. This is in my Function Node var topic = msg.topic; return topic; Alway comes in Debug Node Function tried to send a message of type string Where ist the Problem ? Gr…

---

## [Strange behaviour of assign of context var with init bool value](https://discourse.nodered.org/t/strange-behaviour-of-assign-of-context-var-with-init-bool-value/9026)

<div class="topic-metadata">

**Author:** [@Frank2](https://discourse.nodered.org/u/Frank2)\
**Replies:** 3\
**Last updated:** [15 March 2019 17:04 UTC](https://discourse.nodered.org/t/strange-behaviour-of-assign-of-context-var-with-init-bool-value/9026 "2019-03-15T17:04:04Z")

</div>

Does anyone see what i am doing wrong? After defining the variables with a context get it goes wel for all except for the bool one. SetTempCFirst is not set in the program and stays alwas true. If i put in the extra line…

---

## [Waiting for Missing Types to be Registered?](https://discourse.nodered.org/t/waiting-for-missing-types-to-be-registered/9028)

<div class="topic-metadata">

**Author:** [@tcontrada](https://discourse.nodered.org/u/tcontrada)\
**Replies:** 2\
**Last updated:** [15 March 2019 16:50 UTC](https://discourse.nodered.org/t/waiting-for-missing-types-to-be-registered/9028 "2019-03-15T16:50:59Z")

</div>

I have created a new custom node as previous, and followed the same basic procedure to install the custom node. But when I restart Node Red, I get the following message" 15 Mar 12:35:34 - \[info\] Waiting for missing type…

---

## [Access to context Stores in JSONata expressions](https://discourse.nodered.org/t/access-to-context-stores-in-jsonata-expressions/8738)

<div class="topic-metadata">

**Author:** [@IanH](https://discourse.nodered.org/u/IanH)\
**Replies:** 9\
**Last updated:** [15 March 2019 14:43 UTC](https://discourse.nodered.org/t/access-to-context-stores-in-jsonata-expressions/8738 "2019-03-15T14:43:16Z")

</div>

I have found that $globalContext() function in JSONata functions only access stores in memory and does not access stores on disk. I assume $flowContext() will have some issue. Inserting a Change node where I set a copy…

---

## [Intteligent IVR](https://discourse.nodered.org/t/intteligent-ivr/9016)

<div class="topic-metadata">

**Author:** [@david](https://discourse.nodered.org/u/david)\
**Replies:** 2\
**Last updated:** [15 March 2019 13:45 UTC](https://discourse.nodered.org/t/intteligent-ivr/9016 "2019-03-15T13:45:38Z")

</div>

Hi i am looking to create an intelligent IVR. I succeeded to attach a twilio numbert with an IBM assistant, BUT now i want to transfer the call from the assistant to a real number... I try to use the "Dial" node in orde…

---

## [Can I access number of outputs within function node?](https://discourse.nodered.org/t/can-i-access-number-of-outputs-within-function-node/6729)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 22\
**Last updated:** [15 March 2019 10:33 UTC](https://discourse.nodered.org/t/can-i-access-number-of-outputs-within-function-node/6729 "2019-03-15T10:33:57Z")

</div>

My function node has 6 outputs. Is there a way to access this number from within the function node? i.e. so I don't have to explicitly specify the number in my first line: var outputcount = 6; // Clear all backgrounds…

---

## [How to get the 'failed' or 'success' status of an email send node?](https://discourse.nodered.org/t/how-to-get-the-failed-or-success-status-of-an-email-send-node/8916)

<div class="topic-metadata">

**Author:** [@mike67](https://discourse.nodered.org/u/mike67)\
**Replies:** 37\
**Last updated:** [15 March 2019 10:33 UTC](https://discourse.nodered.org/t/how-to-get-the-failed-or-success-status-of-an-email-send-node/8916 "2019-03-15T10:33:37Z")

</div>

Hello when using the Send eMail node, we can see under the node some dynamic information wich indicates if the mail has been sent, or not. How can we get this information inside node-Red to know if the mail has been co…

---

## [RED.nodes.getFlows() API](https://discourse.nodered.org/t/red-nodes-getflows-api/9013)

<div class="topic-metadata">

**Author:** [@fangzhu](https://discourse.nodered.org/u/fangzhu)\
**Replies:** 2\
**Last updated:** [15 March 2019 10:21 UTC](https://discourse.nodered.org/t/red-nodes-getflows-api/9013 "2019-03-15T10:21:45Z")

</div>

I tried to create a node using RED.nodes.getFlows() API, but it gives me error of "TypeError: RED.nodes.getFlows is not a function". I don't know why. I could use the same way to call RED.nodes.getNode() though. Is there…

---

## [How does node-red introduce jquery cookies in HTML files when I need to save my radio records](https://discourse.nodered.org/t/how-does-node-red-introduce-jquery-cookies-in-html-files-when-i-need-to-save-my-radio-records/9012)

<div class="topic-metadata">

**Author:** [@JiChen](https://discourse.nodered.org/u/JiChen)\
**Replies:** 2\
**Last updated:** [15 March 2019 08:59 UTC](https://discourse.nodered.org/t/how-does-node-red-introduce-jquery-cookies-in-html-files-when-i-need-to-save-my-radio-records/9012 "2019-03-15T08:59:49Z")

</div>

How does node-red introduce jquery cookies in HTML files when I need to save my radio records。 The value of my radio box is dynamically generated via the server.After I selected one, when I refreshed the page, I did not…

---

## [Message property set syntax](https://discourse.nodered.org/t/message-property-set-syntax/8997)

<div class="topic-metadata">

**Author:** [@darabontors](https://discourse.nodered.org/u/darabontors)\
**Replies:** 2\
**Last updated:** [15 March 2019 03:48 UTC](https://discourse.nodered.org/t/message-property-set-syntax/8997 "2019-03-15T03:48:13Z")

</div>

Hi everyone, I am pretty new to Node Red and JavaScript in general. I have a question about setting a property of a message. I have the following code snippet: var uisource = flow.get("source"); output.push(\[datetime,…

---

## [Delete all string values](https://discourse.nodered.org/t/delete-all-string-values/9005)

<div class="topic-metadata">

**Author:** [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)\
**Replies:** 3\
**Last updated:** [14 March 2019 21:52 UTC](https://discourse.nodered.org/t/delete-all-string-values/9005 "2019-03-14T21:52:10Z")

</div>

Hi. Is there som easy way to just let number pass? Just want numbers in the debug window?

---

## [Json expression](https://discourse.nodered.org/t/json-expression/8896)

<div class="topic-metadata">

**Author:** [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)\
**Replies:** 11\
**Last updated:** [14 March 2019 20:43 UTC](https://discourse.nodered.org/t/json-expression/8896 "2019-03-14T20:43:36Z")

</div>

Hi. Is it possible to get rid of one of the function nodes. I want to combine the two messages sia\_code and sia\_address in the same function node. I want the output message to be 13ZO /Niclas

---

## [Flows stopped due to missing node types - blocking Node-RED](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-blocking-node-red/8992)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 7\
**Last updated:** [14 March 2019 18:57 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-blocking-node-red/8992 "2019-03-14T18:57:17Z")

</div>

I have seen this title before, but somehow recently I am having more trouble with these errors. Copied a flow from somewhere \> import, it looks like it imported it, but no new tab and no flow, deploy: Flows stopped due…

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

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