# General

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

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

**Page:** 545

---

## [How to change a node in a stream file](https://discourse.nodered.org/t/how-to-change-a-node-in-a-stream-file/46627)

<div class="topic-metadata">

**Author:** [@lei1](https://discourse.nodered.org/u/lei1)\
**Replies:** 8\
**Last updated:** [3 June 2021 08:01 UTC](https://discourse.nodered.org/t/how-to-change-a-node-in-a-stream-file/46627 "2021-06-03T08:01:37Z")

</div>

How can I change the node in the stream file and then restart nodered to detect the changed part and redeploy it?

---

## [Rename Key in Object](https://discourse.nodered.org/t/rename-key-in-object/46628)

<div class="topic-metadata">

**Author:** [@softy2k](https://discourse.nodered.org/u/softy2k)\
**Replies:** 7\
**Last updated:** [3 June 2021 07:30 UTC](https://discourse.nodered.org/t/rename-key-in-object/46628 "2021-06-03T07:30:25Z")

</div>

Hello I try to rename a key from an Object, but keeping the order of the keys (index). If the new key is text (string), everything is OK. But, if the new key is a number (although it is declared as a string), the new …

---

## [JSON-rpc To integrate it on node red](https://discourse.nodered.org/t/json-rpc-to-integrate-it-on-node-red/46579)

<div class="topic-metadata">

**Author:** [@Ramzi](https://discourse.nodered.org/u/Ramzi)\
**Replies:** 4\
**Last updated:** [3 June 2021 07:22 UTC](https://discourse.nodered.org/t/json-rpc-to-integrate-it-on-node-red/46579 "2021-06-03T07:22:59Z")

</div>

Hoi , i need some help = eAccess ( accesscontrole). JSON-rpc. \<\> nodered ( Java).

---

## [Detects stream files and automatically redeploys them at regular intervals when they change](https://discourse.nodered.org/t/detects-stream-files-and-automatically-redeploys-them-at-regular-intervals-when-they-change/46625)

<div class="topic-metadata">

**Author:** [@lei1](https://discourse.nodered.org/u/lei1)\
**Replies:** 1\
**Last updated:** [3 June 2021 06:21 UTC](https://discourse.nodered.org/t/detects-stream-files-and-automatically-redeploys-them-at-regular-intervals-when-they-change/46625 "2021-06-03T06:21:57Z")

</div>

hi How do I automatically deploy the stream files that have changed, similar to the import module that automatically imports the stream files that have changed in the library into the panel and deploys them.

---

## [Node-RED microphone using your phone as a microphone livestream](https://discourse.nodered.org/t/node-red-microphone-using-your-phone-as-a-microphone-livestream/46593)

<div class="topic-metadata">

**Author:** [@freakytag](https://discourse.nodered.org/u/freakytag)\
**Replies:** 4\
**Last updated:** [3 June 2021 01:13 UTC](https://discourse.nodered.org/t/node-red-microphone-using-your-phone-as-a-microphone-livestream/46593 "2021-06-03T01:13:09Z")

</div>

im using node how can i use node red as a livestreaming microphone thanks

---

## [Compare current data with data from the last 2 days](https://discourse.nodered.org/t/compare-current-data-with-data-from-the-last-2-days/45787)

<div class="topic-metadata">

**Author:** [@Georg25](https://discourse.nodered.org/u/Georg25)\
**Replies:** 21\
**Last updated:** [2 June 2021 22:11 UTC](https://discourse.nodered.org/t/compare-current-data-with-data-from-the-last-2-days/45787 "2021-06-02T22:11:24Z")

</div>

Hello guys, I want to count how many requests I receive per day. For this I use the node-red-contrib-count NODE. I would like to always compare the value with the last 2 days. I can write the value in the variable "pre…

---

## [Load supplementary plugins on demand](https://discourse.nodered.org/t/load-supplementary-plugins-on-demand/46616)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 2\
**Last updated:** [2 June 2021 20:49 UTC](https://discourse.nodered.org/t/load-supplementary-plugins-on-demand/46616 "2021-06-02T20:49:48Z")

</div>

I'm loading the day.js module in the function node setup tab, and it works fine for basic date/time functions, however for more advanced functions, it requires additional plugins to be loaded as per the readme - Loading …

---

## [AWS - start automatically](https://discourse.nodered.org/t/aws-start-automatically/41886)

<div class="topic-metadata">

**Author:** [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Replies:** 12\
**Last updated:** [2 June 2021 18:58 UTC](https://discourse.nodered.org/t/aws-start-automatically/41886 "2021-06-02T18:58:52Z")

</div>

Hi, I have a instance of node-red running on AWS. Every time my EC2 gets rebooted Node-red stops, I have followed the instructions on https://nodered.org/docs/getting-started/aws sudo npm install -g --unsafe-perm p…

---

## [Deployment confirmation popup](https://discourse.nodered.org/t/deployment-confirmation-popup/46588)

<div class="topic-metadata">

**Author:** [@maxym](https://discourse.nodered.org/u/maxym)\
**Replies:** 2\
**Last updated:** [2 June 2021 18:24 UTC](https://discourse.nodered.org/t/deployment-confirmation-popup/46588 "2021-06-02T18:24:04Z")

</div>

Hello I tried google but didn't find anything useful. Not sure how others, but for me those banners popping up every time I deploy changes are annoying. Especially because the time they cover flow selectors (tabs) whic…

---

## [Convert 32 bit signed value](https://discourse.nodered.org/t/convert-32-bit-signed-value/46604)

<div class="topic-metadata">

**Author:** [@ceejm1](https://discourse.nodered.org/u/ceejm1)\
**Replies:** 2\
**Last updated:** [2 June 2021 16:16 UTC](https://discourse.nodered.org/t/convert-32-bit-signed-value/46604 "2021-06-02T16:16:42Z")

</div>

Hello, I have searched this numerous times but my knowledge isnt quite sufficient to understand what I've found... I am polling a couple of modbus registers as per the attached that return a 32bit signed value. What c…

---

## [Troubleshooting what triggered a flow](https://discourse.nodered.org/t/troubleshooting-what-triggered-a-flow/46601)

<div class="topic-metadata">

**Author:** [@nitobuendia](https://discourse.nodered.org/u/nitobuendia)\
**Replies:** 6\
**Last updated:** [2 June 2021 15:20 UTC](https://discourse.nodered.org/t/troubleshooting-what-triggered-a-flow/46601 "2021-06-02T15:20:22Z")

</div>

Hi everyone, I am quite new to Node-RED and have a basic problem: tl;dr: I have a flow with 3 potential trigger nodes. This node is trigger at times when it shouldn't and I want to troubleshoot why. I tried debug nodes…

---

## [Serial Port add failure](https://discourse.nodered.org/t/serial-port-add-failure/46597)

<div class="topic-metadata">

**Author:** [@danadak](https://discourse.nodered.org/u/danadak)\
**Replies:** 3\
**Last updated:** [2 June 2021 14:39 UTC](https://discourse.nodered.org/t/serial-port-add-failure/46597 "2021-06-02T14:39:21Z")

</div>

Trying to add node red serial port, tired multiple times, closing and reopening node-red, no luck. Log - ----------------------------------------------------------- 2021-06-02T13:23:15.186Z Install : node-red-node-seri…

---

## [Node allowing for live chat(talk) and live sound](https://discourse.nodered.org/t/node-allowing-for-live-chat-talk-and-live-sound/8739)

<div class="topic-metadata">

**Author:** [@nfarfhat](https://discourse.nodered.org/u/nfarfhat)\
**Replies:** 21\
**Last updated:** [2 June 2021 13:49 UTC](https://discourse.nodered.org/t/node-allowing-for-live-chat-talk-and-live-sound/8739 "2021-06-02T13:49:17Z")

</div>

I would like to connect a mic and speaker to my RaspberryPi and be able to have a live chat with the other person on their cellphone connecting to my dashboard live page.... Anyone know which nodes I should use to accomp…

---

## [Node-RED how to play a music using your save music](https://discourse.nodered.org/t/node-red-how-to-play-a-music-using-your-save-music/46592)

<div class="topic-metadata">

**Author:** [@freakytag](https://discourse.nodered.org/u/freakytag)\
**Replies:** 2\
**Last updated:** [2 June 2021 13:49 UTC](https://discourse.nodered.org/t/node-red-how-to-play-a-music-using-your-save-music/46592 "2021-06-02T13:49:02Z")

</div>

please help newbie here thanks

---

## [Swagger problem](https://discourse.nodered.org/t/swagger-problem/46581)

<div class="topic-metadata">

**Author:** [@Tonna100](https://discourse.nodered.org/u/Tonna100)\
**Replies:** 4\
**Last updated:** [2 June 2021 12:46 UTC](https://discourse.nodered.org/t/swagger-problem/46581 "2021-06-02T12:46:43Z")

</div>

Good afternoon, colleagues. I need your help. Can't open the swagger UI. Inside the Node-red editor, I can see it. I installed node-red-node-swagger package http://localhost:1880/http-api/swagger.json returns some…

---

## [Change msg.topic dynamically](https://discourse.nodered.org/t/change-msg-topic-dynamically/46253)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 32\
**Last updated:** [2 June 2021 11:33 UTC](https://discourse.nodered.org/t/change-msg-topic-dynamically/46253 "2021-06-02T11:33:14Z")

</div>

Hi, I want to change a msg.topic dynamically in my flow "Pth": to a) Pth\_H b) Pth\_WW c) Pth\_PC (Heating, Hotwater, passive Cooling) and the msg.payload to = 0 if off I get these values: I´ve made a "fl…

---

## [Avro-js problem](https://discourse.nodered.org/t/avro-js-problem/46589)

<div class="topic-metadata">

**Author:** [@chrisofCCL](https://discourse.nodered.org/u/chrisofCCL)\
**Replies:** 0\
**Last updated:** [2 June 2021 11:29 UTC](https://discourse.nodered.org/t/avro-js-problem/46589 "2021-06-02T11:29:35Z")

</div>

After a few years I'm having a play with avro serialisation using the npm avro-js package within a function node. I've tried the avro node that comes with the Kafka nodes in the NR library but I need to be able to feed …

---

## [Socket.io error issue](https://discourse.nodered.org/t/socket-io-error-issue/46587)

<div class="topic-metadata">

**Author:** [@Kartiknodered](https://discourse.nodered.org/u/Kartiknodered)\
**Replies:** 2\
**Last updated:** [2 June 2021 10:54 UTC](https://discourse.nodered.org/t/socket-io-error-issue/46587 "2021-06-02T10:54:16Z")

</div>

Hello, I am using "node-red-contrib-socketio" nodes and trying to run the example given in that node but their is an issue I am facing I am having to errors. I am sending screenshot of nodes and error i am getting. …

---

## [How Setup For Multiple Port TCP Request](https://discourse.nodered.org/t/how-setup-for-multiple-port-tcp-request/16189)

<div class="topic-metadata">

**Author:** [@mrizkywiguna](https://discourse.nodered.org/u/mrizkywiguna)\
**Replies:** 3\
**Last updated:** [2 June 2021 09:17 UTC](https://discourse.nodered.org/t/how-setup-for-multiple-port-tcp-request/16189 "2021-06-02T09:17:06Z")

</div>

Hi All, I've made small project SCADA using IP Modem. Now i can connect the IP modem with the my node-red server, and there is no problem. But when I connect with more than 1 IP Modem, for example I want to read 2 IP Mo…

---

## [Changing of msg.payload](https://discourse.nodered.org/t/changing-of-msg-payload/46568)

<div class="topic-metadata">

**Author:** [@JdT](https://discourse.nodered.org/u/JdT)\
**Replies:** 6\
**Last updated:** [2 June 2021 08:34 UTC](https://discourse.nodered.org/t/changing-of-msg-payload/46568 "2021-06-02T08:34:48Z")

</div>

Hello, I am bloody new to Node-RED and would ask you for your help to solve my "problem". I have a homebridge with NR running and connected a Shelly motion sensor and a Shelly PM to then switch its output on motion. T…

---

## [How do I get value from an array](https://discourse.nodered.org/t/how-do-i-get-value-from-an-array/12267)

<div class="topic-metadata">

**Author:** [@Dave](https://discourse.nodered.org/u/Dave)\
**Replies:** 2\
**Last updated:** [15 June 2019 15:26 UTC](https://discourse.nodered.org/t/how-do-i-get-value-from-an-array/12267 "2019-06-15T15:26:25Z")

</div>

I have the following array which feeds a to chart node, I want to send it through a function node or a change node and extract "Saturday" to a msg.payload but everything I tried failed I just cannot get it. Thought it w…

---

## [How to use switch node to publish an inject node to MQTT Broker](https://discourse.nodered.org/t/how-to-use-switch-node-to-publish-an-inject-node-to-mqtt-broker/46510)

<div class="topic-metadata">

**Author:** [@weatherkicksass](https://discourse.nodered.org/u/weatherkicksass)\
**Replies:** 4\
**Last updated:** [2 June 2021 06:41 UTC](https://discourse.nodered.org/t/how-to-use-switch-node-to-publish-an-inject-node-to-mqtt-broker/46510 "2021-06-02T06:41:52Z")

</div>

So, I am getting a temperature data from the MQTT broker and I want to publish a message which will overwrite a data that is on an OPC server, which looks like this; "\[{"id":"Visu+ UA Server.Visu+ SCADA.Tags.Start\_B…

---

## [Cloning Project from github to windows PC](https://discourse.nodered.org/t/cloning-project-from-github-to-windows-pc/46518)

<div class="topic-metadata">

**Author:** [@magicman](https://discourse.nodered.org/u/magicman)\
**Replies:** 3\
**Last updated:** [1 June 2021 22:39 UTC](https://discourse.nodered.org/t/cloning-project-from-github-to-windows-pc/46518 "2021-06-01T22:39:22Z")

</div>

I am trying to clone a project i pushed from my Node-red Unbuntu server onto Git but now would like to clone it onto my Windows 10 PC. I keep getting authentication failure. I am not sure of which information i am to pu…

---

## [The node-red and PLC communication](https://discourse.nodered.org/t/the-node-red-and-plc-communication/45127)

<div class="topic-metadata">

**Author:** [@ismail](https://discourse.nodered.org/u/ismail)\
**Replies:** 10\
**Last updated:** [1 June 2021 22:21 UTC](https://discourse.nodered.org/t/the-node-red-and-plc-communication/45127 "2021-06-01T22:21:21Z")

</div>

hello every body i am a student in electrical ingineering i try to build my first communication between my PLC S7 1211C and node-red via the PLC module and after i configure my first node i will have these probleme …

---

## [File node- not writing to file](https://discourse.nodered.org/t/file-node-not-writing-to-file/26404)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 22\
**Last updated:** [1 June 2021 20:31 UTC](https://discourse.nodered.org/t/file-node-not-writing-to-file/26404 "2021-06-01T20:31:57Z")

</div>

I have Node Red on two systems- I am slowly moving my flows to the new Intel NUC from the Raspberry Pi. One of the flows I want to move uses the file node to write to a log file. Works fine on the Raspberry Pi, but not…

---

## [Combine node outputs](https://discourse.nodered.org/t/combine-node-outputs/46570)

<div class="topic-metadata">

**Author:** [@lorccan](https://discourse.nodered.org/u/lorccan)\
**Replies:** 2\
**Last updated:** [1 June 2021 18:17 UTC](https://discourse.nodered.org/t/combine-node-outputs/46570 "2021-06-01T18:17:40Z")

</div>

This is really simple, but I haven’t touched node-RED for ages and I’m stuck: Two nodes generate slightly different payloads (of objects containing key:value pairs) but they do have the key “Rain” in common. This can ha…

---

## [Cursor/highlight position off in text boxes](https://discourse.nodered.org/t/cursor-highlight-position-off-in-text-boxes/46553)

<div class="topic-metadata">

**Author:** [@hepcat72](https://discourse.nodered.org/u/hepcat72)\
**Replies:** 3\
**Last updated:** [1 June 2021 17:46 UTC](https://discourse.nodered.org/t/cursor-highlight-position-off-in-text-boxes/46553 "2021-06-01T17:46:25Z")

</div>

I was just googling to try and figure out this issue that I have had with node-red since I started using it years ago. Until now, I've just been tolerating it. I found this thread, about the same issue. In my case, I …

---

## [SNMP Access problem](https://discourse.nodered.org/t/snmp-access-problem/45990)

<div class="topic-metadata">

**Author:** [@danielmf](https://discourse.nodered.org/u/danielmf)\
**Replies:** 9\
**Last updated:** [1 June 2021 16:28 UTC](https://discourse.nodered.org/t/snmp-access-problem/45990 "2021-06-01T16:28:10Z")

</div>

I'm using SNMP Node and when I try to send the query to the snmp object the response it's a counter64 (buffer) Host-\> IP Community-\> Public SNMP version -\> 2c OID=1.3.6.1.2.1.31.1.1.1.10.1 I can't transform this buf…

---

## [Retrieving variables from payload object](https://discourse.nodered.org/t/retrieving-variables-from-payload-object/13101)

<div class="topic-metadata">

**Author:** [@KMBN](https://discourse.nodered.org/u/KMBN)\
**Replies:** 14\
**Last updated:** [1 June 2021 14:58 UTC](https://discourse.nodered.org/t/retrieving-variables-from-payload-object/13101 "2021-06-01T14:58:54Z")

</div>

I have constructed a flow which ends up turning a json string into an object with variables as follows: payload: array\[1\] 0: object DeviceId: "a name and number" Site: "a city name" UTC: "2019-07-10 07:54:49" Stat…

---

## [Node Red Status: I'm on close](https://discourse.nodered.org/t/node-red-status-im-on-close/46554)

<div class="topic-metadata">

**Author:** [@psalibe](https://discourse.nodered.org/u/psalibe)\
**Replies:** 2\
**Last updated:** [1 June 2021 14:55 UTC](https://discourse.nodered.org/t/node-red-status-im-on-close/46554 "2021-06-01T14:55:28Z")

</div>

When I run sudo systemctl status nodered I get the message... Jun 01 09:27:04 raspberrypi Node-RED\[398\]: I'm on close spitting a bunch of times. But my flow seems to be working. Just wondering what this is.. Thanks

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

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