# Latest

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

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

**Page:** 714

---

## [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.

---

## [Encoding used in the upgraded http-request node](https://discourse.nodered.org/t/encoding-used-in-the-upgraded-http-request-node/52380)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 6\
**Last updated:** [19 October 2021 15:40 UTC](https://discourse.nodered.org/t/encoding-used-in-the-upgraded-http-request-node/52380 "2021-10-19T15:40:54Z")

</div>

Hi folks, In my early Node-RED days, I submitted a pull-request for the http-request node. Because NodeJs always converted the raw bytes it received to a string. If you are working for example with images, that is a r…

---

## [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…

---

## [Ui Webcam node camera select](https://discourse.nodered.org/t/ui-webcam-node-camera-select/51386)

<div class="topic-metadata">

**Author:** [@jaap](https://discourse.nodered.org/u/jaap)\
**Replies:** 23\
**Last updated:** [19 October 2021 12:52 UTC](https://discourse.nodered.org/t/ui-webcam-node-camera-select/51386 "2021-10-19T12:52:38Z")

</div>

Hi. I use the node-red-node-ui-webcam node and it works fine but when i use it on a mobile phone with a lot of camera's inside, the node is always startup with the front camera. I can switch it to the back camera with th…

---

## [Dynamic html line in html endpoint (different values from payload)](https://discourse.nodered.org/t/dynamic-html-line-in-html-endpoint-different-values-from-payload/52363)

<div class="topic-metadata">

**Author:** [@Chorum](https://discourse.nodered.org/u/Chorum)\
**Replies:** 4\
**Last updated:** [19 October 2021 11:45 UTC](https://discourse.nodered.org/t/dynamic-html-line-in-html-endpoint-different-values-from-payload/52363 "2021-10-19T11:45:33Z")

</div>

Hello there, i have a new problem but not enough knowledge about html. i would like to create a line dynamicly depending on a value from payload. here the working code: window.onload = function addCode(){ …

---

## [DietPi - "~/.node-red" folder does not exist](https://discourse.nodered.org/t/dietpi-node-red-folder-does-not-exist/52405)

<div class="topic-metadata">

**Author:** [@hkayan](https://discourse.nodered.org/u/hkayan)\
**Replies:** 4\
**Last updated:** [19 October 2021 09:57 UTC](https://discourse.nodered.org/t/dietpi-node-red-folder-does-not-exist/52405 "2021-10-19T09:57:28Z")

</div>

Hi, I am trying to create a node in DietPi. To install the node I need to run npm install in ~/.node-red. But, I can't see such a folder. How should I proceed? Thanks.

---

## [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…

---

## [Add a custom button to node config UI and onclick() for it](https://discourse.nodered.org/t/add-a-custom-button-to-node-config-ui-and-onclick-for-it/52394)

<div class="topic-metadata">

**Author:** [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Replies:** 3\
**Last updated:** [19 October 2021 07:30 UTC](https://discourse.nodered.org/t/add-a-custom-button-to-node-config-ui-and-onclick-for-it/52394 "2021-10-19T07:30:45Z")

</div>

I'm trying to add a button to my custom node's configuration UI. So in node.html I did this \<script type="text/html" data-template-name="my\_node"\> \<div class="form-tips"\>\<i class="fa fa-hand-o-down"\>\</i\> Press the …

---

## [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 …

---

## [\[Announce\] node-red-contrib-deepspeech-stt (beta)](https://discourse.nodered.org/t/announce-node-red-contrib-deepspeech-stt-beta/40390)

<div class="topic-metadata">

**Author:** [@JGKK](https://discourse.nodered.org/u/JGKK)\
**Replies:** 10\
**Last updated:** [19 October 2021 05:39 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-deepspeech-stt-beta/40390 "2021-10-19T05:39:55Z")

</div>

Hello, Id like to announce the first beta commit for node-red-contrib-deepspeech-stt: This node uses the official deepspeech node.js cpu client implementation. So just install the node from your node-red folder (norm…

---

## [How to add css as per the login?](https://discourse.nodered.org/t/how-to-add-css-as-per-the-login/52360)

<div class="topic-metadata">

**Author:** [@Nisha](https://discourse.nodered.org/u/Nisha)\
**Replies:** 4\
**Last updated:** [19 October 2021 04:57 UTC](https://discourse.nodered.org/t/how-to-add-css-as-per-the-login/52360 "2021-10-19T04:57:37Z")

</div>

Hi there, I want to add some css to another html code written in template node according to the person who is logged in. I have my login code in another template node and other html codes in different template node. I am…

---

## [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…

---

## [Social-pushover | Add "tags" parameter | PR](https://discourse.nodered.org/t/social-pushover-add-tags-parameter-pr/52370)

<div class="topic-metadata">

**Author:** [@trise](https://discourse.nodered.org/u/trise)\
**Replies:** 2\
**Last updated:** [18 October 2021 19:05 UTC](https://discourse.nodered.org/t/social-pushover-add-tags-parameter-pr/52370 "2021-10-18T19:05:43Z")

</div>

Hello. I'd like to contribute to social-pushover and add the "tags" parameter. This would allow to cancel emergency messages by tag. See Pushover-API docs. I already made the changes in my branch. Is ist it ok to open …

---

## [\[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" …

---

## [CBUS IoT Project](https://discourse.nodered.org/t/cbus-iot-project/52368)

<div class="topic-metadata">

**Author:** [@Westwood85](https://discourse.nodered.org/u/Westwood85)\
**Replies:** 0\
**Last updated:** [18 October 2021 13:49 UTC](https://discourse.nodered.org/t/cbus-iot-project/52368 "2021-10-18T13:49:23Z")

</div>

Hello everyone. I have been working on an IoT project for a while as a hobby, and i would like to share it with you. It is complately free, and you can try it out as you wish. Any feedback would be much appriciated! I…

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

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