# General

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

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

**Page:** 707

---

## [Convert buffer to uInt8array](https://discourse.nodered.org/t/convert-buffer-to-uint8array/30770)

<div class="topic-metadata">

**Author:** [@vmoscolini](https://discourse.nodered.org/u/vmoscolini)\
**Replies:** 5\
**Last updated:** [27 July 2020 17:14 UTC](https://discourse.nodered.org/t/convert-buffer-to-uint8array/30770 "2020-07-27T17:14:01Z")

</div>

Hi guys, I am using node-red to implement an ap and I am racking my brains to figure out how to a buffer to uint8array (I am not sure that is that type). The node "jimp-image" of module "node-red-contrib-image-tools" o…

---

## [Node-red-contrib-sonos-plus (4.1.0) How can I play an imported Playlist](https://discourse.nodered.org/t/node-red-contrib-sonos-plus-4-1-0-how-can-i-play-an-imported-playlist/30758)

<div class="topic-metadata">

**Author:** [@Eberhard](https://discourse.nodered.org/u/Eberhard)\
**Replies:** 4\
**Last updated:** [27 July 2020 16:07 UTC](https://discourse.nodered.org/t/node-red-contrib-sonos-plus-4-1-0-how-can-i-play-an-imported-playlist/30758 "2020-07-27T16:07:12Z")

</div>

All my CDs have an RFID-Card inside. They are controlled(played) by the UID on the card. Every CD has its own playlist in a special folder on a NAS. The playlists looks like "14-18-170-209.m3u". Therefore the playlists U…

---

## [Need Help with Making a Countdown Timer Display](https://discourse.nodered.org/t/need-help-with-making-a-countdown-timer-display/30387)

<div class="topic-metadata">

**Author:** [@oncdastan](https://discourse.nodered.org/u/oncdastan)\
**Replies:** 56\
**Last updated:** [27 July 2020 16:00 UTC](https://discourse.nodered.org/t/need-help-with-making-a-countdown-timer-display/30387 "2020-07-27T16:00:38Z")

</div>

Hi. I want to use a dropdown for users to select the time amount. Then, I want to display that on the UI, while it is counting down. I was thinking of after selecting a time amount from the menu, the user could press a b…

---

## [Sending data to a Rest API](https://discourse.nodered.org/t/sending-data-to-a-rest-api/30774)

<div class="topic-metadata">

**Author:** [@DanielBerith](https://discourse.nodered.org/u/DanielBerith)\
**Replies:** 9\
**Last updated:** [27 July 2020 14:49 UTC](https://discourse.nodered.org/t/sending-data-to-a-rest-api/30774 "2020-07-27T14:49:39Z")

</div>

Good day, I hope you are doing well, i'm trying to send data to a Rest API, that i have created using node.js and express. i am using the post request, i'm new to node-red, the GET request work fine but i'm kinda stuc…

---

## [Unknown system error -122](https://discourse.nodered.org/t/unknown-system-error-122/30670)

<div class="topic-metadata">

**Author:** [@m\_elias](https://discourse.nodered.org/u/m_elias)\
**Replies:** 6\
**Last updated:** [27 July 2020 14:25 UTC](https://discourse.nodered.org/t/unknown-system-error-122/30670 "2020-07-27T14:25:34Z")

</div>

I recently updated Node Red to ver 1.1.2 and updated all the nodes in my palette. The VM has been rebooted since then and Node-Red has been restarted. Today I was happily working on a new flow (no new node types, only in…

---

## [Store flows in ibm cloudant](https://discourse.nodered.org/t/store-flows-in-ibm-cloudant/30610)

<div class="topic-metadata">

**Author:** [@emicjed](https://discourse.nodered.org/u/emicjed)\
**Replies:** 5\
**Last updated:** [27 July 2020 11:27 UTC](https://discourse.nodered.org/t/store-flows-in-ibm-cloudant/30610 "2020-07-27T11:27:21Z")

</div>

Hello, I am looking for advice on how to save files with flow created locally in cloudant, I tried to connect the cludant to my project, I was able to do it, unfortunately when deploying files are not transferred to the …

---

## [Help with what I am seeing going through \`template\` node](https://discourse.nodered.org/t/help-with-what-i-am-seeing-going-through-template-node/30760)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 11\
**Last updated:** [27 July 2020 09:43 UTC](https://discourse.nodered.org/t/help-with-what-i-am-seeing-going-through-template-node/30760 "2020-07-27T09:43:07Z")

</div>

(NOT the GUI one) This is the code: \[{"id":"46f61a5c.0b4104","type":"inject","z":"280a6f57.28406","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":110,"y"…

---

## [Display difficulty with pifacecad hat](https://discourse.nodered.org/t/display-difficulty-with-pifacecad-hat/30749)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 8\
**Last updated:** [27 July 2020 08:37 UTC](https://discourse.nodered.org/t/display-difficulty-with-pifacecad-hat/30749 "2020-07-27T08:37:05Z")

</div>

I have one of these: PiFace CAD hat. It is a 2 x 16 LCD display. There is a node for it and I made it better in that you can specify where on the display the message is set. This is the basis of a new project I am ab…

---

## [ReferenceError: fetch is not defined](https://discourse.nodered.org/t/referenceerror-fetch-is-not-defined/30757)

<div class="topic-metadata">

**Author:** [@oguma](https://discourse.nodered.org/u/oguma)\
**Replies:** 3\
**Last updated:** [27 July 2020 08:21 UTC](https://discourse.nodered.org/t/referenceerror-fetch-is-not-defined/30757 "2020-07-27T08:21:21Z")

</div>

I'm trying to use aws-sdk and aws-cognito-identity-js library with node-red-contrib-function-npm node. I have some questions. I wrote some code and executed but occurred ReferenceError: fetch is not defined Do you have…

---

## [Ok, what is \*hysteresis\*?](https://discourse.nodered.org/t/ok-what-is-hysteresis/30425)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 22\
**Last updated:** [27 July 2020 08:02 UTC](https://discourse.nodered.org/t/ok-what-is-hysteresis/30425 "2020-07-27T08:02:23Z")

</div>

I feel I have to ask. I was sort of helping someone with using it, but am not getting what it does. Say I have the lower/upper values at 16 / 24. If it gets an input of 2, that is way below the 16. Say the second inp…

---

## [Moving node-RED - Failed to decrypt credentials](https://discourse.nodered.org/t/moving-node-red-failed-to-decrypt-credentials/17830)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 34\
**Last updated:** [26 July 2020 19:35 UTC](https://discourse.nodered.org/t/moving-node-red-failed-to-decrypt-credentials/17830 "2020-07-26T19:35:54Z")

</div>

Currently running node-RED on a local Raspberry Pi, and in the process of moving all flows etc to a Oracle VM. In the Pi, I've been using 'Projects', but in the VM I will not be using 'Projects'. So, I've created an ar…

---

## [Where are these scripts hidden?](https://discourse.nodered.org/t/where-are-these-scripts-hidden/30747)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [27 July 2020 07:22 UTC](https://discourse.nodered.org/t/where-are-these-scripts-hidden/30747 "2020-07-27T07:22:57Z")

</div>

I am messing around with python (yeah, I know: Off topic) but it is used in a node/ by a node. The code is: (or sorry: more starts out with) # import pifacecad import sys I am not sure the first line is correct or i…

---

## [How do I find a node on my machine?](https://discourse.nodered.org/t/how-do-i-find-a-node-on-my-machine/30746)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 8\
**Last updated:** [27 July 2020 05:49 UTC](https://discourse.nodered.org/t/how-do-i-find-a-node-on-my-machine/30746 "2020-07-27T05:49:00Z")

</div>

I'm on a quest. In the left of the screen I see a node. Alas its name isn't congruent with what it really is. How do I find this node in the CLI? I want to go in and edit it. I have done this before but can't reme…

---

## [Line follower robot](https://discourse.nodered.org/t/line-follower-robot/30753)

<div class="topic-metadata">

**Author:** [@Cmilian](https://discourse.nodered.org/u/Cmilian)\
**Replies:** 0\
**Last updated:** [27 July 2020 03:47 UTC](https://discourse.nodered.org/t/line-follower-robot/30753 "2020-07-27T03:47:30Z")

</div>

Is there an example to build a line follower robot with Node Red?

---

## [Raspberry Pi 4 - root user](https://discourse.nodered.org/t/raspberry-pi-4-root-user/30609)

<div class="topic-metadata">

**Author:** [@jfk](https://discourse.nodered.org/u/jfk)\
**Replies:** 2\
**Last updated:** [26 July 2020 21:42 UTC](https://discourse.nodered.org/t/raspberry-pi-4-root-user/30609 "2020-07-26T21:42:25Z")

</div>

Can anyone tell me why this would be occurring intermittently? When it does data continues to flow to all but the HAT display I noticed as well that the HAT nodes would display "disconnected" from time to time, to me wi…

---

## [Anomalous behaviour - Batch Node](https://discourse.nodered.org/t/anomalous-behaviour-batch-node/30741)

<div class="topic-metadata">

**Author:** [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Replies:** 4\
**Last updated:** [26 July 2020 21:07 UTC](https://discourse.nodered.org/t/anomalous-behaviour-batch-node/30741 "2020-07-26T21:07:19Z")

</div>

v1.1.2 I'm seeing some strange behaviour from the batch node. I am trying to do a sliding window calculation on an array and getting some strange results when I change the nodes parameters. After changing the paramete…

---

## [Example of Bond Bridge Device Control](https://discourse.nodered.org/t/example-of-bond-bridge-device-control/30740)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 0\
**Last updated:** [26 July 2020 19:07 UTC](https://discourse.nodered.org/t/example-of-bond-bridge-device-control/30740 "2020-07-26T19:07:52Z")

</div>

I was going to do this solution as a custom node, but then considered that over kill once I had this flow established. For those that are not familiar with a bond bridge, it is a WiFi bridge that provides direct control…

---

## [HTTP request help](https://discourse.nodered.org/t/http-request-help/30735)

<div class="topic-metadata">

**Author:** [@danfox52](https://discourse.nodered.org/u/danfox52)\
**Replies:** 1\
**Last updated:** [26 July 2020 17:45 UTC](https://discourse.nodered.org/t/http-request-help/30735 "2020-07-26T17:45:26Z")

</div>

I'm hoping someone can help me with a HTTP request I am using iSpy Agent DVR for my cameras. They have an API that lets me control the cameras. If I use the command http://192.168.4.213:8090/command.cgi?cmd=setProfile&i…

---

## [Problem with flow-variables](https://discourse.nodered.org/t/problem-with-flow-variables/30734)

<div class="topic-metadata">

**Author:** [@Spunckie](https://discourse.nodered.org/u/Spunckie)\
**Replies:** 8\
**Last updated:** [26 July 2020 17:41 UTC](https://discourse.nodered.org/t/problem-with-flow-variables/30734 "2020-07-26T17:41:33Z")

</div>

I want to start a flow for all items in an array. This works fine as long as I don't use flow.set oder flow.get-statement. A debug-note after the function-node that start the flow for all Items shows the right msg.payloa…

---

## [Node-red-contrib-telegrambot slows down deployment?](https://discourse.nodered.org/t/node-red-contrib-telegrambot-slows-down-deployment/30596)

<div class="topic-metadata">

**Author:** [@martynwheeler](https://discourse.nodered.org/u/martynwheeler)\
**Replies:** 17\
**Last updated:** [26 July 2020 15:39 UTC](https://discourse.nodered.org/t/node-red-contrib-telegrambot-slows-down-deployment/30596 "2020-07-26T15:39:52Z")

</div>

Hi, I was wondering if anyone else notices a significant slowing down of deployment when they have a node-red-contrib-telegrambot node in their flow? It adds a few seconds to redeployment when I make a change. If I di…

---

## [Making Sense of Syslog Messages](https://discourse.nodered.org/t/making-sense-of-syslog-messages/30679)

<div class="topic-metadata">

**Author:** [@Paulf007](https://discourse.nodered.org/u/Paulf007)\
**Replies:** 21\
**Last updated:** [26 July 2020 14:33 UTC](https://discourse.nodered.org/t/making-sense-of-syslog-messages/30679 "2020-07-26T14:33:58Z")

</div>

My first problem is that Node-red sort off randomly restarts every day some times once sometimes more times have a look at the log Node Red System Startup at Jul 13, 2020, 2:40 AM Node Red System Startup at Jul 14, 2020…

---

## [Modbus TCP variable split function code](https://discourse.nodered.org/t/modbus-tcp-variable-split-function-code/30684)

<div class="topic-metadata">

**Author:** [@nmwakde](https://discourse.nodered.org/u/nmwakde)\
**Replies:** 5\
**Last updated:** [26 July 2020 12:56 UTC](https://discourse.nodered.org/t/modbus-tcp-variable-split-function-code/30684 "2020-07-26T12:56:38Z")

</div>

Hi !! what should be the function code to split Modbus read registers in Fred cloud. I am able to read all the 10 registers in debug Messages in Fred cloud but unable to write function code to split the values to read …

---

## [Error: No compatible USB Bluetooth 4.0 device found!](https://discourse.nodered.org/t/error-no-compatible-usb-bluetooth-4-0-device-found/30727)

<div class="topic-metadata">

**Author:** [@christian\_ep](https://discourse.nodered.org/u/christian_ep)\
**Replies:** 0\
**Last updated:** [26 July 2020 12:47 UTC](https://discourse.nodered.org/t/error-no-compatible-usb-bluetooth-4-0-device-found/30727 "2020-07-26T12:47:39Z")

</div>

Hello together, I try to start node-red on my win 10 surface 6. All seems pretty installed but on starting node red i get this error and it doesn´t start. The surface supports LMP 8.37 ... means Bluetooth 4.2. But I get …

---

## [Setting headers with "HTTP Response" node](https://discourse.nodered.org/t/setting-headers-with-http-response-node/30719)

<div class="topic-metadata">

**Author:** [@augjoh](https://discourse.nodered.org/u/augjoh)\
**Replies:** 2\
**Last updated:** [26 July 2020 11:37 UTC](https://discourse.nodered.org/t/setting-headers-with-http-response-node/30719 "2020-07-26T11:37:12Z")

</div>

Our project aims to implement ACMEv2 (RFC8555). This RFC requires to set multiple HTTP-headers with the same key (Link:) value. The following example is taken from RFC8555 7.1.2.1: HTTP/1.1 200 OK Content-Type: ap…

---

## [Mqtt out node buffering](https://discourse.nodered.org/t/mqtt-out-node-buffering/29099)

<div class="topic-metadata">

**Author:** [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Replies:** 23\
**Last updated:** [26 July 2020 10:02 UTC](https://discourse.nodered.org/t/mqtt-out-node-buffering/29099 "2020-07-26T10:02:23Z")

</div>

how many one-wire messages can a mqtt out node buffer if the network connection is down? What happens, if the buffer is full? It seems, that not only node-red is impacted but also the operating system of my Raspi. Only …

---

## [Retrieving status of pre-defined nodes](https://discourse.nodered.org/t/retrieving-status-of-pre-defined-nodes/30642)

<div class="topic-metadata">

**Author:** [@gioza](https://discourse.nodered.org/u/gioza)\
**Replies:** 8\
**Last updated:** [26 July 2020 09:58 UTC](https://discourse.nodered.org/t/retrieving-status-of-pre-defined-nodes/30642 "2020-07-26T09:58:00Z")

</div>

Good day everyone. I have looked around and could not find any reasonable solutions (apologies). What I'm trying to do is try and retrieve the status of each specific nodes in a subflow, and modify the payload message …

---

## [Change Node: Default or Else?](https://discourse.nodered.org/t/change-node-default-or-else/30696)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 5\
**Last updated:** [25 July 2020 22:06 UTC](https://discourse.nodered.org/t/change-node-default-or-else/30696 "2020-07-25T22:06:23Z")

</div>

How would you do a default or else in a change node? I have a few values that if matched in the change node, get set to a text value. What I would like is for non-matching codes to default to "0". Any ideas, or should…

---

## [Tellstick on buster](https://discourse.nodered.org/t/tellstick-on-buster/30507)

<div class="topic-metadata">

**Author:** [@Hylsan79](https://discourse.nodered.org/u/Hylsan79)\
**Replies:** 16\
**Last updated:** [25 July 2020 21:51 UTC](https://discourse.nodered.org/t/tellstick-on-buster/30507 "2020-07-25T21:51:50Z")

</div>

I know this is a longshot but thought I throw it out here and see if I could get som help. My Pi2 crashed (SD-card), so I thought it was time to upgrade to a Pi4 while at it. Installed my Tellstick and everything is wor…

---

## [Inject nodes not firing on boot up of Raspberry Pi 4](https://discourse.nodered.org/t/inject-nodes-not-firing-on-boot-up-of-raspberry-pi-4/30675)

<div class="topic-metadata">

**Author:** [@davej](https://discourse.nodered.org/u/davej)\
**Replies:** 21\
**Last updated:** [25 July 2020 21:40 UTC](https://discourse.nodered.org/t/inject-nodes-not-firing-on-boot-up-of-raspberry-pi-4/30675 "2020-07-25T21:40:17Z")

</div>

I seem to be having a major brain issue with Inject nodes of all things. I have a simple inject node set to fire after 0.1 seconds . All it does it trigger an Exec node that simply issues a hostname -I in order to get t…

---

## [\[Minor Bug\]Debug gives error if msg.payload is null](https://discourse.nodered.org/t/minor-bug-debug-gives-error-if-msg-payload-is-null/30698)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 1\
**Last updated:** [25 July 2020 21:01 UTC](https://discourse.nodered.org/t/minor-bug-debug-gives-error-if-msg-payload-is-null/30698 "2020-07-25T21:01:30Z")

</div>

If node status is enabled and msg.payload is null - you get this error showing in Debug - its fine with it unticked Now back to why I'm getting a null payload in one of my flows.....

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

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