# Latest

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

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

**Page:** 467

---

## [I always gettin undefined Error if i merge 2 Messages in a Function Node](https://discourse.nodered.org/t/i-always-gettin-undefined-error-if-i-merge-2-messages-in-a-function-node/70220)

<div class="topic-metadata">

**Author:** [@Starfoxfs](https://discourse.nodered.org/u/Starfoxfs)\
**Replies:** 5\
**Last updated:** [7 November 2022 18:22 UTC](https://discourse.nodered.org/t/i-always-gettin-undefined-error-if-i-merge-2-messages-in-a-function-node/70220 "2022-11-07T18:22:49Z")

</div>

Hi, i always gettin a TypeError: Cannot read properties of undefined (reading 'TotalStartTime')" If i want to use 2 Merged Messages in a Function Node. When i connect the Node coming from Influx (Read) to the Function…

---

## [Question: Optimize msg traffic](https://discourse.nodered.org/t/question-optimize-msg-traffic/70057)

<div class="topic-metadata">

**Author:** [@Sandmman](https://discourse.nodered.org/u/Sandmman)\
**Replies:** 10\
**Last updated:** [7 November 2022 16:06 UTC](https://discourse.nodered.org/t/question-optimize-msg-traffic/70057 "2022-11-07T16:06:09Z")

</div>

Hi, One thing I have noticed is that NR or HA, but in NR at least the message layout differs wildly, sometimes the entity\_id is in the payload, sometimes it IS the payload and sometime it is located in the msg.data, als…

---

## [What is wrong with this?](https://discourse.nodered.org/t/what-is-wrong-with-this/70197)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 9\
**Last updated:** [7 November 2022 14:38 UTC](https://discourse.nodered.org/t/what-is-wrong-with-this/70197 "2022-11-07T14:38:40Z")

</div>

IF YOU KNOW - JUST LIKE THE POST -DONT GIVE OUT THE ANSWER :slight\_smile: I was working on real flow late last night and needed to change from outputting on payload to payload.text to feed the mastodon node instead …

---

## [Http Request with Todays Date](https://discourse.nodered.org/t/http-request-with-todays-date/70219)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 1\
**Last updated:** [7 November 2022 14:37 UTC](https://discourse.nodered.org/t/http-request-with-todays-date/70219 "2022-11-07T14:37:03Z")

</div>

I would like to use a Http Request with a start\_date and end\_date both set to (now) I just need the date and not the time. This would be example: \[type or paste code here\](https://xxxxx.xxxxxxx.com/api/request\_csv.php?…

---

## [Getting API/get http request caller IP address](https://discourse.nodered.org/t/getting-api-get-http-request-caller-ip-address/70189)

<div class="topic-metadata">

**Author:** [@ThibautRuy](https://discourse.nodered.org/u/ThibautRuy)\
**Replies:** 3\
**Last updated:** [7 November 2022 14:05 UTC](https://discourse.nodered.org/t/getting-api-get-http-request-caller-ip-address/70189 "2022-11-07T14:05:42Z")

</div>

Hi, I am using an HTTP GET request node to receive calls from a client application from users. unfortunately, I cannot find the ip of the users in the msg coming out of the HTTP GET node. I tried to use msg.req data, bu…

---

## [Change number to a word](https://discourse.nodered.org/t/change-number-to-a-word/70212)

<div class="topic-metadata">

**Author:** [@dereine](https://discourse.nodered.org/u/dereine)\
**Replies:** 2\
**Last updated:** [7 November 2022 12:41 UTC](https://discourse.nodered.org/t/change-number-to-a-word/70212 "2022-11-07T12:41:00Z")

</div>

Good day I am doing monitoring at the moment. Now I read out the status code of a raid via SNMP (2 = OK, 3 = Degrade etc.) But I want the dashboard to show "OK" instead of a 2 or "Degrade" instead of a 3. I have trie…

---

## [Installation of node-red-dashboard](https://discourse.nodered.org/t/installation-of-node-red-dashboard/70208)

<div class="topic-metadata">

**Author:** [@aage.bjornerud](https://discourse.nodered.org/u/aage.bjornerud)\
**Replies:** 3\
**Last updated:** [7 November 2022 11:52 UTC](https://discourse.nodered.org/t/installation-of-node-red-dashboard/70208 "2022-11-07T11:52:24Z")

</div>

Hello, I'm 100% new to Node-RED, and I have been introduced to Node-RED from Milesight, and intended use is to communicate with LoRa sensors and nodes via LoRa Gateway. When trying to install the Node-RED dashboard, I …

---

## [How we can load embedded Node-red using API?](https://discourse.nodered.org/t/how-we-can-load-embedded-node-red-using-api/70198)

<div class="topic-metadata">

**Author:** [@arzooshah](https://discourse.nodered.org/u/arzooshah)\
**Replies:** 1\
**Last updated:** [7 November 2022 11:39 UTC](https://discourse.nodered.org/t/how-we-can-load-embedded-node-red-using-api/70198 "2022-11-07T11:39:25Z")

</div>

Http Call -\> ${baseUri}/api/ui/; Display response in iframe but it's not working.

---

## [Switching between Node/Flow view to CodeView](https://discourse.nodered.org/t/switching-between-node-flow-view-to-codeview/70174)

<div class="topic-metadata">

**Author:** [@tjunussov](https://discourse.nodered.org/u/tjunussov)\
**Replies:** 4\
**Last updated:** [7 November 2022 11:35 UTC](https://discourse.nodered.org/t/switching-between-node-flow-view-to-codeview/70174 "2022-11-07T11:35:01Z")

</div>

I like Node/Flow concept of coding with visualizing your code as nodes, but sometimes it really good to see all flow as code, I know there is JSON (Import/Export) representation of a flow, but is would be great if it a…

---

## [Switch node - multiple values in same conditions](https://discourse.nodered.org/t/switch-node-multiple-values-in-same-conditions/70019)

<div class="topic-metadata">

**Author:** [@boo](https://discourse.nodered.org/u/boo)\
**Replies:** 3\
**Last updated:** [7 November 2022 11:18 UTC](https://discourse.nodered.org/t/switch-node-multiple-values-in-same-conditions/70019 "2022-11-07T11:18:47Z")

</div>

Hi can someone help me create a switch node with multiple values like for example if msg.payload can push 1,2,5,10 then switch node should run two conditions with == for 1,2,5,10 and != for 1,2,5,10 how do i use multip…

---

## [Atlas Copco Open protcol MID0060 Customer Subscription](https://discourse.nodered.org/t/atlas-copco-open-protcol-mid0060-customer-subscription/70042)

<div class="topic-metadata">

**Author:** [@OrangeRaspberry](https://discourse.nodered.org/u/OrangeRaspberry)\
**Replies:** 4\
**Last updated:** [7 November 2022 11:00 UTC](https://discourse.nodered.org/t/atlas-copco-open-protcol-mid0060-customer-subscription/70042 "2022-11-07T11:00:06Z")

</div>

Now PF6000 have an issue. When multistep strategy is used, if trigger torque of angle mornitor window can't be reach, PF6K will close open protocol port. This is issue can be solved by MID0061 revision 8. But there is on…

---

## [Rename the payload coming from MQTT-IN node?](https://discourse.nodered.org/t/rename-the-payload-coming-from-mqtt-in-node/70193)

<div class="topic-metadata">

**Author:** [@Starfoxfs](https://discourse.nodered.org/u/Starfoxfs)\
**Replies:** 12\
**Last updated:** [7 November 2022 10:57 UTC](https://discourse.nodered.org/t/rename-the-payload-coming-from-mqtt-in-node/70193 "2022-11-07T10:57:02Z")

</div>

Good Morning, as Topic says, how can i rename a msg.payload to eg. msg.payload2 coming from a MQTT OUT Node ? From a Inject Node its no Problem here can i directly rename it in the Node but in MQTT Node not.

---

## [Need to basic auth only some http node](https://discourse.nodered.org/t/need-to-basic-auth-only-some-http-node/70203)

<div class="topic-metadata">

**Author:** [@yingkhun](https://discourse.nodered.org/u/yingkhun)\
**Replies:** 1\
**Last updated:** [7 November 2022 10:09 UTC](https://discourse.nodered.org/t/need-to-basic-auth-only-some-http-node/70203 "2022-11-07T10:09:30Z")

</div>

I have enable HTTP Node security like this httpNodeAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN."}, In this cast if I need to use basic auth only some node ex. image node p…

---

## [About UI dashboard optimization suggestions!](https://discourse.nodered.org/t/about-ui-dashboard-optimization-suggestions/70191)

<div class="topic-metadata">

**Author:** [@jackxuhass](https://discourse.nodered.org/u/jackxuhass)\
**Replies:** 1\
**Last updated:** [7 November 2022 10:02 UTC](https://discourse.nodered.org/t/about-ui-dashboard-optimization-suggestions/70191 "2022-11-07T10:02:03Z")

</div>

I have a suggestion, nodered's UI should be fully optimized. UI visualizations should be sliced into a single flow page when invoked to facilitate the single-threaded workflow of the backend nodejs engine. Now that the U…

---

## [Current monitoring with RPi](https://discourse.nodered.org/t/current-monitoring-with-rpi/69995)

<div class="topic-metadata">

**Author:** [@JoshNZ](https://discourse.nodered.org/u/JoshNZ)\
**Replies:** 6\
**Last updated:** [7 November 2022 08:53 UTC](https://discourse.nodered.org/t/current-monitoring-with-rpi/69995 "2022-11-07T08:53:13Z")

</div>

Hi guys, I have a RPi running an instance of node red which controls a timber kiln, via 4 solid state relays for heat, vents, compressor, and circulation fans. All running very well thanks to help from this group in the…

---

## [Subscribe to the same topic multiple times and find problems](https://discourse.nodered.org/t/subscribe-to-the-same-topic-multiple-times-and-find-problems/70160)

<div class="topic-metadata">

**Author:** [@joe1](https://discourse.nodered.org/u/joe1)\
**Replies:** 11\
**Last updated:** [7 November 2022 08:29 UTC](https://discourse.nodered.org/t/subscribe-to-the-same-topic-multiple-times-and-find-problems/70160 "2022-11-07T08:29:03Z")

</div>

In practice, you should not subscribe to the same topic repeatedly, but try to subscribe to the same topic repeatedly in the test. If you find a problem, I am a beginner. Maybe it is not a problem. Looking forward to the…

---

## [How to archive a SQLite database](https://discourse.nodered.org/t/how-to-archive-a-sqlite-database/70083)

<div class="topic-metadata">

**Author:** [@Parowek](https://discourse.nodered.org/u/Parowek)\
**Replies:** 9\
**Last updated:** [7 November 2022 08:16 UTC](https://discourse.nodered.org/t/how-to-archive-a-sqlite-database/70083 "2022-11-07T08:16:21Z")

</div>

Hello I have an SQLite databese in which i save temperature and humidity data with timestamps (epoch). I want to archive the databse by months. So that when november ends my data gets saved to another database for decem…

---

## [Can't connect to Mosquitto MQTT broker running on my localhost 1883](https://discourse.nodered.org/t/cant-connect-to-mosquitto-mqtt-broker-running-on-my-localhost-1883/69300)

<div class="topic-metadata">

**Author:** [@kushpatel](https://discourse.nodered.org/u/kushpatel)\
**Replies:** 5\
**Last updated:** [7 November 2022 07:00 UTC](https://discourse.nodered.org/t/cant-connect-to-mosquitto-mqtt-broker-running-on-my-localhost-1883/69300 "2022-11-07T07:00:06Z")

</div>

Currently I'm running Node-RED using docker on my local system with "docker run -it -p 1880:1880 -v D:/ABOS/Node-RED/data:/data --name local-node-red nodered/node-red" command and it executed successfully and also I can …

---

## [Average using Function node](https://discourse.nodered.org/t/average-using-function-node/70081)

<div class="topic-metadata">

**Author:** [@Jhankhana](https://discourse.nodered.org/u/Jhankhana)\
**Replies:** 12\
**Last updated:** [7 November 2022 05:48 UTC](https://discourse.nodered.org/t/average-using-function-node/70081 "2022-11-07T05:48:49Z")

</div>

Hello, Please guide regarding performing average of 4 data coming from sensor using function node. I have tried something as below. var val1 = parseInt(flow.get("val1")); msg.payload = parseInt(flow.get("val2")) + val…

---

## [Why connnect dashboard, webpage ✘ Connection lost?](https://discourse.nodered.org/t/why-connnect-dashboard-webpage-connection-lost/69869)

<div class="topic-metadata">

**Author:** [@jackxuhass](https://discourse.nodered.org/u/jackxuhass)\
**Replies:** 17\
**Last updated:** [7 November 2022 04:48 UTC](https://discourse.nodered.org/t/why-connnect-dashboard-webpage-connection-lost/69869 "2022-11-07T04:48:44Z")

</div>

at Socket.Readable.push (internal/streams/readable.js:206:10) at TCP.onStreamRead (internal/stream\_base\_commons.js:188:23) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-red-docker@2.1.4 start: node $NODE\_OPT…

---

## [Website opens in chrome but gives error message when using node red http node](https://discourse.nodered.org/t/website-opens-in-chrome-but-gives-error-message-when-using-node-red-http-node/70071)

<div class="topic-metadata">

**Author:** [@wassa350](https://discourse.nodered.org/u/wassa350)\
**Replies:** 15\
**Last updated:** [7 November 2022 01:41 UTC](https://discourse.nodered.org/t/website-opens-in-chrome-but-gives-error-message-when-using-node-red-http-node/70071 "2022-11-07T01:41:45Z")

</div>

If i open the following link in chrome it works fine and displays all data, http://www.bom.gov.au/fwo/IDN60801/IDN60801.94767.json but if i use same in node red http request node I get the following in debug. " Your a…

---

## [Setting a unique ID for a node](https://discourse.nodered.org/t/setting-a-unique-id-for-a-node/70169)

<div class="topic-metadata">

**Author:** [@andro](https://discourse.nodered.org/u/andro)\
**Replies:** 4\
**Last updated:** [6 November 2022 23:51 UTC](https://discourse.nodered.org/t/setting-a-unique-id-for-a-node/70169 "2022-11-06T23:51:38Z")

</div>

The help for the template widget states: \<div id="{{'my\_'+$id}}" style="{{'color:'+theme.base\_color}}"\>Some text\</div\> \<script\> (function(scope) { scope.$watch('msg', function(msg) { if (msg) { // Do somethi…

---

## [Feature request: editor enhancement for link call node](https://discourse.nodered.org/t/feature-request-editor-enhancement-for-link-call-node/70186)

<div class="topic-metadata">

**Author:** [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Replies:** 2\
**Last updated:** [6 November 2022 23:46 UTC](https://discourse.nodered.org/t/feature-request-editor-enhancement-for-link-call-node/70186 "2022-11-06T23:46:18Z")

</div>

It would be useful if the link call node, configured for a fixed target, could (when selected) display its target and allow the user to jump there if it is on another tab. This would be similar to the behavior of the sta…

---

## [Feature request: Collapsable Groups in UI for organisation](https://discourse.nodered.org/t/feature-request-collapsable-groups-in-ui-for-organisation/70123)

<div class="topic-metadata">

**Author:** [@ldf](https://discourse.nodered.org/u/ldf)\
**Replies:** 4\
**Last updated:** [6 November 2022 23:45 UTC](https://discourse.nodered.org/t/feature-request-collapsable-groups-in-ui-for-organisation/70123 "2022-11-06T23:45:26Z")

</div>

Hey first off thanks for creating node red, its an amazing piece of software that I really enjoy using. I use node red for Home automation and one pain point I have is there can be a lot of small steps I need that compo…

---

## [Http in and http out login setup](https://discourse.nodered.org/t/http-in-and-http-out-login-setup/70151)

<div class="topic-metadata">

**Author:** [@ashritha.achu2001](https://discourse.nodered.org/u/ashritha.achu2001)\
**Replies:** 0\
**Last updated:** [6 November 2022 08:39 UTC](https://discourse.nodered.org/t/http-in-and-http-out-login-setup/70151 "2022-11-06T08:39:51Z")

</div>

The above image is my iot connection for sensor device. I want to set up user authentication using login form and store that data in cloudant db. On authenticating it must redirect to Smart Waste Management tab. Can a…

---

## [Amazon Echo/Alexa](https://discourse.nodered.org/t/amazon-echo-alexa/70138)

<div class="topic-metadata">

**Author:** [@fraser](https://discourse.nodered.org/u/fraser)\
**Replies:** 2\
**Last updated:** [6 November 2022 21:18 UTC](https://discourse.nodered.org/t/amazon-echo-alexa/70138 "2022-11-06T21:18:43Z")

</div>

I've recently started sorting out my home automation again since moving house. I've got a zwave network which uses zwavejs2mqtt. Also a new echo show 8. Previously I used node-red-contrib-alexa-local, unfortunately this…

---

## [tuya smart - Data not readable](https://discourse.nodered.org/t/tuya-smart-data-not-readable/69066)

<div class="topic-metadata">

**Author:** [@libsch](https://discourse.nodered.org/u/libsch)\
**Replies:** 14\
**Last updated:** [6 November 2022 21:00 UTC](https://discourse.nodered.org/t/tuya-smart-data-not-readable/69066 "2022-11-06T21:00:11Z")

</div>

I use node-red-contrib-tuya-smart-device. Unfortunately I can't do anything with the format of the data. Can someone help me? Best regards.

---

## [How to create communication channel between 2 nodes?](https://discourse.nodered.org/t/how-to-create-communication-channel-between-2-nodes/70091)

<div class="topic-metadata">

**Author:** [@RavinderSingh13](https://discourse.nodered.org/u/RavinderSingh13)\
**Replies:** 15\
**Last updated:** [6 November 2022 20:49 UTC](https://discourse.nodered.org/t/how-to-create-communication-channel-between-2-nodes/70091 "2022-11-06T20:49:43Z")

</div>

Hello Node red community, I have created a very simple nod-red Flow as follows: Now question comes is: Whenever I am entering 1 option its going to JS function and accordingly it prints values. But my question is ho…

---

## [Support to get the modbus connections running ( rpi4+Moxa NP5110+heat pump)](https://discourse.nodered.org/t/support-to-get-the-modbus-connections-running-rpi4-moxa-np5110-heat-pump/70178)

<div class="topic-metadata">

**Author:** [@GuE](https://discourse.nodered.org/u/GuE)\
**Replies:** 0\
**Last updated:** [6 November 2022 16:43 UTC](https://discourse.nodered.org/t/support-to-get-the-modbus-connections-running-rpi4-moxa-np5110-heat-pump/70178 "2022-11-06T16:43:56Z")

</div>

Hello everyone. I'm new to the forum and thank you in advance for your help and patience. I would like to log some data from my heat pump. Therefore I am trying to get the modbus connections running from my heat pump …

---

## [Node-red-contrib-google-smarthome + cloudflare access](https://discourse.nodered.org/t/node-red-contrib-google-smarthome-cloudflare-access/70162)

<div class="topic-metadata">

**Author:** [@Michielo](https://discourse.nodered.org/u/Michielo)\
**Replies:** 1\
**Last updated:** [6 November 2022 13:38 UTC](https://discourse.nodered.org/t/node-red-contrib-google-smarthome-cloudflare-access/70162 "2022-11-06T13:38:03Z")

</div>

Hi all, These last few days I have been breaking my head (not sure if this is a valid English expression) trying to secure access to my google smarthome server using Cloudflare Access. My use case: Raspbery pi 1B run…

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

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