# General

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

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

**Page:** 118

---

## [Not able to connect to Iot Hub](https://discourse.nodered.org/t/not-able-to-connect-to-iot-hub/87120)

<div class="topic-metadata">

**Author:** [@nivi](https://discourse.nodered.org/u/nivi)\
**Replies:** 1\
**Last updated:** [10 April 2024 09:06 UTC](https://discourse.nodered.org/t/not-able-to-connect-to-iot-hub/87120 "2024-04-10T09:06:44Z")

</div>

I am trying to connect to Azure Iot hub using the Azure Iot Hub Receiver node, but connection is not getting established even after giving the correct conection string. I keep getting this error : received Attach for un…

---

## [Home Assistant light transitions](https://discourse.nodered.org/t/home-assistant-light-transitions/87083)

<div class="topic-metadata">

**Author:** [@killingerr](https://discourse.nodered.org/u/killingerr)\
**Replies:** 2\
**Last updated:** [10 April 2024 05:54 UTC](https://discourse.nodered.org/t/home-assistant-light-transitions/87083 "2024-04-10T05:54:28Z")

</div>

So I am trying to transition light colors over a period of time and I'm not quite sure what would be the best way to do this. I was looking into this but I can seem to find a good example of it in use. Any advice or guid…

---

## [Is it possible to order subflows by name on the left rail of the editor](https://discourse.nodered.org/t/is-it-possible-to-order-subflows-by-name-on-the-left-rail-of-the-editor/87116)

<div class="topic-metadata">

**Author:** [@athome](https://discourse.nodered.org/u/athome)\
**Replies:** 0\
**Last updated:** [10 April 2024 04:17 UTC](https://discourse.nodered.org/t/is-it-possible-to-order-subflows-by-name-on-the-left-rail-of-the-editor/87116 "2024-04-10T04:17:03Z")

</div>

I have grubbed around in the forum and the editor docs and can't find anything that mentions sort order options for the display of subflows on the left rail of the editor. Is it possible to sort them by name? Thanks in…

---

## [How to access Node-RED GUI that's hosted in an Azure VM?](https://discourse.nodered.org/t/how-to-access-node-red-gui-thats-hosted-in-an-azure-vm/87103)

<div class="topic-metadata">

**Author:** [@PIQAdmin](https://discourse.nodered.org/u/PIQAdmin)\
**Replies:** 2\
**Last updated:** [9 April 2024 17:31 UTC](https://discourse.nodered.org/t/how-to-access-node-red-gui-thats-hosted-in-an-azure-vm/87103 "2024-04-09T17:31:50Z")

</div>

Hello. I am trying to use a MING setup (MQTT, InfluxDB, Node-RED, Grafana) that is hosted on an Azure virtual machine running Debian. The problem here is that I am unable to access the web GUI for NR from my main PC (not…

---

## [Octopus Agile Price](https://discourse.nodered.org/t/octopus-agile-price/87084)

<div class="topic-metadata">

**Author:** [@Dacron](https://discourse.nodered.org/u/Dacron)\
**Replies:** 5\
**Last updated:** [9 April 2024 14:47 UTC](https://discourse.nodered.org/t/octopus-agile-price/87084 "2024-04-09T14:47:57Z")

</div>

I would like to bring the current Agile price in to Node Red can anyone point me in the right direction. Thanks

---

## [Filter by change or x min](https://discourse.nodered.org/t/filter-by-change-or-x-min/87076)

<div class="topic-metadata">

**Author:** [@volvog](https://discourse.nodered.org/u/volvog)\
**Replies:** 15\
**Last updated:** [9 April 2024 12:31 UTC](https://discourse.nodered.org/t/filter-by-change-or-x-min/87076 "2024-04-09T12:31:02Z")

</div>

I want to reduce data flow. From a sensor I get a value every 10s. In case there's no change I don't want to save this value (RBE-Node) except every 5 min (something like "still alive")... Otherwise it'll look in the das…

---

## [Error HTTP request post](https://discourse.nodered.org/t/error-http-request-post/87097)

<div class="topic-metadata">

**Author:** [@LinkView\_Maze](https://discourse.nodered.org/u/LinkView_Maze)\
**Replies:** 4\
**Last updated:** [9 April 2024 09:07 UTC](https://discourse.nodered.org/t/error-http-request-post/87097 "2024-04-09T09:07:03Z")

</div>

Good morning I have a problem with a POST request. during the request, I got an error: "RequestError: connect ECONNREFUSED 127.0.0.1:443". but when I take this same request on another raspberry with the same hardware …

---

## [Help with storing temporary data in either an array or object](https://discourse.nodered.org/t/help-with-storing-temporary-data-in-either-an-array-or-object/87086)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 9\
**Last updated:** [8 April 2024 23:37 UTC](https://discourse.nodered.org/t/help-with-storing-temporary-data-in-either-an-array-or-object/87086 "2024-04-08T23:37:10Z")

</div>

(I am getting worse each passing day at remembering things) I've tried to look for ways to do this but it is not fun. Confusion reigns supreme. I have an incoming message. eg: msg.rain = 0, msg.count = 0 Then next …

---

## [node-red.cmd does not autostart](https://discourse.nodered.org/t/node-red-cmd-does-not-autostart/87071)

<div class="topic-metadata">

**Author:** [@Vespamike](https://discourse.nodered.org/u/Vespamike)\
**Replies:** 3\
**Last updated:** [8 April 2024 14:52 UTC](https://discourse.nodered.org/t/node-red-cmd-does-not-autostart/87071 "2024-04-08T14:52:14Z")

</div>

I ask for your help. I have a PC with Win 10. If I double click on the batch file node-red.cmd the cmd window starts and everything starts, but if I create an "event" from the scheduler to run the "node-red.cmd" batch f…

---

## [How to create/deploy flows using Admin API without node-red editor interaction on resolving conflicts](https://discourse.nodered.org/t/how-to-create-deploy-flows-using-admin-api-without-node-red-editor-interaction-on-resolving-conflicts/87066)

<div class="topic-metadata">

**Author:** [@kumarandena](https://discourse.nodered.org/u/kumarandena)\
**Replies:** 4\
**Last updated:** [8 April 2024 12:47 UTC](https://discourse.nodered.org/t/how-to-create-deploy-flows-using-admin-api-without-node-red-editor-interaction-on-resolving-conflicts/87066 "2024-04-08T12:47:58Z")

</div>

Hi, As part of requirement, My goal is to create, update and deploy flows using Admin API Methods : Node-RED without user interaction in Node-RED Editor. I am able to, create flow using - \[POST\] http://127.0.0.1:1880/…

---

## [Read and open xml content from email](https://discourse.nodered.org/t/read-and-open-xml-content-from-email/86978)

<div class="topic-metadata">

**Author:** [@Tommino1966](https://discourse.nodered.org/u/Tommino1966)\
**Replies:** 5\
**Last updated:** [8 April 2024 11:11 UTC](https://discourse.nodered.org/t/read-and-open-xml-content-from-email/86978 "2024-04-08T11:11:03Z")

</div>

Hello. i would like to separate and open the xml file that is attached to an email. I would like to send myself the measured values from a cloud as an email with an attached xml attachment from an email address and quer…

---

## [Node-red.cmd not start on startup windows](https://discourse.nodered.org/t/node-red-cmd-not-start-on-startup-windows/87073)

<div class="topic-metadata">

**Author:** [@Vespamike](https://discourse.nodered.org/u/Vespamike)\
**Replies:** 0\
**Last updated:** [8 April 2024 10:02 UTC](https://discourse.nodered.org/t/node-red-cmd-not-start-on-startup-windows/87073 "2024-04-08T10:02:40Z")

</div>

I ask for your help. I have a PC with Win 10. If I double click on the batch file node-red.cmd the cmd window starts and everything starts, but if I create an "event" from the scheduler to run the "node-red.cmd" batch f…

---

## [How to open-stop-close-stop using 2 buttons](https://discourse.nodered.org/t/how-to-open-stop-close-stop-using-2-buttons/86917)

<div class="topic-metadata">

**Author:** [@mucwendel](https://discourse.nodered.org/u/mucwendel)\
**Replies:** 2\
**Last updated:** [7 April 2024 20:01 UTC](https://discourse.nodered.org/t/how-to-open-stop-close-stop-using-2-buttons/86917 "2024-04-07T20:01:51Z")

</div>

Hi from Germany. I use the old 433mhz transmitter and SonOff-433 to send commands to shelly devices. How to actually i can only send open or close without using the stop command. I suppress each message by 1 sec becau…

---

## [Cleaner javascript code in function](https://discourse.nodered.org/t/cleaner-javascript-code-in-function/87059)

<div class="topic-metadata">

**Author:** [@KarolisL](https://discourse.nodered.org/u/KarolisL)\
**Replies:** 2\
**Last updated:** [7 April 2024 19:44 UTC](https://discourse.nodered.org/t/cleaner-javascript-code-in-function/87059 "2024-04-07T19:44:49Z")

</div>

I use a lot of functions in my flows and I've noticed that hardest thing is to write properly maintainable code. I came across this repository: I ask ChatGPT to adhere to these rules and it gives cleaner code. Any co…

---

## [Node-RED not connecting to TTN on Azure Ubuntu VM](https://discourse.nodered.org/t/node-red-not-connecting-to-ttn-on-azure-ubuntu-vm/86945)

<div class="topic-metadata">

**Author:** [@mhead](https://discourse.nodered.org/u/mhead)\
**Replies:** 6\
**Last updated:** [7 April 2024 01:05 UTC](https://discourse.nodered.org/t/node-red-not-connecting-to-ttn-on-azure-ubuntu-vm/86945 "2024-04-07T01:05:02Z")

</div>

My goal is to move data from The Things Network (TTN) using MQTT into Node-RED running under Docker on a Azure Ubuntu 22.04 VM. My first step was to create a Node-RED instance under Docker on my Win10 desk top, and to i…

---

## [Node red stopped working](https://discourse.nodered.org/t/node-red-stopped-working/84792)

<div class="topic-metadata">

**Author:** [@bgultekin](https://discourse.nodered.org/u/bgultekin)\
**Replies:** 14\
**Last updated:** [7 April 2024 16:04 UTC](https://discourse.nodered.org/t/node-red-stopped-working/84792 "2024-04-07T16:04:18Z")

</div>

Hello, Node Red is shutting down while running. Resource consumption is normal. I couldn't detect any errors. I couldn't find the log records. I am using v3.1.3

---

## [Error in function instead of subflow](https://discourse.nodered.org/t/error-in-function-instead-of-subflow/87058)

<div class="topic-metadata">

**Author:** [@KarolisL](https://discourse.nodered.org/u/KarolisL)\
**Replies:** 0\
**Last updated:** [7 April 2024 15:35 UTC](https://discourse.nodered.org/t/error-in-function-instead-of-subflow/87058 "2024-04-07T15:35:15Z")

</div>

Class constructor is in a subflow. Function node instantiate a class that is passed from subflow by message If there is an error in my class that exists in subflow (UUID), function "generator" will be reported as er…

---

## [Can't work out how to pull array from attrib's](https://discourse.nodered.org/t/cant-work-out-how-to-pull-array-from-attribs/87057)

<div class="topic-metadata">

**Author:** [@XcOM987](https://discourse.nodered.org/u/XcOM987)\
**Replies:** 3\
**Last updated:** [7 April 2024 15:22 UTC](https://discourse.nodered.org/t/cant-work-out-how-to-pull-array-from-attribs/87057 "2024-04-07T15:22:14Z")

</div>

Hi all, So I am stuck and can't seem to work out where to start on something, I have Octopus Agile, and I have the rates available to me in 30 minute blocks, I can get the data which are recorded as attributes as seen h…

---

## [How to deploy a subflow to several systems](https://discourse.nodered.org/t/how-to-deploy-a-subflow-to-several-systems/87045)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 12\
**Last updated:** [7 April 2024 14:21 UTC](https://discourse.nodered.org/t/how-to-deploy-a-subflow-to-several-systems/87045 "2024-04-07T14:21:55Z")

</div>

I suspect this has been asked before but can't find anything searching the forum. I have some subflows that are used on several systems. Does anyone have a clever technique to deploy a new version out to the other syst…

---

## [Http URL, Header, Query and body parameter transformation?](https://discourse.nodered.org/t/http-url-header-query-and-body-parameter-transformation/86659)

<div class="topic-metadata">

**Author:** [@sampurna](https://discourse.nodered.org/u/sampurna)\
**Replies:** 1\
**Last updated:** [7 April 2024 09:58 UTC](https://discourse.nodered.org/t/http-url-header-query-and-body-parameter-transformation/86659 "2024-04-07T09:58:07Z")

</div>

dear team, I am new to Node-RED . currently working on migrating my current API gateway to Node-RED. In my current API Proxy all request from Client/APP is being changed or transformed before sending to Backend server.…

---

## [Energy metering based on tariff](https://discourse.nodered.org/t/energy-metering-based-on-tariff/86920)

<div class="topic-metadata">

**Author:** [@Ives25](https://discourse.nodered.org/u/Ives25)\
**Replies:** 2\
**Last updated:** [7 April 2024 09:30 UTC](https://discourse.nodered.org/t/energy-metering-based-on-tariff/86920 "2024-04-07T09:30:45Z")

</div>

Hi, I have an electrical energy meter (the index of which changes over 4 bytes) and 6 different tariffs (number from 5 to 10 in 1 byte format). I would like to create a flow to have the consumption corresponding to eac…

---

## [Modbus Server Flex Swapping Endiens](https://discourse.nodered.org/t/modbus-server-flex-swapping-endiens/86825)

<div class="topic-metadata">

**Author:** [@bceyresy](https://discourse.nodered.org/u/bceyresy)\
**Replies:** 1\
**Last updated:** [7 April 2024 09:09 UTC](https://discourse.nodered.org/t/modbus-server-flex-swapping-endiens/86825 "2024-04-07T09:09:12Z")

</div>

Hi, i have a project which requires a modbus slave, the default format is little endien. is there a way to change this to just a signed value or to a big endien ? thanks Symon

---

## [Can I increment a (possibly null) context variable in a change node?](https://discourse.nodered.org/t/can-i-increment-a-possibly-null-context-variable-in-a-change-node/87041)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 8\
**Last updated:** [7 April 2024 00:57 UTC](https://discourse.nodered.org/t/can-i-increment-a-possibly-null-context-variable-in-a-change-node/87041 "2024-04-07T00:57:29Z")

</div>

I am trying to count the number of each node type in flows.json. Not difficult using a function but I would like to do it without writing javascript code. So read the file and split the resulting array gives me one mess…

---

## [Bug or normal behaviour with auto replace "\\x3a" code to :?](https://discourse.nodered.org/t/bug-or-normal-behaviour-with-auto-replace-x3a-code-to/87043)

<div class="topic-metadata">

**Author:** [@miriumar](https://discourse.nodered.org/u/miriumar)\
**Replies:** 7\
**Last updated:** [6 April 2024 21:02 UTC](https://discourse.nodered.org/t/bug-or-normal-behaviour-with-auto-replace-x3a-code-to/87043 "2024-04-06T21:02:13Z")

</div>

Hello community, I am facing some unexpected behaviour when assigning string to msg.url and debugging the value. Function as follow: I would have expected debug message to return: msg.url = "...://example.com/\\x3aB…

---

## [Node-red hangs when loading the web interface](https://discourse.nodered.org/t/node-red-hangs-when-loading-the-web-interface/87036)

<div class="topic-metadata">

**Author:** [@mido22](https://discourse.nodered.org/u/mido22)\
**Replies:** 10\
**Last updated:** [6 April 2024 16:47 UTC](https://discourse.nodered.org/t/node-red-hangs-when-loading-the-web-interface/87036 "2024-04-06T16:47:56Z")

</div>

Hello, I am a node-red beginner and have the following problem: after updating node.js, node-red hangs when loading the web interface. Below are the logs Welcome to Node-RED =================== 6 Apr 10:41:41 - \[info…

---

## [How to filter some data to separate](https://discourse.nodered.org/t/how-to-filter-some-data-to-separate/87010)

<div class="topic-metadata">

**Author:** [@spike318](https://discourse.nodered.org/u/spike318)\
**Replies:** 4\
**Last updated:** [6 April 2024 09:53 UTC](https://discourse.nodered.org/t/how-to-filter-some-data-to-separate/87010 "2024-04-06T09:53:51Z")

</div>

I have this data but i want to sent them seperatly back to mqtt to use in domoticz for example this value to an IDX for Domoticz "cell\_hVt": 2.75, { "Device": { "Name": "Daly2MQTT", "IP": "192.168.1.48", "ESP\_VCC":…

---

## [How to use node-red-contrib-mssql-plus node to access the DB through Proxy Server?](https://discourse.nodered.org/t/how-to-use-node-red-contrib-mssql-plus-node-to-access-the-db-through-proxy-server/86949)

<div class="topic-metadata">

**Author:** [@Manikandan](https://discourse.nodered.org/u/Manikandan)\
**Replies:** 4\
**Last updated:** [6 April 2024 09:45 UTC](https://discourse.nodered.org/t/how-to-use-node-red-contrib-mssql-plus-node-to-access-the-db-through-proxy-server/86949 "2024-04-06T09:45:41Z")

</div>

Hi, I my project I am using node-red-contrib-mssql-plus node to insert and retrieve the data from the MS-SQL. It's been working fine more than a year now. Now I have requirement to access the DB through Proxy server ? …

---

## [Why can't I get a reply on my TCP node? (Wireshark Info included)](https://discourse.nodered.org/t/why-cant-i-get-a-reply-on-my-tcp-node-wireshark-info-included/86903)

<div class="topic-metadata">

**Author:** [@itcouldbeL](https://discourse.nodered.org/u/itcouldbeL)\
**Replies:** 6\
**Last updated:** [6 April 2024 00:50 UTC](https://discourse.nodered.org/t/why-cant-i-get-a-reply-on-my-tcp-node-wireshark-info-included/86903 "2024-04-06T00:50:08Z")

</div>

Hi All, I'll start by saying, I don't think this is specifically a NR issue, but I don't know where else to ask and I'm hoping the knowledge of the forum will be able to give me some pointers. The scenario: Alarm panel…

---

## [Question about importing data into the dashboard](https://discourse.nodered.org/t/question-about-importing-data-into-the-dashboard/86616)

<div class="topic-metadata">

**Author:** [@ErnestoBalestro](https://discourse.nodered.org/u/ErnestoBalestro)\
**Replies:** 28\
**Last updated:** [5 April 2024 21:07 UTC](https://discourse.nodered.org/t/question-about-importing-data-into-the-dashboard/86616 "2024-04-05T21:07:00Z")

</div>

Hello, I'm creating a dashboard and for its data I'm importing data from a website (https://grafana.jrcomercio.com.br/d/UA28gl1Zz/zabbix-monitoring-linux-servers?orgId=1&from=now-24h&to= now&refresh=5s). The site is only…

---

## [How to use Home Assistant value in Node Red](https://discourse.nodered.org/t/how-to-use-home-assistant-value-in-node-red/86959)

<div class="topic-metadata">

**Author:** [@EcarDK](https://discourse.nodered.org/u/EcarDK)\
**Replies:** 1\
**Last updated:** [5 April 2024 19:13 UTC](https://discourse.nodered.org/t/how-to-use-home-assistant-value-in-node-red/86959 "2024-04-05T19:13:37Z")

</div>

Hello everyone, I need some help. How can one use a value from Home Assistant directly in Node Red? Is it through Global Environment Variables? If not, how does one convert it into one? Please see the attached images. …

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

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