# General

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

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

**Page:** 517

---

## [Bar chart formatting](https://discourse.nodered.org/t/bar-chart-formatting/48538)

<div class="topic-metadata">

**Author:** [@JoshuaG](https://discourse.nodered.org/u/JoshuaG)\
**Replies:** 5\
**Last updated:** [27 July 2021 08:56 UTC](https://discourse.nodered.org/t/bar-chart-formatting/48538 "2021-07-27T08:56:33Z")

</div>

I'll have done this topic to the death shortly. I have 10 charts on a UI page, each with the same code powering them just with a different payload variable gotten from the global context, in the picture below you can se…

---

## [Econnrefused in node SQL](https://discourse.nodered.org/t/econnrefused-in-node-sql/48946)

<div class="topic-metadata">

**Author:** [@nam1702](https://discourse.nodered.org/u/nam1702)\
**Replies:** 1\
**Last updated:** [27 July 2021 08:51 UTC](https://discourse.nodered.org/t/econnrefused-in-node-sql/48946 "2021-07-27T08:51:40Z")

</div>

hello everyone! I have I file.json, when I import it into my nodered and node SQL doesn't work (econnrefused). I try to use the same user and passwork with person who exported this file but it's still doesn't work. So c…

---

## [HTTPS - Self-signed - bad decrypt](https://discourse.nodered.org/t/https-self-signed-bad-decrypt/48956)

<div class="topic-metadata">

**Author:** [@Alelav79](https://discourse.nodered.org/u/Alelav79)\
**Replies:** 0\
**Last updated:** [27 July 2021 08:48 UTC](https://discourse.nodered.org/t/https-self-signed-bad-decrypt/48956 "2021-07-27T08:48:16Z")

</div>

Hello, i've problem with self-signed certicate . I created files .pem with openssl req -x509 -newkey rsa:4096 -keyout privkey.pem -out cert.pem -days 1095 And the logs shows this problem : 0|node-red | Failed to ge…

---

## [MQTT Publish Node](https://discourse.nodered.org/t/mqtt-publish-node/48952)

<div class="topic-metadata">

**Author:** [@wael5300](https://discourse.nodered.org/u/wael5300)\
**Replies:** 2\
**Last updated:** [27 July 2021 08:45 UTC](https://discourse.nodered.org/t/mqtt-publish-node/48952 "2021-07-27T08:45:34Z")

</div>

In the case of using MQTT Publish Node and do some calculation(+,-,/,\*..etc) on data. How to do mathematic on data? Should I use a change node or function node and what should I write on it?

---

## [Repeating incoming message for mytimeout-node](https://discourse.nodered.org/t/repeating-incoming-message-for-mytimeout-node/48917)

<div class="topic-metadata">

**Author:** [@freiheit2018](https://discourse.nodered.org/u/freiheit2018)\
**Replies:** 6\
**Last updated:** [27 July 2021 07:35 UTC](https://discourse.nodered.org/t/repeating-incoming-message-for-mytimeout-node/48917 "2021-07-27T07:35:57Z")

</div>

Hi there, I have created a small example dashboard, that shows my problem. I use mytimeout-node as a countdown timer. The duration-time needs to be able to be set via the dashboard, which I accomplished. I then have four…

---

## [Git not found when starting as service](https://discourse.nodered.org/t/git-not-found-when-starting-as-service/48951)

<div class="topic-metadata">

**Author:** [@diedder](https://discourse.nodered.org/u/diedder)\
**Replies:** 0\
**Last updated:** [27 July 2021 06:41 UTC](https://discourse.nodered.org/t/git-not-found-when-starting-as-service/48951 "2021-07-27T06:41:40Z")

</div>

Hi, I've installed Node-Red v2.0.3 on a VM in Oracle Cloud und manually Installed Git V2.x as described here ORACLE-BASE - Git 2.x Installation on Linux When starting NR manually at bash everything is finde, the projec…

---

## [Uibuilder security](https://discourse.nodered.org/t/uibuilder-security/48635)

<div class="topic-metadata">

**Author:** [@Janna](https://discourse.nodered.org/u/Janna)\
**Replies:** 2\
**Last updated:** [27 July 2021 05:31 UTC](https://discourse.nodered.org/t/uibuilder-security/48635 "2021-07-27T05:31:22Z")

</div>

Hello, I am trying to secure a uibuilder site with the help of the built-in security. I have built a small example from the default page. Actually, when the button is pressed, a record should be read from a database and…

---

## [XML value of all data](https://discourse.nodered.org/t/xml-value-of-all-data/48937)

<div class="topic-metadata">

**Author:** [@madmax](https://discourse.nodered.org/u/madmax)\
**Replies:** 9\
**Last updated:** [27 July 2021 04:56 UTC](https://discourse.nodered.org/t/xml-value-of-all-data/48937 "2021-07-27T04:56:26Z")

</div>

Hello! I have an XML file. How can I filter this value of all data? payload.HRC\_STOCK.PRODUCT \[0\] https://www.hrcdistribution.com/xml/xml\_feed\_stock.php?c=8407

---

## [How do I get to the content of this payload?](https://discourse.nodered.org/t/how-do-i-get-to-the-content-of-this-payload/48947)

<div class="topic-metadata">

**Author:** [@benflux](https://discourse.nodered.org/u/benflux)\
**Replies:** 1\
**Last updated:** [27 July 2021 04:27 UTC](https://discourse.nodered.org/t/how-do-i-get-to-the-content-of-this-payload/48947 "2021-07-27T04:27:22Z")

</div>

I've got an iCal node that is returning the content in the screenshot below, it returns an object in an array\[1\] when there is an upcoming event that matches the filtering criteria I've given the node and I want to then …

---

## [Uibuilder load components](https://discourse.nodered.org/t/uibuilder-load-components/48910)

<div class="topic-metadata">

**Author:** [@T3chn0](https://discourse.nodered.org/u/T3chn0)\
**Replies:** 4\
**Last updated:** [26 July 2021 23:33 UTC](https://discourse.nodered.org/t/uibuilder-load-components/48910 "2021-07-26T23:33:33Z")

</div>

Hi, i 'm trying to load a component lets say component.vue in the index.js i have added: components:{ 'formlogin': httpVueLoader('formlogin.vue') }, also have installed in front end libraries and from console the vu…

---

## [How can I recover my flows from a bad SD card from a PI 3b\_ SD card](https://discourse.nodered.org/t/how-can-i-recover-my-flows-from-a-bad-sd-card-from-a-pi-3b-sd-card/48887)

<div class="topic-metadata">

**Author:** [@ronbu](https://discourse.nodered.org/u/ronbu)\
**Replies:** 20\
**Last updated:** [26 July 2021 23:05 UTC](https://discourse.nodered.org/t/how-can-i-recover-my-flows-from-a-bad-sd-card-from-a-pi-3b-sd-card/48887 "2021-07-26T23:05:08Z")

</div>

Ok my bad I do not have a backup of the SD card from my PI 3b+. The card crashed and had ALL my flows and Arduino code. I have a new install on a NEW SD card setup and SD reader attached to the PI. I can see the SD ca…

---

## [Unable to insert HTML button from JavaScript](https://discourse.nodered.org/t/unable-to-insert-html-button-from-javascript/48795)

<div class="topic-metadata">

**Author:** [@aadam](https://discourse.nodered.org/u/aadam)\
**Replies:** 6\
**Last updated:** [26 July 2021 22:49 UTC](https://discourse.nodered.org/t/unable-to-insert-html-button-from-javascript/48795 "2021-07-26T22:49:23Z")

</div>

Hello, I'm fairly new to Node Red and am working to create a dynamic UI interface. I'm trying to send the code for button from a function node and execute it inside a UI template Node. What confusing me is why the but…

---

## [Looking for a tutorial on triggering flows based on Google Calendar events](https://discourse.nodered.org/t/looking-for-a-tutorial-on-triggering-flows-based-on-google-calendar-events/48942)

<div class="topic-metadata">

**Author:** [@benflux](https://discourse.nodered.org/u/benflux)\
**Replies:** 0\
**Last updated:** [26 July 2021 22:42 UTC](https://discourse.nodered.org/t/looking-for-a-tutorial-on-triggering-flows-based-on-google-calendar-events/48942 "2021-07-26T22:42:25Z")

</div>

I'm fairly new to NR but I've got all my lighting and IOT devices nicely automated and I'm ready to step up to something a little smarter. I'd like to fire a flow when a particular word is in a Google Calendar event, in …

---

## [\[solved\] worldmap - button - redirect using window.location.foo](https://discourse.nodered.org/t/solved-worldmap-button-redirect-using-window-location-foo/48903)

<div class="topic-metadata">

**Author:** [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Replies:** 6\
**Last updated:** [26 July 2021 20:57 UTC](https://discourse.nodered.org/t/solved-worldmap-button-redirect-using-window-location-foo/48903 "2021-07-26T20:57:53Z")

</div>

Wondering if there is a way to send a window.location.replace or a window.location.href using a button in worldmap I can create buttons in the map and register the click event to the worldmap in node and receive the…

---

## [Node-red-contrib-blockly. where is the set block in the objects section?](https://discourse.nodered.org/t/node-red-contrib-blockly-where-is-the-set-block-in-the-objects-section/48912)

<div class="topic-metadata">

**Author:** [@carflomi](https://discourse.nodered.org/u/carflomi)\
**Replies:** 10\
**Last updated:** [26 July 2021 20:21 UTC](https://discourse.nodered.org/t/node-red-contrib-blockly-where-is-the-set-block-in-the-objects-section/48912 "2021-07-26T20:21:04Z")

</div>

Hello. Being a novice in programming, the use of the Blocky node is a good way to start. Following the indications of "Store data in Node Red memory · bartbutenaers/node-red-contrib-blockly Wiki · GitHub" I'm trying to…

---

## [Flow Debugger - msg history](https://discourse.nodered.org/t/flow-debugger-msg-history/48938)

<div class="topic-metadata">

**Author:** [@supercross99](https://discourse.nodered.org/u/supercross99)\
**Replies:** 0\
**Last updated:** [26 July 2021 19:52 UTC](https://discourse.nodered.org/t/flow-debugger-msg-history/48938 "2021-07-26T19:52:40Z")

</div>

Been playing with NodeRED v.2.0.3 with v.1.1.1 of the Flow debugger installed. Great work! This will be very useful! Feature request: ability to 'pin' a msg (or do it to all msg's that hit a breakpoint?) so that you …

---

## [Add up all the values](https://discourse.nodered.org/t/add-up-all-the-values/48932)

<div class="topic-metadata">

**Author:** [@madmax](https://discourse.nodered.org/u/madmax)\
**Replies:** 5\
**Last updated:** [26 July 2021 17:54 UTC](https://discourse.nodered.org/t/add-up-all-the-values/48932 "2021-07-26T17:54:50Z")

</div>

Hello! I have a CSV file with values. How can I add up all the values? Here is an example: HS-69656; 11 HS-69657; 14 HS-69658; 10 HS-69659; 8 HS-69660; 8 HS-69661; 6 HS-69662; 6 HS-69663; 5 HS-69664; 7 The n…

---

## [Node-red-contrib-omron-fins](https://discourse.nodered.org/t/node-red-contrib-omron-fins/48919)

<div class="topic-metadata">

**Author:** [@jacco](https://discourse.nodered.org/u/jacco)\
**Replies:** 5\
**Last updated:** [26 July 2021 17:14 UTC](https://discourse.nodered.org/t/node-red-contrib-omron-fins/48919 "2021-07-26T17:14:38Z")

</div>

After updating node-red-contrib-omron-fins from version 0.3.0 to 0.5.0 I can't connect to the PLC. In the debug window I have this message TypeError: buf.readUint32BE is not a function When trying to write to the PLC. …

---

## [Serialport device](https://discourse.nodered.org/t/serialport-device/7014)

<div class="topic-metadata">

**Author:** [@Juhputti](https://discourse.nodered.org/u/Juhputti)\
**Replies:** 11\
**Last updated:** [26 July 2021 16:01 UTC](https://discourse.nodered.org/t/serialport-device/7014 "2021-07-26T16:01:37Z")

</div>

Hi, I have this usb GPIO board. I can send commands to that by using screen in mac terminal. In node red I can see, that it is connected, but when using same commands, nothing happens. I only get back the same comma…

---

## [Copy whole folder](https://discourse.nodered.org/t/copy-whole-folder/48922)

<div class="topic-metadata">

**Author:** [@LucasJ98](https://discourse.nodered.org/u/LucasJ98)\
**Replies:** 1\
**Last updated:** [26 July 2021 14:25 UTC](https://discourse.nodered.org/t/copy-whole-folder/48922 "2021-07-26T14:25:16Z")

</div>

Hello, it is possible to copy whole folder from sourcePath to destinantionPath?

---

## [Error ENOENT - no such file or directory](https://discourse.nodered.org/t/error-enoent-no-such-file-or-directory/48918)

<div class="topic-metadata">

**Author:** [@LucasJ98](https://discourse.nodered.org/u/LucasJ98)\
**Replies:** 0\
**Last updated:** [26 July 2021 11:34 UTC](https://discourse.nodered.org/t/error-enoent-no-such-file-or-directory/48918 "2021-07-26T11:34:04Z")

</div>

\[{"id":"c083b11f.d977e","type":"fs-ops-dir","z":"f73bbce9.98ce6","name":"get list of files matching Reboot\*","path":"sourcePath","pathType":"msg","filter":"\*","filterType":"str","dir":"payload","dirType":"msg","x":970,"y…

---

## [Problems with more than one MCP3008](https://discourse.nodered.org/t/problems-with-more-than-one-mcp3008/48860)

<div class="topic-metadata">

**Author:** [@CD2468](https://discourse.nodered.org/u/CD2468)\
**Replies:** 12\
**Last updated:** [26 July 2021 13:17 UTC](https://discourse.nodered.org/t/problems-with-more-than-one-mcp3008/48860 "2021-07-26T13:17:24Z")

</div>

Hey all, I have some problems with 3 MCP3008 adc's Every time I try to address one of the MCPs, only the first one that I createt answers. The others display the values from the first one. If I only have one node in …

---

## [Ewelink node unstable](https://discourse.nodered.org/t/ewelink-node-unstable/48907)

<div class="topic-metadata">

**Author:** [@Thewaver](https://discourse.nodered.org/u/Thewaver)\
**Replies:** 2\
**Last updated:** [26 July 2021 12:26 UTC](https://discourse.nodered.org/t/ewelink-node-unstable/48907 "2021-07-26T12:26:58Z")

</div>

I am running the ewelink node but it keeps losing connection. I have to edit the node, click on ewelink credentials and then click on the update button without changing anything in the credentials. After this it starts w…

---

## [Environment variables only strings?](https://discourse.nodered.org/t/environment-variables-only-strings/48867)

<div class="topic-metadata">

**Author:** [@blunoz](https://discourse.nodered.org/u/blunoz)\
**Replies:** 3\
**Last updated:** [26 July 2021 10:20 UTC](https://discourse.nodered.org/t/environment-variables-only-strings/48867 "2021-07-26T10:20:54Z")

</div>

I've set up a file external to my settings.js to store device specific configuration data as discussed in this thread Environment variables outside settings.js file - General - Node-RED Forum (nodered.org) in settings.j…

---

## [Lost connection to server when deploy flex server](https://discourse.nodered.org/t/lost-connection-to-server-when-deploy-flex-server/48720)

<div class="topic-metadata">

**Author:** [@hadwll](https://discourse.nodered.org/u/hadwll)\
**Replies:** 2\
**Last updated:** [26 July 2021 09:21 UTC](https://discourse.nodered.org/t/lost-connection-to-server-when-deploy-flex-server/48720 "2021-07-26T09:21:30Z")

</div>

When I try and deploy the below node, node-red loses its connection. I get the following on the terminal. Any ideas? using the following Thanks!

---

## ["Cannot read property 'producer' of undefined"](https://discourse.nodered.org/t/cannot-read-property-producer-of-undefined/48908)

<div class="topic-metadata">

**Author:** [@MK1992](https://discourse.nodered.org/u/MK1992)\
**Replies:** 2\
**Last updated:** [26 July 2021 07:47 UTC](https://discourse.nodered.org/t/cannot-read-property-producer-of-undefined/48908 "2021-07-26T07:47:06Z")

</div>

\[{"id":"453c3fa4.ad135","type":"tab","label":"Flow 6","disabled":false,"info":""},{"id":"62ab9935.52dea8","type":"tf-model","z":"453c3fa4.ad135","modelURL":"file:///home/pi/Downloads/model.json","outputNode":"","name":""…

---

## [Trigger reset with a deploy](https://discourse.nodered.org/t/trigger-reset-with-a-deploy/48897)

<div class="topic-metadata">

**Author:** [@vikozo](https://discourse.nodered.org/u/vikozo)\
**Replies:** 2\
**Last updated:** [25 July 2021 22:03 UTC](https://discourse.nodered.org/t/trigger-reset-with-a-deploy/48897 "2021-07-25T22:03:49Z")

</div>

hello i am not sure it is a bug or a feature but, in a flow i use a trigger. the flow works and have a active trigger, so it waits! if i set up into another flow and deploy it it will reset all trigger in all flows o…

---

## [Update to Node.JS 14 or 16 not possible with a contrib](https://discourse.nodered.org/t/update-to-node-js-14-or-16-not-possible-with-a-contrib/48895)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 1\
**Last updated:** [25 July 2021 21:33 UTC](https://discourse.nodered.org/t/update-to-node-js-14-or-16-not-possible-with-a-contrib/48895 "2021-07-25T21:33:57Z")

</div>

Hello, I´ve tried to install with Node-Red 2.0.2 Node.JS 16 and 14 - but with both of them a special contrib: --\> node-red-contrib-nibepi isn´t starting: Is this contrib only made for Node.JS 12 ? Will I never b…

---

## [How to check if payload is a subset of an array in function nodes](https://discourse.nodered.org/t/how-to-check-if-payload-is-a-subset-of-an-array-in-function-nodes/48893)

<div class="topic-metadata">

**Author:** [@RonMa](https://discourse.nodered.org/u/RonMa)\
**Replies:** 6\
**Last updated:** [25 July 2021 21:11 UTC](https://discourse.nodered.org/t/how-to-check-if-payload-is-a-subset-of-an-array-in-function-nodes/48893 "2021-07-25T21:11:03Z")

</div>

Hi there, following situation: I integrated the "Open weather map" node which delivers current weather information for my location. This information is encoded using different IDs for different weather conditions (i.e. …

---

## [2.0.3 http request node with tls - valid certificates no longer work](https://discourse.nodered.org/t/2-0-3-http-request-node-with-tls-valid-certificates-no-longer-work/48892)

<div class="topic-metadata">

**Author:** [@agarity](https://discourse.nodered.org/u/agarity)\
**Replies:** 2\
**Last updated:** [25 July 2021 20:20 UTC](https://discourse.nodered.org/t/2-0-3-http-request-node-with-tls-valid-certificates-no-longer-work/48892 "2021-07-25T20:20:01Z")

</div>

I upgraded my instance today to 2.0.3 from 1.3.5 and noticed all of my HTTP request nodes are displaying errors under the node "SELF\_SIGNED\_CERT\_IN\_CHAIN" However the server these are going to has a valid cert, and open…

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

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