# General

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

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

**Page:** 609

---

## [Sort Json Object variables using a function](https://discourse.nodered.org/t/sort-json-object-variables-using-a-function/12745)

<div class="topic-metadata">

**Author:** [@luisgcu](https://discourse.nodered.org/u/luisgcu)\
**Replies:** 12\
**Last updated:** [6 February 2021 13:55 UTC](https://discourse.nodered.org/t/sort-json-object-variables-using-a-function/12745 "2021-02-06T13:55:44Z")

</div>

Hello guys, I want to use a function node with several outputs to sort each variables contained in the object. Still Can't get it to work. any help appreciated. {"topic":"/v1.6/devices/MB10","payload":{"MB10":{"val…

---

## [Just my PC? Issue when scrolling list of JSONata functions in change node](https://discourse.nodered.org/t/just-my-pc-issue-when-scrolling-list-of-jsonata-functions-in-change-node/40492)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 0\
**Last updated:** [6 February 2021 13:54 UTC](https://discourse.nodered.org/t/just-my-pc-issue-when-scrolling-list-of-jsonata-functions-in-change-node/40492 "2021-02-06T13:54:33Z")

</div>

Not sure whether this is just my PC/browser playing up or whether others are also seeing it? In a change node set to use JSONata, in the JSONata editor panel, clicking to expand the list of JSONata functions and then tr…

---

## [RAW Command via TCP](https://discourse.nodered.org/t/raw-command-via-tcp/40489)

<div class="topic-metadata">

**Author:** [@martinschki](https://discourse.nodered.org/u/martinschki)\
**Replies:** 1\
**Last updated:** [6 February 2021 13:48 UTC](https://discourse.nodered.org/t/raw-command-via-tcp/40489 "2021-02-06T13:48:59Z")

</div>

Hi All, I need to send RAW commands via TCP to a device. The example would be: socat stdio tcp:192.168.1.1:22 and then the command ended by CRLF using the function msg.payload = "GetCommand 1234\\r\\n" doesn't work. …

---

## [Sort Json text and save in firebase](https://discourse.nodered.org/t/sort-json-text-and-save-in-firebase/40487)

<div class="topic-metadata">

**Author:** [@funhall](https://discourse.nodered.org/u/funhall)\
**Replies:** 1\
**Last updated:** [6 February 2021 13:42 UTC](https://discourse.nodered.org/t/sort-json-text-and-save-in-firebase/40487 "2021-02-06T13:42:11Z")

</div>

I have a problem I need help to. I get this Json from an API and I like to sort it and save it in fire base. But I cant figure out how to make the function code(template). Can someone please help me out here. I need …

---

## [Help with file reading and message formatting](https://discourse.nodered.org/t/help-with-file-reading-and-message-formatting/40467)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [6 February 2021 10:45 UTC](https://discourse.nodered.org/t/help-with-file-reading-and-message-formatting/40467 "2021-02-06T10:45:31Z")

</div>

I have files which are created every time the machine is booted. With fs-ops node/s I get a list of said files: \["Powered on at 2021-02-01 212108.db","Powered on at 2021-02-02 073139.db","Powered on at 2021-02-02 11460…

---

## [\`ping\` node story. Weird happenings](https://discourse.nodered.org/t/ping-node-story-weird-happenings/39983)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 19\
**Last updated:** [2 February 2021 00:58 UTC](https://discourse.nodered.org/t/ping-node-story-weird-happenings/39983 "2021-02-02T00:58:53Z")

</div>

Ok, I recently posted about the advanced-ping node because the original ping node didn't support a list being sent. (Or something like that.) I went through and modified the existing flows to use the standard ping node…

---

## [Multiple Values to InfluxDB](https://discourse.nodered.org/t/multiple-values-to-influxdb/40439)

<div class="topic-metadata">

**Author:** [@swanside](https://discourse.nodered.org/u/swanside)\
**Replies:** 9\
**Last updated:** [6 February 2021 10:01 UTC](https://discourse.nodered.org/t/multiple-values-to-influxdb/40439 "2021-02-06T10:01:26Z")

</div>

Hi, I am trying to send multiple values from a modbus device to InfluxDB. I can see the Ambient Temperature within Grafana, but i cant pick up the Battery SOC

---

## [Split and Join and manual join also includes '\["](https://discourse.nodered.org/t/split-and-join-and-manual-join-also-includes/40415)

<div class="topic-metadata">

**Author:** [@dwayne](https://discourse.nodered.org/u/dwayne)\
**Replies:** 5\
**Last updated:** [6 February 2021 06:42 UTC](https://discourse.nodered.org/t/split-and-join-and-manual-join-also-includes/40415 "2021-02-06T06:42:22Z")

</div>

Not sure if its a bug or not, but I'm having an issue with Split and Join. I split apart a message to edit the payload components based on a character "\[". Two separate observations: If I use automatic join, sometimes…

---

## [Help with Formatting and converting time string](https://discourse.nodered.org/t/help-with-formatting-and-converting-time-string/40471)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 4\
**Last updated:** [6 February 2021 07:25 UTC](https://discourse.nodered.org/t/help-with-formatting-and-converting-time-string/40471 "2021-02-06T07:25:45Z")

</div>

Hey Guys I have a Time that is being posted by my pool system which i am dragging down from the internet I end up with a string 2021-02-05T17:59:11.0000000Z from the HTTP request I want to do some maths on this to …

---

## [I can not control beaglebone black GPIO](https://discourse.nodered.org/t/i-can-not-control-beaglebone-black-gpio/40480)

<div class="topic-metadata">

**Author:** [@lpj669](https://discourse.nodered.org/u/lpj669)\
**Replies:** 0\
**Last updated:** [6 February 2021 07:22 UTC](https://discourse.nodered.org/t/i-can-not-control-beaglebone-black-gpio/40480 "2021-02-06T07:22:43Z")

</div>

I am a new user either with beagleboard black and node-red, I want to control beaglebone black GPIO using node-red-contrib-johnny5, my flow was listed as follows: \[{"id":"f5e61d75.93bc1","type":"tab","label":"流程1","dis…

---

## [Nginx basic authentication](https://discourse.nodered.org/t/nginx-basic-authentication/40350)

<div class="topic-metadata">

**Author:** [@njh](https://discourse.nodered.org/u/njh)\
**Replies:** 4\
**Last updated:** [6 February 2021 00:45 UTC](https://discourse.nodered.org/t/nginx-basic-authentication/40350 "2021-02-06T00:45:17Z")

</div>

Hi, I have node-red running behind a nginx proxy. I also have a couple of other things I want to put behind nginx too, including homebridge and mosquitto\_sub+frontail for viewing MQTT logs. I would really like to have …

---

## [Node-red-i2c: "Error: ENXIO, No such device or address"](https://discourse.nodered.org/t/node-red-i2c-error-enxio-no-such-device-or-address/40270)

<div class="topic-metadata">

**Author:** [@Leumas23](https://discourse.nodered.org/u/Leumas23)\
**Replies:** 9\
**Last updated:** [5 February 2021 20:44 UTC](https://discourse.nodered.org/t/node-red-i2c-error-enxio-no-such-device-or-address/40270 "2021-02-05T20:44:03Z")

</div>

Hey there. I'm new using node-red and I was using the node-red-i2c node to read data from my BH17450 luminoxity sensor but since a time ago I was receving the next error: "Error: ENXIO, No such device or address" I'm us…

---

## [Build digital twin with asset administration shell (a.a.s) on node-red](https://discourse.nodered.org/t/build-digital-twin-with-asset-administration-shell-a-a-s-on-node-red/39965)

<div class="topic-metadata">

**Author:** [@etops](https://discourse.nodered.org/u/etops)\
**Replies:** 1\
**Last updated:** [5 February 2021 20:36 UTC](https://discourse.nodered.org/t/build-digital-twin-with-asset-administration-shell-a-a-s-on-node-red/39965 "2021-02-05T20:36:06Z")

</div>

Hello, Anybody here has experience with A.A.S framework running in node-red? This open standard envolves multiple developers, communication protocols, manufactures and would be useful to build interoperable node-red app…

---

## [HTTP Request exception handilng problem](https://discourse.nodered.org/t/http-request-exception-handilng-problem/40456)

<div class="topic-metadata">

**Author:** [@mich3000](https://discourse.nodered.org/u/mich3000)\
**Replies:** 2\
**Last updated:** [5 February 2021 19:56 UTC](https://discourse.nodered.org/t/http-request-exception-handilng-problem/40456 "2021-02-05T19:56:42Z")

</div>

I just started learning node-red and i am trying to handle exception of HTTP request node. When ECONNREFUSED error occurs i try to catch it with CATCH Node. Error is catched with CATCH but also next node after HTTP Req…

---

## [Really struggling with 1 button and 3 states](https://discourse.nodered.org/t/really-struggling-with-1-button-and-3-states/40433)

<div class="topic-metadata">

**Author:** [@gdr2404](https://discourse.nodered.org/u/gdr2404)\
**Replies:** 16\
**Last updated:** [5 February 2021 19:52 UTC](https://discourse.nodered.org/t/really-struggling-with-1-button-and-3-states/40433 "2021-02-05T19:52:15Z")

</div>

Been using node red for about a year now and feel i have somewhat of a half decent understanding with it. But there's one flow I can't get my head around, the "simple garage door". I feel like this could be the same wit…

---

## [Stop two flows from triggering each other](https://discourse.nodered.org/t/stop-two-flows-from-triggering-each-other/40417)

<div class="topic-metadata">

**Author:** [@molsonb](https://discourse.nodered.org/u/molsonb)\
**Replies:** 3\
**Last updated:** [5 February 2021 18:59 UTC](https://discourse.nodered.org/t/stop-two-flows-from-triggering-each-other/40417 "2021-02-05T18:59:32Z")

</div>

I have two flows. If you change the thermostat to heat\_cool mode, it turns on the hvac schedule boolean in homeassistant. If you turn on the hvac schedule boolean in homeassistant, it changes the thermostat to heat\_cool…

---

## [CSV with commas in contents (column names)](https://discourse.nodered.org/t/csv-with-commas-in-contents-column-names/40449)

<div class="topic-metadata">

**Author:** [@vajonam](https://discourse.nodered.org/u/vajonam)\
**Replies:** 2\
**Last updated:** [5 February 2021 17:30 UTC](https://discourse.nodered.org/t/csv-with-commas-in-contents-column-names/40449 "2021-02-05T17:30:25Z")

</div>

Date,Algoma\_Public\_Health\_Unit,Brant\_County\_Health\_Unit,Chatham-Kent\_Health\_Unit,Durham\_Region\_Health\_Department,Eastern\_Ontario\_Health\_Unit,Grey\_Bruce\_Health\_Unit,Haldimand-Norfolk\_Health\_Unit,"Haliburton,\_Kawartha,\_Pin…

---

## [Help with splitting Buffer](https://discourse.nodered.org/t/help-with-splitting-buffer/40446)

<div class="topic-metadata">

**Author:** [@diaz\_1988](https://discourse.nodered.org/u/diaz_1988)\
**Replies:** 3\
**Last updated:** [5 February 2021 16:04 UTC](https://discourse.nodered.org/t/help-with-splitting-buffer/40446 "2021-02-05T16:04:02Z")

</div>

Hey all, could someone help with this ? I want to split from (buffer 2) the (0) element as it is shown in the pic but since now i have not managet to do it . Thanks in advance.

---

## [Email sender name](https://discourse.nodered.org/t/email-sender-name/40442)

<div class="topic-metadata">

**Author:** [@MKaiser96](https://discourse.nodered.org/u/MKaiser96)\
**Replies:** 2\
**Last updated:** [5 February 2021 15:20 UTC](https://discourse.nodered.org/t/email-sender-name/40442 "2021-02-05T15:20:12Z")

</div>

Hi, I use node-red-node-email to send emails. Is it possible to change the sender name? The emails I got has only the adress as sender. But I want to add a name there. It should looks like: Node-RED (xyz@gmail.com) I …

---

## [How to convert my modbus data to Fahrenheit](https://discourse.nodered.org/t/how-to-convert-my-modbus-data-to-fahrenheit/40398)

<div class="topic-metadata">

**Author:** [@jjw](https://discourse.nodered.org/u/jjw)\
**Replies:** 5\
**Last updated:** [5 February 2021 14:23 UTC](https://discourse.nodered.org/t/how-to-convert-my-modbus-data-to-fahrenheit/40398 "2021-02-05T14:23:57Z")

</div>

I have a ADAMS 6015 RTD module which i wanna use with node red. Can only communication with it via Modbus read. I have gotten as far as getting decimal and hexadecimal temperature values back to node red via Modbus rea…

---

## [Send an array value to url](https://discourse.nodered.org/t/send-an-array-value-to-url/40421)

<div class="topic-metadata">

**Author:** [@dowermyr](https://discourse.nodered.org/u/dowermyr)\
**Replies:** 8\
**Last updated:** [5 February 2021 14:06 UTC](https://discourse.nodered.org/t/send-an-array-value-to-url/40421 "2021-02-05T14:06:52Z")

</div>

Hi! When I get a value from a calculator node, I want to get the value thru a function node and supply the value to a url. If the value is negative, I want to insert the value zero. I've tried using param but something…

---

## [Looping through xml file](https://discourse.nodered.org/t/looping-through-xml-file/40302)

<div class="topic-metadata">

**Author:** [@vikingsraven](https://discourse.nodered.org/u/vikingsraven)\
**Replies:** 4\
**Last updated:** [5 February 2021 13:32 UTC](https://discourse.nodered.org/t/looping-through-xml-file/40302 "2021-02-05T13:32:59Z")

</div>

HI , noob to javascript and node-red , but loving it. managed to get a complex bit of code running but now im stuck on possibly a really simple issue. so i have an xml file that i need to pull some data off ( badly form…

---

## [Get iPhone battery state while locked](https://discourse.nodered.org/t/get-iphone-battery-state-while-locked/40409)

<div class="topic-metadata">

**Author:** [@anqdc](https://discourse.nodered.org/u/anqdc)\
**Replies:** 4\
**Last updated:** [5 February 2021 10:34 UTC](https://discourse.nodered.org/t/get-iphone-battery-state-while-locked/40409 "2021-02-05T10:34:17Z")

</div>

Hello, I've been getting into home automation for the last year or so, and just discovered the wonders of HA and Node Red! I'm currently trying to make a flow where if the battery state of my phone changes to Charging …

---

## [Using wss for node-red-contrib-ocpp](https://discourse.nodered.org/t/using-wss-for-node-red-contrib-ocpp/40431)

<div class="topic-metadata">

**Author:** [@ocpp](https://discourse.nodered.org/u/ocpp)\
**Replies:** 0\
**Last updated:** [5 February 2021 09:16 UTC](https://discourse.nodered.org/t/using-wss-for-node-red-contrib-ocpp/40431 "2021-02-05T09:16:24Z")

</div>

Hello everyone, I have setup a local server in my LAN with the following: Apache 2.4.41 NodeJS 10.19.0 Node Red 1.2.9 Generated SSL certificate for localhost with openssl I installed the Node Red OCPP project from …

---

## [Exec node with dashboard switch?](https://discourse.nodered.org/t/exec-node-with-dashboard-switch/40427)

<div class="topic-metadata">

**Author:** [@Summer](https://discourse.nodered.org/u/Summer)\
**Replies:** 2\
**Last updated:** [5 February 2021 08:49 UTC](https://discourse.nodered.org/t/exec-node-with-dashboard-switch/40427 "2021-02-05T08:49:55Z")

</div>

Hi, I want to use a dashboard ui\_switch as this: on : start the exec node off: stop the exec node I've tried those settings but everytime the OFF state is triggered it start a new process leaving current running: …

---

## [BCC function node help](https://discourse.nodered.org/t/bcc-function-node-help/40399)

<div class="topic-metadata">

**Author:** [@New2Node](https://discourse.nodered.org/u/New2Node)\
**Replies:** 0\
**Last updated:** [4 February 2021 20:02 UTC](https://discourse.nodered.org/t/bcc-function-node-help/40399 "2021-02-04T20:02:29Z")

</div>

Hi, I’m looking for a function that will calculate a BCC character. I’ve seen some examples on the forum but nothing which gives me what I need. I’m talking to a serial device which outputs binary buffers. The descript…

---

## [Opening node-red](https://discourse.nodered.org/t/opening-node-red/39665)

<div class="topic-metadata">

**Author:** [@Mas](https://discourse.nodered.org/u/Mas)\
**Replies:** 54\
**Last updated:** [4 February 2021 18:28 UTC](https://discourse.nodered.org/t/opening-node-red/39665 "2021-02-04T18:28:46Z")

</div>

Hi, when I want to open node-red, I faced an error. Can you help me to resolve it?? TypeError: Cannot read property 'forEach' of undefined at Object.addModule (C:\\Users\\Admin\\AppData\\Roaming\\npm\\node\_modules\\node-red\\n…

---

## [WhatsApp integration](https://discourse.nodered.org/t/whatsapp-integration/40393)

<div class="topic-metadata">

**Author:** [@henrycosta05](https://discourse.nodered.org/u/henrycosta05)\
**Replies:** 2\
**Last updated:** [4 February 2021 18:24 UTC](https://discourse.nodered.org/t/whatsapp-integration/40393 "2021-02-04T18:24:14Z")

</div>

Hi guys, I'd like a suggestion to integrate node-red to whatsapp broker, any suggestions will be great. Here at Brazil whatsapp is the social media with more users. I've already tested node-red with telegram successfull…

---

## [\[MSSQL\] "Eproto" error after updating nodejs and node-red](https://discourse.nodered.org/t/mssql-eproto-error-after-updating-nodejs-and-node-red/40323)

<div class="topic-metadata">

**Author:** [@Nxito](https://discourse.nodered.org/u/Nxito)\
**Replies:** 10\
**Last updated:** [4 February 2021 17:37 UTC](https://discourse.nodered.org/t/mssql-eproto-error-after-updating-nodejs-and-node-red/40323 "2021-02-04T17:37:35Z")

</div>

I have recently updated node-red to 1.2.7 and nodejs to 14.15.4, and while I was testing it I have seen that the sql nodes I use (node-red-contrib-mssql-plus) give me an error. Not long ago I published if there could be…

---

## [Using Node-Red for Enterprise Software](https://discourse.nodered.org/t/using-node-red-for-enterprise-software/40247)

<div class="topic-metadata">

**Author:** [@monkeydust](https://discourse.nodered.org/u/monkeydust)\
**Replies:** 15\
**Last updated:** [4 February 2021 16:42 UTC](https://discourse.nodered.org/t/using-node-red-for-enterprise-software/40247 "2021-02-04T16:42:14Z")

</div>

Hi, Interested to know of any real world examples of people / firms using NR as the backbone to their No/Low Code Platform? This space is very thematic at the moment and a number of firms (e.g. n8n, Tray) have gone dow…

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

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