# General

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

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

**Page:** 392

---

## [Z-Wave devices not communicating (nodered-contrib-openzwave)](https://discourse.nodered.org/t/z-wave-devices-not-communicating-nodered-contrib-openzwave/60881)

<div class="topic-metadata">

**Author:** [@Mamonetti](https://discourse.nodered.org/u/Mamonetti)\
**Replies:** 21\
**Last updated:** [13 April 2022 21:55 UTC](https://discourse.nodered.org/t/z-wave-devices-not-communicating-nodered-contrib-openzwave/60881 "2022-04-13T21:55:12Z")

</div>

I have a scenario with multiple Raspberry Pi using an Aeotec Gen5 USB stick to communicate with Z-Wave devices, with some of them close enough to be in range of devices from other sticks. Each one of them has a preconfig…

---

## [Convert msg.payload from sql node to an array for bar chart](https://discourse.nodered.org/t/convert-msg-payload-from-sql-node-to-an-array-for-bar-chart/61250)

<div class="topic-metadata">

**Author:** [@cpedroni](https://discourse.nodered.org/u/cpedroni)\
**Replies:** 4\
**Last updated:** [13 April 2022 19:00 UTC](https://discourse.nodered.org/t/convert-msg-payload-from-sql-node-to-an-array-for-bar-chart/61250 "2022-04-13T19:00:29Z")

</div>

Hello, I am new to the node-red community. I am currently trying to display data from an sql database in a bar chart. I have an sql table with two columns : client (name of the client) and nbconnexion (number of times t…

---

## [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 …

---

## [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…

---

## [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…

---

## [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": "…

---

## [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 …

---

## [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…

---

## [Array compare not going well](https://discourse.nodered.org/t/array-compare-not-going-well/61163)

<div class="topic-metadata">

**Author:** [@Olivia](https://discourse.nodered.org/u/Olivia)\
**Replies:** 10\
**Last updated:** [12 April 2022 12:21 UTC](https://discourse.nodered.org/t/array-compare-not-going-well/61163 "2022-04-12T12:21:47Z")

</div>

Hello everyone, i would like to compare an array, when its 1,1 its should give 1 as output and when its 0,0 it should give a 0. Every other combination should give an error message. i tried this as you can see bellow b…

---

## [Function problem](https://discourse.nodered.org/t/function-problem/61170)

<div class="topic-metadata">

**Author:** [@rubenbraekman](https://discourse.nodered.org/u/rubenbraekman)\
**Replies:** 6\
**Last updated:** [12 April 2022 11:54 UTC](https://discourse.nodered.org/t/function-problem/61170 "2022-04-12T11:54:41Z")

</div>

Hello, a noob here, I'm trying to create a function that outputs a true or false depending on the situation. When the number is positive the output has to be false and when the number is negative the output has to be tr…

---

## [Watson machine learning node credentials (node-red-contrib-watson-machine-learning node)](https://discourse.nodered.org/t/watson-machine-learning-node-credentials-node-red-contrib-watson-machine-learning-node/61165)

<div class="topic-metadata">

**Author:** [@Apoorva](https://discourse.nodered.org/u/Apoorva)\
**Replies:** 0\
**Last updated:** [12 April 2022 10:56 UTC](https://discourse.nodered.org/t/watson-machine-learning-node-credentials-node-red-contrib-watson-machine-learning-node/61165 "2022-04-12T10:56:02Z")

</div>

Hello! I am pretty new to using node-red so apologies if this is not the right place to post this. Essentially, I am working with the node-red-contrib-watson-machine-learning node to run predictions. This is the tutori…

---

## [Serial loopback, how to get message when no data received](https://discourse.nodered.org/t/serial-loopback-how-to-get-message-when-no-data-received/61161)

<div class="topic-metadata">

**Author:** [@tob84](https://discourse.nodered.org/u/tob84)\
**Replies:** 0\
**Last updated:** [12 April 2022 10:26 UTC](https://discourse.nodered.org/t/serial-loopback-how-to-get-message-when-no-data-received/61161 "2022-04-12T10:26:48Z")

</div>

serialloopback.json (6.9 KB) Hi all I've got a simple serial loopback flow writing a string from COM1-COM2 and COM3-COM4 every 3 seconds, and sending the output from COM3 and COM4 to a TCP out node. This works fine but…

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

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