# Latest

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

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

**Page:** 933

---

## [How to merge request and response data](https://discourse.nodered.org/t/how-to-merge-request-and-response-data/37545)

<div class="topic-metadata">

**Author:** [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Replies:** 3\
**Last updated:** [16 December 2020 09:36 UTC](https://discourse.nodered.org/t/how-to-merge-request-and-response-data/37545 "2020-12-16T09:36:54Z")

</div>

Hi, I do call an external rest api receiving an array of objects as response. With a function node I loop over that response filtering out some data (request parameter) I need to use to call an other rest api. The respon…

---

## [Modbus TCP Server setup](https://discourse.nodered.org/t/modbus-tcp-server-setup/12216)

<div class="topic-metadata">

**Author:** [@jlr](https://discourse.nodered.org/u/jlr)\
**Replies:** 17\
**Last updated:** [16 December 2020 09:11 UTC](https://discourse.nodered.org/t/modbus-tcp-server-setup/12216 "2020-12-16T09:11:40Z")

</div>

hello I am a newbie on node-red. I want to setup a modbus TCP SERVER on my rasp PI which would have a certain IP address and aswer to requests coming from a remote Modbus TCP client (etiher coils or holding register) I…

---

## [Msg conversion issues](https://discourse.nodered.org/t/msg-conversion-issues/37544)

<div class="topic-metadata">

**Author:** [@fogmajor](https://discourse.nodered.org/u/fogmajor)\
**Replies:** 5\
**Last updated:** [16 December 2020 07:39 UTC](https://discourse.nodered.org/t/msg-conversion-issues/37544 "2020-12-16T07:39:26Z")

</div>

Good evening I have a function node that manipulates text and outputs in the following variables. var out = {payload: \[i\] + StrIO\[i\] + Temp\[i\] }; node.send({payload:out}); I am trying to feed this value into a chang…

---

## [Node-Red's Website - flows page](https://discourse.nodered.org/t/node-reds-website-flows-page/37541)

<div class="topic-metadata">

**Author:** [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Replies:** 4\
**Last updated:** [16 December 2020 02:03 UTC](https://discourse.nodered.org/t/node-reds-website-flows-page/37541 "2020-12-16T02:03:04Z")

</div>

The flows page does not render my entire README.md file https://flows.nodered.org/node/node-red-contrib-facial-recognition it shows fine on: NPM https://www.npmjs.com/package/node-red-contrib-facial-recognition Githu…

---

## [File Browser Node in Node Red](https://discourse.nodered.org/t/file-browser-node-in-node-red/37556)

<div class="topic-metadata">

**Author:** [@raghavgurbaxani](https://discourse.nodered.org/u/raghavgurbaxani)\
**Replies:** 1\
**Last updated:** [16 December 2020 00:32 UTC](https://discourse.nodered.org/t/file-browser-node-in-node-red/37556 "2020-12-16T00:32:28Z")

</div>

Hi all I am trying to create a small app and need a file browsing node in my application. The node should be able to browse through directories on the machine and allow selection of specific files / folders. Does any on…

---

## [Return html / fa icon code in a function](https://discourse.nodered.org/t/return-html-fa-icon-code-in-a-function/37074)

<div class="topic-metadata">

**Author:** [@thomasvjohansen](https://discourse.nodered.org/u/thomasvjohansen)\
**Replies:** 46\
**Last updated:** [15 December 2020 22:56 UTC](https://discourse.nodered.org/t/return-html-fa-icon-code-in-a-function/37074 "2020-12-15T22:56:33Z")

</div>

I want to show the wind direction from openweathermap by a fa-icon but the function outputs degrees. I have a function which outputs "90" degrees. I want to convert this to a fa-icon + rotation and save it in a datacel…

---

## [Checkbox on html page](https://discourse.nodered.org/t/checkbox-on-html-page/37485)

<div class="topic-metadata">

**Author:** [@bgengine](https://discourse.nodered.org/u/bgengine)\
**Replies:** 7\
**Last updated:** [15 December 2020 21:08 UTC](https://discourse.nodered.org/t/checkbox-on-html-page/37485 "2020-12-15T21:08:39Z")

</div>

Hi, I understand there is a ready made dashboard on node red, but to start - I don't want to use this, I'd like to my own simple html page , with a checkbox. Below is my json: I can see the html loads and my checkbo…

---

## [Colorize log output using Chalk](https://discourse.nodered.org/t/colorize-log-output-using-chalk/37497)

<div class="topic-metadata">

**Author:** [@jayheavner](https://discourse.nodered.org/u/jayheavner)\
**Replies:** 13\
**Last updated:** [15 December 2020 21:04 UTC](https://discourse.nodered.org/t/colorize-log-output-using-chalk/37497 "2020-12-15T21:04:20Z")

</div>

I've added chalk npm install chalk I've added it to functionGlobalContext functionGlobalContext: { chalk: require('chalk') }, I've restarted node-red. I've added it to a function var chalk = global.get('cha…

---

## [Amazon MQ / active mqtt - MQTTS without client certificate?](https://discourse.nodered.org/t/amazon-mq-active-mqtt-mqtts-without-client-certificate/37549)

<div class="topic-metadata">

**Author:** [@ashish-y](https://discourse.nodered.org/u/ashish-y)\
**Replies:** 0\
**Last updated:** [15 December 2020 20:54 UTC](https://discourse.nodered.org/t/amazon-mq-active-mqtt-mqtts-without-client-certificate/37549 "2020-12-15T20:54:36Z")

</div>

Hi, I'm using amazon MQ as an MQTT broker with my node-red application. Amazon MQ doesn't support Client Certificate Authentication and uses credentials stored in the LDAP server for tls. Questions: What are the imp…

---

## [MQTT Payload filter?](https://discourse.nodered.org/t/mqtt-payload-filter/37457)

<div class="topic-metadata">

**Author:** [@Steinspiel](https://discourse.nodered.org/u/Steinspiel)\
**Replies:** 8\
**Last updated:** [15 December 2020 20:53 UTC](https://discourse.nodered.org/t/mqtt-payload-filter/37457 "2020-12-15T20:53:41Z")

</div>

My "mqtt in" node receives the following data as "a parsed JSON object" {"topic":"ergebnis","payload":{"00:ff:9d:4b:20:4a":-92,"1a:a8:bb:d2:10:52":-89,"42:2f:c7:89:75:07":-74,"47:73:dd:2c:e7:d0":-89,"f4:fa:fd:7b:b8:dc":…

---

## [Node-Red keeps stopping](https://discourse.nodered.org/t/node-red-keeps-stopping/37537)

<div class="topic-metadata">

**Author:** [@Control](https://discourse.nodered.org/u/Control)\
**Replies:** 4\
**Last updated:** [15 December 2020 16:58 UTC](https://discourse.nodered.org/t/node-red-keeps-stopping/37537 "2020-12-15T16:58:36Z")

</div>

Hi... I have a flow in node red that keeps stopping. I always have to open the "node.js command prompt" and run the "node-red" command because it stops at least once every 1 or 2 days. Does anyone know what could possib…

---

## [Sort node - I'm stuck!](https://discourse.nodered.org/t/sort-node-im-stuck/37530)

<div class="topic-metadata">

**Author:** [@FatPilot](https://discourse.nodered.org/u/FatPilot)\
**Replies:** 3\
**Last updated:** [15 December 2020 15:39 UTC](https://discourse.nodered.org/t/sort-node-im-stuck/37530 "2020-12-15T15:39:27Z")

</div>

Hi everyone, It's me again! Why won't this work? Using the sort node, I'm trying to sort the array on distance for presentation in a list. Thanks in advance. Cheers. Paul.

---

## [Error when installing node-red-node-serialport on windows](https://discourse.nodered.org/t/error-when-installing-node-red-node-serialport-on-windows/37532)

<div class="topic-metadata">

**Author:** [@szewen0101](https://discourse.nodered.org/u/szewen0101)\
**Replies:** 5\
**Last updated:** [15 December 2020 14:40 UTC](https://discourse.nodered.org/t/error-when-installing-node-red-node-serialport-on-windows/37532 "2020-12-15T14:40:32Z")

</div>

npm i node-red-node-serialport I am using windows to run Node Red. node --version v14.15.1 npm --version 6.14.9 The following error was thrown find VS configure error stack

---

## [Node-Red and Home Assistant Core](https://discourse.nodered.org/t/node-red-and-home-assistant-core/37534)

<div class="topic-metadata">

**Author:** [@Topolynx](https://discourse.nodered.org/u/Topolynx)\
**Replies:** 0\
**Last updated:** [15 December 2020 14:02 UTC](https://discourse.nodered.org/t/node-red-and-home-assistant-core/37534 "2020-12-15T14:02:35Z")

</div>

Hi! I would like to know if I've correctly set Node-Red to communicate with Home Assistant Core. I have seen that almost all the tutorials refer to hassio, while I've installed Home Assistant Core and Node-Red in a full…

---

## [How to play audio file in browser / on Windows PC?](https://discourse.nodered.org/t/how-to-play-audio-file-in-browser-on-windows-pc/37516)

<div class="topic-metadata">

**Author:** [@MeowMilk](https://discourse.nodered.org/u/MeowMilk)\
**Replies:** 1\
**Last updated:** [15 December 2020 13:20 UTC](https://discourse.nodered.org/t/how-to-play-audio-file-in-browser-on-windows-pc/37516 "2020-12-15T13:20:47Z")

</div>

Hello, I'm pretty new to node-red, so maybe the solution is obvious, but I can't figure it out. I was hoping to be able to trigger a sound on my computer (doesn't matter if it's in my browser or through other means) usin…

---

## [Passing text string to Sliders](https://discourse.nodered.org/t/passing-text-string-to-sliders/37525)

<div class="topic-metadata">

**Author:** [@CarloJongen](https://discourse.nodered.org/u/CarloJongen)\
**Replies:** 1\
**Last updated:** [15 December 2020 13:13 UTC](https://discourse.nodered.org/t/passing-text-string-to-sliders/37525 "2020-12-15T13:13:59Z")

</div>

Hi, My very first time here and obviously new to Node Red and this Forum. I'm reading a text file ( here simulated by the inject node ). My goal is to adjust each Channel Slider according to the Value that is accompani…

---

## [how to add user authentification to node red from a webpage that run on the same server](https://discourse.nodered.org/t/how-to-add-user-authentification-to-node-red-from-a-webpage-that-run-on-the-same-server/37526)

<div class="topic-metadata">

**Author:** [@zakaria.zouaoui](https://discourse.nodered.org/u/zakaria.zouaoui)\
**Replies:** 0\
**Last updated:** [15 December 2020 11:27 UTC](https://discourse.nodered.org/t/how-to-add-user-authentification-to-node-red-from-a-webpage-that-run-on-the-same-server/37526 "2020-12-15T11:27:41Z")

</div>

I have a server and i have node-red running on it, i know how to create user authentification by editing setting.js file but what i want to do is that i want to be able to create other users from a webpage that is runnin…

---

## [Command fails in "exec" but works in terminal](https://discourse.nodered.org/t/command-fails-in-exec-but-works-in-terminal/37316)

<div class="topic-metadata">

**Author:** [@JohnGC](https://discourse.nodered.org/u/JohnGC)\
**Replies:** 6\
**Last updated:** [15 December 2020 09:49 UTC](https://discourse.nodered.org/t/command-fails-in-exec-but-works-in-terminal/37316 "2020-12-15T09:49:29Z")

</div>

Hello, I'm new to node-red and the Raspberry Pi that I'm running it on. I have a flow that is designed to play an audio file using VLC. It worked until I needed to reinstall RPi due to a faulty SD card. I've created a …

---

## [Setting up flow for triggering lights when motion detected](https://discourse.nodered.org/t/setting-up-flow-for-triggering-lights-when-motion-detected/37342)

<div class="topic-metadata">

**Author:** [@pimmen85](https://discourse.nodered.org/u/pimmen85)\
**Replies:** 19\
**Last updated:** [15 December 2020 10:09 UTC](https://discourse.nodered.org/t/setting-up-flow-for-triggering-lights-when-motion-detected/37342 "2020-12-15T10:09:56Z")

</div>

I'm working on a flow that triggers a light when motion is detected, I got everything working except the most important part, when continuous motion is detected, the light still goes out, and later on when detecting moti…

---

## [Http request POST unauthorized](https://discourse.nodered.org/t/http-request-post-unauthorized/37476)

<div class="topic-metadata">

**Author:** [@solick](https://discourse.nodered.org/u/solick)\
**Replies:** 1\
**Last updated:** [15 December 2020 10:09 UTC](https://discourse.nodered.org/t/http-request-post-unauthorized/37476 "2020-12-15T10:09:23Z")

</div>

Hi, i have two NR instances, one hosts a HTTP IN node which awaits POST messages on a specific url (/device/xxx) and another instance where i want to send json with the http request node. The HTTP IN node is working i t…

---

## [Strange issue with a node-red flow - saving state/context working - but adding a trigger causes issues](https://discourse.nodered.org/t/strange-issue-with-a-node-red-flow-saving-state-context-working-but-adding-a-trigger-causes-issues/37499)

<div class="topic-metadata">

**Author:** [@robjones](https://discourse.nodered.org/u/robjones)\
**Replies:** 1\
**Last updated:** [15 December 2020 09:26 UTC](https://discourse.nodered.org/t/strange-issue-with-a-node-red-flow-saving-state-context-working-but-adding-a-trigger-causes-issues/37499 "2020-12-15T09:26:33Z")

</div>

I have built a flow, which in essense, flashes my philips hue lights and returns them back to the previous state, or if there turned on, they set back to white before turning off. Now if i do a timestamp to test the flo…

---

## [\[ANNOUNCE\] node-red-contrib-virtual-smart-home for Alexa](https://discourse.nodered.org/t/announce-node-red-contrib-virtual-smart-home-for-alexa/34353)

<div class="topic-metadata">

**Author:** [@lius](https://discourse.nodered.org/u/lius)\
**Replies:** 65\
**Last updated:** [15 December 2020 06:59 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-virtual-smart-home-for-alexa/34353 "2020-12-15T06:59:37Z")

</div>

Virtual Smart Home I know there are already some Alexa nodes available for Node-RED, but the ones I tried did not proof to be reliable or convenient enough. Hence I went all in and created virtual smart home, which consi…

---

## [Pulseaudio and musicplayer](https://discourse.nodered.org/t/pulseaudio-and-musicplayer/37294)

<div class="topic-metadata">

**Author:** [@Domeus](https://discourse.nodered.org/u/Domeus)\
**Replies:** 5\
**Last updated:** [15 December 2020 06:11 UTC](https://discourse.nodered.org/t/pulseaudio-and-musicplayer/37294 "2020-12-15T06:11:11Z")

</div>

Hello. I try to get a song being played by a musicplayer with console input. For audio output i use Pulseaudio to send the song to a dlna loudspeaker. For example: "cvlc /mount/music/song.mp3" This works perfect as lo…

---

## [Reading from serial. Works in sample-js file, but when running in node-red serial port gets closed](https://discourse.nodered.org/t/reading-from-serial-works-in-sample-js-file-but-when-running-in-node-red-serial-port-gets-closed/36347)

<div class="topic-metadata">

**Author:** [@JSONata](https://discourse.nodered.org/u/JSONata)\
**Replies:** 14\
**Last updated:** [15 December 2020 00:59 UTC](https://discourse.nodered.org/t/reading-from-serial-works-in-sample-js-file-but-when-running-in-node-red-serial-port-gets-closed/36347 "2020-12-15T00:59:08Z")

</div>

Hallo, I try to read data from a serial port of raspberry PI. I have connected two PIs via serial Port. With "node serialtest.js" I get a new line for each character I send to node.js With node-red this is my testflow.…

---

## [Timelinepicker for Node-Red in Dashboard?](https://discourse.nodered.org/t/timelinepicker-for-node-red-in-dashboard/36910)

<div class="topic-metadata">

**Author:** [@JSONata](https://discourse.nodered.org/u/JSONata)\
**Replies:** 7\
**Last updated:** [15 December 2020 00:55 UTC](https://discourse.nodered.org/t/timelinepicker-for-node-red-in-dashboard/36910 "2020-12-15T00:55:00Z")

</div>

On Openhab you can create a timeline picker. You simply click into a timeline, hold the mousebutton and drag where/when you want a device to be enabled. Also AVMs Fritzbox supports a similiar feature I now there …

---

## [Installing Node-Red to a Gateway Hardware with Linux Kernel Installed](https://discourse.nodered.org/t/installing-node-red-to-a-gateway-hardware-with-linux-kernel-installed/36275)

<div class="topic-metadata">

**Author:** [@DanielCGY](https://discourse.nodered.org/u/DanielCGY)\
**Replies:** 7\
**Last updated:** [14 December 2020 23:52 UTC](https://discourse.nodered.org/t/installing-node-red-to-a-gateway-hardware-with-linux-kernel-installed/36275 "2020-12-14T23:52:46Z")

</div>

Hi all, I recently purchased a Gateway hardware that runs on the Linux Kernel. However, I am having problems trying to get it to work. The gateway device mentioned that it supports Node-Red user interface but I am not su…

---

## [New Drayton Wiser Smart Heating Module](https://discourse.nodered.org/t/new-drayton-wiser-smart-heating-module/36032)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 10\
**Last updated:** [14 December 2020 22:09 UTC](https://discourse.nodered.org/t/new-drayton-wiser-smart-heating-module/36032 "2020-12-14T22:09:13Z")

</div>

Hi all, following on from the thread about thermostats/TRV's (radiator valves) here And a much older thread (2018) here And since I've had one of these systems for a while and even get referenced in the nearest we ha…

---

## [Local Host Flow](https://discourse.nodered.org/t/local-host-flow/37500)

<div class="topic-metadata">

**Author:** [@ktm](https://discourse.nodered.org/u/ktm)\
**Replies:** 2\
**Last updated:** [14 December 2020 21:41 UTC](https://discourse.nodered.org/t/local-host-flow/37500 "2020-12-14T21:41:15Z")

</div>

Good Afternoon I'm at the first experience with node red and after any test with communication beetween ModBus TCP and PLC , now (and i don't know why)every time when i try to start the local host my flow , any time i t…

---

## [Maths problem with function node](https://discourse.nodered.org/t/maths-problem-with-function-node/37503)

<div class="topic-metadata">

**Author:** [@rich\_node](https://discourse.nodered.org/u/rich_node)\
**Replies:** 2\
**Last updated:** [14 December 2020 21:33 UTC](https://discourse.nodered.org/t/maths-problem-with-function-node/37503 "2020-12-14T21:33:27Z")

</div>

I'm having problems with the function node which is not subtracting correctly, ie the below code gives the result of: 2.1899999999999977 msg.payload=26.54-24.35; return msg; Any help appreciated. This is the flow: \[…

---

## [Worldmap Node: Is there any way to change default bar icon?](https://discourse.nodered.org/t/worldmap-node-is-there-any-way-to-change-default-bar-icon/37479)

<div class="topic-metadata">

**Author:** [@alexcorvis](https://discourse.nodered.org/u/alexcorvis)\
**Replies:** 3\
**Last updated:** [14 December 2020 16:18 UTC](https://discourse.nodered.org/t/worldmap-node-is-there-any-way-to-change-default-bar-icon/37479 "2020-12-14T16:18:35Z")

</div>

Hello community, Is there any way to change default Node-RED icon in the default Wordmap bar? Could it be changed into some source code? If possible, can anyone point me the source file? Many thanks in advace.

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

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