# General

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

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

**Page:** 798

---

## [Javascript search for a special character](https://discourse.nodered.org/t/javascript-search-for-a-special-character/21428)

<div class="topic-metadata">

**Author:** [@pvklink](https://discourse.nodered.org/u/pvklink)\
**Replies:** 4\
**Last updated:** [9 February 2020 14:13 UTC](https://discourse.nodered.org/t/javascript-search-for-a-special-character/21428 "2020-02-09T14:13:03Z")

</div>

I am struggling for hours with my flow. Last part is to search for a \[ sign in a variable and if not add it I made a simple test, but still get errors "SyntaxError: Invalid regular expression: /\[/: Unterminated charac…

---

## [Inject node - repeat. Stuck if it can be set externally](https://discourse.nodered.org/t/inject-node-repeat-stuck-if-it-can-be-set-externally/3601)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [9 February 2020 12:12 UTC](https://discourse.nodered.org/t/inject-node-repeat-stuck-if-it-can-be-set-externally/3601 "2020-02-09T12:12:41Z")

</div>

Probably dumb, but here goes: Is there a way to edit/change/set the repeat interval with flow or global variables? What I am wanting to do: As is, I have an inject node running injects every 10 seconds. To change tha…

---

## [Installing latest node-red (1.0.3) on Pi zero (ARMv6)](https://discourse.nodered.org/t/installing-latest-node-red-1-0-3-on-pi-zero-armv6/21437)

<div class="topic-metadata">

**Author:** [@geoff](https://discourse.nodered.org/u/geoff)\
**Replies:** 2\
**Last updated:** [9 February 2020 11:49 UTC](https://discourse.nodered.org/t/installing-latest-node-red-1-0-3-on-pi-zero-armv6/21437 "2020-02-09T11:49:07Z")

</div>

What is the best way to install the latest node-red (1.0.3) on a Pi zero (ARMv6) given that nodejs no longer supports ARMv6? How do you compiling nodejs on the Pi zero and is this a sensible way to go? How are people g…

---

## [Solar Boiler with heating element PID](https://discourse.nodered.org/t/solar-boiler-with-heating-element-pid/21243)

<div class="topic-metadata">

**Author:** [@serimi](https://discourse.nodered.org/u/serimi)\
**Replies:** 12\
**Last updated:** [9 February 2020 11:29 UTC](https://discourse.nodered.org/t/solar-boiler-with-heating-element-pid/21243 "2020-02-09T11:29:07Z")

</div>

Hi guys, first of all I appreciate this forum so much - I have solved most of my problems in my node red development by reading through the forum! However, now I stumbled into the following problem that I need your advi…

---

## [Function nodes : Invalid Properties - noerr](https://discourse.nodered.org/t/function-nodes-invalid-properties-noerr/21383)

<div class="topic-metadata">

**Author:** [@RobC](https://discourse.nodered.org/u/RobC)\
**Replies:** 10\
**Last updated:** [8 February 2020 12:22 UTC](https://discourse.nodered.org/t/function-nodes-invalid-properties-noerr/21383 "2020-02-08T12:22:04Z")

</div>

Hi Folks, Sorry if already asked (but every post has a 'noerr' and there's nothing in title that matches. I did a deployment on to a production server from our Dev. The Dev server is fine but on production every single …

---

## [Pushing a local var updates the global one](https://discourse.nodered.org/t/pushing-a-local-var-updates-the-global-one/21414)

<div class="topic-metadata">

**Author:** [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Replies:** 2\
**Last updated:** [8 February 2020 10:44 UTC](https://discourse.nodered.org/t/pushing-a-local-var-updates-the-global-one/21414 "2020-02-08T10:44:39Z")

</div>

Hi, Im spending lots of hours without success nor understanding why it happens. I have a global variable (an array) stored in filesystem. In a function node I put a local variable equal to the global one. Then, working …

---

## [Parallel nodes efficiency](https://discourse.nodered.org/t/parallel-nodes-efficiency/21400)

<div class="topic-metadata">

**Author:** [@kuzmich](https://discourse.nodered.org/u/kuzmich)\
**Replies:** 4\
**Last updated:** [8 February 2020 09:31 UTC](https://discourse.nodered.org/t/parallel-nodes-efficiency/21400 "2020-02-08T09:31:42Z")

</div>

Hello guys, how does Node-red calculate parallel nodes? If you have 100 parallel function nodes with a single if clause vs one node with 100 consecutive if's, which one would be faster?

---

## [Chercher dans un tableau](https://discourse.nodered.org/t/chercher-dans-un-tableau/21342)

<div class="topic-metadata">

**Author:** [@micke007](https://discourse.nodered.org/u/micke007)\
**Replies:** 5\
**Last updated:** [8 February 2020 08:15 UTC](https://discourse.nodered.org/t/chercher-dans-un-tableau/21342 "2020-02-08T08:15:29Z")

</div>

bonjour a tous je cherche a trouver le prix le moins cher et afficher les informations qui vont avec \[{"id":"c2d7159b.44db98","type":"http request","z":"3dafcb6f.c00894","name":"1","method":"GET","ret":"txt","paytoqs":…

---

## [📋 Survey: logging to debug sidebar](https://discourse.nodered.org/t/survey-logging-to-debug-sidebar/21253)

<div class="topic-metadata">

**Author:** [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Replies:** 22\
**Last updated:** [8 February 2020 06:47 UTC](https://discourse.nodered.org/t/survey-logging-to-debug-sidebar/21253 "2020-02-08T06:47:19Z")

</div>

Hi, one of the long-standing quirks of the Function node is that the only way to get a message to appear in the Debug sidebar is to use node.warn or node.error. The problem with this approach is it puts what should be …

---

## [RPI Keyboard key code](https://discourse.nodered.org/t/rpi-keyboard-key-code/20063)

<div class="topic-metadata">

**Author:** [@sweetwater](https://discourse.nodered.org/u/sweetwater)\
**Replies:** 3\
**Last updated:** [7 February 2020 16:23 UTC](https://discourse.nodered.org/t/rpi-keyboard-key-code/20063 "2020-02-07T16:23:37Z")

</div>

Using the standard RPI Keyboard node to detect Keyboard entries. Using a standard USB keyboard ( usa layout). When pressing: a : code = 30 b: code= 48 1: code 2 f1: code = 59 Does anyone know the code lookup table? …

---

## [Invalid session for assistant V2 node using telegram](https://discourse.nodered.org/t/invalid-session-for-assistant-v2-node-using-telegram/21409)

<div class="topic-metadata">

**Author:** [@gianlubiscotto](https://discourse.nodered.org/u/gianlubiscotto)\
**Replies:** 0\
**Last updated:** [7 February 2020 19:39 UTC](https://discourse.nodered.org/t/invalid-session-for-assistant-v2-node-using-telegram/21409 "2020-02-07T19:39:13Z")

</div>

I attached a telegram receiver and sender to watson assistant. I don't need multiple sessions so I left unchecked the "multiple sessions" checkbox. When I send a message from my telegram bot, node-red console tells me "…

---

## [PI Keyboard dropping keys](https://discourse.nodered.org/t/pi-keyboard-dropping-keys/21404)

<div class="topic-metadata">

**Author:** [@Kenmazing](https://discourse.nodered.org/u/Kenmazing)\
**Replies:** 0\
**Last updated:** [7 February 2020 16:32 UTC](https://discourse.nodered.org/t/pi-keyboard-dropping-keys/21404 "2020-02-07T16:32:37Z")

</div>

Hi, I have been trying to use the Pi Keyboard node for reading from a Zebra scangun. On an RPI 3, I get most of the keys, but it would randomly drop them. I saw where RPI 4 has vastly improved USB capability, so got o…

---

## [Node is not working](https://discourse.nodered.org/t/node-is-not-working/21387)

<div class="topic-metadata">

**Author:** [@pranavthakkar](https://discourse.nodered.org/u/pranavthakkar)\
**Replies:** 2\
**Last updated:** [7 February 2020 12:37 UTC](https://discourse.nodered.org/t/node-is-not-working/21387 "2020-02-07T12:37:39Z")

</div>

Hey folks! I'm working with webcam and just installed the library npm install node-red-contrib-node-webcam but it is not working showing error Can not find the module 'webcam'. What should i do? very few libraries …

---

## [Node-red-contrib-deduplication](https://discourse.nodered.org/t/node-red-contrib-deduplication/21378)

<div class="topic-metadata">

**Author:** [@Iliyas](https://discourse.nodered.org/u/Iliyas)\
**Replies:** 9\
**Last updated:** [7 February 2020 12:24 UTC](https://discourse.nodered.org/t/node-red-contrib-deduplication/21378 "2020-02-07T12:24:44Z")

</div>

Hello, I'm working on deduplication node but its not working as it states, if anybody had worked on it please share the flow. node-red-contrib-dedupulication-adv

---

## [Node-red to mysql - incorrect datetime value](https://discourse.nodered.org/t/node-red-to-mysql-incorrect-datetime-value/21344)

<div class="topic-metadata">

**Author:** [@freiheit2018](https://discourse.nodered.org/u/freiheit2018)\
**Replies:** 11\
**Last updated:** [7 February 2020 12:10 UTC](https://discourse.nodered.org/t/node-red-to-mysql-incorrect-datetime-value/21344 "2020-02-07T12:10:57Z")

</div>

Hello there, I am new to Node-Red but I like the idea and possiblilities very much. With my very first project, I tried to implement the "Log MQTT to MySQL" flow (Log MQTT to MySQL (flow) - Node-RED) But I haven´t get i…

---

## [Get All Env In Subflow](https://discourse.nodered.org/t/get-all-env-in-subflow/21392)

<div class="topic-metadata">

**Author:** [@Soloam](https://discourse.nodered.org/u/Soloam)\
**Replies:** 4\
**Last updated:** [7 February 2020 11:36 UTC](https://discourse.nodered.org/t/get-all-env-in-subflow/21392 "2020-02-07T11:36:53Z")

</div>

Hello, I would like to know if it's possible to list all the env that are declared on a subflow! I would like to simplify my code from mapping the env to specific variables, and I would like them to be dynamic! Something…

---

## [Startup .json script on node-red server start and to view in editor also](https://discourse.nodered.org/t/startup-json-script-on-node-red-server-start-and-to-view-in-editor-also/21394)

<div class="topic-metadata">

**Author:** [@karlyboy](https://discourse.nodered.org/u/karlyboy)\
**Replies:** 0\
**Last updated:** [7 February 2020 11:34 UTC](https://discourse.nodered.org/t/startup-json-script-on-node-red-server-start-and-to-view-in-editor-also/21394 "2020-02-07T11:34:10Z")

</div>

Folks, I'm a newby and learning so forgive my lack of knowledge. I have a nodejs and node-red combined server. All working nicely. Followed the parameters but can't seem to launch a default startup script or to view it…

---

## [Which Alexa node suitable (Speech to text messaging)](https://discourse.nodered.org/t/which-alexa-node-suitable-speech-to-text-messaging/21173)

<div class="topic-metadata">

**Author:** [@Cathprotech](https://discourse.nodered.org/u/Cathprotech)\
**Replies:** 11\
**Last updated:** [7 February 2020 10:56 UTC](https://discourse.nodered.org/t/which-alexa-node-suitable-speech-to-text-messaging/21173 "2020-02-07T10:56:44Z")

</div>

Background... I have built a message system using and ESP12 and 2-line LCD display. It receives MQTT messages via Node-Red and can send an acknowledgement back. It's a teenager notification unit! I open a Node-Red UI …

---

## [Read data from InfluxDB](https://discourse.nodered.org/t/read-data-from-influxdb/21337)

<div class="topic-metadata">

**Author:** [@mhechthz](https://discourse.nodered.org/u/mhechthz)\
**Replies:** 4\
**Last updated:** [7 February 2020 10:40 UTC](https://discourse.nodered.org/t/read-data-from-influxdb/21337 "2020-02-07T10:40:39Z")

</div>

Hi, I'm rather new to Node Red and have a probably simple question. I want to read data from an InfluxDB, so added a node for "influxdb in" and a "msg.payload". Than I connected the InfluxDB node and added a valid sele…

---

## [Node installed but not shows in dragand drop](https://discourse.nodered.org/t/node-installed-but-not-shows-in-dragand-drop/21388)

<div class="topic-metadata">

**Author:** [@DemonKing](https://discourse.nodered.org/u/DemonKing)\
**Replies:** 1\
**Last updated:** [7 February 2020 09:41 UTC](https://discourse.nodered.org/t/node-installed-but-not-shows-in-dragand-drop/21388 "2020-02-07T09:41:21Z")

</div>

I insalled two nodes message came node installed in pallet node is there , but cant saw that node in drag and drop section

---

## [How to use basic authentication inside the function node?](https://discourse.nodered.org/t/how-to-use-basic-authentication-inside-the-function-node/21384)

<div class="topic-metadata">

**Author:** [@Jude.Robise](https://discourse.nodered.org/u/Jude.Robise)\
**Replies:** 2\
**Last updated:** [7 February 2020 09:36 UTC](https://discourse.nodered.org/t/how-to-use-basic-authentication-inside-the-function-node/21384 "2020-02-07T09:36:50Z")

</div>

I want to display some images from an URL (which has basic authentication) on node red dashboard. But every time I have to refresh the URL link and manually insert user name and password to authenticate in google chrome. …

---

## [Http in message local nodered](https://discourse.nodered.org/t/http-in-message-local-nodered/21356)

<div class="topic-metadata">

**Author:** [@Meng](https://discourse.nodered.org/u/Meng)\
**Replies:** 4\
**Last updated:** [7 February 2020 09:08 UTC](https://discourse.nodered.org/t/http-in-message-local-nodered/21356 "2020-02-07T09:08:26Z")

</div>

Hi all, I want to receive a SigFox http message on my local node-red running on the server. I use the http in node to receive this message with the url /SigFox, in the SigFox backend i use https://myNodeRed.com/SigFox to…

---

## [Saving images from URL to folder](https://discourse.nodered.org/t/saving-images-from-url-to-folder/21246)

<div class="topic-metadata">

**Author:** [@rueben](https://discourse.nodered.org/u/rueben)\
**Replies:** 4\
**Last updated:** [7 February 2020 06:20 UTC](https://discourse.nodered.org/t/saving-images-from-url-to-folder/21246 "2020-02-07T06:20:28Z")

</div>

Hi, I would like to know how to save images from URL to a folder. For example, the image URL data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBw8QEA0QEBAQEA8QEBAQDw4PEA8QDhAPFREWGBUSFRMYHCggGCAmGxUTIz0hJSsrLi…

---

## [Underscore \_ missing? Any ideas why?](https://discourse.nodered.org/t/underscore-missing-any-ideas-why/21373)

<div class="topic-metadata">

**Author:** [@dr\_cave\_dweller](https://discourse.nodered.org/u/dr_cave_dweller)\
**Replies:** 3\
**Last updated:** [7 February 2020 05:49 UTC](https://discourse.nodered.org/t/underscore-missing-any-ideas-why/21373 "2020-02-07T05:49:09Z")

</div>

This is an odd one. I copied over a flow from one raspberry pi to another (pi3b+ running NR v1.0.3 to pi4 running NR v1.0.3). I copied the flow by exporting to clipboard, copying, emailing, then pasting in as text to a …

---

## [New to nodered and first problem](https://discourse.nodered.org/t/new-to-nodered-and-first-problem/21369)

<div class="topic-metadata">

**Author:** [@MarcoGT](https://discourse.nodered.org/u/MarcoGT)\
**Replies:** 2\
**Last updated:** [6 February 2020 21:09 UTC](https://discourse.nodered.org/t/new-to-nodered-and-first-problem/21369 "2020-02-06T21:09:30Z")

</div>

Hi all, very new to nodered; I am using it with this contribution to control my HomeAutomation SW (running on a MacMini); I did the same setup with nodejs 12.14.1 and nodered 1.0.3 and on a machine is working fine, on …

---

## [Notifications for the forum](https://discourse.nodered.org/t/notifications-for-the-forum/21329)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [6 February 2020 20:48 UTC](https://discourse.nodered.org/t/notifications-for-the-forum/21329 "2020-02-06T20:48:37Z")

</div>

I was helping someone with their Tasmota bulb in a thread. I posted a couple of things and got some likes. (Good) But then I got a reply: No notification received. To clarify: 1 - I didn't get an e-mail. (Slight…

---

## [MQTT Caching in the event of a WAN failure](https://discourse.nodered.org/t/mqtt-caching-in-the-event-of-a-wan-failure/21315)

<div class="topic-metadata">

**Author:** [@joearkay](https://discourse.nodered.org/u/joearkay)\
**Replies:** 27\
**Last updated:** [6 February 2020 18:04 UTC](https://discourse.nodered.org/t/mqtt-caching-in-the-event-of-a-wan-failure/21315 "2020-02-06T18:04:49Z")

</div>

Hi all, I'm interested in how the MQTT protocol can be utilised in a scenario where data delivery is critical, over a cellular or otherwise unstable WAN connection. Imagine we have a broker sat in the cloud and a remot…

---

## [Stop a running flow](https://discourse.nodered.org/t/stop-a-running-flow/21353)

<div class="topic-metadata">

**Author:** [@pvklink](https://discourse.nodered.org/u/pvklink)\
**Replies:** 3\
**Last updated:** [6 February 2020 16:48 UTC](https://discourse.nodered.org/t/stop-a-running-flow/21353 "2020-02-06T16:48:42Z")

</div>

Hi, I hope I can explain my functionality well. I have a management environment in which I can start functionality via a menu (flows). Some flows can also start automatically with an injection. Now I want to be able to…

---

## [Serial Port issue](https://discourse.nodered.org/t/serial-port-issue/20763)

<div class="topic-metadata">

**Author:** [@Satyamkc](https://discourse.nodered.org/u/Satyamkc)\
**Replies:** 5\
**Last updated:** [6 February 2020 15:59 UTC](https://discourse.nodered.org/t/serial-port-issue/20763 "2020-02-06T15:59:20Z")

</div>

Hi there.. I am trying to use two different arduino on two different ports. When ever i change the port number of the one node, node-red assigns the same port number to different node. This is very frustrating. I've use…

---

## [Help manipulating data inside an array](https://discourse.nodered.org/t/help-manipulating-data-inside-an-array/21348)

<div class="topic-metadata">

**Author:** [@redlop](https://discourse.nodered.org/u/redlop)\
**Replies:** 0\
**Last updated:** [6 February 2020 12:24 UTC](https://discourse.nodered.org/t/help-manipulating-data-inside-an-array/21348 "2020-02-06T12:24:41Z")

</div>

Im working on a project that sniffs nearby WiFi networks. How do I insert a conditional statement in a nested json array to output approximate distance based on RSSI value. Currently I can print out the RSSI and SSID of…

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

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