# General

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

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

**Page:** 315

---

## [Can't clone remote repository](https://discourse.nodered.org/t/cant-clone-remote-repository/9957)

<div class="topic-metadata">

**Author:** [@juan\_appspring](https://discourse.nodered.org/u/juan_appspring)\
**Replies:** 11\
**Last updated:** [4 October 2022 15:00 UTC](https://discourse.nodered.org/t/cant-clone-remote-repository/9957 "2022-10-04T15:00:12Z")

</div>

Hi guys, I've been trying to clone a remote repository but I keep getting error "Authentication failed". I've doublechecked SSH keys and many other things but everything seems correct. When I open the Event log I see t…

---

## [Is it possible to let node-red edit discreted parts of the application?](https://discourse.nodered.org/t/is-it-possible-to-let-node-red-edit-discreted-parts-of-the-application/68539)

<div class="topic-metadata">

**Author:** [@markleo](https://discourse.nodered.org/u/markleo)\
**Replies:** 3\
**Last updated:** [4 October 2022 13:20 UTC](https://discourse.nodered.org/t/is-it-possible-to-let-node-red-edit-discreted-parts-of-the-application/68539 "2022-10-04T13:20:43Z")

</div>

I have a express app for providing backend restful API. index.js :slight\_smile: const express = require('express') const app = express() // add app.get('/hello', (req, res) =\> { // logic steps let a = 'hello…

---

## [Disable debug log for node-red-contrib-opcua](https://discourse.nodered.org/t/disable-debug-log-for-node-red-contrib-opcua/68343)

<div class="topic-metadata">

**Author:** [@milkbaconleopardveal](https://discourse.nodered.org/u/milkbaconleopardveal)\
**Replies:** 3\
**Last updated:** [4 October 2022 13:05 UTC](https://discourse.nodered.org/t/disable-debug-log-for-node-red-contrib-opcua/68343 "2022-10-04T13:05:29Z")

</div>

Hello there, I'd like to know if there is a way to disable the verbose logging in the Debug panel generated by the plugin node-red-contrib-opcua as you can see here: It's useful but it prevents me to use the debug p…

---

## [Undefs don't want to go away](https://discourse.nodered.org/t/undefs-dont-want-to-go-away/68541)

<div class="topic-metadata">

**Author:** [@SeRiusRod](https://discourse.nodered.org/u/SeRiusRod)\
**Replies:** 1\
**Last updated:** [4 October 2022 12:26 UTC](https://discourse.nodered.org/t/undefs-dont-want-to-go-away/68541 "2022-10-04T12:26:48Z")

</div>

I have an strange problem and I thought I could share it in case someone wants to burn some neurons. I have I flow section where I retrieve data from three modbus queries and build an unique message. For that I use a jo…

---

## [What happens when Flows file not found?](https://discourse.nodered.org/t/what-happens-when-flows-file-not-found/68543)

<div class="topic-metadata">

**Author:** [@awneil](https://discourse.nodered.org/u/awneil)\
**Replies:** 2\
**Last updated:** [4 October 2022 12:02 UTC](https://discourse.nodered.org/t/what-happens-when-flows-file-not-found/68543 "2022-10-04T12:02:54Z")

</div>

The log tells me: dd Mmm hh:mm:ss - \[info\] Flows file : /home/pi/.node-red/flows\_raspberrypi.json dd Mmm hh:mm:ss - \[info\] Creating new flow file So it says it's created a new file, but I don't see a flows\_raspbe…

---

## ["typeError: Cannot Read Properties of undefined (reading '0')"](https://discourse.nodered.org/t/typeerror-cannot-read-properties-of-undefined-reading-0/68536)

<div class="topic-metadata">

**Author:** [@Drewdrops](https://discourse.nodered.org/u/Drewdrops)\
**Replies:** 6\
**Last updated:** [4 October 2022 10:34 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-properties-of-undefined-reading-0/68536 "2022-10-04T10:34:22Z")

</div>

Having issues with my node RED Code trying pull information from Watson but getting an error in my function node CODE: msg.payload = { chatId : msg.chatId, type : "message", content : msg.payload.output.t…

---

## [GPS device tcp communication](https://discourse.nodered.org/t/gps-device-tcp-communication/68534)

<div class="topic-metadata">

**Author:** [@Dba](https://discourse.nodered.org/u/Dba)\
**Replies:** 0\
**Last updated:** [4 October 2022 09:23 UTC](https://discourse.nodered.org/t/gps-device-tcp-communication/68534 "2022-10-04T09:23:38Z")

</div>

Hello, below is my flow for communicating a gps device on node red !Flow|690x299\](upload://5RN9tq5qV2mSdCJvd5W0qAjHL3J.png) Please somebody suggest a idea to respond 01 if the imei no icoming is in hex

---

## [Bitwise syntax error ("error in JavaScript code")](https://discourse.nodered.org/t/bitwise-syntax-error-error-in-javascript-code/68466)

<div class="topic-metadata">

**Author:** [@walberjunior](https://discourse.nodered.org/u/walberjunior)\
**Replies:** 23\
**Last updated:** [4 October 2022 06:04 UTC](https://discourse.nodered.org/t/bitwise-syntax-error-error-in-javascript-code/68466 "2022-10-04T06:04:01Z")

</div>

Hello. New to Node Red and Javascript. I have the code below in a function, but even though it works as I expect, the function gets "error in JavaScript code". msg.zone = ((msg.payload\[1 + 1\] \>\> 2) & (0x01 == 0x01)); …

---

## [Snmpset for snmpv3 command not working properly](https://discourse.nodered.org/t/snmpset-for-snmpv3-command-not-working-properly/68511)

<div class="topic-metadata">

**Author:** [@kevin\_zlq](https://discourse.nodered.org/u/kevin_zlq)\
**Replies:** 0\
**Last updated:** [3 October 2022 10:33 UTC](https://discourse.nodered.org/t/snmpset-for-snmpv3-command-not-working-properly/68511 "2022-10-03T10:33:57Z")

</div>

I encounter the issue with snmpset node, i m using snmpv3 with SHA/AES authentication and encryption, there is no error or timeout response and the command cannot be sent to the snmp device(agent), can anyone help to exp…

---

## [Need some help on monaco-editor](https://discourse.nodered.org/t/need-some-help-on-monaco-editor/68429)

<div class="topic-metadata">

**Author:** [@SandeepA](https://discourse.nodered.org/u/SandeepA)\
**Replies:** 9\
**Last updated:** [3 October 2022 20:56 UTC](https://discourse.nodered.org/t/need-some-help-on-monaco-editor/68429 "2022-10-03T20:56:44Z")

</div>

Hi , Is there a way to access Monaco. Editor object from within Node-Red ? I am specifically interested in the createDiffEditor and other functions which can help between 2 texts. (Any other options where i can do dif…

---

## [Split UDP port in Windows 10](https://discourse.nodered.org/t/split-udp-port-in-windows-10/68512)

<div class="topic-metadata">

**Author:** [@softy2k](https://discourse.nodered.org/u/softy2k)\
**Replies:** 4\
**Last updated:** [3 October 2022 21:27 UTC](https://discourse.nodered.org/t/split-udp-port-in-windows-10/68512 "2022-10-03T21:27:23Z")

</div>

I have a device connected via the network card to an application installed on a PC with Windows 10. The communication between the device and the application is carried out through a UDP port. If I stop that application,…

---

## [Some help please](https://discourse.nodered.org/t/some-help-please/68526)

<div class="topic-metadata">

**Author:** [@steveuk23](https://discourse.nodered.org/u/steveuk23)\
**Replies:** 0\
**Last updated:** [3 October 2022 21:17 UTC](https://discourse.nodered.org/t/some-help-please/68526 "2022-10-03T21:17:02Z")

</div>

Hi Guys hoping someone can help with something really basic that i can't get my head round lol So I'm doing the Hookups motion lights. I'm just wanting the light to come on with motion then dim then go off afterwards, …

---

## [Map() through array of objects and do math on them](https://discourse.nodered.org/t/map-through-array-of-objects-and-do-math-on-them/68433)

<div class="topic-metadata">

**Author:** [@VinistoisR](https://discourse.nodered.org/u/VinistoisR)\
**Replies:** 2\
**Last updated:** [3 October 2022 18:38 UTC](https://discourse.nodered.org/t/map-through-array-of-objects-and-do-math-on-them/68433 "2022-10-03T18:38:45Z")

</div>

I have this array of objects coming in on a msg.payload. (the actual array has lots of other key:value pairs that I'm not interested in \[ { "id": "99999", "signal": "voltage1", "timeseries": \[ { "…

---

## [Graphql subscription client with Authentication](https://discourse.nodered.org/t/graphql-subscription-client-with-authentication/68519)

<div class="topic-metadata">

**Author:** [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)\
**Replies:** 0\
**Last updated:** [3 October 2022 18:32 UTC](https://discourse.nodered.org/t/graphql-subscription-client-with-authentication/68519 "2022-10-03T18:32:58Z")

</div>

Does anyone have a function node for gql subscription client that support auth? Found several nodes on Pallet manager but they don't support it.

---

## [Running Docker commands in Node-red running on Docker](https://discourse.nodered.org/t/running-docker-commands-in-node-red-running-on-docker/68076)

<div class="topic-metadata">

**Author:** [@AgriSwanson](https://discourse.nodered.org/u/AgriSwanson)\
**Replies:** 3\
**Last updated:** [3 October 2022 15:24 UTC](https://discourse.nodered.org/t/running-docker-commands-in-node-red-running-on-docker/68076 "2022-10-03T15:24:59Z")

</div>

Hi, I am running Node-red and InfluxDB on Docker desktop, where Node-red is used to retrive data from a OPC-UA server and sending the data to InfluxDB. In order to export or create backup of the InfluxDB, i need to log…

---

## [Can i automate "pushing" commits to remote github repository?](https://discourse.nodered.org/t/can-i-automate-pushing-commits-to-remote-github-repository/68479)

<div class="topic-metadata">

**Author:** [@Aaroneisele55](https://discourse.nodered.org/u/Aaroneisele55)\
**Replies:** 4\
**Last updated:** [3 October 2022 14:56 UTC](https://discourse.nodered.org/t/can-i-automate-pushing-commits-to-remote-github-repository/68479 "2022-10-03T14:56:28Z")

</div>

Hello, I'm using the projects feature and I want to automatically push my changes to my remote repository, which is on github (like "if there is a new local commit, push that to github") How can i do that? Thanks, Aa…

---

## [Getting this error when try to use forEach on an array passed to a function : TypeError: users.forEach is not a function](https://discourse.nodered.org/t/getting-this-error-when-try-to-use-foreach-on-an-array-passed-to-a-function-typeerror-users-foreach-is-not-a-function/68508)

<div class="topic-metadata">

**Author:** [@Hitman2847](https://discourse.nodered.org/u/Hitman2847)\
**Replies:** 4\
**Last updated:** [3 October 2022 10:48 UTC](https://discourse.nodered.org/t/getting-this-error-when-try-to-use-foreach-on-an-array-passed-to-a-function-typeerror-users-foreach-is-not-a-function/68508 "2022-10-03T10:48:56Z")

</div>

I create a new array, or rather an empty one, then do some processing on it then pass it on to the function, but seems the function can't use forEach on the array I passed as input to the function, I can write that part …

---

## [Newbie using TCP nodes](https://discourse.nodered.org/t/newbie-using-tcp-nodes/68506)

<div class="topic-metadata">

**Author:** [@Elberto](https://discourse.nodered.org/u/Elberto)\
**Replies:** 1\
**Last updated:** [3 October 2022 09:33 UTC](https://discourse.nodered.org/t/newbie-using-tcp-nodes/68506 "2022-10-03T09:33:09Z")

</div>

Hi to all! I'm a newbie about node red and these are my first steps... I can't understand how to use TCP nodes. I need to do this about TCP handshaking between TCP client and TCP server, here handshaking example: Cli…

---

## [Which language should learn to work on functon node programing](https://discourse.nodered.org/t/which-language-should-learn-to-work-on-functon-node-programing/68501)

<div class="topic-metadata">

**Author:** [@aminulhaq](https://discourse.nodered.org/u/aminulhaq)\
**Replies:** 2\
**Last updated:** [3 October 2022 07:36 UTC](https://discourse.nodered.org/t/which-language-should-learn-to-work-on-functon-node-programing/68501 "2022-10-03T07:36:46Z")

</div>

Hi, I want to know that which language should learn to work on function node programing, l Thanks Amin

---

## [Hii Guys, came across error. I have attached image for reference. Can please tell me what is this error is about](https://discourse.nodered.org/t/hii-guys-came-across-error-i-have-attached-image-for-reference-can-please-tell-me-what-is-this-error-is-about/68500)

<div class="topic-metadata">

**Author:** [@Satyam](https://discourse.nodered.org/u/Satyam)\
**Replies:** 5\
**Last updated:** [3 October 2022 07:17 UTC](https://discourse.nodered.org/t/hii-guys-came-across-error-i-have-attached-image-for-reference-can-please-tell-me-what-is-this-error-is-about/68500 "2022-10-03T07:17:20Z")

</div>

---

## [How to insert data via mongoDB Atlas?](https://discourse.nodered.org/t/how-to-insert-data-via-mongodb-atlas/68503)

<div class="topic-metadata">

**Author:** [@choiprin0310](https://discourse.nodered.org/u/choiprin0310)\
**Replies:** 0\
**Last updated:** [3 October 2022 07:10 UTC](https://discourse.nodered.org/t/how-to-insert-data-via-mongodb-atlas/68503 "2022-10-03T07:10:37Z")

</div>

Hi, I'm trying to insert sample data in mongoDB Atlas. -First, this is my funcion code which works very well in any other mongodb server. var newMsg = {}; newMsg.collection = 'local'; newMsg.operation = 'insert';…

---

## [Can't install modbus on node-red](https://discourse.nodered.org/t/cant-install-modbus-on-node-red/68502)

<div class="topic-metadata">

**Author:** [@afafirmansyah](https://discourse.nodered.org/u/afafirmansyah)\
**Replies:** 2\
**Last updated:** [3 October 2022 07:08 UTC](https://discourse.nodered.org/t/cant-install-modbus-on-node-red/68502 "2022-10-03T07:08:00Z")

</div>

Node-RED version: v3.0.2 Node.js version: v16.17.0 please help, I can't install modbus module.

---

## [Cert has expired](https://discourse.nodered.org/t/cert-has-expired/68443)

<div class="topic-metadata">

**Author:** [@4integration](https://discourse.nodered.org/u/4integration)\
**Replies:** 5\
**Last updated:** [3 October 2022 06:59 UTC](https://discourse.nodered.org/t/cert-has-expired/68443 "2022-10-03T06:59:06Z")

</div>

Hi, I have a HTTP Request node which complains about CERT\_HAS\_EXPIRED. The site uses Lets Encrypt but not expired Any idea how to fix?

---

## [New to Node red variables](https://discourse.nodered.org/t/new-to-node-red-variables/68497)

<div class="topic-metadata">

**Author:** [@Kaij3](https://discourse.nodered.org/u/Kaij3)\
**Replies:** 1\
**Last updated:** [3 October 2022 04:28 UTC](https://discourse.nodered.org/t/new-to-node-red-variables/68497 "2022-10-03T04:28:07Z")

</div>

Hello all! I am new to using variables in Node Red, what i am trying to achieve in from the flow is that if msg.payload == 1 it will trigger a stopwatch function, but it needs flow.count = "start" to run the stopwatch f…

---

## [Signal generator simplification](https://discourse.nodered.org/t/signal-generator-simplification/68319)

<div class="topic-metadata">

**Author:** [@BVviktor](https://discourse.nodered.org/u/BVviktor)\
**Replies:** 10\
**Last updated:** [2 October 2022 22:32 UTC](https://discourse.nodered.org/t/signal-generator-simplification/68319 "2022-10-02T22:32:48Z")

</div>

Hi guys! :cowboy\_hat\_face: I want to generate a dummy rpm signal, which we will follow with a variable frequency drive via modbus communication protocol. I already made a signal generator subflow, which is really comp…

---

## [Using JSONata to filter out one phone number from a Fritzbox phone book](https://discourse.nodered.org/t/using-jsonata-to-filter-out-one-phone-number-from-a-fritzbox-phone-book/68493)

<div class="topic-metadata">

**Author:** [@haegar33](https://discourse.nodered.org/u/haegar33)\
**Replies:** 2\
**Last updated:** [2 October 2022 18:17 UTC](https://discourse.nodered.org/t/using-jsonata-to-filter-out-one-phone-number-from-a-fritzbox-phone-book/68493 "2022-10-02T18:17:07Z")

</div>

I got a phonebook record list from my Fritzbox router with the following structure: \[{ "category": "0", "person": { "realName": "Joe Blow" }, "uniqueid": "507", "telephony": { "servic…

---

## [Trying to use jsonata to reduce array of objects. Test data works OK but fails when deployed](https://discourse.nodered.org/t/trying-to-use-jsonata-to-reduce-array-of-objects-test-data-works-ok-but-fails-when-deployed/68491)

<div class="topic-metadata">

**Author:** [@colj](https://discourse.nodered.org/u/colj)\
**Replies:** 2\
**Last updated:** [2 October 2022 16:43 UTC](https://discourse.nodered.org/t/trying-to-use-jsonata-to-reduce-array-of-objects-test-data-works-ok-but-fails-when-deployed/68491 "2022-10-02T16:43:33Z")

</div>

Just started using node red. Have spent hours trying to get this to work! I have an array of objects which have entries for the next 72 hours ( JSON data from Solcast for PV forecasting) I'm only interested in tomorrows …

---

## [Zigbee shield on RPI](https://discourse.nodered.org/t/zigbee-shield-on-rpi/68389)

<div class="topic-metadata">

**Author:** [@funhall](https://discourse.nodered.org/u/funhall)\
**Replies:** 3\
**Last updated:** [2 October 2022 15:25 UTC](https://discourse.nodered.org/t/zigbee-shield-on-rpi/68389 "2022-10-02T15:25:16Z")

</div>

Hi. I like to control some zigbe units. And for this I have this Shield ZB-Shield - popp.eu But every tutorials I found is burning an image on SD card. But I already ave a lot on the SD card i need. So cant I just inst…

---

## [Detect if number contains decimal](https://discourse.nodered.org/t/detect-if-number-contains-decimal/68486)

<div class="topic-metadata">

**Author:** [@maltejahn](https://discourse.nodered.org/u/maltejahn)\
**Replies:** 9\
**Last updated:** [2 October 2022 14:02 UTC](https://discourse.nodered.org/t/detect-if-number-contains-decimal/68486 "2022-10-02T14:02:18Z")

</div>

Hi, i have a electric meter which sends me (rpi, serial measurement thingy, mqtt) the total amount of energy. But, thanks to german law or whatever (privacy reasons....), after a power breakdown the resolution drops to …

---

## [Why does my Pi Zero with Node-Red cannot take pictures](https://discourse.nodered.org/t/why-does-my-pi-zero-with-node-red-cannot-take-pictures/68428)

<div class="topic-metadata">

**Author:** [@pcborges](https://discourse.nodered.org/u/pcborges)\
**Replies:** 37\
**Last updated:** [2 October 2022 11:17 UTC](https://discourse.nodered.org/t/why-does-my-pi-zero-with-node-red-cannot-take-pictures/68428 "2022-10-02T11:17:48Z")

</div>

Hi, I am trying to take pictures with my Pi Zero and a simple Pi camera. Flow is as below: When I run it that is what I get on debug window: object \_msgid: "d3493c077845a223" payload: "" topic: "" filename: "" …

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

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