# General

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

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

**Page:** 482

---

## [Inject node - every 100ms](https://discourse.nodered.org/t/inject-node-every-100ms/52432)

<div class="topic-metadata">

**Author:** [@feichtm2](https://discourse.nodered.org/u/feichtm2)\
**Replies:** 5\
**Last updated:** [19 October 2021 19:13 UTC](https://discourse.nodered.org/t/inject-node-every-100ms/52432 "2021-10-19T19:13:02Z")

</div>

Inject node has the option to repeat injects. However, the minimum time is 1sec. I would like to poll my robot for telemetry data every 100ms. Is this possible?

---

## [Sigfox downlink](https://discourse.nodered.org/t/sigfox-downlink/16495)

<div class="topic-metadata">

**Author:** [@Meng](https://discourse.nodered.org/u/Meng)\
**Replies:** 5\
**Last updated:** [25 October 2020 01:14 UTC](https://discourse.nodered.org/t/sigfox-downlink/16495 "2020-10-25T01:14:24Z")

</div>

How can i connect a node-red downlink by callback to sigfox. I have problems with the url and the data connection. the message is msg.payload={ deviceId : {'data':data}};

---

## [How to run a custom javascript script on startup of node red](https://discourse.nodered.org/t/how-to-run-a-custom-javascript-script-on-startup-of-node-red/52429)

<div class="topic-metadata">

**Author:** [@tnrich](https://discourse.nodered.org/u/tnrich)\
**Replies:** 3\
**Last updated:** [19 October 2021 17:10 UTC](https://discourse.nodered.org/t/how-to-run-a-custom-javascript-script-on-startup-of-node-red/52429 "2021-10-19T17:10:59Z")

</div>

Hey there, I'm looking to customize the UI and possibly hide or inject certain element on the node-red editor. Is there a way to have a javascript file be called on startup of node-red and run in the window? Seems like…

---

## [Unsubflow like ungroup](https://discourse.nodered.org/t/unsubflow-like-ungroup/52423)

<div class="topic-metadata">

**Author:** [@pierredewilde](https://discourse.nodered.org/u/pierredewilde)\
**Replies:** 2\
**Last updated:** [19 October 2021 17:01 UTC](https://discourse.nodered.org/t/unsubflow-like-ungroup/52423 "2021-10-19T17:01:12Z")

</div>

Hi there, Newbie to Node-RED and very impressed by its smart design and implementation. I don't figure how to unsubflow i.e. how to convert a subflow back to nodes like ungrouping. Thanks, Pierre

---

## [DietPi installation lacks basic commands](https://discourse.nodered.org/t/dietpi-installation-lacks-basic-commands/10388)

<div class="topic-metadata">

**Author:** [@bwims](https://discourse.nodered.org/u/bwims)\
**Replies:** 10\
**Last updated:** [19 October 2021 16:50 UTC](https://discourse.nodered.org/t/dietpi-installation-lacks-basic-commands/10388 "2021-10-19T16:50:58Z")

</div>

Hi, I am just getting into Node-RED. All the documentation I find discusses the 3 commands: Node-red-start Node-red-stop Node-red-log But the DietPi installation of Node-RED only provides the command Node-red Inci…

---

## [Switch or function (or something else)?](https://discourse.nodered.org/t/switch-or-function-or-something-else/52416)

<div class="topic-metadata">

**Author:** [@mk1blacklimited](https://discourse.nodered.org/u/mk1blacklimited)\
**Replies:** 4\
**Last updated:** [19 October 2021 16:12 UTC](https://discourse.nodered.org/t/switch-or-function-or-something-else/52416 "2021-10-19T16:12:52Z")

</div>

New to NR, so this is probably easy...:slight\_smile: I've got a payload that includes the field "device\_id" which is an integer. I need to check if this device\_id is included in a list of device\_id's (an array perhaps),…

---

## [Is there any training / online course for node red?](https://discourse.nodered.org/t/is-there-any-training-online-course-for-node-red/52420)

<div class="topic-metadata">

**Author:** [@oliverhartley](https://discourse.nodered.org/u/oliverhartley)\
**Replies:** 2\
**Last updated:** [19 October 2021 16:07 UTC](https://discourse.nodered.org/t/is-there-any-training-online-course-for-node-red/52420 "2021-10-19T16:07:36Z")

</div>

Hi, i have seen somethings in udemy, but i was wondering if anyone knows a good online training in order to get a more structured learning path. I have seen millions of tutorials in youtube, but im seeking for a more str…

---

## [Upstream/downstream selection on group](https://discourse.nodered.org/t/upstream-downstream-selection-on-group/52424)

<div class="topic-metadata">

**Author:** [@pierredewilde](https://discourse.nodered.org/u/pierredewilde)\
**Replies:** 0\
**Last updated:** [19 October 2021 15:49 UTC](https://discourse.nodered.org/t/upstream-downstream-selection-on-group/52424 "2021-10-19T15:49:38Z")

</div>

Maybe upstream/downstream selection with Shift key should also work on groups.

---

## [Mysql table UI layer show?](https://discourse.nodered.org/t/mysql-table-ui-layer-show/52401)

<div class="topic-metadata">

**Author:** [@byramozgn](https://discourse.nodered.org/u/byramozgn)\
**Replies:** 11\
**Last updated:** [19 October 2021 14:38 UTC](https://discourse.nodered.org/t/mysql-table-ui-layer-show/52401 "2021-10-19T14:38:02Z")

</div>

Hello, I transfer the data from the sensor to the table in mysql. How can I view the table in mysql in node-red UI layer?

---

## [IIOT OPCUA Alarms&Events](https://discourse.nodered.org/t/iiot-opcua-alarms-events/52418)

<div class="topic-metadata">

**Author:** [@akhtar321h](https://discourse.nodered.org/u/akhtar321h)\
**Replies:** 0\
**Last updated:** [19 October 2021 13:37 UTC](https://discourse.nodered.org/t/iiot-opcua-alarms-events/52418 "2021-10-19T13:37:16Z")

</div>

Hello Everyone, I am working on OPC DA & AE. For that i am using IIOT OPCUA node. With IIOT OPCUA node i am able to connect and access data but for accessing the alarms and events not getting what to do. I have tested…

---

## [Bearer authentication and ssl/tsl authentication](https://discourse.nodered.org/t/bearer-authentication-and-ssl-tsl-authentication/52417)

<div class="topic-metadata">

**Author:** [@SumeetBulani](https://discourse.nodered.org/u/SumeetBulani)\
**Replies:** 0\
**Last updated:** [19 October 2021 12:53 UTC](https://discourse.nodered.org/t/bearer-authentication-and-ssl-tsl-authentication/52417 "2021-10-19T12:53:21Z")

</div>

Hello community, I have been trying to make a http request (POST request) to an API and I have a bearer token and the URL for it as well. The first error on deploying it is that self signed certificate is required. On t…

---

## [Passing token from the oauth2 node to http request using function node](https://discourse.nodered.org/t/passing-token-from-the-oauth2-node-to-http-request-using-function-node/52403)

<div class="topic-metadata">

**Author:** [@SumeetBulani](https://discourse.nodered.org/u/SumeetBulani)\
**Replies:** 0\
**Last updated:** [19 October 2021 09:23 UTC](https://discourse.nodered.org/t/passing-token-from-the-oauth2-node-to-http-request-using-function-node/52403 "2021-10-19T09:23:30Z")

</div>

Hello, I have been trying to pass the bearer token generated using oauth2 token into the http request node (use authentication is selected, type - bearer authentication, and the token is to be taken from the oauth2 node…

---

## [Flow continues after sqlite throws error](https://discourse.nodered.org/t/flow-continues-after-sqlite-throws-error/52398)

<div class="topic-metadata">

**Author:** [@r0ller](https://discourse.nodered.org/u/r0ller)\
**Replies:** 5\
**Last updated:** [19 October 2021 09:15 UTC](https://discourse.nodered.org/t/flow-continues-after-sqlite-throws-error/52398 "2021-10-19T09:15:57Z")

</div>

Hi All, Accidentally, I managed to send a malformed sql statement to an sqlite node in a subflow which threw an error that got of course caught by the parent level catch node. What I did not expect was that the subflow …

---

## [Timer in node-red](https://discourse.nodered.org/t/timer-in-node-red/52361)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 10\
**Last updated:** [19 October 2021 08:38 UTC](https://discourse.nodered.org/t/timer-in-node-red/52361 "2021-10-19T08:38:27Z")

</div>

Hi all, I would like introduce a timer which run when an input occurs. I'd like also that other commands runs while timer is running. For example while timer is running, if a gpio input turn on, I would stop, reset and…

---

## [Send a file with multipart/form-data to OctoPrint REST API](https://discourse.nodered.org/t/send-a-file-with-multipart-form-data-to-octoprint-rest-api/7534)

<div class="topic-metadata">

**Author:** [@diramazioni](https://discourse.nodered.org/u/diramazioni)\
**Replies:** 29\
**Last updated:** [19 October 2021 07:02 UTC](https://discourse.nodered.org/t/send-a-file-with-multipart-form-data-to-octoprint-rest-api/7534 "2021-10-19T07:02:50Z")

</div>

Hello there, I'm having a hard time configuring the nodes correctly in order to send an uploaded file to OctoPrint REST. Here is my node setup however i't won't work unless you register your app in your local octoprint …

---

## [Debug Text Limitation](https://discourse.nodered.org/t/debug-text-limitation/52373)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 5\
**Last updated:** [19 October 2021 01:20 UTC](https://discourse.nodered.org/t/debug-text-limitation/52373 "2021-10-19T01:20:42Z")

</div>

I have some very long json content going to the debug window. The debug window seems to be truncating them with a ... at the end. I did a search but could not find out how to be able to see the whole content in the debu…

---

## [Uibuilder node (copy-paste-rename)](https://discourse.nodered.org/t/uibuilder-node-copy-paste-rename/52385)

<div class="topic-metadata">

**Author:** [@tmichaeltx](https://discourse.nodered.org/u/tmichaeltx)\
**Replies:** 1\
**Last updated:** [19 October 2021 01:15 UTC](https://discourse.nodered.org/t/uibuilder-node-copy-paste-rename/52385 "2021-10-19T01:15:51Z")

</div>

I wanted to make sure I am not missing something in my development process. I am building a an interface with uibuilder while learning various Vue concepts. Occasionally, I reach what I think of as a milestone and would…

---

## [MySQL Node Odd ER\_PARSE\_ERROR 5 out of 38,000 records](https://discourse.nodered.org/t/mysql-node-odd-er-parse-error-5-out-of-38-000-records/52377)

<div class="topic-metadata">

**Author:** [@HarryPottar](https://discourse.nodered.org/u/HarryPottar)\
**Replies:** 11\
**Last updated:** [19 October 2021 00:00 UTC](https://discourse.nodered.org/t/mysql-node-odd-er-parse-error-5-out-of-38-000-records/52377 "2021-10-19T00:00:21Z")

</div>

Hi, Odd error here and pulling my hair out, I'm processing a CSV file with some 37,800 plus records All get inserted into MySQL except 5. The csv will change over time, modified and added too. I download from source on…

---

## [Admin Create/Delete of subflows](https://discourse.nodered.org/t/admin-create-delete-of-subflows/52382)

<div class="topic-metadata">

**Author:** [@tnrich](https://discourse.nodered.org/u/tnrich)\
**Replies:** 2\
**Last updated:** [18 October 2021 23:06 UTC](https://discourse.nodered.org/t/admin-create-delete-of-subflows/52382 "2021-10-18T23:06:08Z")

</div>

Hey there, I am hoping to create and delete subflows using the admin API. I would have expected them to have an api similar to flows, but it doesn't seem to exist. Is there a way to create and delete subflows right now? …

---

## [Extracting data from an array](https://discourse.nodered.org/t/extracting-data-from-an-array/52365)

<div class="topic-metadata">

**Author:** [@Bastian](https://discourse.nodered.org/u/Bastian)\
**Replies:** 2\
**Last updated:** [18 October 2021 21:09 UTC](https://discourse.nodered.org/t/extracting-data-from-an-array/52365 "2021-10-18T21:09:00Z")

</div>

Hi there, I want to record sensor data and save them as an array of objects (with value, timestamp and channel). Due to the low sample time we need (50ms is the lowest we can get) I try to minimise the computational ef…

---

## [Date to mysql datetime](https://discourse.nodered.org/t/date-to-mysql-datetime/52367)

<div class="topic-metadata">

**Author:** [@ketpa](https://discourse.nodered.org/u/ketpa)\
**Replies:** 5\
**Last updated:** [18 October 2021 20:22 UTC](https://discourse.nodered.org/t/date-to-mysql-datetime/52367 "2021-10-18T20:22:06Z")

</div>

I have date like this datetime = "2021-10-18T13:20:51.404Z" I want like this "2021-10-18 13:20:51" for mysql database and array = \[20,30,40,50,60,70,40,30\]; datetime is for array\[0\] (20) I want something like this o…

---

## [Modify default package.json](https://discourse.nodered.org/t/modify-default-package-json/52375)

<div class="topic-metadata">

**Author:** [@nacartwright](https://discourse.nodered.org/u/nacartwright)\
**Replies:** 0\
**Last updated:** [18 October 2021 19:20 UTC](https://discourse.nodered.org/t/modify-default-package-json/52375 "2021-10-18T19:20:05Z")

</div>

We're using node-red for some development API building for simple event driven flows. We're using projects mode currently. I'd like whenever we push a change that we run a CI/CD pipeline to push into GCP Cloud Run. Issu…

---

## [\[SOLVED\] Use of Reboot/Shutdown node](https://discourse.nodered.org/t/solved-use-of-reboot-shutdown-node/52371)

<div class="topic-metadata">

**Author:** [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Replies:** 0\
**Last updated:** [18 October 2021 15:27 UTC](https://discourse.nodered.org/t/solved-use-of-reboot-shutdown-node/52371 "2021-10-18T15:27:24Z")

</div>

Hi, I use the following nodes to reboot my Rpi. I'm using a notification node to ask the user if to proceed or not. If 'OK' is chosen, then a 'true' is sent to the Reboot node and the board reboots. Then in theory, if …

---

## [Change node status from another node](https://discourse.nodered.org/t/change-node-status-from-another-node/52359)

<div class="topic-metadata">

**Author:** [@cdacruz](https://discourse.nodered.org/u/cdacruz)\
**Replies:** 4\
**Last updated:** [18 October 2021 16:02 UTC](https://discourse.nodered.org/t/change-node-status-from-another-node/52359 "2021-10-18T16:02:51Z")

</div>

Hello everybody, I'm a newbe... Is it possible to change a the status from another one ? Thanks for your help.

---

## [Pinata cloud POST API](https://discourse.nodered.org/t/pinata-cloud-post-api/52267)

<div class="topic-metadata">

**Author:** [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)\
**Replies:** 6\
**Last updated:** [18 October 2021 12:57 UTC](https://discourse.nodered.org/t/pinata-cloud-post-api/52267 "2021-10-18T12:57:52Z")

</div>

Did someone managed to set a flow for sending file to pinata cloud ? I managed to use Postman to upload an image, so I copied the headers and set the msg.headers property. msg.headers = { "content-type": 'multipart/fo…

---

## [How to disable a tab at startup](https://discourse.nodered.org/t/how-to-disable-a-tab-at-startup/5037)

<div class="topic-metadata">

**Author:** [@jc-nr](https://discourse.nodered.org/u/jc-nr)\
**Replies:** 14\
**Last updated:** [18 October 2021 14:39 UTC](https://discourse.nodered.org/t/how-to-disable-a-tab-at-startup/5037 "2021-10-18T14:39:24Z")

</div>

Is it possible to enable/disable a tab at startup, with an environment variable ? Something like this : { "id" : "5f773146.6bf5", "type" : "tab", "label" : "Test", "disabled": "$env('DISABLE\_TESTS')", "info" …

---

## [New created node not visible in the palette](https://discourse.nodered.org/t/new-created-node-not-visible-in-the-palette/52355)

<div class="topic-metadata">

**Author:** [@Lena](https://discourse.nodered.org/u/Lena)\
**Replies:** 4\
**Last updated:** [18 October 2021 12:42 UTC](https://discourse.nodered.org/t/new-created-node-not-visible-in-the-palette/52355 "2021-10-18T12:42:42Z")

</div>

Hey, I created new nodes for OPC UA. Now I would like to test them, but they are not visible in the palette on the left side. In the html-File I created a new category, but I can´t see this new category. But when I take…

---

## [Unixtime to localtime](https://discourse.nodered.org/t/unixtime-to-localtime/52364)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 2\
**Last updated:** [18 October 2021 12:19 UTC](https://discourse.nodered.org/t/unixtime-to-localtime/52364 "2021-10-18T12:19:39Z")

</div>

Hi, I can´t get the right time for example: 1634641200 should be: 19.10.2021, 13:00:00 \[UTC+2\] I tried date/time formater gives me: "1970-01-19T22:04:01.200Z" and $moment(payload).locale("de").format('dddd, \[der\] …

---

## [Rpi infput Delayed off whitch is discarded when rpi returns high before timeout](https://discourse.nodered.org/t/rpi-infput-delayed-off-whitch-is-discarded-when-rpi-returns-high-before-timeout/52336)

<div class="topic-metadata">

**Author:** [@pa3fbx](https://discourse.nodered.org/u/pa3fbx)\
**Replies:** 8\
**Last updated:** [18 October 2021 10:34 UTC](https://discourse.nodered.org/t/rpi-infput-delayed-off-whitch-is-discarded-when-rpi-returns-high-before-timeout/52336 "2021-10-18T10:34:31Z")

</div>

Hi, Well still playing with Node-red today i have a simple problem where i cannot find the node-red solution... I have a RPI input going high controlling something.. Whenever its going low i need to delay the off state…

---

## [How is correlation calculated?](https://discourse.nodered.org/t/how-is-correlation-calculated/52352)

<div class="topic-metadata">

**Author:** [@sefaguntepe](https://discourse.nodered.org/u/sefaguntepe)\
**Replies:** 8\
**Last updated:** [18 October 2021 10:08 UTC](https://discourse.nodered.org/t/how-is-correlation-calculated/52352 "2021-10-18T10:08:17Z")

</div>

Hello, how can I calculate the correlation. I tried several nodes but failed.

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

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