# Latest

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

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

**Page:** 590

---

## [Missing nodes:add event in editor when adding config node](https://discourse.nodered.org/t/missing-nodes-add-event-in-editor-when-adding-config-node/61213)

<div class="topic-metadata">

**Author:** [@tve](https://discourse.nodered.org/u/tve)\
**Replies:** 3\
**Last updated:** [13 April 2022 18:04 UTC](https://discourse.nodered.org/t/missing-nodes-add-event-in-editor-when-adding-config-node/61213 "2022-04-13T18:04:50Z")

</div>

When I edit a node that depends on a config node and I use the "add new ..." option in the standard config node selector input field a config node gets created as far as I can tell but I see no "nodes:add" event emitted. …

---

## [Failing to install aws-sdk for using in function node](https://discourse.nodered.org/t/failing-to-install-aws-sdk-for-using-in-function-node/60901)

<div class="topic-metadata">

**Author:** [@Barbudor](https://discourse.nodered.org/u/Barbudor)\
**Replies:** 1\
**Last updated:** [13 April 2022 16:24 UTC](https://discourse.nodered.org/t/failing-to-install-aws-sdk-for-using-in-function-node/60901 "2022-04-13T16:24:33Z")

</div>

Hi I would like to write some function node using aws-sdk in my Node-RED running as a docker container (official image nodered/node-red:2.2.2-14). I tried both npm install aws-sdk from the command line (from directo…

---

## [How to delete certain part of Message of sensor data?](https://discourse.nodered.org/t/how-to-delete-certain-part-of-message-of-sensor-data/61221)

<div class="topic-metadata">

**Author:** [@SammyJang](https://discourse.nodered.org/u/SammyJang)\
**Replies:** 3\
**Last updated:** [13 April 2022 14:37 UTC](https://discourse.nodered.org/t/how-to-delete-certain-part-of-message-of-sensor-data/61221 "2022-04-13T14:37:09Z")

</div>

Hi, I'm now working on a project to send data to my AWS DB. I have Wireless Sensor node which is connected to function, debug and mqtt out node. The sensor data is comming to debug page like this, { "addr": { "S": "…

---

## [Working dashboard- next steps?](https://discourse.nodered.org/t/working-dashboard-next-steps/60595)

<div class="topic-metadata">

**Author:** [@SHAMOO](https://discourse.nodered.org/u/SHAMOO)\
**Replies:** 11\
**Last updated:** [13 April 2022 13:42 UTC](https://discourse.nodered.org/t/working-dashboard-next-steps/60595 "2022-04-13T13:42:52Z")

</div>

Hi folks! We've been prototyping with a ClickPlus PLC talking to mosquitto, ending up at Node-RED, with the goal of ending up with a web-enabled product. We almost have the PLC running through a VPN for remote access, n…

---

## [Dynamically passing msg.filename from Watch node into File In Node](https://discourse.nodered.org/t/dynamically-passing-msg-filename-from-watch-node-into-file-in-node/61011)

<div class="topic-metadata">

**Author:** [@dubnemo](https://discourse.nodered.org/u/dubnemo)\
**Replies:** 17\
**Last updated:** [13 April 2022 13:31 UTC](https://discourse.nodered.org/t/dynamically-passing-msg-filename-from-watch-node-into-file-in-node/61011 "2022-04-13T13:31:14Z")

</div>

I read in this Topic I could get the full path in the File In node using the msg.filename variable created the Watch node. Yes, the msg.filename variable has the full path: /home/nemo/download/InFieldProductID/CSV : m…

---

## [Get motion for last 60 minutes](https://discourse.nodered.org/t/get-motion-for-last-60-minutes/60935)

<div class="topic-metadata">

**Author:** [@ifrenken](https://discourse.nodered.org/u/ifrenken)\
**Replies:** 22\
**Last updated:** [13 April 2022 13:19 UTC](https://discourse.nodered.org/t/get-motion-for-last-60-minutes/60935 "2022-04-13T13:19:24Z")

</div>

Hello, I'm have flow that will switch off the lights a a specific time. That is the easy part. But now I will extend this flow with the part that it is only allowed to switch of the light if there was no motion detected …

---

## [How to prepopulate a datetime picker text input in node-red-dashboard](https://discourse.nodered.org/t/how-to-prepopulate-a-datetime-picker-text-input-in-node-red-dashboard/61237)

<div class="topic-metadata">

**Author:** [@rotycha](https://discourse.nodered.org/u/rotycha)\
**Replies:** 0\
**Last updated:** [13 April 2022 12:35 UTC](https://discourse.nodered.org/t/how-to-prepopulate-a-datetime-picker-text-input-in-node-red-dashboard/61237 "2022-04-13T12:35:35Z")

</div>

Hello, I am new to node red and need to find a way to prepopulate a datetime picker text input with information that the user typed in. I am doing this in case they refresh the page or switch tabs, I want them to come b…

---

## [Sending Hexadecimal commands to a DX 200 controller via TCP](https://discourse.nodered.org/t/sending-hexadecimal-commands-to-a-dx-200-controller-via-tcp/61224)

<div class="topic-metadata">

**Author:** [@Vedant](https://discourse.nodered.org/u/Vedant)\
**Replies:** 6\
**Last updated:** [13 April 2022 12:47 UTC](https://discourse.nodered.org/t/sending-hexadecimal-commands-to-a-dx-200-controller-via-tcp/61224 "2022-04-13T12:47:52Z")

</div>

Hello Everyone! I am trying to send some hexa decimal commands to a DX200 controller via tcp request node and ideally it should respond with some data. Right now it is not sending anything. I have defined the ip address …

---

## [Node-Red AIML Mosquitto](https://discourse.nodered.org/t/node-red-aiml-mosquitto/61201)

<div class="topic-metadata">

**Author:** [@Diego.82](https://discourse.nodered.org/u/Diego.82)\
**Replies:** 6\
**Last updated:** [13 April 2022 11:42 UTC](https://discourse.nodered.org/t/node-red-aiml-mosquitto/61201 "2022-04-13T11:42:51Z")

</div>

Hi guys I have a problem between Node-Red and Python communicating through the broker Mqtt mosquitto. The problem is that I cannot convert the message.payload sent by the broker to python to pass it as simple user input. …

---

## [How to remove node-red-contrib-mssql](https://discourse.nodered.org/t/how-to-remove-node-red-contrib-mssql/60743)

<div class="topic-metadata">

**Author:** [@TROJAN053](https://discourse.nodered.org/u/TROJAN053)\
**Replies:** 8\
**Last updated:** [13 April 2022 11:35 UTC](https://discourse.nodered.org/t/how-to-remove-node-red-contrib-mssql/60743 "2022-04-13T11:35:46Z")

</div>

HI, I wanted to update my node from mssql to mssql plus. For that i was trying to remove the node but unable to do so. I have deleted all my flows which were using mssql as node and with npm command uninstalled it. Afte…

---

## [How to control Waveshare motor driver hat?](https://discourse.nodered.org/t/how-to-control-waveshare-motor-driver-hat/61231)

<div class="topic-metadata">

**Author:** [@dvovla](https://discourse.nodered.org/u/dvovla)\
**Replies:** 1\
**Last updated:** [13 April 2022 11:27 UTC](https://discourse.nodered.org/t/how-to-control-waveshare-motor-driver-hat/61231 "2022-04-13T11:27:20Z")

</div>

Does anyone know how to control this hat from nodered? Thanks

---

## [MQTT Smart Socket?](https://discourse.nodered.org/t/mqtt-smart-socket/58169)

<div class="topic-metadata">

**Author:** [@MakerMan](https://discourse.nodered.org/u/MakerMan)\
**Replies:** 12\
**Last updated:** [13 April 2022 10:40 UTC](https://discourse.nodered.org/t/mqtt-smart-socket/58169 "2022-04-13T10:40:38Z")

</div>

I am looking for a smart socket that will connect to a third party WiFi network and which can be configured to connect to my MQTT broker (at a fixed public IP address). I want to be able to turn this on and off with MQT…

---

## [Error: Pool is closed (mysql)](https://discourse.nodered.org/t/error-pool-is-closed-mysql/61226)

<div class="topic-metadata">

**Author:** [@Hunter](https://discourse.nodered.org/u/Hunter)\
**Replies:** 3\
**Last updated:** [13 April 2022 08:46 UTC](https://discourse.nodered.org/t/error-pool-is-closed-mysql/61226 "2022-04-13T08:46:40Z")

</div>

Hello, My NodeRED reads from an SQL database. I recently moved to a different host, so a new IP to connect to, etc. I had 2 database I could choose in the mysql node, I recently removed the old one but now I'm getting t…

---

## [Checking status change after a given delay](https://discourse.nodered.org/t/checking-status-change-after-a-given-delay/10806)

<div class="topic-metadata">

**Author:** [@ahmedalalousi](https://discourse.nodered.org/u/ahmedalalousi)\
**Replies:** 4\
**Last updated:** [13 April 2022 06:52 UTC](https://discourse.nodered.org/t/checking-status-change-after-a-given-delay/10806 "2022-04-13T06:52:00Z")

</div>

Folks, Need a bit of help here. I'm checking a GPIO change of state. When a change of state happens, I need to wait for a predetermined amount of time, check again and only take action if the status change is the same…

---

## [What does the TCP Request Node by a time-out?](https://discourse.nodered.org/t/what-does-the-tcp-request-node-by-a-time-out/61217)

<div class="topic-metadata">

**Author:** [@RoshiOfficially](https://discourse.nodered.org/u/RoshiOfficially)\
**Replies:** 0\
**Last updated:** [13 April 2022 06:40 UTC](https://discourse.nodered.org/t/what-does-the-tcp-request-node-by-a-time-out/61217 "2022-04-13T06:40:39Z")

</div>

Greetings Ladies and Gentlemen. Question: What does the TCP Request Node by a time out? Does the node return than null? Does it wait till a response is resieved? I can't create the issue in my test inviroment and the…

---

## [If input doesn't change in x seconds, then return msg. Else, don't return anything](https://discourse.nodered.org/t/if-input-doesnt-change-in-x-seconds-then-return-msg-else-dont-return-anything/61212)

<div class="topic-metadata">

**Author:** [@nightmareside15](https://discourse.nodered.org/u/nightmareside15)\
**Replies:** 2\
**Last updated:** [13 April 2022 06:01 UTC](https://discourse.nodered.org/t/if-input-doesnt-change-in-x-seconds-then-return-msg-else-dont-return-anything/61212 "2022-04-13T06:01:12Z")

</div>

Hello. Is there a way to make sure I could achieve this condition. I am using a proximity sensor, which is connected to raspberry pi. There are times when the raspberry give me input even though the proximity doesn't det…

---

## [Installing a module fails to install dependencies?](https://discourse.nodered.org/t/installing-a-module-fails-to-install-dependencies/60059)

<div class="topic-metadata">

**Author:** [@tve](https://discourse.nodered.org/u/tve)\
**Replies:** 11\
**Last updated:** [10 April 2022 22:50 UTC](https://discourse.nodered.org/t/installing-a-module-fails-to-install-dependencies/60059 "2022-04-10T22:50:57Z")

</div>

I'm having difficulties with NPM dependency installation. It's not happening the way I would hope it would... Specifically: node-red-fd-corewidgets depends on node-red-flexdash if I install node-red-fd-corewidgets us…

---

## [Function output payload](https://discourse.nodered.org/t/function-output-payload/61098)

<div class="topic-metadata">

**Author:** [@jonkers71](https://discourse.nodered.org/u/jonkers71)\
**Replies:** 3\
**Last updated:** [11 April 2022 07:15 UTC](https://discourse.nodered.org/t/function-output-payload/61098 "2022-04-11T07:15:42Z")

</div>

Hello all. This is probably really easy for somebody but I am struggling. I have read a bunch of stuff and never done any js stuff. I am trying to use net-snmp in a function node. I need to eventually get snmp-v3 but…

---

## [Use switch node to identify path?](https://discourse.nodered.org/t/use-switch-node-to-identify-path/61204)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 2\
**Last updated:** [12 April 2022 22:16 UTC](https://discourse.nodered.org/t/use-switch-node-to-identify-path/61204 "2022-04-12T22:16:52Z")

</div>

I'm receiving the following status messages originating via MQTT; ...and trying to use a switch node to discriminate between msg.payload.POWER and msg.payload.Delay. Is this possible with a switch node? I can of cour…

---

## [Combine 3 modbus registers with one gpio input to make a logic](https://discourse.nodered.org/t/combine-3-modbus-registers-with-one-gpio-input-to-make-a-logic/61205)

<div class="topic-metadata">

**Author:** [@n1k0nx](https://discourse.nodered.org/u/n1k0nx)\
**Replies:** 0\
**Last updated:** [12 April 2022 21:56 UTC](https://discourse.nodered.org/t/combine-3-modbus-registers-with-one-gpio-input-to-make-a-logic/61205 "2022-04-12T21:56:38Z")

</div>

Hello I'm new here, first of all for my poor english! I'm studying to do a simple logic where I read some value as temperature, heat/cool value and one gpio input and I'm trying to combine in this way: If heat and gp…

---

## [pH calibration, whats is wrong?](https://discourse.nodered.org/t/ph-calibration-whats-is-wrong/61174)

<div class="topic-metadata">

**Author:** [@devifast](https://discourse.nodered.org/u/devifast)\
**Replies:** 1\
**Last updated:** [12 April 2022 20:09 UTC](https://discourse.nodered.org/t/ph-calibration-whats-is-wrong/61174 "2022-04-12T20:09:50Z")

</div>

\[ { "id": "9bbec62db580ce90", "type": "tab", "label": "Flow 1", "disabled": false, "info": "", "env": \[\] }, { "id": "952dcb48.6ad238", "type": "…

---

## [Random node ids in subflows](https://discourse.nodered.org/t/random-node-ids-in-subflows/61110)

<div class="topic-metadata">

**Author:** [@guidone](https://discourse.nodered.org/u/guidone)\
**Replies:** 3\
**Last updated:** [12 April 2022 19:51 UTC](https://discourse.nodered.org/t/random-node-ids-in-subflows/61110 "2022-04-12T19:51:26Z")

</div>

Hi guys, The context: we're using Node-RED to interact with a conversational API, this means that at some point a custom node calls an endpoint and, when the conversation continues, the API triggers a particular event, …

---

## [SyntaxError: Invalid or unexpected token: error parameterizing the node node-red-contrib-stackhero-mysql](https://discourse.nodered.org/t/syntaxerror-invalid-or-unexpected-token-error-parameterizing-the-node-node-red-contrib-stackhero-mysql/61044)

<div class="topic-metadata">

**Author:** [@lvcoca](https://discourse.nodered.org/u/lvcoca)\
**Replies:** 14\
**Last updated:** [12 April 2022 19:39 UTC](https://discourse.nodered.org/t/syntaxerror-invalid-or-unexpected-token-error-parameterizing-the-node-node-red-contrib-stackhero-mysql/61044 "2022-04-12T19:39:35Z")

</div>

Hello. I am new using node-red. I've only been working with this system for a couple of months. So far I'm doing fine, but my first problem that I can't solve happened when I tried to compile the nodes node-red-node-mysq…

---

## [Project Flow File Not Found After Clone](https://discourse.nodered.org/t/project-flow-file-not-found-after-clone/61188)

<div class="topic-metadata">

**Author:** [@aa0z](https://discourse.nodered.org/u/aa0z)\
**Replies:** 3\
**Last updated:** [12 April 2022 18:06 UTC](https://discourse.nodered.org/t/project-flow-file-not-found-after-clone/61188 "2022-04-12T18:06:13Z")

</div>

All, Not very experienced with github as it took some doing to get setup. I have project out on my site that I've been updating and uploading to. A while back I had made a change in Node Red and it lost my Github sett…

---

## [Need help with a flow](https://discourse.nodered.org/t/need-help-with-a-flow/61122)

<div class="topic-metadata">

**Author:** [@tellblom](https://discourse.nodered.org/u/tellblom)\
**Replies:** 12\
**Last updated:** [12 April 2022 15:04 UTC](https://discourse.nodered.org/t/need-help-with-a-flow/61122 "2022-04-12T15:04:57Z")

</div>

Using Node Red in HomeAssistant and need some help with a flow. To be fair I am quite new to Node Red :slight\_smile: To understand what I want to do I have created this flowchart The problem I have is setting a tim…

---

## [Is there some Dropdown Menu functionality in order to select an MQTT broker?](https://discourse.nodered.org/t/is-there-some-dropdown-menu-functionality-in-order-to-select-an-mqtt-broker/61183)

<div class="topic-metadata">

**Author:** [@Shan](https://discourse.nodered.org/u/Shan)\
**Replies:** 1\
**Last updated:** [12 April 2022 14:44 UTC](https://discourse.nodered.org/t/is-there-some-dropdown-menu-functionality-in-order-to-select-an-mqtt-broker/61183 "2022-04-12T14:44:42Z")

</div>

I have read some information about MQTT Dynamic Configurations, where one can force the node to connect to one MQTT or another. I was wondering if this functionality can be triggered by an end-user also using some drop d…

---

## [Mask a specific area in a camera stream](https://discourse.nodered.org/t/mask-a-specific-area-in-a-camera-stream/60895)

<div class="topic-metadata">

**Author:** [@FireWizard52](https://discourse.nodered.org/u/FireWizard52)\
**Replies:** 6\
**Last updated:** [12 April 2022 14:38 UTC](https://discourse.nodered.org/t/mask-a-specific-area-in-a-camera-stream/60895 "2022-04-12T14:38:48Z")

</div>

I have currently installed some pieces of relative cheap IP camera's, that I use as a motion detector. These camera's has become end of life. For what I paid for it (10 Euro each), they have a lot of possibilities, such …

---

## [Using node-red with ERP using ActiveX COM](https://discourse.nodered.org/t/using-node-red-with-erp-using-activex-com/60987)

<div class="topic-metadata">

**Author:** [@steveneyre](https://discourse.nodered.org/u/steveneyre)\
**Replies:** 15\
**Last updated:** [12 April 2022 14:21 UTC](https://discourse.nodered.org/t/using-node-red-with-erp-using-activex-com/60987 "2022-04-12T14:21:16Z")

</div>

Has anyone had any success using node-red to consume activeX COM objects? My specific requirement is to communicate with an ERP system (3rd party software) installed on the same machine node-red is installed so I can tra…

---

## [Substract in an order](https://discourse.nodered.org/t/substract-in-an-order/61176)

<div class="topic-metadata">

**Author:** [@rubenbraekman](https://discourse.nodered.org/u/rubenbraekman)\
**Replies:** 4\
**Last updated:** [12 April 2022 13:26 UTC](https://discourse.nodered.org/t/substract-in-an-order/61176 "2022-04-12T13:26:30Z")

</div>

Hello, I'm now trying to substract 2 numbers but they need to be in a specific order, it always has to be PV\_DAK - PV\_SMA... Any idea how to do this, when I copy the path to the numbers with said topics it just says "pa…

---

## [Node-Red flow organisation](https://discourse.nodered.org/t/node-red-flow-organisation/60856)

<div class="topic-metadata">

**Author:** [@pdhaduk](https://discourse.nodered.org/u/pdhaduk)\
**Replies:** 11\
**Last updated:** [12 April 2022 12:51 UTC](https://discourse.nodered.org/t/node-red-flow-organisation/60856 "2022-04-12T12:51:53Z")

</div>

Hi Everyone, I have a node-red application with four tabs containing almost similar code. But, I want four users to use individual tabs as all four tabs might be used simultaneously. I will be using sub-flows to minimiz…

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

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