# General

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

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

**Page:** 831

---

## [Can I use different port for websocket comms](https://discourse.nodered.org/t/can-i-use-different-port-for-websocket-comms/17445)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 5\
**Last updated:** [4 November 2019 16:48 UTC](https://discourse.nodered.org/t/can-i-use-different-port-for-websocket-comms/17445 "2019-11-04T16:48:35Z")

</div>

You know the phrase - there's no such thing as a stupid question.... I know how to spell websickets but that's about as far as it goes but I've managed to get a Scratch extension to connect to a websocket listener (if t…

---

## [OIDC User is undefined](https://discourse.nodered.org/t/oidc-user-is-undefined/17491)

<div class="topic-metadata">

**Author:** [@Benjy](https://discourse.nodered.org/u/Benjy)\
**Replies:** 0\
**Last updated:** [4 November 2019 16:42 UTC](https://discourse.nodered.org/t/oidc-user-is-undefined/17491 "2019-11-04T16:42:15Z")

</div>

Hi guys, i just have a problem with my application. We use OIDC with JWT for Login to our application and start node-red as embedded server. When i try to access node-red, it is possible but the login will not be used…

---

## [How to update / upgrade on Windows](https://discourse.nodered.org/t/how-to-update-upgrade-on-windows/16111)

<div class="topic-metadata">

**Author:** [@fortin14](https://discourse.nodered.org/u/fortin14)\
**Replies:** 14\
**Last updated:** [4 November 2019 15:52 UTC](https://discourse.nodered.org/t/how-to-update-upgrade-on-windows/16111 "2019-11-04T15:52:42Z")

</div>

What are the steps to update or upgrade Node-Red on Windows?

---

## [Gathering results and placing in an array](https://discourse.nodered.org/t/gathering-results-and-placing-in-an-array/17452)

<div class="topic-metadata">

**Author:** [@redlop](https://discourse.nodered.org/u/redlop)\
**Replies:** 4\
**Last updated:** [4 November 2019 15:33 UTC](https://discourse.nodered.org/t/gathering-results-and-placing-in-an-array/17452 "2019-11-04T15:33:56Z")

</div>

Hi, im working on a project that scans the wifi networks nearby with rssi values and I need to print it after scanning. Im using an esp8266 nodemcu. I'm also using node-red and printing it via mqtt using mosquitto. My pr…

---

## [Referencing node.name from nodes other than function?](https://discourse.nodered.org/t/referencing-node-name-from-nodes-other-than-function/17469)

<div class="topic-metadata">

**Author:** [@yamlCase](https://discourse.nodered.org/u/yamlCase)\
**Replies:** 2\
**Last updated:** [4 November 2019 11:20 UTC](https://discourse.nodered.org/t/referencing-node-name-from-nodes-other-than-function/17469 "2019-11-04T11:20:28Z")

</div>

What nodes can I reference my node name from? I know we can use ${node.name} in a function, but are there other nodes that we can maybe use string interpolation to get access to the node's name? The change node is what…

---

## [Combining two outputs of different datatypes to form a conditional statement](https://discourse.nodered.org/t/combining-two-outputs-of-different-datatypes-to-form-a-conditional-statement/17124)

<div class="topic-metadata">

**Author:** [@primat11](https://discourse.nodered.org/u/primat11)\
**Replies:** 6\
**Last updated:** [4 November 2019 10:11 UTC](https://discourse.nodered.org/t/combining-two-outputs-of-different-datatypes-to-form-a-conditional-statement/17124 "2019-11-04T10:11:13Z")

</div>

Hello everyone, I have been posting a lot of beginner questions lately as I have been trying to explore some new functionalitites and develop a better understanding. Here begins my new problem: "1. I have a MQTT listen…

---

## [Function" particle-function: in Rule engine](https://discourse.nodered.org/t/function-particle-function-in-rule-engine/17470)

<div class="topic-metadata">

**Author:** [@NODE777](https://discourse.nodered.org/u/NODE777)\
**Replies:** 0\
**Last updated:** [4 November 2019 03:51 UTC](https://discourse.nodered.org/t/function-particle-function-in-rule-engine/17470 "2019-11-04T03:51:31Z")

</div>

Hi, I'm new at Node-Red and also at Rule engine. I got a particle function implemented on Photon device code. I verified the correct function operation using particle console. Apparently the issue I have is setting t…

---

## [MQTT retain option](https://discourse.nodered.org/t/mqtt-retain-option/17291)

<div class="topic-metadata">

**Author:** [@mbc99](https://discourse.nodered.org/u/mbc99)\
**Replies:** 22\
**Last updated:** [4 November 2019 01:02 UTC](https://discourse.nodered.org/t/mqtt-retain-option/17291 "2019-11-04T01:02:23Z")

</div>

So if I understand correctly if I set the retain option to true on and MQTT node each time a client subscribes to a topic the server should send the last retained value. If this is correct I'm doing something wrong. Bec…

---

## [How to automate drop-down menu selection using Selenium?](https://discourse.nodered.org/t/how-to-automate-drop-down-menu-selection-using-selenium/17372)

<div class="topic-metadata">

**Author:** [@gv\_gv](https://discourse.nodered.org/u/gv_gv)\
**Replies:** 9\
**Last updated:** [3 November 2019 21:36 UTC](https://discourse.nodered.org/t/how-to-automate-drop-down-menu-selection-using-selenium/17372 "2019-11-03T21:36:48Z")

</div>

Hello, I am trying to make a flow to reach a website, enter user name and password, select an option from a drop down menu and then download the displayed table using selenium palletes. I am not a programmer so know ve…

---

## [Interaction between devices using node-red](https://discourse.nodered.org/t/interaction-between-devices-using-node-red/17450)

<div class="topic-metadata">

**Author:** [@realsammcphail](https://discourse.nodered.org/u/realsammcphail)\
**Replies:** 16\
**Last updated:** [3 November 2019 18:36 UTC](https://discourse.nodered.org/t/interaction-between-devices-using-node-red/17450 "2019-11-03T18:36:46Z")

</div>

I have a raspberry pi 3 A+ and pi zero w both with node red. I am trying to setup a button on the Pi Zero Z W and an LED on the Pi 3 A+ so that when the button on the zero is pressed, it will trigger the LED to turn on. …

---

## [Automate Flow Backup](https://discourse.nodered.org/t/automate-flow-backup/3718)

<div class="topic-metadata">

**Author:** [@ryanjohnson00](https://discourse.nodered.org/u/ryanjohnson00)\
**Replies:** 8\
**Last updated:** [3 November 2019 14:26 UTC](https://discourse.nodered.org/t/automate-flow-backup/3718 "2019-11-03T14:26:12Z")

</div>

Is there a way to automate the flow backup? I see we can export all flows but it would be good to have a nightly process to back this up. Something we can schedule in a cron using CLI or even better, create a backup fl…

---

## [How can I change the value in the function node with a numeric node](https://discourse.nodered.org/t/how-can-i-change-the-value-in-the-function-node-with-a-numeric-node/17453)

<div class="topic-metadata">

**Author:** [@sioenl](https://discourse.nodered.org/u/sioenl)\
**Replies:** 1\
**Last updated:** [3 November 2019 06:38 UTC](https://discourse.nodered.org/t/how-can-i-change-the-value-in-the-function-node-with-a-numeric-node/17453 "2019-11-03T06:38:04Z")

</div>

i want to change the value with a numeric that is in the fuction node see here. if (msg.max\> 23) {example from 0 to 30 with my numeric on my dashboard example number 23, otherwise I have to enter manually to another num…

---

## [Start a flow in a variable time](https://discourse.nodered.org/t/start-a-flow-in-a-variable-time/17373)

<div class="topic-metadata">

**Author:** [@Smarty](https://discourse.nodered.org/u/Smarty)\
**Replies:** 33\
**Last updated:** [3 November 2019 01:07 UTC](https://discourse.nodered.org/t/start-a-flow-in-a-variable-time/17373 "2019-11-03T01:07:40Z")

</div>

How can I start a flow by a specific time? I have a created a time-variable (msg.payload). Now I ask myself how can I start the flow at this variable time?

---

## [Use object data in a string](https://discourse.nodered.org/t/use-object-data-in-a-string/17447)

<div class="topic-metadata">

**Author:** [@solubleinair](https://discourse.nodered.org/u/solubleinair)\
**Replies:** 5\
**Last updated:** [2 November 2019 23:50 UTC](https://discourse.nodered.org/t/use-object-data-in-a-string/17447 "2019-11-02T23:50:14Z")

</div>

Hi, I'm trying to connect google assistant with onkyo amp. I'm getting resonse from homeassistant node which looks like this: msg.payload : Object object on: false volume: 10 The onkyo controller node needs to get…

---

## [Install on RPi replaced nodejs with older version](https://discourse.nodered.org/t/install-on-rpi-replaced-nodejs-with-older-version/17434)

<div class="topic-metadata">

**Author:** [@dagius](https://discourse.nodered.org/u/dagius)\
**Replies:** 5\
**Last updated:** [2 November 2019 17:45 UTC](https://discourse.nodered.org/t/install-on-rpi-replaced-nodejs-with-older-version/17434 "2019-11-02T17:45:58Z")

</div>

Hello, I just installed Node-RED on my Raspberry Pi 4, using your recommended batch command, which said it would only update nodejs if the version was less than 8. I had just built the latest Github 12.13.0 version, but…

---

## [Using a button to trigger an LED Question](https://discourse.nodered.org/t/using-a-button-to-trigger-an-led-question/17437)

<div class="topic-metadata">

**Author:** [@spen0203](https://discourse.nodered.org/u/spen0203)\
**Replies:** 7\
**Last updated:** [2 November 2019 16:10 UTC](https://discourse.nodered.org/t/using-a-button-to-trigger-an-led-question/17437 "2019-11-02T16:10:22Z")

</div>

Hey guys im learning node-red and made a flow that is supposed to allow me to click a button on pin 0 of my arduino and trigger a function that changes between 1 and 0 for an led on pin 11. This flow works correctly whe…

---

## [How to extract individual rows from a table on a web-page using selenium?](https://discourse.nodered.org/t/how-to-extract-individual-rows-from-a-table-on-a-web-page-using-selenium/17439)

<div class="topic-metadata">

**Author:** [@gv\_gv](https://discourse.nodered.org/u/gv_gv)\
**Replies:** 0\
**Last updated:** [2 November 2019 16:04 UTC](https://discourse.nodered.org/t/how-to-extract-individual-rows-from-a-table-on-a-web-page-using-selenium/17439 "2019-11-02T16:04:25Z")

</div>

Hi, So basically i need to extract a table from a web-page and save it into a database. To achieve that, i am trying to use 'get attribute' node of selenium where i am extracting 'innerText' of individual row using get…

---

## [Take action when nest kicks on/off heat?](https://discourse.nodered.org/t/take-action-when-nest-kicks-on-off-heat/17425)

<div class="topic-metadata">

**Author:** [@bluenote73](https://discourse.nodered.org/u/bluenote73)\
**Replies:** 1\
**Last updated:** [2 November 2019 10:36 UTC](https://discourse.nodered.org/t/take-action-when-nest-kicks-on-off-heat/17425 "2019-11-02T10:36:11Z")

</div>

Hey folks I'd like to monitor nest so I can take actions on heating turning on, and heating turning off. Is that possible? I used to do this with stringify, including checking the outside temperature to decide what ac…

---

## [Raspberry GPIO PWM Frequency wrong?](https://discourse.nodered.org/t/raspberry-gpio-pwm-frequency-wrong/3474)

<div class="topic-metadata">

**Author:** [@Gummix](https://discourse.nodered.org/u/Gummix)\
**Replies:** 15\
**Last updated:** [2 November 2019 08:57 UTC](https://discourse.nodered.org/t/raspberry-gpio-pwm-frequency-wrong/3474 "2019-11-02T08:57:45Z")

</div>

Hi, When i set the PWM Frequency at the GPIO Node to 25khz Why i just get 5,68kHz at the oscilloscope?

---

## [Join the Data coming from different sources into one Single Object to push to MongoDB](https://discourse.nodered.org/t/join-the-data-coming-from-different-sources-into-one-single-object-to-push-to-mongodb/17427)

<div class="topic-metadata">

**Author:** [@M-M-Labhe](https://discourse.nodered.org/u/M-M-Labhe)\
**Replies:** 1\
**Last updated:** [2 November 2019 07:04 UTC](https://discourse.nodered.org/t/join-the-data-coming-from-different-sources-into-one-single-object-to-push-to-mongodb/17427 "2019-11-02T07:04:54Z")

</div>

Good Morning, I have a array of numbers coming from a device. I have an array of Objects coming from a HTTP request as a response and I want to merge these two data into a single object and Append the timestamp with …

---

## [Connect to ubnt with exec](https://discourse.nodered.org/t/connect-to-ubnt-with-exec/17422)

<div class="topic-metadata">

**Author:** [@pooyatavan](https://discourse.nodered.org/u/pooyatavan)\
**Replies:** 3\
**Last updated:** [1 November 2019 19:10 UTC](https://discourse.nodered.org/t/connect-to-ubnt-with-exec/17422 "2019-11-01T19:10:21Z")

</div>

hi, how can i connect to ubnt or any device in network that working with ssh or ... n exec ? i mean how to connect and how to put command ?

---

## [Sort msg.payload Arrays into sections](https://discourse.nodered.org/t/sort-msg-payload-arrays-into-sections/17418)

<div class="topic-metadata">

**Author:** [@Navybrandon](https://discourse.nodered.org/u/Navybrandon)\
**Replies:** 62\
**Last updated:** [2 November 2019 02:39 UTC](https://discourse.nodered.org/t/sort-msg-payload-arrays-into-sections/17418 "2019-11-02T02:39:54Z")

</div>

Hello Everyone, Thanks in advance for everyone that helps here! Issue: I have msg.payload1.value.values that has over 100 arrays. I am wondering how to I output the data in sections like node red does? See pic below. M…

---

## [Node-RED crashing at startup due to bad flow context (reproducible)](https://discourse.nodered.org/t/node-red-crashing-at-startup-due-to-bad-flow-context-reproducible/17366)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 2\
**Last updated:** [1 November 2019 21:24 UTC](https://discourse.nodered.org/t/node-red-crashing-at-startup-due-to-bad-flow-context-reproducible/17366 "2019-11-01T21:24:56Z")

</div>

Environment MacOS 10.13.6 Node-RED version: v1.0.2 Node.js version: v10.15.3 Dashboard version 2.17.1 Issue Node-red is crashing at startup Pauls-mini-4:~ Paul$ node-red 31 Oct 08:47:54 - \[info\] Welcome to Node-R…

---

## [How to read temperature using thermocouple](https://discourse.nodered.org/t/how-to-read-temperature-using-thermocouple/17306)

<div class="topic-metadata">

**Author:** [@madihatunn](https://discourse.nodered.org/u/madihatunn)\
**Replies:** 2\
**Last updated:** [1 November 2019 21:20 UTC](https://discourse.nodered.org/t/how-to-read-temperature-using-thermocouple/17306 "2019-11-01T21:20:20Z")

</div>

Hallo, i want ask something. how to read temperature from thermocouple 4-20mA? i use modbus rtu protocol to this. output value from sensor in node red like the picture in bellow. how to fix it? thanks before guys

---

## [Array of filenames to file node](https://discourse.nodered.org/t/array-of-filenames-to-file-node/17421)

<div class="topic-metadata">

**Author:** [@Andres](https://discourse.nodered.org/u/Andres)\
**Replies:** 6\
**Last updated:** [1 November 2019 17:58 UTC](https://discourse.nodered.org/t/array-of-filenames-to-file-node/17421 "2019-11-01T17:58:06Z")

</div>

Hi everyone, i'm running NR in v0.19.2 (this happen to me also with newer versions) when i run this code: https://pastebin.com/qXgxMHcD it only brings the last file, why is this? the first debug node shows all the data…

---

## [Data from dropdownlist to set value in SNMP-set](https://discourse.nodered.org/t/data-from-dropdownlist-to-set-value-in-snmp-set/15823)

<div class="topic-metadata">

**Author:** [@kresten88](https://discourse.nodered.org/u/kresten88)\
**Replies:** 2\
**Last updated:** [1 November 2019 17:43 UTC](https://discourse.nodered.org/t/data-from-dropdownlist-to-set-value-in-snmp-set/15823 "2019-11-01T17:43:43Z")

</div>

In Node-red I would like to use e.g. the values from a dropdown list to send to an SNMP-set command. As I understand the snmp-set node uses msg.varbinds to get its data. But how do I refer to the value coming from the dr…

---

## [Same record is inserting twice](https://discourse.nodered.org/t/same-record-is-inserting-twice/16590)

<div class="topic-metadata">

**Author:** [@Ramya](https://discourse.nodered.org/u/Ramya)\
**Replies:** 9\
**Last updated:** [1 November 2019 17:16 UTC](https://discourse.nodered.org/t/same-record-is-inserting-twice/16590 "2019-11-01T17:16:16Z")

</div>

Hi All, I am attaching the flow below ,where here using 2 moment nodes(node-red-contrib-moment) in the same flow, and I am facing the issue second moment node and insert function is printing twice in the debug console …

---

## [{Problem}Bigtimer](https://discourse.nodered.org/t/problem-bigtimer/16863)

<div class="topic-metadata">

**Author:** [@Michelelac](https://discourse.nodered.org/u/Michelelac)\
**Replies:** 37\
**Last updated:** [1 November 2019 13:57 UTC](https://discourse.nodered.org/t/problem-bigtimer/16863 "2019-11-01T13:57:44Z")

</div>

Hi everyone, I am recently using node-red and therefore I am very inexperienced with this type of programming. I have created a project that consists in switching on a relay thanks to node-red and now I should visualize …

---

## [Http Response node error and same record is inserting and updating twice](https://discourse.nodered.org/t/http-response-node-error-and-same-record-is-inserting-and-updating-twice/17411)

<div class="topic-metadata">

**Author:** [@Ramya](https://discourse.nodered.org/u/Ramya)\
**Replies:** 3\
**Last updated:** [1 November 2019 13:46 UTC](https://discourse.nodered.org/t/http-response-node-error-and-same-record-is-inserting-and-updating-twice/17411 "2019-11-01T13:46:39Z")

</div>

Hi All, I am attaching the flow below ,where here using 2 moment nodes(node-red-contrib-moment) in the same flow, and problem is second moment node and insert function and update query is printing twice in the debug co…

---

## [Mikrotik monitoring problems](https://discourse.nodered.org/t/mikrotik-monitoring-problems/17403)

<div class="topic-metadata">

**Author:** [@pooyatavan](https://discourse.nodered.org/u/pooyatavan)\
**Replies:** 2\
**Last updated:** [1 November 2019 11:38 UTC](https://discourse.nodered.org/t/mikrotik-monitoring-problems/17403 "2019-11-01T11:38:37Z")

</div>

hi everyone, i try to make a network monitoring system for mikrotik with node-red and i have two problem right now. as you can see in this screenshot i create a system for gathering info from string and show it all data…

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

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