# General

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

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

**Page:** 819

---

## [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 …

---

## [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…

---

## [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…

---

## [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 …

---

## [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, …

---

## [Concatenate two strings into one](https://discourse.nodered.org/t/concatenate-two-strings-into-one/18857)

<div class="topic-metadata">

**Author:** [@aryeduino](https://discourse.nodered.org/u/aryeduino)\
**Replies:** 10\
**Last updated:** [6 December 2019 13:17 UTC](https://discourse.nodered.org/t/concatenate-two-strings-into-one/18857 "2019-12-06T13:17:48Z")

</div>

Hi All, I am NEW to node red and I want to learn and understand it further deeply, I am also using hass.io and node red is NOW going to take a part in my Home Automation. I want to be able to send a value to my MQTT br…

---

## [Command line format for Exec node](https://discourse.nodered.org/t/command-line-format-for-exec-node/18830)

<div class="topic-metadata">

**Author:** [@nomi](https://discourse.nodered.org/u/nomi)\
**Replies:** 2\
**Last updated:** [6 December 2019 09:58 UTC](https://discourse.nodered.org/t/command-line-format-for-exec-node/18830 "2019-12-06T09:58:21Z")

</div>

Hi, some issue to create a command line for an exec node from a json object. the object is this one :slight\_smile: and i would like to format the object as individual command line parameter like this: I try a spli…

---

## [Sending data from node-red to local webpage](https://discourse.nodered.org/t/sending-data-from-node-red-to-local-webpage/18826)

<div class="topic-metadata">

**Author:** [@YLM](https://discourse.nodered.org/u/YLM)\
**Replies:** 4\
**Last updated:** [6 December 2019 09:35 UTC](https://discourse.nodered.org/t/sending-data-from-node-red-to-local-webpage/18826 "2019-12-06T09:35:40Z")

</div>

I'd like some help to my project, I do not know how to proceed. Actually, I have a python code which send data to mosquitto and in my node I have a mqtt listener which get my data from my python code. Then I send those …

---

## [Recover lost flows](https://discourse.nodered.org/t/recover-lost-flows/18829)

<div class="topic-metadata">

**Author:** [@insanoff](https://discourse.nodered.org/u/insanoff)\
**Replies:** 5\
**Last updated:** [6 December 2019 08:45 UTC](https://discourse.nodered.org/t/recover-lost-flows/18829 "2019-12-06T08:45:03Z")

</div>

Hi Folks, I am running Node-Red in Raspberry Docker Container. I have created a parallel flow copying the existing one and made a small change. After that, I couldn't deploy it anymore and returned an error Error savin…

---

## [Can MSSQL node connect with tcp database?](https://discourse.nodered.org/t/can-mssql-node-connect-with-tcp-database/18849)

<div class="topic-metadata">

**Author:** [@Steven](https://discourse.nodered.org/u/Steven)\
**Replies:** 3\
**Last updated:** [6 December 2019 08:24 UTC](https://discourse.nodered.org/t/can-mssql-node-connect-with-tcp-database/18849 "2019-12-06T08:24:04Z")

</div>

Greetings, I am trying to use a local sql server (SQL Management Studio DB from another PC) on my project. Is there possible to connect sql server via TCP? What node or configuration should I do if can? Thanks.

---

## [To simulate a smart cradle](https://discourse.nodered.org/t/to-simulate-a-smart-cradle/18785)

<div class="topic-metadata">

**Author:** [@tijosetom](https://discourse.nodered.org/u/tijosetom)\
**Replies:** 5\
**Last updated:** [6 December 2019 08:11 UTC](https://discourse.nodered.org/t/to-simulate-a-smart-cradle/18785 "2019-12-06T08:11:49Z")

</div>

Hi, I am new to Node-Red, please excuse me if my questions looks silly. For my Masters degree project, I am making a smart cradle with some features like baby cry detection using a particular algorithm and based on tha…

---

## [Sentiment@2.1.1 dependency?](https://discourse.nodered.org/t/sentiment-2-1-1-dependency/18840)

<div class="topic-metadata">

**Author:** [@RobP](https://discourse.nodered.org/u/RobP)\
**Replies:** 2\
**Last updated:** [5 December 2019 23:08 UTC](https://discourse.nodered.org/t/sentiment-2-1-1-dependency/18840 "2019-12-05T23:08:27Z")

</div>

I have been successfully building my docker image of node-red based on alpine for a couple weeks now, and I have an "update coreutils" in there before the build. Within the last couple days, the build no longer works and…

---

## [Switch Node - rules limitation](https://discourse.nodered.org/t/switch-node-rules-limitation/18659)

<div class="topic-metadata">

**Author:** [@StrongTown](https://discourse.nodered.org/u/StrongTown)\
**Replies:** 6\
**Last updated:** [5 December 2019 21:08 UTC](https://discourse.nodered.org/t/switch-node-rules-limitation/18659 "2019-12-05T21:08:21Z")

</div>

When utilizing the switch node, is it possible to provide multiple variables on a single rule /test such as: or does each word need to be a separate check? st

---

## [Flow fails to load result page after Ajax form submit](https://discourse.nodered.org/t/flow-fails-to-load-result-page-after-ajax-form-submit/18809)

<div class="topic-metadata">

**Author:** [@FriendlyDre](https://discourse.nodered.org/u/FriendlyDre)\
**Replies:** 3\
**Last updated:** [5 December 2019 18:21 UTC](https://discourse.nodered.org/t/flow-fails-to-load-result-page-after-ajax-form-submit/18809 "2019-12-05T18:21:45Z")

</div>

I have a flow that is a simple HTML page that allows one to select a file then submits it to another flow the second flow starts with an "HTTP Node In" then passes it to a "function node that makes a web service request …

---

## [PIN to confirm command](https://discourse.nodered.org/t/pin-to-confirm-command/18795)

<div class="topic-metadata">

**Author:** [@manjha](https://discourse.nodered.org/u/manjha)\
**Replies:** 2\
**Last updated:** [5 December 2019 16:57 UTC](https://discourse.nodered.org/t/pin-to-confirm-command/18795 "2019-12-05T16:57:28Z")

</div>

I am using Node-Red as a go-between for Google Home and Domoticz. Works great, I've already created several flows to switch lights etcetera. But I have a special switch that I want to secure with a PIN: the alarm. I w…

---

## [Create a single Json object with MQTT response](https://discourse.nodered.org/t/create-a-single-json-object-with-mqtt-response/18599)

<div class="topic-metadata">

**Author:** [@YLM](https://discourse.nodered.org/u/YLM)\
**Replies:** 2\
**Last updated:** [5 December 2019 15:39 UTC](https://discourse.nodered.org/t/create-a-single-json-object-with-mqtt-response/18599 "2019-12-05T15:39:31Z")

</div>

I have a python code which send 2 values to the same channel. "sensor/X" and "sensor/Y", and I would like to merge them into a single Json object {X : value of sensor/X, Y : value of sensor/Y}. I have done this node : …

---

## [Node configuration](https://discourse.nodered.org/t/node-configuration/18823)

<div class="topic-metadata">

**Author:** [@mohammedtaha](https://discourse.nodered.org/u/mohammedtaha)\
**Replies:** 4\
**Last updated:** [5 December 2019 14:56 UTC](https://discourse.nodered.org/t/node-configuration/18823 "2019-12-05T14:56:13Z")

</div>

hello, please i need help, i want to assign the payload (string 9570..) to the set rule

---

## [Adafruit DRV2605L Haptic Controller Breakout](https://discourse.nodered.org/t/adafruit-drv2605l-haptic-controller-breakout/18825)

<div class="topic-metadata">

**Author:** [@n0th1ng](https://discourse.nodered.org/u/n0th1ng)\
**Replies:** 0\
**Last updated:** [5 December 2019 14:33 UTC](https://discourse.nodered.org/t/adafruit-drv2605l-haptic-controller-breakout/18825 "2019-12-05T14:33:46Z")

</div>

Hi folks, Am new to node red, and i have started a little project and is make me exploring the IoT world witch is kinda motivating to learn new stuff :slight\_smile: so i got an adafruit-drv2605-haptic-controller-break…

---

## [Deploy failed: no response from server](https://discourse.nodered.org/t/deploy-failed-no-response-from-server/9461)

<div class="topic-metadata">

**Author:** [@Csstenersen](https://discourse.nodered.org/u/Csstenersen)\
**Replies:** 9\
**Last updated:** [5 December 2019 11:15 UTC](https://discourse.nodered.org/t/deploy-failed-no-response-from-server/9461 "2019-12-05T11:15:47Z")

</div>

Hi. After installing Node Red V 0.20.3 I have some troubles.. the message: deploy failed: no response from server keep appearing when i hit Deploy and i have to reload my browser and then it works fine to Deploy aga…

---

## [API to get subflow as json by ID](https://discourse.nodered.org/t/api-to-get-subflow-as-json-by-id/18791)

<div class="topic-metadata">

**Author:** [@tleflond](https://discourse.nodered.org/u/tleflond)\
**Replies:** 5\
**Last updated:** [5 December 2019 10:51 UTC](https://discourse.nodered.org/t/api-to-get-subflow-as-json-by-id/18791 "2019-12-05T10:51:06Z")

</div>

I am trying to retrieve the subflow by ID (are even better all the subflows as an array). I have taken a look at the node red APIs available but non suits my need (there is one for retrieving flows but it does not work w…

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

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