# Latest

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

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

**Page:** 995

---

## [Python3 Function error when running NR on windows](https://discourse.nodered.org/t/python3-function-error-when-running-nr-on-windows/33204)

<div class="topic-metadata">

**Author:** [@kvramji](https://discourse.nodered.org/u/kvramji)\
**Replies:** 1\
**Last updated:** [23 September 2020 12:49 UTC](https://discourse.nodered.org/t/python3-function-error-when-running-nr-on-windows/33204 "2020-09-23T12:49:58Z")

</div>

Can't for the life of me find the reason why i am getting the following error. I have python working fine on its own. path initiated in the environment variables. If anyone has faced this issue while installing Node R…

---

## [Serial woes.. buffer issue?](https://discourse.nodered.org/t/serial-woes-buffer-issue/33141)

<div class="topic-metadata">

**Author:** [@muggins](https://discourse.nodered.org/u/muggins)\
**Replies:** 26\
**Last updated:** [23 September 2020 12:26 UTC](https://discourse.nodered.org/t/serial-woes-buffer-issue/33141 "2020-09-23T12:26:40Z")

</div>

I use node-red serial to interpret string messages from my "intelligent" burglar alarm system. I have serial RX set to split input on character \\r and this works fine until I reboot the system. It then outputs nothing …

---

## [Calculate No days Remaining to pay the dues?](https://discourse.nodered.org/t/calculate-no-days-remaining-to-pay-the-dues/33208)

<div class="topic-metadata">

**Author:** [@ceaswaran](https://discourse.nodered.org/u/ceaswaran)\
**Replies:** 4\
**Last updated:** [23 September 2020 10:05 UTC](https://discourse.nodered.org/t/calculate-no-days-remaining-to-pay-the-dues/33208 "2020-09-23T10:05:37Z")

</div>

I have a sensor that pools the payment due date in the following format 12/10/20 (DD/MM/YY- 12th October 2020) from my government's Electricity board server. I want to create an output in Node-red which will find/calcu…

---

## [Send me notification if status still "reconnecting after "](https://discourse.nodered.org/t/send-me-notification-if-status-still-reconnecting-after/33180)

<div class="topic-metadata">

**Author:** [@hassengh](https://discourse.nodered.org/u/hassengh)\
**Replies:** 9\
**Last updated:** [23 September 2020 09:28 UTC](https://discourse.nodered.org/t/send-me-notification-if-status-still-reconnecting-after/33180 "2020-09-23T09:28:11Z")

</div>

Hello , how I can read communication status with device and it still more 1 minute the systeme send me notification " problem connect to devise".

---

## [Make a button link to another page HTML !?](https://discourse.nodered.org/t/make-a-button-link-to-another-page-html/880)

<div class="topic-metadata">

**Author:** [@imadouino](https://discourse.nodered.org/u/imadouino)\
**Replies:** 15\
**Last updated:** [2 July 2018 11:21 UTC](https://discourse.nodered.org/t/make-a-button-link-to-another-page-html/880 "2018-07-02T11:21:08Z")

</div>

Hi, i searsh to make a button link to another page HTML. it’s work with a link like (www.google.com) but i can’t do it with my link ( http://IP/ui/#/1), the link change in the case of the adresse of my navigator but it…

---

## [Feature Request: Add prettify/beautify to function nodes](https://discourse.nodered.org/t/feature-request-add-prettify-beautify-to-function-nodes/33196)

<div class="topic-metadata">

**Author:** [@tnrich](https://discourse.nodered.org/u/tnrich)\
**Replies:** 1\
**Last updated:** [23 September 2020 04:57 UTC](https://discourse.nodered.org/t/feature-request-add-prettify-beautify-to-function-nodes/33196 "2020-09-23T04:57:50Z")

</div>

Hey there, I find it really annoying not having a way to prettify the javascript code I'm writing in the function node. I think it would be nice to add a little "beautify" button that would format the code! Thanks! Th…

---

## [Reset modem through node red](https://discourse.nodered.org/t/reset-modem-through-node-red/32778)

<div class="topic-metadata">

**Author:** [@arcegabriel](https://discourse.nodered.org/u/arcegabriel)\
**Replies:** 31\
**Last updated:** [23 September 2020 04:32 UTC](https://discourse.nodered.org/t/reset-modem-through-node-red/32778 "2020-09-23T04:32:51Z")

</div>

I have a TP link TC7650 (cable internet). I noticed frequently all computers have bad latency and the solution is to restart the modem. What I would like to do with node red Regularly check connection latency. I know h…

---

## [Where to use let and where to use var in a function node?](https://discourse.nodered.org/t/where-to-use-let-and-where-to-use-var-in-a-function-node/33174)

<div class="topic-metadata">

**Author:** [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Replies:** 9\
**Last updated:** [22 September 2020 23:17 UTC](https://discourse.nodered.org/t/where-to-use-let-and-where-to-use-var-in-a-function-node/33174 "2020-09-22T23:17:10Z")

</div>

when would you recommend to use the let versa the var statement ? What is the scope of a function node? Have a look at the code. If I replace all var with let I get an "already declared error" var nodes = flow.get("no…

---

## [Fun With Persistence?](https://discourse.nodered.org/t/fun-with-persistence/33189)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 9\
**Last updated:** [22 September 2020 19:51 UTC](https://discourse.nodered.org/t/fun-with-persistence/33189 "2020-09-22T19:51:41Z")

</div>

Two questions... Why is persistence not identified in some way in the context view? I created a flow variable, using default in memory defined in settings.js. I then created a flow variable, using 'persistent' as loc…

---

## [Communication with Mitsubishi FX3G over USB Cable](https://discourse.nodered.org/t/communication-with-mitsubishi-fx3g-over-usb-cable/33193)

<div class="topic-metadata">

**Author:** [@machadotiago](https://discourse.nodered.org/u/machadotiago)\
**Replies:** 0\
**Last updated:** [22 September 2020 19:18 UTC](https://discourse.nodered.org/t/communication-with-mitsubishi-fx3g-over-usb-cable/33193 "2020-09-22T19:18:42Z")

</div>

We have a situation where we need to communicate with a Mitsubishi FX3G PLC, but the problem is that only the USB port of the PLC is available (buying new Mitsubishi modules is out of scope). I couldn't find which protoc…

---

## [How to get the line number of a CSV file in function node](https://discourse.nodered.org/t/how-to-get-the-line-number-of-a-csv-file-in-function-node/33163)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 7\
**Last updated:** [22 September 2020 19:00 UTC](https://discourse.nodered.org/t/how-to-get-the-line-number-of-a-csv-file-in-function-node/33163 "2020-09-22T19:00:38Z")

</div>

I would like to get the line number of a CSV file in function node. I tried to execute the code below in function node but couldn't get the count value. Do not know where the cause is? \[{"id":"61e780fd.ae573","type"…

---

## [How to convert an array to a text - NodeRED read from MySQL to be sent to Telegram](https://discourse.nodered.org/t/how-to-convert-an-array-to-a-text-nodered-read-from-mysql-to-be-sent-to-telegram/33102)

<div class="topic-metadata">

**Author:** [@CesarLeiton](https://discourse.nodered.org/u/CesarLeiton)\
**Replies:** 22\
**Last updated:** [22 September 2020 18:38 UTC](https://discourse.nodered.org/t/how-to-convert-an-array-to-a-text-nodered-read-from-mysql-to-be-sent-to-telegram/33102 "2020-09-22T18:38:43Z")

</div>

Hello, I am trying to send information read from MySQL tables to telegram. For doing that I want to convert an array (or part of the array) to text in order to be able to send it to a Telegram chat. This is the flow …

---

## [Unifi node getting object Object error](https://discourse.nodered.org/t/unifi-node-getting-object-object-error/33185)

<div class="topic-metadata">

**Author:** [@eibyer\_nr](https://discourse.nodered.org/u/eibyer_nr)\
**Replies:** 2\
**Last updated:** [22 September 2020 17:43 UTC](https://discourse.nodered.org/t/unifi-node-getting-object-object-error/33185 "2020-09-22T17:43:10Z")

</div>

I'm trying to use the Unifi node on a simple flow for now but I'm getting the object Object message. I have a very old version of the node on another machine and it works. Newest version 0.1.15 This is from the old…

---

## [How to create enum global](https://discourse.nodered.org/t/how-to-create-enum-global/33186)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 1\
**Last updated:** [22 September 2020 17:21 UTC](https://discourse.nodered.org/t/how-to-create-enum-global/33186 "2020-09-22T17:21:19Z")

</div>

Hi, I am new to node-Red so I do not know if there is an enum in Node-Red? If has, can I set it to enum global so that multiple nodes can use it? or how does Node-Red use enum type, please suggest for me! Thanks in a…

---

## [Issues with selenium node](https://discourse.nodered.org/t/issues-with-selenium-node/32929)

<div class="topic-metadata">

**Author:** [@RaiRoo](https://discourse.nodered.org/u/RaiRoo)\
**Replies:** 7\
**Last updated:** [22 September 2020 17:01 UTC](https://discourse.nodered.org/t/issues-with-selenium-node/32929 "2020-09-22T17:01:35Z")

</div>

Hi everybody, I am just doing my first step with selenium and the respective node. So I installed Selenium-hub and selenium-standalone-chrome in a docker container on my Synology. Installation was without any problem an…

---

## [Read large JSON file (to insert to MySQL) causes Node-RED crash due to JavaScript heap out of memory](https://discourse.nodered.org/t/read-large-json-file-to-insert-to-mysql-causes-node-red-crash-due-to-javascript-heap-out-of-memory/33149)

<div class="topic-metadata">

**Author:** [@thebaldgeek](https://discourse.nodered.org/u/thebaldgeek)\
**Replies:** 10\
**Last updated:** [21 September 2020 17:34 UTC](https://discourse.nodered.org/t/read-large-json-file-to-insert-to-mysql-causes-node-red-crash-due-to-javascript-heap-out-of-memory/33149 "2020-09-21T17:34:03Z")

</div>

I have been at this for a solid 7-9 hours, so will try and keep it brief.... The big picture. I have a 27.3 Mb JSON formatted file that I need to take each key and its data and insert into a MySQL database. The data r…

---

## [How to use firebase node?](https://discourse.nodered.org/t/how-to-use-firebase-node/33187)

<div class="topic-metadata">

**Author:** [@alex1](https://discourse.nodered.org/u/alex1)\
**Replies:** 0\
**Last updated:** [22 September 2020 15:53 UTC](https://discourse.nodered.org/t/how-to-use-firebase-node/33187 "2020-09-22T15:53:59Z")

</div>

Anyone have any idea on how shall i fill up the blank?

---

## [Fs in settings.js](https://discourse.nodered.org/t/fs-in-settings-js/33183)

<div class="topic-metadata">

**Author:** [@Trocergian](https://discourse.nodered.org/u/Trocergian)\
**Replies:** 4\
**Last updated:** [22 September 2020 15:50 UTC](https://discourse.nodered.org/t/fs-in-settings-js/33183 "2020-09-22T15:50:32Z")

</div>

I am following along with a "How to.." book for a project and it is instructing me to uncomment the following line: // var fs = require("fs"); I am unable to locate this line in the file. Is this an older reference th…

---

## [Slider showing values](https://discourse.nodered.org/t/slider-showing-values/11200)

<div class="topic-metadata">

**Author:** [@lucaDgt](https://discourse.nodered.org/u/lucaDgt)\
**Replies:** 5\
**Last updated:** [22 September 2020 13:24 UTC](https://discourse.nodered.org/t/slider-showing-values/11200 "2020-09-22T13:24:26Z")

</div>

Hi. is there a setting to show on the ui the actual value of the slider widget without writing new code? Regards, Luca

---

## [Possibility to move the world map legend](https://discourse.nodered.org/t/possibility-to-move-the-world-map-legend/33169)

<div class="topic-metadata">

**Author:** [@kvramji](https://discourse.nodered.org/u/kvramji)\
**Replies:** 7\
**Last updated:** [22 September 2020 11:25 UTC](https://discourse.nodered.org/t/possibility-to-move-the-world-map-legend/33169 "2020-09-22T11:25:30Z")

</div>

I managed to get the legend on the node red world map. It seems to be displayed only in the bottom left corner of the map. Is it possible to move it to the top right corner of the map??

---

## [Pi Hat for Thermocouple measurement](https://discourse.nodered.org/t/pi-hat-for-thermocouple-measurement/33037)

<div class="topic-metadata">

**Author:** [@grant1](https://discourse.nodered.org/u/grant1)\
**Replies:** 3\
**Last updated:** [22 September 2020 10:04 UTC](https://discourse.nodered.org/t/pi-hat-for-thermocouple-measurement/33037 "2020-09-22T10:04:40Z")

</div>

I wish to use a Raspberry Pi for monitoring Type K thermocouples. One device I found for this is a Pi Hat made by Measurement Computing. I asked them about support for Node-RED and they said they never heard of that. …

---

## [To control neopixels with only Arduino](https://discourse.nodered.org/t/to-control-neopixels-with-only-arduino/33168)

<div class="topic-metadata">

**Author:** [@seyeon](https://discourse.nodered.org/u/seyeon)\
**Replies:** 4\
**Last updated:** [22 September 2020 09:46 UTC](https://discourse.nodered.org/t/to-control-neopixels-with-only-arduino/33168 "2020-09-22T09:46:06Z")

</div>

Dear node-red masters, I want to sort only the object values of the msg.payload. ( like screen shot ) I don't know how to do it. Do I have to write a json code? \[{"id":"a52d7073.b50de","type":"inject","z":"7a686238…

---

## [Persistence after crashing](https://discourse.nodered.org/t/persistence-after-crashing/10279)

<div class="topic-metadata">

**Author:** [@georgehanson](https://discourse.nodered.org/u/georgehanson)\
**Replies:** 15\
**Last updated:** [22 September 2020 07:35 UTC](https://discourse.nodered.org/t/persistence-after-crashing/10279 "2020-09-22T07:35:09Z")

</div>

Hi there, I have been looking around but unable to find an answer to this. Is there a way for the state of a flow to be persisted? For example, I have created a flow that accepts an HTTP request and returns a response.…

---

## [Npm fails to install new node](https://discourse.nodered.org/t/npm-fails-to-install-new-node/33158)

<div class="topic-metadata">

**Author:** [@thePLCguy](https://discourse.nodered.org/u/thePLCguy)\
**Replies:** 4\
**Last updated:** [22 September 2020 06:40 UTC](https://discourse.nodered.org/t/npm-fails-to-install-new-node/33158 "2020-09-22T06:40:29Z")

</div>

Hi guys, relatively new to Node Red. Actually I am using it as a teaching aid for my automation class here in New Zealand. We have enjoyed the limited time using Node Red thus far, but I have a small problem I hope you …

---

## [Importing CSV into dropdown](https://discourse.nodered.org/t/importing-csv-into-dropdown/33025)

<div class="topic-metadata">

**Author:** [@Gromilicious](https://discourse.nodered.org/u/Gromilicious)\
**Replies:** 7\
**Last updated:** [22 September 2020 06:04 UTC](https://discourse.nodered.org/t/importing-csv-into-dropdown/33025 "2020-09-22T06:04:21Z")

</div>

Hi all, I am able to extract data from a csv however when i dry and display all the names in a drop down all that is displayed are the column name (col1) i have been stuck on this for a while now and haven't been able …

---

## [Sir ,I want to copy 2 msg.id in my sql DB](https://discourse.nodered.org/t/sir-i-want-to-copy-2-msg-id-in-my-sql-db/32912)

<div class="topic-metadata">

**Author:** [@shipra](https://discourse.nodered.org/u/shipra)\
**Replies:** 107\
**Last updated:** [22 September 2020 05:49 UTC](https://discourse.nodered.org/t/sir-i-want-to-copy-2-msg-id-in-my-sql-db/32912 "2020-09-22T05:49:29Z")

</div>

Sir I want payload and payload 1 (which are 04222436 and 2814 respectively.) check screenshots But i am getting output something like this check DB please help

---

## [Front montant du signal](https://discourse.nodered.org/t/front-montant-du-signal/33145)

<div class="topic-metadata">

**Author:** [@hassengh](https://discourse.nodered.org/u/hassengh)\
**Replies:** 14\
**Last updated:** [22 September 2020 04:21 UTC](https://discourse.nodered.org/t/front-montant-du-signal/33145 "2020-09-22T04:21:46Z")

</div>

Bonjour , est il possible de faire un front montant du signal ? c'est il lors de dépassement d'un seuil il envoi une alerte . Hello , is it possible to make a rising edge of the signal? it is when a threshold is exc…

---

## [How to catch error of Zip node](https://discourse.nodered.org/t/how-to-catch-error-of-zip-node/33098)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 8\
**Last updated:** [22 September 2020 01:45 UTC](https://discourse.nodered.org/t/how-to-catch-error-of-zip-node/33098 "2020-09-22T01:45:48Z")

</div>

I use a zip node to extract the zip file, in case the decompression fails, zip node will output an error "Error parsing zip file: Error: Can't find end of central directory : is this a zip file ? If it is, see https://st…

---

## [Send Failure for email node](https://discourse.nodered.org/t/send-failure-for-email-node/33156)

<div class="topic-metadata">

**Author:** [@jnbest00](https://discourse.nodered.org/u/jnbest00)\
**Replies:** 0\
**Last updated:** [21 September 2020 21:59 UTC](https://discourse.nodered.org/t/send-failure-for-email-node/33156 "2020-09-21T21:59:23Z")

</div>

I'm trying to send LoRa data collected to myself via the node-red-email node but I keep getting a send failure message, I tried turning on "allow less secure apps" in my google security settings as a solution but was met…

---

## [Alexa-remote2 and device groups](https://discourse.nodered.org/t/alexa-remote2-and-device-groups/33155)

<div class="topic-metadata">

**Author:** [@mterry63](https://discourse.nodered.org/u/mterry63)\
**Replies:** 0\
**Last updated:** [21 September 2020 21:39 UTC](https://discourse.nodered.org/t/alexa-remote2-and-device-groups/33155 "2020-09-21T21:39:50Z")

</div>

I've been using remote2 for my home automation announcements for some time, but now starting to look into using alexa to trigger events. My initial debug testing provides debug output when I send TTS to a single device, …

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

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