# General

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

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

**Page:** 526

---

## [Transforming the serial message into a json object](https://discourse.nodered.org/t/transforming-the-serial-message-into-a-json-object/48077)

<div class="topic-metadata">

**Author:** [@comkin](https://discourse.nodered.org/u/comkin)\
**Replies:** 5\
**Last updated:** [9 July 2021 09:55 UTC](https://discourse.nodered.org/t/transforming-the-serial-message-into-a-json-object/48077 "2021-07-09T09:55:39Z")

</div>

Good morning, I need to take a serial message that the arduino sends me on usb and transfer it to a database (influxdb) Making it readable Type: sensor: 20 sensor2: 35

---

## [USB webcam issue](https://discourse.nodered.org/t/usb-webcam-issue/48200)

<div class="topic-metadata">

**Author:** [@MK1992](https://discourse.nodered.org/u/MK1992)\
**Replies:** 7\
**Last updated:** [9 July 2021 07:57 UTC](https://discourse.nodered.org/t/usb-webcam-issue/48200 "2021-07-09T07:57:09Z")

</div>

Hi I want to make some adjustment to usb camera. So once the push button is pressed, webcam will capture the image but the problem is after it is captured, it will saved as 'image01.png' and next time when I press the bu…

---

## [Multiple Docker Node-RED containers without orphan containers](https://discourse.nodered.org/t/multiple-docker-node-red-containers-without-orphan-containers/48176)

<div class="topic-metadata">

**Author:** [@DuncanCT](https://discourse.nodered.org/u/DuncanCT)\
**Replies:** 4\
**Last updated:** [9 July 2021 04:21 UTC](https://discourse.nodered.org/t/multiple-docker-node-red-containers-without-orphan-containers/48176 "2021-07-09T04:21:02Z")

</div>

I'm trying to run multiple docker container, see compose file below... version: "3.7" services: node-red: image: nodered/node-red:latest environment: - TZ=Europe/Amsterdam ports: - "1880:1880"…

---

## [Hostname/IP does not match certificate's alternates](https://discourse.nodered.org/t/hostname-ip-does-not-match-certificates-alternates/48195)

<div class="topic-metadata">

**Author:** [@stathisaska](https://discourse.nodered.org/u/stathisaska)\
**Replies:** 1\
**Last updated:** [9 July 2021 01:13 UTC](https://discourse.nodered.org/t/hostname-ip-does-not-match-certificates-alternates/48195 "2021-07-09T01:13:03Z")

</div>

Hello everyone ! I have installed Node Red on Synology NAS using Docker. I have also imported these nodes I am experiencing an issue where some nodes return the following error \[ERR\_TLS\_CERT\_ALTNAME\_INVALID\] Hostname…

---

## [Getting error opening node-red](https://discourse.nodered.org/t/getting-error-opening-node-red/48183)

<div class="topic-metadata">

**Author:** [@kegaul1](https://discourse.nodered.org/u/kegaul1)\
**Replies:** 1\
**Last updated:** [9 July 2021 01:03 UTC](https://discourse.nodered.org/t/getting-error-opening-node-red/48183 "2021-07-09T01:03:42Z")

</div>

Credentials could not be decrypted The flow credential file is encrypted, but the project's encryption key is missing or invalid. The flow credential file will be reset on the next deployment. Any existing flow credent…

---

## [Process object memoryUsage()](https://discourse.nodered.org/t/process-object-memoryusage/48193)

<div class="topic-metadata">

**Author:** [@namgk](https://discourse.nodered.org/u/namgk)\
**Replies:** 1\
**Last updated:** [8 July 2021 22:50 UTC](https://discourse.nodered.org/t/process-object-memoryusage/48193 "2021-07-08T22:50:59Z")

</div>

Hi there, I'd like to access the process object inside the function code, such as to know the memory usage of the runtime: msg.payload = process.memoryUsage() Is there a way to do this? Thanks

---

## [Multipart data (json +file)](https://discourse.nodered.org/t/multipart-data-json-file/48134)

<div class="topic-metadata">

**Author:** [@yupadhye](https://discourse.nodered.org/u/yupadhye)\
**Replies:** 5\
**Last updated:** [8 July 2021 14:37 UTC](https://discourse.nodered.org/t/multipart-data-json-file/48134 "2021-07-08T14:37:28Z")

</div>

Hello I want to send HTTP post request that has json + file upload. Can I do it in one shot? Or I have to send json first and then attachment (file)? Can someone please guide?

---

## [How to change the label in palette and rename it?](https://discourse.nodered.org/t/how-to-change-the-label-in-palette-and-rename-it/48158)

<div class="topic-metadata">

**Author:** [@dpdjdodo](https://discourse.nodered.org/u/dpdjdodo)\
**Replies:** 6\
**Last updated:** [8 July 2021 09:43 UTC](https://discourse.nodered.org/t/how-to-change-the-label-in-palette-and-rename-it/48158 "2021-07-08T09:43:57Z")

</div>

Should I download some files in palette manager? or revise code? node.js version: 14.17.3 npm version: 6.14.13

---

## [Google calendar events](https://discourse.nodered.org/t/google-calendar-events/48123)

<div class="topic-metadata">

**Author:** [@grandautism](https://discourse.nodered.org/u/grandautism)\
**Replies:** 5\
**Last updated:** [8 July 2021 09:40 UTC](https://discourse.nodered.org/t/google-calendar-events/48123 "2021-07-08T09:40:18Z")

</div>

I want to create events on my calendar via NodeRed, I used node-red-contrib-google-oauth-calendar here is my function code, but it didn't work I can only read my calendar events not add event. there is another way t…

---

## [The CRC16 code in the flow example is strange](https://discourse.nodered.org/t/the-crc16-code-in-the-flow-example-is-strange/48164)

<div class="topic-metadata">

**Author:** [@Athurian](https://discourse.nodered.org/u/Athurian)\
**Replies:** 4\
**Last updated:** [8 July 2021 09:17 UTC](https://discourse.nodered.org/t/the-crc16-code-in-the-flow-example-is-strange/48164 "2021-07-08T09:17:20Z")

</div>

I used the example code below. https://flows.nodered.org/flow/28e9e10c72a9d00f438ec1150734c7a9 The problem arises only with certain strings. The string looks like this: 01035000010000000000020000000000000000000000000…

---

## [Node-red-contrib-ui-svg](https://discourse.nodered.org/t/node-red-contrib-ui-svg/48140)

<div class="topic-metadata">

**Author:** [@mtoko](https://discourse.nodered.org/u/mtoko)\
**Replies:** 8\
**Last updated:** [8 July 2021 08:00 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-svg/48140 "2021-07-08T08:00:09Z")

</div>

Hi I am trying to use the svg node to animate an image, so that it just rotates on its centre point. I have checked the WiKi and examples but cannot work out the relevance of the from and to parameters in teh animation …

---

## [Does anyone knows node-red has union and struct can define and use?](https://discourse.nodered.org/t/does-anyone-knows-node-red-has-union-and-struct-can-define-and-use/48160)

<div class="topic-metadata">

**Author:** [@jlian168](https://discourse.nodered.org/u/jlian168)\
**Replies:** 4\
**Last updated:** [8 July 2021 07:38 UTC](https://discourse.nodered.org/t/does-anyone-knows-node-red-has-union-and-struct-can-define-and-use/48160 "2021-07-08T07:38:47Z")

</div>

Dear All : Like title. Thank u.

---

## [I have a question about buffers](https://discourse.nodered.org/t/i-have-a-question-about-buffers/48130)

<div class="topic-metadata">

**Author:** [@Athurian](https://discourse.nodered.org/u/Athurian)\
**Replies:** 4\
**Last updated:** [8 July 2021 05:01 UTC](https://discourse.nodered.org/t/i-have-a-question-about-buffers/48130 "2021-07-08T05:01:05Z")

</div>

flows (8).json (41.2 KB) I have a question about buffers. Flow has been uploaded. The sequence is as follows. A random buffer was injected into the injection. \[1,3,0,101,0,5\] Create the first buf1 rule in the fun…

---

## [\[SOLVED\]Download a file from Ninox into Node-RED (Windows)](https://discourse.nodered.org/t/solved-download-a-file-from-ninox-into-node-red-windows/48149)

<div class="topic-metadata">

**Author:** [@tfuchs1987](https://discourse.nodered.org/u/tfuchs1987)\
**Replies:** 7\
**Last updated:** [7 July 2021 22:36 UTC](https://discourse.nodered.org/t/solved-download-a-file-from-ninox-into-node-red-windows/48149 "2021-07-07T22:36:37Z")

</div>

I am trying to use the node-red-contrib-ninox plug-in to download a file from my Ninox database. This just works fine for getting records but when downloading a file Node-RED completly shuts down and I have to restart it…

---

## [Modifying json outputs in Node-RED flows](https://discourse.nodered.org/t/modifying-json-outputs-in-node-red-flows/48121)

<div class="topic-metadata">

**Author:** [@jktan](https://discourse.nodered.org/u/jktan)\
**Replies:** 4\
**Last updated:** [8 July 2021 01:35 UTC](https://discourse.nodered.org/t/modifying-json-outputs-in-node-red-flows/48121 "2021-07-08T01:35:11Z")

</div>

Dear expert and more experienced coders, I am trying to edit the MQTT-out of a new set of flows (set2) to basically follow the MQTT-out nodes of an existing set of flows (set1) so that the data from set2 could be upload…

---

## [Is it possible to compose a new node that comprises of several built-in or other nodes?](https://discourse.nodered.org/t/is-it-possible-to-compose-a-new-node-that-comprises-of-several-built-in-or-other-nodes/48146)

<div class="topic-metadata">

**Author:** [@rudaNode](https://discourse.nodered.org/u/rudaNode)\
**Replies:** 2\
**Last updated:** [8 July 2021 00:39 UTC](https://discourse.nodered.org/t/is-it-possible-to-compose-a-new-node-that-comprises-of-several-built-in-or-other-nodes/48146 "2021-07-08T00:39:44Z")

</div>

I would like to abstract multiple built-in or other nodes that are currently available to create one single composite node. In other words, if these built-in/other nodes have UI information that need to be set, I would l…

---

## [If I have multi response from RX, How can I judge which is it?](https://discourse.nodered.org/t/if-i-have-multi-response-from-rx-how-can-i-judge-which-is-it/48105)

<div class="topic-metadata">

**Author:** [@jlian168](https://discourse.nodered.org/u/jlian168)\
**Replies:** 9\
**Last updated:** [8 July 2021 00:37 UTC](https://discourse.nodered.org/t/if-i-have-multi-response-from-rx-how-can-i-judge-which-is-it/48105 "2021-07-08T00:37:31Z")

</div>

Dear Sir : if I receive 7 set of data from RX, Receive one at time. 0xcd,0x00,0x00,0x00,0x00 0xcd,0x01,0x00,0x00,0x00 0xcd,0x02,0x00,0x00,0x00 0xcd,0x03,0x00,0x00,0x00 0xcd,0x04,0x00,0x00,0x00 0xcd,0x05,0x00,0x00…

---

## [Docker Container and Flow Persistence](https://discourse.nodered.org/t/docker-container-and-flow-persistence/48152)

<div class="topic-metadata">

**Author:** [@DuncanCT](https://discourse.nodered.org/u/DuncanCT)\
**Replies:** 2\
**Last updated:** [7 July 2021 22:48 UTC](https://discourse.nodered.org/t/docker-container-and-flow-persistence/48152 "2021-07-07T22:48:17Z")

</div>

I'm just learning my way around docker containers and have come across something I can't work out. I composed a container and setup a basic flow. Then stopped the container and removed it. I even went to the extent of r…

---

## [Zerotier as a node for monitoring](https://discourse.nodered.org/t/zerotier-as-a-node-for-monitoring/48147)

<div class="topic-metadata">

**Author:** [@dougle03](https://discourse.nodered.org/u/dougle03)\
**Replies:** 2\
**Last updated:** [7 July 2021 20:01 UTC](https://discourse.nodered.org/t/zerotier-as-a-node-for-monitoring/48147 "2021-07-07T20:01:26Z")

</div>

I've done a search but can only find network related Zerotier topics for access. I've got a ZT network of about 15 network node and I'm looking for a NodeRed node that can help me monitor those ZT nodes. Metrics such as…

---

## [How to control light with analog signal input and no analog output](https://discourse.nodered.org/t/how-to-control-light-with-analog-signal-input-and-no-analog-output/48094)

<div class="topic-metadata">

**Author:** [@AndriesS82](https://discourse.nodered.org/u/AndriesS82)\
**Replies:** 2\
**Last updated:** [7 July 2021 19:13 UTC](https://discourse.nodered.org/t/how-to-control-light-with-analog-signal-input-and-no-analog-output/48094 "2021-07-07T19:13:20Z")

</div>

Helo, I am looking for a program solution to control a light. Discription: I use an eltako dimmer EUD12Z UC with SUD12 0-10v eltako to normal 0-10v converter. When I press the button then the lights go's on. Pressing…

---

## [Dynamic string to array](https://discourse.nodered.org/t/dynamic-string-to-array/48136)

<div class="topic-metadata">

**Author:** [@maraguma](https://discourse.nodered.org/u/maraguma)\
**Replies:** 2\
**Last updated:** [7 July 2021 15:20 UTC](https://discourse.nodered.org/t/dynamic-string-to-array/48136 "2021-07-07T15:20:43Z")

</div>

Hi everyone I hope someone can help on this. I would like to separate the below string to an array. I tried with two splits and a loop but that did not work as I don't know how to create a single array as an output mess…

---

## [Compass Offset Help](https://discourse.nodered.org/t/compass-offset-help/48127)

<div class="topic-metadata">

**Author:** [@smithtek](https://discourse.nodered.org/u/smithtek)\
**Replies:** 9\
**Last updated:** [7 July 2021 15:18 UTC](https://discourse.nodered.org/t/compass-offset-help/48127 "2021-07-07T15:18:23Z")

</div>

Hi. I have a digital compass value that is showing 15 degrees as north. This offset value is consistent after every calibration. the Compass range is 0 - 360. Can any help me with some basic code that will offset this …

---

## [Enabling HSTS in the settings file](https://discourse.nodered.org/t/enabling-hsts-in-the-settings-file/47856)

<div class="topic-metadata">

**Author:** [@letshin](https://discourse.nodered.org/u/letshin)\
**Replies:** 1\
**Last updated:** [7 July 2021 11:57 UTC](https://discourse.nodered.org/t/enabling-hsts-in-the-settings-file/47856 "2021-07-07T11:57:16Z")

</div>

Hi. I'm trying to get Node-Red on my University Network. The IT team ran a security scan on the ports and although I have enabled HTTPS, I have been told to enable HSTS. I'm not sure how to do this - can anyone help plea…

---

## [Node red failing to start](https://discourse.nodered.org/t/node-red-failing-to-start/48125)

<div class="topic-metadata">

**Author:** [@bceyresy](https://discourse.nodered.org/u/bceyresy)\
**Replies:** 9\
**Last updated:** [7 July 2021 11:45 UTC](https://discourse.nodered.org/t/node-red-failing-to-start/48125 "2021-07-07T11:45:17Z")

</div>

Hi, I have encountered this issue at least 2 or 3 times now. I am not sure why it happens or how to diagnose the issue? Any help would be appreciated. 7 Jul 11:12:34 - \[info\] Node-RED version: v1.3.5 7 Jul 11:12:34 - …

---

## [Create labels with QR code](https://discourse.nodered.org/t/create-labels-with-qr-code/48122)

<div class="topic-metadata">

**Author:** [@madmax](https://discourse.nodered.org/u/madmax)\
**Replies:** 11\
**Last updated:** [7 July 2021 11:23 UTC](https://discourse.nodered.org/t/create-labels-with-qr-code/48122 "2021-07-07T11:23:37Z")

</div>

Hello! Is it possible to create labels? We would be happy to return labels to files are all in a CSV file. Here is what the file looks like. TRX1188-WHT-LXL; Logo Hat White L / XL; 2 TRX1252; NUT SET LOCK NUTS 3mm 11…

---

## [How to use OPCUA Browser and Template nodes together \[SOLVED\]](https://discourse.nodered.org/t/how-to-use-opcua-browser-and-template-nodes-together-solved/9937)

<div class="topic-metadata">

**Author:** [@sajidb](https://discourse.nodered.org/u/sajidb)\
**Replies:** 5\
**Last updated:** [7 July 2021 10:18 UTC](https://discourse.nodered.org/t/how-to-use-opcua-browser-and-template-nodes-together-solved/9937 "2021-07-07T10:18:06Z")

</div>

I want to connect to OPCUA server and get the data on the dashboard. For the solution, I am using OPCUA Browser node and the template node. But I don't know how to browse the data. I am using the following code for t…

---

## [Inject Eigenschaft Topic](https://discourse.nodered.org/t/inject-eigenschaft-topic/48053)

<div class="topic-metadata">

**Author:** [@at-bh](https://discourse.nodered.org/u/at-bh)\
**Replies:** 16\
**Last updated:** [7 July 2021 09:03 UTC](https://discourse.nodered.org/t/inject-eigenschaft-topic/48053 "2021-07-07T09:03:56Z")

</div>

Wenn ich den node inject verwende und mit Doppelklick die Eigenschaften des Nodes bearbeiten will, kann ich kein Attribut TOPIC bearbeiten. Dieses Feld existiert nicht, klar kann ich über den Umweg einer Funktion das Att…

---

## [Email send-"Error: Connection timeout"](https://discourse.nodered.org/t/email-send-error-connection-timeout/48109)

<div class="topic-metadata">

**Author:** [@sefaguntepe](https://discourse.nodered.org/u/sefaguntepe)\
**Replies:** 5\
**Last updated:** [7 July 2021 08:59 UTC](https://discourse.nodered.org/t/email-send-error-connection-timeout/48109 "2021-07-07T08:59:04Z")

</div>

Hello, I want to send mail using "node-red-node-email" but I get "Error: Connection timeout" Can you help? It is based on Node-red Raspberry pi.

---

## [Node red credential value coming as empty string in node details](https://discourse.nodered.org/t/node-red-credential-value-coming-as-empty-string-in-node-details/48117)

<div class="topic-metadata">

**Author:** [@Surendra](https://discourse.nodered.org/u/Surendra)\
**Replies:** 1\
**Last updated:** [7 July 2021 08:12 UTC](https://discourse.nodered.org/t/node-red-credential-value-coming-as-empty-string-in-node-details/48117 "2021-07-07T08:12:43Z")

</div>

I have added secretKey is credential object, when i update this value first time then secretKey value is coming is deploy.js file inside node information but when I redeploy the flow again without modifying secretKey val…

---

## [How to fix data from sensor?](https://discourse.nodered.org/t/how-to-fix-data-from-sensor/48106)

<div class="topic-metadata">

**Author:** [@PNWw](https://discourse.nodered.org/u/PNWw)\
**Replies:** 9\
**Last updated:** [7 July 2021 07:58 UTC](https://discourse.nodered.org/t/how-to-fix-data-from-sensor/48106 "2021-07-07T07:58:14Z")

</div>

Hi, I received data from sensor. but I don't know type of data how can I do.

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

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