# Latest

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

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

**Page:** 444

---

## [How to compose a array in required format](https://discourse.nodered.org/t/how-to-compose-a-array-in-required-format/71895)

<div class="topic-metadata">

**Author:** [@amit\_meld](https://discourse.nodered.org/u/amit_meld)\
**Replies:** 4\
**Last updated:** [9 December 2022 06:14 UTC](https://discourse.nodered.org/t/how-to-compose-a-array-in-required-format/71895 "2022-12-09T06:14:21Z")

</div>

Hi, I am trying to format and push an array to a Powerbi Streaming dataset using HTTP request node. Below is my code in the function node where data arrives from LORAWAN and after this I directly connect it to HTTP nod…

---

## [Communication Between RS485 to Node red on raspberry pi](https://discourse.nodered.org/t/communication-between-rs485-to-node-red-on-raspberry-pi/71185)

<div class="topic-metadata">

**Author:** [@Jayeshpitale1](https://discourse.nodered.org/u/Jayeshpitale1)\
**Replies:** 17\
**Last updated:** [9 December 2022 05:40 UTC](https://discourse.nodered.org/t/communication-between-rs485-to-node-red-on-raspberry-pi/71185 "2022-12-09T05:40:52Z")

</div>

I am trying to connect a device which is connected to USB to RS485 Converter which i have connected to raspberry pi. i have tested the device on windows which is working fine but i want to do communication between node …

---

## [Easily create HTTP triggers with authentication in Node-RED using FlowForge](https://discourse.nodered.org/t/easily-create-http-triggers-with-authentication-in-node-red-using-flowforge/71896)

<div class="topic-metadata">

**Author:** [@robmarcer](https://discourse.nodered.org/u/robmarcer)\
**Replies:** 0\
**Last updated:** [9 December 2022 03:05 UTC](https://discourse.nodered.org/t/easily-create-http-triggers-with-authentication-in-node-red-using-flowforge/71896 "2022-12-09T03:05:44Z")

</div>

---

## [Sql query of Datetime column returning UTC time not the table data](https://discourse.nodered.org/t/sql-query-of-datetime-column-returning-utc-time-not-the-table-data/71814)

<div class="topic-metadata">

**Author:** [@Kimo](https://discourse.nodered.org/u/Kimo)\
**Replies:** 10\
**Last updated:** [9 December 2022 01:00 UTC](https://discourse.nodered.org/t/sql-query-of-datetime-column-returning-utc-time-not-the-table-data/71814 "2022-12-09T01:00:49Z")

</div>

Hi, I got an issue where I store a timestamp into a datetime table in sql and get result like this But then the problem is when I select query this data into nodered ui, it return the data in UTC format How I can …

---

## [PLC to RPC XML v3.02](https://discourse.nodered.org/t/plc-to-rpc-xml-v3-02/71844)

<div class="topic-metadata">

**Author:** [@ixdbl](https://discourse.nodered.org/u/ixdbl)\
**Replies:** 2\
**Last updated:** [9 December 2022 00:51 UTC](https://discourse.nodered.org/t/plc-to-rpc-xml-v3-02/71844 "2022-12-09T00:51:19Z")

</div>

I am new to node red and having trouble finding where to look for an example. I have an S7-1200 Siemens PLC hooked up to a barcode scanner. I need to take some values off the PLC (which I have done already and am able …

---

## [Issue with Dashboard UI. Generating UI elements with subflows](https://discourse.nodered.org/t/issue-with-dashboard-ui-generating-ui-elements-with-subflows/71862)

<div class="topic-metadata">

**Author:** [@HerrTuulik](https://discourse.nodered.org/u/HerrTuulik)\
**Replies:** 12\
**Last updated:** [8 December 2022 23:07 UTC](https://discourse.nodered.org/t/issue-with-dashboard-ui-generating-ui-elements-with-subflows/71862 "2022-12-08T23:07:23Z")

</div>

Using latest versions. I have a subflow that generates UI elements for a device. heartbeat and relay status for some reason aren't displayed like the others. I can't figure out what is causing this. Each variable ty…

---

## [French translations for Node-RED - call for help](https://discourse.nodered.org/t/french-translations-for-node-red-call-for-help/71660)

<div class="topic-metadata">

**Author:** [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Replies:** 5\
**Last updated:** [8 December 2022 21:25 UTC](https://discourse.nodered.org/t/french-translations-for-node-red-call-for-help/71660 "2022-12-08T21:25:40Z")

</div>

Hi all, @GogoVega has very kindly raised pull requests for bringing French translations to the node-red editor and nodes. Unfortunately, my French is pas très bien & we cannot merge changes without peer review. Are the…

---

## [Error: Hostname/IP doesn't match certificate's altnames](https://discourse.nodered.org/t/error-hostname-ip-doesnt-match-certificates-altnames/71837)

<div class="topic-metadata">

**Author:** [@benhelps](https://discourse.nodered.org/u/benhelps)\
**Replies:** 3\
**Last updated:** [8 December 2022 20:24 UTC](https://discourse.nodered.org/t/error-hostname-ip-doesnt-match-certificates-altnames/71837 "2022-12-08T20:24:16Z")

</div>

Recently I started getting the below from an external endpoint. "Error: Hostname/IP doesn't match certificate's altnames: "Host: wap.tplinkcloud.com. is not in the cert's altnames: DNS:rbictg.com, DNS:\*.rbictg.com"" I …

---

## [Help with JSONata](https://discourse.nodered.org/t/help-with-jsonata/71757)

<div class="topic-metadata">

**Author:** [@Kaij3](https://discourse.nodered.org/u/Kaij3)\
**Replies:** 13\
**Last updated:** [8 December 2022 17:44 UTC](https://discourse.nodered.org/t/help-with-jsonata/71757 "2022-12-08T17:44:39Z")

</div>

Hello everyone! I am facing issues where I am trying to query specific data from an array, example, if i only want the names for both routers , how do i do it? As I searched up, using jsonata would be easier but i am st…

---

## [Possible EventEmitter memory leak detected \[CommandEmitter\]](https://discourse.nodered.org/t/possible-eventemitter-memory-leak-detected-commandemitter/71857)

<div class="topic-metadata">

**Author:** [@Yury](https://discourse.nodered.org/u/Yury)\
**Replies:** 8\
**Last updated:** [8 December 2022 17:43 UTC](https://discourse.nodered.org/t/possible-eventemitter-memory-leak-detected-commandemitter/71857 "2022-12-08T17:43:17Z")

</div>

Greetings to all. Accidentally launched Node-RED from the command line and found: root@GigaIII-YN:/opt/etc/init.d$ ./S30node-red start0 root@GigaIII-YN:/opt/etc/init.d$ (node:11889) MaxListenersExceededWarning: Possibl…

---

## [Problem - npm: not found](https://discourse.nodered.org/t/problem-npm-not-found/71856)

<div class="topic-metadata">

**Author:** [@Yury](https://discourse.nodered.org/u/Yury)\
**Replies:** 10\
**Last updated:** [8 December 2022 17:35 UTC](https://discourse.nodered.org/t/problem-npm-not-found/71856 "2022-12-08T17:35:21Z")

</div>

Good afternoon, everyone. Please help. root@GigaIII-YN:/opt/bin$ node -v v16.16.0 Decided to update NPM: npm install -g npm@9.2.0 As a result: root@GigaIII-YN:/opt/bin$ npm -v /opt/bin/sh: npm: not found root@GigaI…

---

## [Need Help - Gives me error that it's looking for an ARRAY](https://discourse.nodered.org/t/need-help-gives-me-error-that-its-looking-for-an-array/71884)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 4\
**Last updated:** [8 December 2022 17:22 UTC](https://discourse.nodered.org/t/need-help-gives-me-error-that-its-looking-for-an-array/71884 "2022-12-08T17:22:05Z")

</div>

I have a flow that I think is working the way it should but I'm getting an error when I try to Publish with MQTT Sparkplug. It tells me the "metrics" is looking for array. The problem is that I do have an array in the me…

---

## [Connect the DWH](https://discourse.nodered.org/t/connect-the-dwh/71860)

<div class="topic-metadata">

**Author:** [@Jen](https://discourse.nodered.org/u/Jen)\
**Replies:** 4\
**Last updated:** [8 December 2022 16:55 UTC](https://discourse.nodered.org/t/connect-the-dwh/71860 "2022-12-08T16:55:22Z")

</div>

Hello I am trying to connect the DWH to the red node. But I can't find flowes for it. Maybe someone already did this?

---

## [Managing PoE Switch with Node-RED](https://discourse.nodered.org/t/managing-poe-switch-with-node-red/71796)

<div class="topic-metadata">

**Author:** [@barnius](https://discourse.nodered.org/u/barnius)\
**Replies:** 5\
**Last updated:** [8 December 2022 16:50 UTC](https://discourse.nodered.org/t/managing-poe-switch-with-node-red/71796 "2022-12-08T16:50:58Z")

</div>

Hey all! I am pretty new to this whole Dashboard thing and want to know if its possible to manage a PoE-Switch, in particular the ports of it, through Node-RED. So as an example simply turning on and off the PoE-Supply …

---

## [Modbus Flex Getter freezes flow when IP becomes invalid](https://discourse.nodered.org/t/modbus-flex-getter-freezes-flow-when-ip-becomes-invalid/71143)

<div class="topic-metadata">

**Author:** [@JayDL](https://discourse.nodered.org/u/JayDL)\
**Replies:** 7\
**Last updated:** [8 December 2022 15:38 UTC](https://discourse.nodered.org/t/modbus-flex-getter-freezes-flow-when-ip-becomes-invalid/71143 "2022-12-08T15:38:20Z")

</div>

Hi everyone, I have node-red running at a factory. The flow uses four Modbus Flex Getter nodes to collect data from four different PLC's, each with it's own IP address that are mounted on industrial ovens. Everything …

---

## [Injecting data into ui template for use with Chartjs](https://discourse.nodered.org/t/injecting-data-into-ui-template-for-use-with-chartjs/71840)

<div class="topic-metadata">

**Author:** [@Mick](https://discourse.nodered.org/u/Mick)\
**Replies:** 3\
**Last updated:** [8 December 2022 14:26 UTC](https://discourse.nodered.org/t/injecting-data-into-ui-template-for-use-with-chartjs/71840 "2022-12-08T14:26:33Z")

</div>

I have been trying to get a simple ui chart to work with chartjs. Here is the flow view: If I hard code the data values, I can generate the chart. However when I try to inject the data I can not get the chart to r…

---

## [How to configure custom map provider in worldmap node (node-red-contrib-web-worldmap)?](https://discourse.nodered.org/t/how-to-configure-custom-map-provider-in-worldmap-node-node-red-contrib-web-worldmap/71702)

<div class="topic-metadata">

**Author:** [@probitie](https://discourse.nodered.org/u/probitie)\
**Replies:** 2\
**Last updated:** [8 December 2022 12:47 UTC](https://discourse.nodered.org/t/how-to-configure-custom-map-provider-in-worldmap-node-node-red-contrib-web-worldmap/71702 "2022-12-08T12:47:01Z")

</div>

Hello, I need to connect Mapbox satellite map to worldmap node. I know that MapBox3D is one of the base maps, so I'm assuming satellite map also can be connected, but I didn't find anything in the documentation

---

## [Creating a function with a loop with input from Dashboard](https://discourse.nodered.org/t/creating-a-function-with-a-loop-with-input-from-dashboard/71756)

<div class="topic-metadata">

**Author:** [@Driss](https://discourse.nodered.org/u/Driss)\
**Replies:** 8\
**Last updated:** [8 December 2022 12:24 UTC](https://discourse.nodered.org/t/creating-a-function-with-a-loop-with-input-from-dashboard/71756 "2022-12-08T12:24:14Z")

</div>

Hello everyone, at the moment I'm trying to build a loop function which will allow me to do the following: Input of 2 variables via dashboard (ON and Off time in minutes) a permanent loop which first outputs a payload…

---

## [MQTT Connection lost no further connection possible](https://discourse.nodered.org/t/mqtt-connection-lost-no-further-connection-possible/71817)

<div class="topic-metadata">

**Author:** [@at-bh](https://discourse.nodered.org/u/at-bh)\
**Replies:** 16\
**Last updated:** [8 December 2022 11:53 UTC](https://discourse.nodered.org/t/mqtt-connection-lost-no-further-connection-possible/71817 "2022-12-08T11:53:56Z")

</div>

Don't know what happen in detail, while changing layout of dashboard my connections to the running mqtt server inside iobroker get lost. I find no way to reestablish the connection. Inside ioBroker the mqtt service is ru…

---

## [Save Chart as picture to attach to mail](https://discourse.nodered.org/t/save-chart-as-picture-to-attach-to-mail/68915)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 28\
**Last updated:** [8 December 2022 11:38 UTC](https://discourse.nodered.org/t/save-chart-as-picture-to-attach-to-mail/68915 "2022-12-08T11:38:37Z")

</div>

How do I save a ui\_chart as a picture so that I can attach the same in a Mail or PDF ?

---

## [Concatenete text and payload](https://discourse.nodered.org/t/concatenete-text-and-payload/71135)

<div class="topic-metadata">

**Author:** [@Loasca](https://discourse.nodered.org/u/Loasca)\
**Replies:** 6\
**Last updated:** [8 December 2022 11:19 UTC](https://discourse.nodered.org/t/concatenete-text-and-payload/71135 "2022-12-08T11:19:19Z")

</div>

Hi i am a beginner in nodered, I would like to combine a text and a payload in a message to create an webos lgtv alert notification, i want to change "message":"Just Testing" with "message":"Just Testing & {{payload}}", …

---

## [Styling of the dashboard text input node question](https://discourse.nodered.org/t/styling-of-the-dashboard-text-input-node-question/71764)

<div class="topic-metadata">

**Author:** [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Replies:** 35\
**Last updated:** [8 December 2022 10:24 UTC](https://discourse.nodered.org/t/styling-of-the-dashboard-text-input-node-question/71764 "2022-12-08T10:24:51Z")

</div>

I have been playing around with the style of the text input node. A couple of things I cannot understand / get to work properly. I have tried to shift my target temperature entry (in yellow) to the right. That has worke…

---

## [Make Node-RED silently accept dynamically added flows](https://discourse.nodered.org/t/make-node-red-silently-accept-dynamically-added-flows/71846)

<div class="topic-metadata">

**Author:** [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Replies:** 4\
**Last updated:** [8 December 2022 10:00 UTC](https://discourse.nodered.org/t/make-node-red-silently-accept-dynamically-added-flows/71846 "2022-12-08T10:00:32Z")

</div>

I'm trying to POST http request to add flows automatically at run time curl -X POST -H "Content-Type: application/json" -d "@/path/to/my/flow.json" http://localhost:1880/flows However, in the browser, I get a prompt as…

---

## [Automatically import a flow](https://discourse.nodered.org/t/automatically-import-a-flow/6168)

<div class="topic-metadata">

**Author:** [@TPPZ](https://discourse.nodered.org/u/TPPZ)\
**Replies:** 6\
**Last updated:** [8 December 2022 09:51 UTC](https://discourse.nodered.org/t/automatically-import-a-flow/6168 "2022-12-08T09:51:34Z")

</div>

I've created a very minimal flow that subscribes to an MQTT broker (mosquitto) with topic "readings" and stores whatever it receives into a file "readings.json". The content of the file storage (the messages) is not rea…

---

## [Not connecting to a usb port](https://discourse.nodered.org/t/not-connecting-to-a-usb-port/71741)

<div class="topic-metadata">

**Author:** [@shantamcbain](https://discourse.nodered.org/u/shantamcbain)\
**Replies:** 31\
**Last updated:** [8 December 2022 07:16 UTC](https://discourse.nodered.org/t/not-connecting-to-a-usb-port/71741 "2022-12-08T07:16:57Z")

</div>

I am attempting to connect to my Ham radio Yaesu FT-891 with node read. I have several programs that are able to connect to the radio. I setup a serial node that reports connected. I used the same settings as flrig uses …

---

## [Four InfluxDB node (data is very confusing and not unique)](https://discourse.nodered.org/t/four-influxdb-node-data-is-very-confusing-and-not-unique/71466)

<div class="topic-metadata">

**Author:** [@lihao](https://discourse.nodered.org/u/lihao)\
**Replies:** 31\
**Last updated:** [8 December 2022 02:38 UTC](https://discourse.nodered.org/t/four-influxdb-node-data-is-very-confusing-and-not-unique/71466 "2022-12-08T02:38:14Z")

</div>

When I use four influxDB nodes to send four measurements, these four measurements are the data of four channels of an adc. I added tags and timestamps, and the data visualization is very confusing. As shown below（The…

---

## [Logical And Function](https://discourse.nodered.org/t/logical-and-function/70093)

<div class="topic-metadata">

**Author:** [@HansZnarf](https://discourse.nodered.org/u/HansZnarf)\
**Replies:** 64\
**Last updated:** [8 December 2022 00:54 UTC](https://discourse.nodered.org/t/logical-and-function/70093 "2022-12-08T00:54:38Z")

</div>

Have two block that create True and False Output. Want a True output when Both are True and a False output when one or the other is false. This is typically a simple AND command in most programming. Have be tripping o…

---

## [How can check the null or undefined values](https://discourse.nodered.org/t/how-can-check-the-null-or-undefined-values/25598)

<div class="topic-metadata">

**Author:** [@Ahd](https://discourse.nodered.org/u/Ahd)\
**Replies:** 6\
**Last updated:** [7 December 2022 23:15 UTC](https://discourse.nodered.org/t/how-can-check-the-null-or-undefined-values/25598 "2022-12-07T23:15:50Z")

</div>

How to determine if one variable of the payload is undefined or null in JavaScript then must not send it to DB.

---

## [Setting Subflow to Display as Just Icon by Default](https://discourse.nodered.org/t/setting-subflow-to-display-as-just-icon-by-default/71835)

<div class="topic-metadata">

**Author:** [@shimbone](https://discourse.nodered.org/u/shimbone)\
**Replies:** 0\
**Last updated:** [7 December 2022 21:03 UTC](https://discourse.nodered.org/t/setting-subflow-to-display-as-just-icon-by-default/71835 "2022-12-07T21:03:03Z")

</div>

Just a niggle-- but it would be nice if I could configure some subflows to default to just their icon appearance when added to the canvas rather than with their label. A behavior similar to what I mean occurs with the l…

---

## [Running Node-RED under Windows 10+](https://discourse.nodered.org/t/running-node-red-under-windows-10/69897)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 4\
**Last updated:** [7 December 2022 21:01 UTC](https://discourse.nodered.org/t/running-node-red-under-windows-10/69897 "2022-12-07T21:01:25Z")

</div>

Please use this thread to provide and update tools and methods for running Node-RED on Windows (10+ and Windows Server). NOTE: This FAQ should be read as an extension/update to the official documentation on running Nod…

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

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