# Latest

**URL:** https://discourse.nodered.org/latest.md?page=1189

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

**Page:** 1190

---

## [Flow variable changes when it shouldn't](https://discourse.nodered.org/t/flow-variable-changes-when-it-shouldnt/18952)

<div class="topic-metadata">

**Author:** [@Miniu](https://discourse.nodered.org/u/Miniu)\
**Replies:** 2\
**Last updated:** [9 December 2019 15:07 UTC](https://discourse.nodered.org/t/flow-variable-changes-when-it-shouldnt/18952 "2019-12-09T15:07:18Z")

</div>

Hi Developers, As you'll notice in the code below, I'm only using the flow.get method, I'm not using the set method anywhere. Unfortunately, despite entering anything into the text node, my flow variable in memory also…

---

## [Proper way to define & namespace functions in a node](https://discourse.nodered.org/t/proper-way-to-define-namespace-functions-in-a-node/18871)

<div class="topic-metadata">

**Author:** [@fahrvergnuugen](https://discourse.nodered.org/u/fahrvergnuugen)\
**Replies:** 12\
**Last updated:** [9 December 2019 15:00 UTC](https://discourse.nodered.org/t/proper-way-to-define-namespace-functions-in-a-node/18871 "2019-12-09T15:00:06Z")

</div>

When writing client side static JS functions, what is the proper way to define and then call them so they are specific to the node I am creating? Are we supposed to declare functions within the registerType call? If so,…

---

## [Access object value using position not name](https://discourse.nodered.org/t/access-object-value-using-position-not-name/18945)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 7\
**Last updated:** [9 December 2019 14:10 UTC](https://discourse.nodered.org/t/access-object-value-using-position-not-name/18945 "2019-12-09T14:10:20Z")

</div>

My JSON/JSONata-fu has gone missing :frowning: If I've got a msg.payload object { "uuid":"fd8916521157", "characteristics": { "notification":true, "e95d9250251d470aa062fa1922dfa9a8":23 } } Can …

---

## [UI Display not showing full graph after reset](https://discourse.nodered.org/t/ui-display-not-showing-full-graph-after-reset/18944)

<div class="topic-metadata">

**Author:** [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Replies:** 4\
**Last updated:** [9 December 2019 13:31 UTC](https://discourse.nodered.org/t/ui-display-not-showing-full-graph-after-reset/18944 "2019-12-09T13:31:48Z")

</div>

This may be a pretty juvenile question but I am having trouble with my UI where it will not display in full after a reset. I move about nodes and do full and modified deploys but it will work again after a bit of messing…

---

## [Timestamp + additonal value in function node](https://discourse.nodered.org/t/timestamp-additonal-value-in-function-node/18946)

<div class="topic-metadata">

**Author:** [@maku12](https://discourse.nodered.org/u/maku12)\
**Replies:** 1\
**Last updated:** [9 December 2019 13:12 UTC](https://discourse.nodered.org/t/timestamp-additonal-value-in-function-node/18946 "2019-12-09T13:12:30Z")

</div>

Hi, how can I add some additional info in a timestamp and function node. For example: Klick on Inject: the current timestamp+variables or text from a functions node should be displayed. output should be: 157589271296…

---

## [Simple question for you guys/girls; brain twister for me](https://discourse.nodered.org/t/simple-question-for-you-guys-girls-brain-twister-for-me/18752)

<div class="topic-metadata">

**Author:** [@zuchi238](https://discourse.nodered.org/u/zuchi238)\
**Replies:** 34\
**Last updated:** [9 December 2019 08:37 UTC](https://discourse.nodered.org/t/simple-question-for-you-guys-girls-brain-twister-for-me/18752 "2019-12-09T08:37:32Z")

</div>

(Intro: I'm new to NR; am planning to use Node Red on my sailing boat; Have raspi with Openplotter; and now I need to know my fuel en de weather). Here we go Have Arduino with simple sketch with digital barometer (BMP2…

---

## [My effort at remote shutdown for ras-pi's](https://discourse.nodered.org/t/my-effort-at-remote-shutdown-for-ras-pis/18926)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 1\
**Last updated:** [9 December 2019 06:48 UTC](https://discourse.nodered.org/t/my-effort-at-remote-shutdown-for-ras-pis/18926 "2019-12-09T06:48:05Z")

</div>

(No offence @dynamicdave but seeing his flow, I thought I would submit mine.) As in his post/thread I have a few RPIs running and need to be able to remote control them. And by that I mean: Shut them down, Reboot th…

---

## [Global shutdown for a set of Raspberry Pi(es)](https://discourse.nodered.org/t/global-shutdown-for-a-set-of-raspberry-pi-es/18923)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 4\
**Last updated:** [9 December 2019 07:01 UTC](https://discourse.nodered.org/t/global-shutdown-for-a-set-of-raspberry-pi-es/18923 "2019-12-09T07:01:06Z")

</div>

Here's a very short tutorial about building some Node-RED flows to handle shutting-down a set of Raspberry Pi(es) on a network. This is what we use at the IoT Club. Tutorial Note: Links to the various Node-RED flows c…

---

## [Splitting text string into array](https://discourse.nodered.org/t/splitting-text-string-into-array/18025)

<div class="topic-metadata">

**Author:** [@aidan](https://discourse.nodered.org/u/aidan)\
**Replies:** 11\
**Last updated:** [8 December 2019 20:12 UTC](https://discourse.nodered.org/t/splitting-text-string-into-array/18025 "2019-12-08T20:12:43Z")

</div>

I need to split parts of a fixed length string of serial GPS data into an array by vehicle ID (bold in example below). Chrs 4,5 are degs Lat, 6,7 mins...and so on... I have 18 different values in the string, (some a…

---

## [How to communicate with Node-RED server on the edge using a mobile phone via the internet?](https://discourse.nodered.org/t/how-to-communicate-with-node-red-server-on-the-edge-using-a-mobile-phone-via-the-internet/18911)

<div class="topic-metadata">

**Author:** [@janvda](https://discourse.nodered.org/u/janvda)\
**Replies:** 5\
**Last updated:** [8 December 2019 19:29 UTC](https://discourse.nodered.org/t/how-to-communicate-with-node-red-server-on-the-edge-using-a-mobile-phone-via-the-internet/18911 "2019-12-08T19:29:06Z")

</div>

I am just wondering what is the best way to communicate with a Node-RED server running on a raspberry pi (or other edge device) via the internet (e.g. using a mobile phone connected to the internet via data network ). A…

---

## [Change deploy button label in "default" mode](https://discourse.nodered.org/t/change-deploy-button-label-in-default-mode/18921)

<div class="topic-metadata">

**Author:** [@amodelbello](https://discourse.nodered.org/u/amodelbello)\
**Replies:** 0\
**Last updated:** [8 December 2019 17:23 UTC](https://discourse.nodered.org/t/change-deploy-button-label-in-default-mode/18921 "2019-12-08T17:23:08Z")

</div>

I'm trying to change the deploy button text from the default "Deploy" to something different but when I edit the the editorTheme.deployButton.label field in the settings file, the change only takes effect if I also hav…

---

## [Node-red-contrib-zabbix-sender example please](https://discourse.nodered.org/t/node-red-contrib-zabbix-sender-example-please/18919)

<div class="topic-metadata">

**Author:** [@vlturner](https://discourse.nodered.org/u/vlturner)\
**Replies:** 0\
**Last updated:** [8 December 2019 17:15 UTC](https://discourse.nodered.org/t/node-red-contrib-zabbix-sender-example-please/18919 "2019-12-08T17:15:16Z")

</div>

Trying to use node-red-contrib-zabbix-sender but it just isn't working per documentation. I am on the zabix seerver sending to the localhost server The message in is correct from debug. 12/8/2019, 8:49:54 AMnode: 4bec…

---

## [Multiple Gauges](https://discourse.nodered.org/t/multiple-gauges/18904)

<div class="topic-metadata">

**Author:** [@Ki-va](https://discourse.nodered.org/u/Ki-va)\
**Replies:** 4\
**Last updated:** [8 December 2019 16:25 UTC](https://discourse.nodered.org/t/multiple-gauges/18904 "2019-12-08T16:25:55Z")

</div>

I have 4 sensors in my environment, sens1, sens2,sens3, sens4. Not all of then are connected (physically to my RPI) at the same time. I want to create a UI page that will show gauges only for the active ones: e.g: if …

---

## [Request: Give access to node/flow/global context from the Editor](https://discourse.nodered.org/t/request-give-access-to-node-flow-global-context-from-the-editor/18912)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 4\
**Last updated:** [8 December 2019 16:21 UTC](https://discourse.nodered.org/t/request-give-access-to-node-flow-global-context-from-the-editor/18912 "2019-12-08T16:21:38Z")

</div>

It seems odd that the only part of Node-RED not able to access node/flow/global context variables are the Editor node configuration panels. It would be really useful for a node configuration panel to be able to work wit…

---

## [Watch IPTV - uibuilder](https://discourse.nodered.org/t/watch-iptv-uibuilder/16881)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 27\
**Last updated:** [8 December 2019 14:48 UTC](https://discourse.nodered.org/t/watch-iptv-uibuilder/16881 "2019-12-08T14:48:43Z")

</div>

This is a proof of concept to see if I could grasp vuejs, using uibuilder. While it did take some time to get my head around it, to my surprise it works quite efficiently, so here I present a small project that allows yo…

---

## [Cannot create mysql tables with respect to date in my time zone](https://discourse.nodered.org/t/cannot-create-mysql-tables-with-respect-to-date-in-my-time-zone/18910)

<div class="topic-metadata">

**Author:** [@kevinksdroid](https://discourse.nodered.org/u/kevinksdroid)\
**Replies:** 2\
**Last updated:** [8 December 2019 14:07 UTC](https://discourse.nodered.org/t/cannot-create-mysql-tables-with-respect-to-date-in-my-time-zone/18910 "2019-12-08T14:07:58Z")

</div>

Hi all, I am new to node-red. I am finding it really difficult to obtain date in my time zone format. I will try to give a general idea about what I am trying to achieve. I have an mqtt node-red client which collects da…

---

## [UI Button - momentary function](https://discourse.nodered.org/t/ui-button-momentary-function/18894)

<div class="topic-metadata">

**Author:** [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Replies:** 3\
**Last updated:** [8 December 2019 09:11 UTC](https://discourse.nodered.org/t/ui-button-momentary-function/18894 "2019-12-08T09:11:56Z")

</div>

Hello, just thought I should suggest a feature to be added to the UI Button. Currently you can configure the message to be sent when the button is clicked (pressed DOWN). I see several use cases where a momentary func…

---

## [Dynamically hide or show custom UI node content](https://discourse.nodered.org/t/dynamically-hide-or-show-custom-ui-node-content/18897)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 3\
**Last updated:** [8 December 2019 08:44 UTC](https://discourse.nodered.org/t/dynamically-hide-or-show-custom-ui-node-content/18897 "2019-12-08T08:44:48Z")

</div>

Hi folks, In my new custom UI node I would like to be able to hide or show my component dynamically. We had a rather similar discussion some time ago, but then we wanted "always" to hide or show the content. This is h…

---

## [UI node gets new md-card at every deploy](https://discourse.nodered.org/t/ui-node-gets-new-md-card-at-every-deploy/18888)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 4\
**Last updated:** [7 December 2019 23:04 UTC](https://discourse.nodered.org/t/ui-node-gets-new-md-card-at-every-deploy/18888 "2019-12-07T23:04:56Z")

</div>

Hi folks, I'm developing a new UI node, but something weird is going on. Every time I deploy my flow, I get a new md-card for the group where my UI node belongs to. For example, this is the result after 3 successive d…

---

## [Node red "Inject Node' as to trigger or send data/value only when the tag is reaches certain value ex: inject node injects only when value reaches \>90, in lessthan \<90 values should not show in debug](https://discourse.nodered.org/t/node-red-inject-node-as-to-trigger-or-send-data-value-only-when-the-tag-is-reaches-certain-value-ex-inject-node-injects-only-when-value-reaches-90-in-lessthan-90-values-should-not-show-in-debug/18885)

<div class="topic-metadata">

**Author:** [@sandeepanj](https://discourse.nodered.org/u/sandeepanj)\
**Replies:** 5\
**Last updated:** [7 December 2019 20:08 UTC](https://discourse.nodered.org/t/node-red-inject-node-as-to-trigger-or-send-data-value-only-when-the-tag-is-reaches-certain-value-ex-inject-node-injects-only-when-value-reaches-90-in-lessthan-90-values-should-not-show-in-debug/18885 "2019-12-07T20:08:25Z")

</div>

node red "Inject Node' as to trigger or send value/payload only when the tag is reaches certain value ex: inject node should injects only when value reaches \>90, in lessthan \<90 values should not show in debug. Example l…

---

## [Big CSV: read latest line](https://discourse.nodered.org/t/big-csv-read-latest-line/18879)

<div class="topic-metadata">

**Author:** [@derJay](https://discourse.nodered.org/u/derJay)\
**Replies:** 2\
**Last updated:** [7 December 2019 16:33 UTC](https://discourse.nodered.org/t/big-csv-read-latest-line/18879 "2019-12-07T16:33:01Z")

</div>

Hi! this is my first post, so let me introduce myself. My name is Jay and I am from Switzerland. I have a tab delimited CSV file from a door controller which is growing fast Could you help me, how to extract the last …

---

## [Z-wave question](https://discourse.nodered.org/t/z-wave-question/929)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 29\
**Last updated:** [7 December 2019 16:12 UTC](https://discourse.nodered.org/t/z-wave-question/929 "2019-12-07T16:12:21Z")

</div>

Node Red is the brains of my Home Automation and I have dozens of devices connected by MQTT all over the property, with more to come. Some of those devices are Sonoff Switches that have been modified for in-wall use. I…

---

## [Function String Extract](https://discourse.nodered.org/t/function-string-extract/6775)

<div class="topic-metadata">

**Author:** [@WimmerM](https://discourse.nodered.org/u/WimmerM)\
**Replies:** 22\
**Last updated:** [7 December 2019 13:14 UTC](https://discourse.nodered.org/t/function-string-extract/6775 "2019-12-07T13:14:02Z")

</div>

Hello, i want to read my out my electric meter over serial, and store it into a MySqlDatabase. I get datas from the meter, but i dont now how i can seperate the values. Serial output give me lines, the information tha…

---

## [Enhance rbe in line with trigger](https://discourse.nodered.org/t/enhance-rbe-in-line-with-trigger/18874)

<div class="topic-metadata">

**Author:** [@michaelblight](https://discourse.nodered.org/u/michaelblight)\
**Replies:** 2\
**Last updated:** [7 December 2019 07:48 UTC](https://discourse.nodered.org/t/enhance-rbe-in-line-with-trigger/18874 "2019-12-07T07:48:12Z")

</div>

The rbe node always handles topics separately, whereas this is configurable for the trigger node - you can specify to handle all messages, or each msg.topic independently. This is a nice feature that would be helpful on …

---

## [Reading data from and IP address and port number](https://discourse.nodered.org/t/reading-data-from-and-ip-address-and-port-number/18841)

<div class="topic-metadata">

**Author:** [@hoseinbahari](https://discourse.nodered.org/u/hoseinbahari)\
**Replies:** 2\
**Last updated:** [6 December 2019 19:43 UTC](https://discourse.nodered.org/t/reading-data-from-and-ip-address-and-port-number/18841 "2019-12-06T19:43:05Z")

</div>

Hi, I'm fairly new to using Node-red. I'm using a software that sends commands to external hardware (a sphero ball) through an IP address (127.0.0.1) and a port number(1000) (photo below). I was wondering if there's a w…

---

## [Syntax for multiple level if then statement](https://discourse.nodered.org/t/syntax-for-multiple-level-if-then-statement/18802)

<div class="topic-metadata">

**Author:** [@Raj](https://discourse.nodered.org/u/Raj)\
**Replies:** 8\
**Last updated:** [6 December 2019 18:57 UTC](https://discourse.nodered.org/t/syntax-for-multiple-level-if-then-statement/18802 "2019-12-06T18:57:24Z")

</div>

Hi, Not sure what I am doing wrong, can't seem to get the right syntax. I have a first IF loop when that works, then it drops into a second and third IF loop. But when the first IF is not valid, it drops into an ELSE …

---

## [Writing values to a node's config](https://discourse.nodered.org/t/writing-values-to-a-nodes-config/18760)

<div class="topic-metadata">

**Author:** [@fahrvergnuugen](https://discourse.nodered.org/u/fahrvergnuugen)\
**Replies:** 4\
**Last updated:** [6 December 2019 16:09 UTC](https://discourse.nodered.org/t/writing-values-to-a-nodes-config/18760 "2019-12-06T16:09:11Z")

</div>

How do you write to a node's config from the backend? Backstory: I want to use the node's config to cache data from a physical home automation device. The problem I am facing is that you can only read these values from…

---

## [Connected to Watson IOT but no data](https://discourse.nodered.org/t/connected-to-watson-iot-but-no-data/18868)

<div class="topic-metadata">

**Author:** [@JaredG](https://discourse.nodered.org/u/JaredG)\
**Replies:** 0\
**Last updated:** [6 December 2019 15:45 UTC](https://discourse.nodered.org/t/connected-to-watson-iot-but-no-data/18868 "2019-12-06T15:45:58Z")

</div>

Hi, Has anyone seen instances of Watson IOT that can't be connected to by Node-Red? We have one system that is working fine. Using API Key to connect Node-Red to the Watson IOT platform. Our second system we deployed …

---

## [Cannot delete flow variable](https://discourse.nodered.org/t/cannot-delete-flow-variable/18861)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 6\
**Last updated:** [6 December 2019 15:45 UTC](https://discourse.nodered.org/t/cannot-delete-flow-variable/18861 "2019-12-06T15:45:10Z")

</div>

While trying to setup a oauth2 flow where I want to store the bearer token in a flow variable, I found that I cannot delete the token as I need to scroll all the way to the right to access the icons: When clicking the…

---

## [Setting Flow variable in Template](https://discourse.nodered.org/t/setting-flow-variable-in-template/18866)

<div class="topic-metadata">

**Author:** [@jlb](https://discourse.nodered.org/u/jlb)\
**Replies:** 2\
**Last updated:** [6 December 2019 14:55 UTC](https://discourse.nodered.org/t/setting-flow-variable-in-template/18866 "2019-12-06T14:55:39Z")

</div>

Hello, I have searched over the forum but not find a solution: In a template node I know how to get the value from a flow variable defined in a function node ,for example: Amh\_orig\_X={{flow."origine\_X"}} works well, …

[Previous page](https://discourse.nodered.org/latest.md?page=1188)

[Next page](https://discourse.nodered.org/latest.md?page=1190)
