# General

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

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

**Page:** 790

---

## [Find error origin from node-red log](https://discourse.nodered.org/t/find-error-origin-from-node-red-log/22011)

<div class="topic-metadata">

**Author:** [@kaless](https://discourse.nodered.org/u/kaless)\
**Replies:** 4\
**Last updated:** [27 February 2020 15:21 UTC](https://discourse.nodered.org/t/find-error-origin-from-node-red-log/22011 "2020-02-27T15:21:00Z")

</div>

Hello, My node-red server display regularly the following info: 20 Feb 13:36:51 - \[info\] \[exec:e6ac59f1.d21818\] error:Error: Command failed: nc -w 2 -zv 192.168.193.1 22 nc: connect to 192.168.193.1 port 22 (tcp) tim…

---

## [Get the data from running linux app in real time](https://discourse.nodered.org/t/get-the-data-from-running-linux-app-in-real-time/22206)

<div class="topic-metadata">

**Author:** [@XiaoBin](https://discourse.nodered.org/u/XiaoBin)\
**Replies:** 8\
**Last updated:** [27 February 2020 15:12 UTC](https://discourse.nodered.org/t/get-the-data-from-running-linux-app-in-real-time/22206 "2020-02-27T15:12:26Z")

</div>

Hello all I am going to get the data on node-red from running app. The source code I am running is as following. while(1){ status = bscXfer(&xfer); if(xfer.rxCnt \> 0 && status \> 0) { cout \<\< "Received " \<\< xfer.rxC…

---

## [How to update Node-RED?](https://discourse.nodered.org/t/how-to-update-node-red/22326)

<div class="topic-metadata">

**Author:** [@dcaccount](https://discourse.nodered.org/u/dcaccount)\
**Replies:** 6\
**Last updated:** [27 February 2020 14:32 UTC](https://discourse.nodered.org/t/how-to-update-node-red/22326 "2020-02-27T14:32:31Z")

</div>

Hello, I installed Node-RED on my Raspberry using: bash \<(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) Can you please advise how Node-RED is updated, shall…

---

## [Unplanned Restart / Reboot?](https://discourse.nodered.org/t/unplanned-restart-reboot/21524)

<div class="topic-metadata">

**Author:** [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Replies:** 44\
**Last updated:** [27 February 2020 12:41 UTC](https://discourse.nodered.org/t/unplanned-restart-reboot/21524 "2020-02-27T12:41:55Z")

</div>

Hi, it seems that my Node-Red (On Raspi) is rebooting without any trigger or influence. That makes me unhappy, because it clears all chart data and history :frowning: Is there kind of a logfile showing such events and…

---

## [Variable type string with CIP Ethernet/IP](https://discourse.nodered.org/t/variable-type-string-with-cip-ethernet-ip/22240)

<div class="topic-metadata">

**Author:** [@ALeman](https://discourse.nodered.org/u/ALeman)\
**Replies:** 3\
**Last updated:** [27 February 2020 11:07 UTC](https://discourse.nodered.org/t/variable-type-string-with-cip-ethernet-ip/22240 "2020-02-27T11:07:57Z")

</div>

Hello all, Is there any news on when it will be possible to transmit string types with the CIP ethernet/ip node? It would save me a lot of time.

---

## [Storing data changed from 1.0x?](https://discourse.nodered.org/t/storing-data-changed-from-1-0x/22260)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 6\
**Last updated:** [27 February 2020 10:13 UTC](https://discourse.nodered.org/t/storing-data-changed-from-1-0x/22260 "2020-02-27T10:13:37Z")

</div>

Today i updated a 0.20 version to the newest. All went well until i started testing my script. I stored data with a point in the name "msg.client" in the past this was working but now it doesnt. is that a setting thi…

---

## [Node-red-contrib-i2c - node-red 1.02](https://discourse.nodered.org/t/node-red-contrib-i2c-node-red-1-02/17706)

<div class="topic-metadata">

**Author:** [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Replies:** 8\
**Last updated:** [27 February 2020 09:15 UTC](https://discourse.nodered.org/t/node-red-contrib-i2c-node-red-1-02/17706 "2020-02-27T09:15:59Z")

</div>

I wanted to install node-red-contrib-i2c on Node-red 1.02 on Buster with no sucess. Got a long error list. Any idea how to fix it or replace it with a working Node? Any help very much appreciated.

---

## [Bug report: trigger node not passing the correct msg object](https://discourse.nodered.org/t/bug-report-trigger-node-not-passing-the-correct-msg-object/22147)

<div class="topic-metadata">

**Author:** [@techraf](https://discourse.nodered.org/u/techraf)\
**Replies:** 25\
**Last updated:** [26 February 2020 23:09 UTC](https://discourse.nodered.org/t/bug-report-trigger-node-not-passing-the-correct-msg-object/22147 "2020-02-26T23:09:18Z")

</div>

Hi, I'm not sure where is best to post this. The trigger node set to send the latest msg object is not passing the latest msg object, but the first msg object with only the payload value replaced. Here's what it looks …

---

## [Added the Ikea dimmer to the nodes](https://discourse.nodered.org/t/added-the-ikea-dimmer-to-the-nodes/22167)

<div class="topic-metadata">

**Author:** [@dougcr4](https://discourse.nodered.org/u/dougcr4)\
**Replies:** 30\
**Last updated:** [26 February 2020 22:42 UTC](https://discourse.nodered.org/t/added-the-ikea-dimmer-to-the-nodes/22167 "2020-02-26T22:42:04Z")

</div>

As new to Red Node when finally got it all up and running and one tutorial I then added the dimmer switch node, now all's just blank with 127.0.0.1 refused to connect. Try: Checking the connection Checking the pr…

---

## [Updating settings.js](https://discourse.nodered.org/t/updating-settings-js/22298)

<div class="topic-metadata">

**Author:** [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Replies:** 4\
**Last updated:** [26 February 2020 22:28 UTC](https://discourse.nodered.org/t/updating-settings-js/22298 "2020-02-26T22:28:06Z")

</div>

I have a couple of seriously old installations of NR on machines (RPi's) that were "not broken, not fixed" but are being re-purposed and need a software refresh. Before jumping in, I would like suggestions on how best to…

---

## [RPI USB allocation](https://discourse.nodered.org/t/rpi-usb-allocation/22068)

<div class="topic-metadata">

**Author:** [@xsilvergs](https://discourse.nodered.org/u/xsilvergs)\
**Replies:** 39\
**Last updated:** [26 February 2020 22:16 UTC](https://discourse.nodered.org/t/rpi-usb-allocation/22068 "2020-02-26T22:16:06Z")

</div>

My project runs on a Raspberry Pi 3B which has two identical serial-USB Victron devises (more devices will be added in time) plugged into it. The rpi can allocate different /dev/ttyUSB\* names especially if a new device i…

---

## [Beginner help with node - Change fill color SVG Graphics](https://discourse.nodered.org/t/beginner-help-with-node-change-fill-color-svg-graphics/22258)

<div class="topic-metadata">

**Author:** [@nodebeginner](https://discourse.nodered.org/u/nodebeginner)\
**Replies:** 5\
**Last updated:** [26 February 2020 21:19 UTC](https://discourse.nodered.org/t/beginner-help-with-node-change-fill-color-svg-graphics/22258 "2020-02-26T21:19:32Z")

</div>

Node: (node-red-contrib-ui-svg) I'm just a beginner and I'm starting to toy around with Node Red and I'm running into some trouble with changing the fill color of one of my SVG images with the inject node. Tutorials onl…

---

## [Node-red-docker fails to build docker images](https://discourse.nodered.org/t/node-red-docker-fails-to-build-docker-images/22268)

<div class="topic-metadata">

**Author:** [@moolbits](https://discourse.nodered.org/u/moolbits)\
**Replies:** 2\
**Last updated:** [26 February 2020 21:14 UTC](https://discourse.nodered.org/t/node-red-docker-fails-to-build-docker-images/22268 "2020-02-26T21:14:16Z")

</div>

Currently if you clone down node-red-docker and run the docker-custom/docker-make.sh script it fails to complete with an error: rm: '/tmp/v8-compile-cache-0' is a directory The command '/bin/sh -c chown -R node-red:node…

---

## [Windows 10 install](https://discourse.nodered.org/t/windows-10-install/22223)

<div class="topic-metadata">

**Author:** [@dougcr4](https://discourse.nodered.org/u/dougcr4)\
**Replies:** 3\
**Last updated:** [26 February 2020 21:04 UTC](https://discourse.nodered.org/t/windows-10-install/22223 "2020-02-26T21:04:29Z")

</div>

on my third install now and get: 24 Feb 23:28:24 - \[info\] Welcome to Node-RED 24 Feb 23:28:24 - \[info\] Node-RED version: v1.0.3 24 Feb 23:28:24 - \[info\] Node.js version: v12.16.1 24 Feb 23:28:24 - \[info\] Windows\_NT …

---

## [Html post to msg.payload](https://discourse.nodered.org/t/html-post-to-msg-payload/22304)

<div class="topic-metadata">

**Author:** [@Fredje](https://discourse.nodered.org/u/Fredje)\
**Replies:** 1\
**Last updated:** [26 February 2020 20:50 UTC](https://discourse.nodered.org/t/html-post-to-msg-payload/22304 "2020-02-26T20:50:51Z")

</div>

I can send through my smartphone a html POST to node red to a .msg payload, it's the number 38 in the attachement, With which function can i make a msg.payload true if the number is 38, and the msg.payload false if it i…

---

## [Is payload required by design or is it a bug?](https://discourse.nodered.org/t/is-payload-required-by-design-or-is-it-a-bug/22300)

<div class="topic-metadata">

**Author:** [@techraf](https://discourse.nodered.org/u/techraf)\
**Replies:** 5\
**Last updated:** [26 February 2020 19:29 UTC](https://discourse.nodered.org/t/is-payload-required-by-design-or-is-it-a-bug/22300 "2020-02-26T19:29:58Z")

</div>

The docs say: Messages usually have a payload property - this is the default property that most nodes will work with. What about nodes that don't work with payload, but just pass the message? Is payload property r…

---

## [Getting started with uibuilder: default page doesn't work](https://discourse.nodered.org/t/getting-started-with-uibuilder-default-page-doesnt-work/22252)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 3\
**Last updated:** [26 February 2020 18:19 UTC](https://discourse.nodered.org/t/getting-started-with-uibuilder-default-page-doesnt-work/22252 "2020-02-26T18:19:56Z")

</div>

I'm really interested in uibuilder because I've hit on limitations with the UI Template node in Dashboard, either that or I'm not quite imaginative or skilled enough to find solutions to some of the problems surrounding …

---

## [Windows 10 users](https://discourse.nodered.org/t/windows-10-users/22222)

<div class="topic-metadata">

**Author:** [@dougcr4](https://discourse.nodered.org/u/dougcr4)\
**Replies:** 3\
**Last updated:** [26 February 2020 18:13 UTC](https://discourse.nodered.org/t/windows-10-users/22222 "2020-02-26T18:13:14Z")

</div>

What is the guestimated percent of window 10 users for this software,

---

## [Nodered communication and logo 8 siemens](https://discourse.nodered.org/t/nodered-communication-and-logo-8-siemens/22213)

<div class="topic-metadata">

**Author:** [@Fredje](https://discourse.nodered.org/u/Fredje)\
**Replies:** 4\
**Last updated:** [26 February 2020 17:47 UTC](https://discourse.nodered.org/t/nodered-communication-and-logo-8-siemens/22213 "2020-02-26T17:47:31Z")

</div>

Hello everybody, I am new to node red and my situation is: a voice command through thé app TASKER to node red, through HTTP post, to close an exit contact on logo 8 Siemens, and when i say the voice command again, the e…

---

## [MongoDB functions](https://discourse.nodered.org/t/mongodb-functions/20994)

<div class="topic-metadata">

**Author:** [@LTDS](https://discourse.nodered.org/u/LTDS)\
**Replies:** 1\
**Last updated:** [26 February 2020 17:15 UTC](https://discourse.nodered.org/t/mongodb-functions/20994 "2020-02-26T17:15:44Z")

</div>

Hi there ! I'm trying to use the MongoDB to save some data on my setup. But I can't find any information or tutorial about how to formulate the functions... Where can I find such information ? Thanks ! Nico

---

## [Is there a simple way to generate a custom node from .js file](https://discourse.nodered.org/t/is-there-a-simple-way-to-generate-a-custom-node-from-js-file/22096)

<div class="topic-metadata">

**Author:** [@josekavunkal](https://discourse.nodered.org/u/josekavunkal)\
**Replies:** 23\
**Last updated:** [26 February 2020 14:27 UTC](https://discourse.nodered.org/t/is-there-a-simple-way-to-generate-a-custom-node-from-js-file/22096 "2020-02-26T14:27:17Z")

</div>

Is there a simple way to generate a custom node from .js file. I tried node-red-nodegen in vain .getting following error. Error: TypeError: Cannot read property 'match' of undefined My plan is to have a library of nod…

---

## [Using node-red-node-email with local mail server](https://discourse.nodered.org/t/using-node-red-node-email-with-local-mail-server/21927)

<div class="topic-metadata">

**Author:** [@tukru](https://discourse.nodered.org/u/tukru)\
**Replies:** 4\
**Last updated:** [26 February 2020 14:11 UTC](https://discourse.nodered.org/t/using-node-red-node-email-with-local-mail-server/21927 "2020-02-26T14:11:01Z")

</div>

Hi, I want to use node-red-node-email with a local mail server. First I tried with gmail and didn't had any problem but after I tried with the local server and it's returning: Unexpected socket close. What could be th…

---

## [Hpe\_invalid constant](https://discourse.nodered.org/t/hpe-invalid-constant/22255)

<div class="topic-metadata">

**Author:** [@Waynedejager](https://discourse.nodered.org/u/Waynedejager)\
**Replies:** 10\
**Last updated:** [26 February 2020 14:08 UTC](https://discourse.nodered.org/t/hpe-invalid-constant/22255 "2020-02-26T14:08:08Z")

</div>

Hi - Newbie here. ( Go Easy :wink: I have a device which runs a web browser ( ESP8266 ) with sensors collecting electricity values. The device runs a basic http Query API which can be triggered via browser and the paylo…

---

## [Mongodb dynamic access to collection - caused me problems](https://discourse.nodered.org/t/mongodb-dynamic-access-to-collection-caused-me-problems/22262)

<div class="topic-metadata">

**Author:** [@marcpouliot](https://discourse.nodered.org/u/marcpouliot)\
**Replies:** 2\
**Last updated:** [26 February 2020 14:06 UTC](https://discourse.nodered.org/t/mongodb-dynamic-access-to-collection-caused-me-problems/22262 "2020-02-26T14:06:04Z")

</div>

if the field Collection is left empty, msg.collection allowed to contain the collection for that ... .. but... I used it and it crashed my system, node-red would constantly restart.giving mongdb errors So there was no…

---

## [Node-RED startup error: TypeError: Cannot set property 'type' of undefined](https://discourse.nodered.org/t/node-red-startup-error-typeerror-cannot-set-property-type-of-undefined/22285)

<div class="topic-metadata">

**Author:** [@unixneo](https://discourse.nodered.org/u/unixneo)\
**Replies:** 2\
**Last updated:** [26 February 2020 13:24 UTC](https://discourse.nodered.org/t/node-red-startup-error-typeerror-cannot-set-property-type-of-undefined/22285 "2020-02-26T13:24:18Z")

</div>

Hi. I think I made an error in a function node, because I am now getting the error below when I start node-RED, it will not start and throws this error. 26 Feb 07:05:57 - \[red\] Uncaught Exception: 26 Feb 07:05:57 - Typ…

---

## [How to control the frequency of a message in modbus dynamically](https://discourse.nodered.org/t/how-to-control-the-frequency-of-a-message-in-modbus-dynamically/22130)

<div class="topic-metadata">

**Author:** [@smithtek](https://discourse.nodered.org/u/smithtek)\
**Replies:** 3\
**Last updated:** [26 February 2020 12:56 UTC](https://discourse.nodered.org/t/how-to-control-the-frequency-of-a-message-in-modbus-dynamically/22130 "2020-02-26T12:56:43Z")

</div>

Hi. I have searched high and low for a node that could handle this but nothing seemed to be available. Im using the Modbus getter nodes. You can control the polling frequency by injecting the input of the getter nodes …

---

## [Can't load NodeRED after installing alongside HOOBS](https://discourse.nodered.org/t/cant-load-nodered-after-installing-alongside-hoobs/22282)

<div class="topic-metadata">

**Author:** [@Fookes](https://discourse.nodered.org/u/Fookes)\
**Replies:** 6\
**Last updated:** [26 February 2020 12:52 UTC](https://discourse.nodered.org/t/cant-load-nodered-after-installing-alongside-hoobs/22282 "2020-02-26T12:52:11Z")

</div>

Hi, I'm setting up Homebridge for a chum of mine on a RPi 4. Installed HOOBS and they provide a script on their website to run via terminal and installed NodeRED alongside it. I ran that and it went as expected, includin…

---

## [Google IoT connection MQTT to Node-Red using JWT?](https://discourse.nodered.org/t/google-iot-connection-mqtt-to-node-red-using-jwt/22283)

<div class="topic-metadata">

**Author:** [@hsn548](https://discourse.nodered.org/u/hsn548)\
**Replies:** 0\
**Last updated:** [26 February 2020 11:58 UTC](https://discourse.nodered.org/t/google-iot-connection-mqtt-to-node-red-using-jwt/22283 "2020-02-26T11:58:50Z")

</div>

I am using Node-Red and trying to connect to MQTT Broker at mqtt.googleapis.com:8883 using JWT. I am able to connect via python script but i am not able to connect using Node-Red. The problem is I am using a cryptochip …

---

## [Set password for node-red on Raspberry Pi](https://discourse.nodered.org/t/set-password-for-node-red-on-raspberry-pi/22244)

<div class="topic-metadata">

**Author:** [@Belgium](https://discourse.nodered.org/u/Belgium)\
**Replies:** 2\
**Last updated:** [26 February 2020 08:33 UTC](https://discourse.nodered.org/t/set-password-for-node-red-on-raspberry-pi/22244 "2020-02-26T08:33:55Z")

</div>

Hello We recently bought a raspberry Pi 4 and we tried to set up a password for node-red. We went to settings.js but this seemed to be empty. Then we filled in this: adminAuth: { type: "credentials", users: \[ { us…

---

## [How do I provide username/password for Kerberos Authentication in JavaScript to be passed into an HTTP Request node?](https://discourse.nodered.org/t/how-do-i-provide-username-password-for-kerberos-authentication-in-javascript-to-be-passed-into-an-http-request-node/22275)

<div class="topic-metadata">

**Author:** [@zainisma](https://discourse.nodered.org/u/zainisma)\
**Replies:** 0\
**Last updated:** [26 February 2020 08:29 UTC](https://discourse.nodered.org/t/how-do-i-provide-username-password-for-kerberos-authentication-in-javascript-to-be-passed-into-an-http-request-node/22275 "2020-02-26T08:29:04Z")

</div>

Node Red version 1.0.3, node 12.16.0, npm 6.13.4. I have a problem with authentication access to retrieve data (in JSON format) from a https://webpage located in a pivision server. The authentication method used is Kerb…

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

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