# General

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

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

**Page:** 518

---

## [Data preparation from different object layers](https://discourse.nodered.org/t/data-preparation-from-different-object-layers/48884)

<div class="topic-metadata">

**Author:** [@edstobi](https://discourse.nodered.org/u/edstobi)\
**Replies:** 2\
**Last updated:** [25 July 2021 19:15 UTC](https://discourse.nodered.org/t/data-preparation-from-different-object-layers/48884 "2021-07-25T19:15:16Z")

</div>

Hello I am reading an xml file via http reques. I send this to the xml parser and get a lot of data. See picture. I always needed only one value and read it directly as object 3. Unfortunately, the xml file is ch…

---

## [Sending data to other IoT platfroms](https://discourse.nodered.org/t/sending-data-to-other-iot-platfroms/48886)

<div class="topic-metadata">

**Author:** [@wael5300](https://discourse.nodered.org/u/wael5300)\
**Replies:** 4\
**Last updated:** [25 July 2021 18:13 UTC](https://discourse.nodered.org/t/sending-data-to-other-iot-platfroms/48886 "2021-07-25T18:13:40Z")

</div>

To send data to other IoT platforms, which node I should use? HTTP response, HTTP response,WebSocket out Or MQTT out

---

## [Http Node-red Path](https://discourse.nodered.org/t/http-node-red-path/48875)

<div class="topic-metadata">

**Author:** [@wael5300](https://discourse.nodered.org/u/wael5300)\
**Replies:** 2\
**Last updated:** [25 July 2021 16:57 UTC](https://discourse.nodered.org/t/http-node-red-path/48875 "2021-07-25T16:57:36Z")

</div>

Where I can get http Node-red Path for IBM node-red?

---

## [Error: listen EADDRNOTAVAIL: address not available 192.168.0.30:502](https://discourse.nodered.org/t/error-listen-eaddrnotavail-address-not-available-192-168-0-30-502/48885)

<div class="topic-metadata">

**Author:** [@jasrob222](https://discourse.nodered.org/u/jasrob222)\
**Replies:** 1\
**Last updated:** [25 July 2021 16:30 UTC](https://discourse.nodered.org/t/error-listen-eaddrnotavail-address-not-available-192-168-0-30-502/48885 "2021-07-25T16:30:51Z")

</div>

When I start node-red it wont run it gives me this error: 25 Jul 10:19:14 - \[info\] Server now running at http://127.0.0.1:1880/ 25 Jul 10:19:14 - \[info\] Starting flows 25 Jul 10:19:15 - \[info\] Started flows 25 Jul 10…

---

## [Clarity needed on operating (node-red-node-daemon)](https://discourse.nodered.org/t/clarity-needed-on-operating-node-red-node-daemon/48876)

<div class="topic-metadata">

**Author:** [@Gunner](https://discourse.nodered.org/u/Gunner)\
**Replies:** 4\
**Last updated:** [25 July 2021 11:44 UTC](https://discourse.nodered.org/t/clarity-needed-on-operating-node-red-node-daemon/48876 "2021-07-25T11:44:19Z")

</div>

I have a bunch of demo scripts for my SSD1330 SPI based Colour OLED Display. It seems the only way to control this display is via Python scripts. Fine, I can do that :stuck\_out\_tongue: But I wanted to try controlling i…

---

## [Update 2.0 Monaco editor cannot type in the editor](https://discourse.nodered.org/t/update-2-0-monaco-editor-cannot-type-in-the-editor/48877)

<div class="topic-metadata">

**Author:** [@emme73](https://discourse.nodered.org/u/emme73)\
**Replies:** 1\
**Last updated:** [25 July 2021 10:57 UTC](https://discourse.nodered.org/t/update-2-0-monaco-editor-cannot-type-in-the-editor/48877 "2021-07-25T10:57:46Z")

</div>

Hi, I've just updated nodered to 2.0 the upgrade went smooth,but I'm facing an issue with Monaco: it won't let me write in the editor, nor I can delete or doing anything I just can see the code but cannot interact wi…

---

## [Help with functions](https://discourse.nodered.org/t/help-with-functions/48746)

<div class="topic-metadata">

**Author:** [@ronbu](https://discourse.nodered.org/u/ronbu)\
**Replies:** 34\
**Last updated:** [25 July 2021 10:12 UTC](https://discourse.nodered.org/t/help-with-functions/48746 "2021-07-25T10:12:35Z")

</div>

i want to write a function to display heat index from temp and humidity from a sensor. I just don't know how to format the function to use the NWS equation any help? i can display the temp and humidity in the dashboard b…

---

## [Stop node red at boot](https://discourse.nodered.org/t/stop-node-red-at-boot/48864)

<div class="topic-metadata">

**Author:** [@shel](https://discourse.nodered.org/u/shel)\
**Replies:** 7\
**Last updated:** [25 July 2021 10:00 UTC](https://discourse.nodered.org/t/stop-node-red-at-boot/48864 "2021-07-25T10:00:23Z")

</div>

So, I understand how to start node red in safe mode but how do I get in front of node red on boot? It is set to start up at boot from systemctl and when node red starts it crashes the Pi. I know what I did wrong but I ca…

---

## [Monaco Editor "System-wide" code-completition](https://discourse.nodered.org/t/monaco-editor-system-wide-code-completition/48868)

<div class="topic-metadata">

**Author:** [@thomaspz](https://discourse.nodered.org/u/thomaspz)\
**Replies:** 4\
**Last updated:** [25 July 2021 07:52 UTC](https://discourse.nodered.org/t/monaco-editor-system-wide-code-completition/48868 "2021-07-25T07:52:19Z")

</div>

In this Post (Add Custom Completition to javascript function node) I searched for a solution for a system-wide code-completition and the result was to wait for 2.0 and the integration of the monaco editor. Now I have ins…

---

## [Monaco editor error question](https://discourse.nodered.org/t/monaco-editor-error-question/48866)

<div class="topic-metadata">

**Author:** [@shel](https://discourse.nodered.org/u/shel)\
**Replies:** 3\
**Last updated:** [25 July 2021 05:21 UTC](https://discourse.nodered.org/t/monaco-editor-error-question/48866 "2021-07-25T05:21:20Z")

</div>

I have a function that has code let z = msg.humidity msghumidity = { payload: 'RH% ' + z, } let w = msg.payload; w = Number(w); let f = (w \* 1.8) + 32; let num = f; let n = num.toFixed(2); msgtempf = { payload:…

---

## [Debug popout - does this already exist?](https://discourse.nodered.org/t/debug-popout-does-this-already-exist/48802)

<div class="topic-metadata">

**Author:** [@mdkrieg](https://discourse.nodered.org/u/mdkrieg)\
**Replies:** 7\
**Last updated:** [24 July 2021 23:54 UTC](https://discourse.nodered.org/t/debug-popout-does-this-already-exist/48802 "2021-07-24T23:54:38Z")

</div>

I was browsing the Share Your Nodes forum today and came across this thread: Flogger - the advanced logging node! - and this post piqued my interest. I'm not so interested in logging my debugs to files, but having a se…

---

## [How to use themes with Monaco editor](https://discourse.nodered.org/t/how-to-use-themes-with-monaco-editor/48310)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 9\
**Last updated:** [24 July 2021 23:51 UTC](https://discourse.nodered.org/t/how-to-use-themes-with-monaco-editor/48310 "2021-07-24T23:51:28Z")

</div>

With the Monaco editor available as part of Node-RED 2.0.0-beta.2 is there a set of instructions for activating a theme and installing new themes?

---

## [Mqtt broker disconnect](https://discourse.nodered.org/t/mqtt-broker-disconnect/48845)

<div class="topic-metadata">

**Author:** [@aminzargarian](https://discourse.nodered.org/u/aminzargarian)\
**Replies:** 6\
**Last updated:** [24 July 2021 22:25 UTC](https://discourse.nodered.org/t/mqtt-broker-disconnect/48845 "2021-07-24T22:25:24Z")

</div>

Hi I connected and controlled the esp 8266 house keys and curtain keys For the first month, there was no problem between the esp and the NODE RED , but after a month, every two days, the esp is disconnected via mqtt wi…

---

## [Help to reduce these two nodes please (appending time to payload)](https://discourse.nodered.org/t/help-to-reduce-these-two-nodes-please-appending-time-to-payload/48856)

<div class="topic-metadata">

**Author:** [@877](https://discourse.nodered.org/u/877)\
**Replies:** 4\
**Last updated:** [24 July 2021 19:48 UTC](https://discourse.nodered.org/t/help-to-reduce-these-two-nodes-please-appending-time-to-payload/48856 "2021-07-24T19:48:44Z")

</div>

Hi all, I feel I am getting the syntax wrong when trying to combine these two nodes into one function node. The first node sets the payload to JSON $moment().tz("Europe/London").format("ddd DD/MM/YYYY HH:mm:ss") The s…

---

## [Display sensor data to Grove LCD RGB (I2C-1)](https://discourse.nodered.org/t/display-sensor-data-to-grove-lcd-rgb-i2c-1/48853)

<div class="topic-metadata">

**Author:** [@Terpstra](https://discourse.nodered.org/u/Terpstra)\
**Replies:** 2\
**Last updated:** [24 July 2021 17:53 UTC](https://discourse.nodered.org/t/display-sensor-data-to-grove-lcd-rgb-i2c-1/48853 "2021-07-24T17:53:42Z")

</div>

I am trying to get a sensor value on the "grove lcdrgb output" GrovePi LcdRGB Output Node Sends data to GrovePi LcdRGB I2C-Device. I have used a Inject node for text and RGB to set the color, this is working perfect {…

---

## [Who killed Alexa?! - "Authentication failed: "no body""](https://discourse.nodered.org/t/who-killed-alexa-authentication-failed-no-body/46667)

<div class="topic-metadata">

**Author:** [@RonMa](https://discourse.nodered.org/u/RonMa)\
**Replies:** 12\
**Last updated:** [5 June 2021 20:19 UTC](https://discourse.nodered.org/t/who-killed-alexa-authentication-failed-no-body/46667 "2021-06-05T20:19:07Z")

</div>

Hi guys, since few days my Alexa event node temporarily stopped working stating the following error message: "Authentication failed: "no body"" Usually it helped to either restart all flows or, as a last resort, resta…

---

## [Using Node-RED to automate Amazon purchases](https://discourse.nodered.org/t/using-node-red-to-automate-amazon-purchases/48804)

<div class="topic-metadata">

**Author:** [@benflux](https://discourse.nodered.org/u/benflux)\
**Replies:** 5\
**Last updated:** [24 July 2021 13:58 UTC](https://discourse.nodered.org/t/using-node-red-to-automate-amazon-purchases/48804 "2021-07-24T13:58:32Z")

</div>

Has anyone played with this? Is it possible? Perhaps just adding to the cart is OK? Scenario: My motion sensor reports its battery is at 20% =\> add CR2 battery to Amazon cart :slight\_smile:

---

## [How to get txt to the grove lcdrgb output](https://discourse.nodered.org/t/how-to-get-txt-to-the-grove-lcdrgb-output/18035)

<div class="topic-metadata">

**Author:** [@bmeester](https://discourse.nodered.org/u/bmeester)\
**Replies:** 12\
**Last updated:** [24 July 2021 11:58 UTC](https://discourse.nodered.org/t/how-to-get-txt-to-the-grove-lcdrgb-output/18035 "2021-07-24T11:58:59Z")

</div>

I am trying to get a sensor value or any value displayed on the "grove lcdrgb output" I get the following error in my terminal "LCD-RGB Invalid text: undefined

---

## [Node-red-contrib-rfxcom not working under nodered2](https://discourse.nodered.org/t/node-red-contrib-rfxcom-not-working-under-nodered2/48809)

<div class="topic-metadata">

**Author:** [@pensionado](https://discourse.nodered.org/u/pensionado)\
**Replies:** 5\
**Last updated:** [24 July 2021 08:46 UTC](https://discourse.nodered.org/t/node-red-contrib-rfxcom-not-working-under-nodered2/48809 "2021-07-24T08:46:09Z")

</div>

After upgrading my nodered image to the latest version I ended up with nodered 2.0.1 and my flow using rfxcom was no longer working. Looking in the logs I see the following: "" Jul 22 13:59:13 dirksehome3 docker/nodere…

---

## [\# node-red command gives a error](https://discourse.nodered.org/t/node-red-command-gives-a-error/48825)

<div class="topic-metadata">

**Author:** [@vikozo](https://discourse.nodered.org/u/vikozo)\
**Replies:** 9\
**Last updated:** [24 July 2021 08:37 UTC](https://discourse.nodered.org/t/node-red-command-gives-a-error/48825 "2021-07-24T08:37:36Z")

</div>

Hello when i do enter the command node-red - i got a error at the end. but i can access it over gui and add Node and it seems to work. So how to remove the error? # node-red 23 Jul 20:12:04 - \[info\] Willkommen bei N…

---

## ["TypeError: Cannot read property 'startsWith' of undefined"](https://discourse.nodered.org/t/typeerror-cannot-read-property-startswith-of-undefined/46212)

<div class="topic-metadata">

**Author:** [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Replies:** 10\
**Last updated:** [24 July 2021 07:57 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-property-startswith-of-undefined/46212 "2021-07-24T07:57:26Z")

</div>

I have a funtion node with many functions in it. On one function I get the following error message: "TypeError: Cannot read property 'startsWith' of undefined" What causes this message. Any help appreciated

---

## [Flow screen shot](https://discourse.nodered.org/t/flow-screen-shot/48833)

<div class="topic-metadata">

**Author:** [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Replies:** 5\
**Last updated:** [24 July 2021 07:09 UTC](https://discourse.nodered.org/t/flow-screen-shot/48833 "2021-07-24T07:09:27Z")

</div>

HI, Is there a way to take a screen shot (or lack of description) and make a png or pdf that can be legible? As screen print or the likes can not do it on large flows. Edit: Yes it is a bit of spaghetti code

---

## [Download file in local network](https://discourse.nodered.org/t/download-file-in-local-network/48801)

<div class="topic-metadata">

**Author:** [@chihiep11](https://discourse.nodered.org/u/chihiep11)\
**Replies:** 2\
**Last updated:** [24 July 2021 07:04 UTC](https://discourse.nodered.org/t/download-file-in-local-network/48801 "2021-07-24T07:04:35Z")

</div>

The title says it all. it's only downloading from the local device but other device in network can't download. On window, i shared folder with full controlling. i'm newbie.Help me.Thanks \[{"id":"4a71705a.a2948","type":"…

---

## [Simple web scrape help needed](https://discourse.nodered.org/t/simple-web-scrape-help-needed/48675)

<div class="topic-metadata">

**Author:** [@m\_elias](https://discourse.nodered.org/u/m_elias)\
**Replies:** 11\
**Last updated:** [24 July 2021 06:46 UTC](https://discourse.nodered.org/t/simple-web-scrape-help-needed/48675 "2021-07-24T06:46:28Z")

</div>

I can retrieve the web page (confirmed via debug node) but I'm not smart enough to understand what to put in my html node's selector field to scrape the "state=" value from my digital loggers web power switch. Here's a s…

---

## [Selenium python file cannot be executed in nodered](https://discourse.nodered.org/t/selenium-python-file-cannot-be-executed-in-nodered/48694)

<div class="topic-metadata">

**Author:** [@Athurian](https://discourse.nodered.org/u/Athurian)\
**Replies:** 10\
**Last updated:** [24 July 2021 05:25 UTC](https://discourse.nodered.org/t/selenium-python-file-cannot-be-executed-in-nodered/48694 "2021-07-24T05:25:19Z")

</div>

I created a python file to automatically press a button on a specific webpage by a message. The sequence is as follows. raspberry pi 4b sudo pip3 install selenium, sudo pip install selenium sudo apt-get install chrom…

---

## [Removing Duplicates from Array](https://discourse.nodered.org/t/removing-duplicates-from-array/48522)

<div class="topic-metadata">

**Author:** [@sheminasalam](https://discourse.nodered.org/u/sheminasalam)\
**Replies:** 14\
**Last updated:** [24 July 2021 05:12 UTC](https://discourse.nodered.org/t/removing-duplicates-from-array/48522 "2021-07-24T05:12:53Z")

</div>

I am getting array of objects every 10 minutes as data. In the very first minute the data looks like this. \[ {"centre\_id":"1111", "name": "A123", "age": "18"}, {"centre\_id":"2222", "name": "B123", "age": "18"}, {…

---

## [Confused by all the options to send notifications to a phone](https://discourse.nodered.org/t/confused-by-all-the-options-to-send-notifications-to-a-phone/48827)

<div class="topic-metadata">

**Author:** [@Matt.L](https://discourse.nodered.org/u/Matt.L)\
**Replies:** 11\
**Last updated:** [24 July 2021 01:00 UTC](https://discourse.nodered.org/t/confused-by-all-the-options-to-send-notifications-to-a-phone/48827 "2021-07-24T01:00:12Z")

</div>

I'd like to send some sort of message to my phone when my system senses certain conditions. I'm currently using an iPhone and I'm on TMobile. I don't want to use email since those notifications don't really get my atte…

---

## [Node red change not working with 1.3.5](https://discourse.nodered.org/t/node-red-change-not-working-with-1-3-5/48829)

<div class="topic-metadata">

**Author:** [@vikozo](https://discourse.nodered.org/u/vikozo)\
**Replies:** 1\
**Last updated:** [23 July 2021 21:58 UTC](https://discourse.nodered.org/t/node-red-change-not-working-with-1-3-5/48829 "2021-07-23T21:58:17Z")

</div>

Hello i have node Red 1.2.6 on Raspberry Pi node Red 1.3.5 on a VM with Debian 10 is this possible the name of the Node did change. As example the change node in germann change Node bearbeiten on 1.2.6 node 'chang…

---

## [Form two separate Objects from received one object](https://discourse.nodered.org/t/form-two-separate-objects-from-received-one-object/48830)

<div class="topic-metadata">

**Author:** [@mafify](https://discourse.nodered.org/u/mafify)\
**Replies:** 2\
**Last updated:** [23 July 2021 21:25 UTC](https://discourse.nodered.org/t/form-two-separate-objects-from-received-one-object/48830 "2021-07-23T21:25:19Z")

</div>

Hello, everyone. I have a question to split one Object that is received as a msg.payload on one of the nodes like the one below {Time: "2021-07-23T20:09:33.985Z", Voltage: 12.0, Current: 1.2, S: 1, Su: 0} I want to kno…

---

## [Node.js ENOENT Error](https://discourse.nodered.org/t/node-js-enoent-error/48567)

<div class="topic-metadata">

**Author:** [@WeeSeong](https://discourse.nodered.org/u/WeeSeong)\
**Replies:** 24\
**Last updated:** [23 July 2021 16:24 UTC](https://discourse.nodered.org/t/node-js-enoent-error/48567 "2021-07-23T16:24:08Z")

</div>

Hi, I was working on downgrading the node.js version and after all that i came across this error. C:\\Users\\weeseong.hew\>npm install node-red-contrib-modbus npm ERR! code ENOENT npm ERR! syscall spawn C:\\Program Filed\\gi…

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

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