# General

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

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

**Page:** 954

---

## [Change font color of a custom node](https://discourse.nodered.org/t/change-font-color-of-a-custom-node/2447)

<div class="topic-metadata">

**Author:** [@malinthasa](https://discourse.nodered.org/u/malinthasa)\
**Replies:** 1\
**Last updated:** [21 August 2018 16:50 UTC](https://discourse.nodered.org/t/change-font-color-of-a-custom-node/2447 "2018-08-21T16:50:44Z")

</div>

Hi, I am writing a node. Can I change the color of the name on the node? Regards, Malintha

---

## [Npm search custom registry](https://discourse.nodered.org/t/npm-search-custom-registry/2446)

<div class="topic-metadata">

**Author:** [@farfromrefug](https://discourse.nodered.org/u/farfromrefug)\
**Replies:** 2\
**Last updated:** [21 August 2018 14:03 UTC](https://discourse.nodered.org/t/npm-search-custom-registry/2446 "2018-08-21T14:03:13Z")

</div>

We use some custom and private npm node-red packages that we maintain on our private npm registry. Is there a way to add that registry to node-red? Kind of like what we do with registry in .npmrc? I have looked at the …

---

## [Weird JSONata problem](https://discourse.nodered.org/t/weird-jsonata-problem/2408)

<div class="topic-metadata">

**Author:** [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Replies:** 22\
**Last updated:** [21 August 2018 11:43 UTC](https://discourse.nodered.org/t/weird-jsonata-problem/2408 "2018-08-21T11:43:03Z")

</div>

I have just cloned a repository to version 0.19.1 on a new installation of Raspian Lite on a Raspberry Pi of a project that was working on 0,18.4. My original Change node JSONata expression was: \[EDIT\] (payload.1 + 2…

---

## [Msg.payload format](https://discourse.nodered.org/t/msg-payload-format/2423)

<div class="topic-metadata">

**Author:** [@Popo21](https://discourse.nodered.org/u/Popo21)\
**Replies:** 4\
**Last updated:** [21 August 2018 06:10 UTC](https://discourse.nodered.org/t/msg-payload-format/2423 "2018-08-21T06:10:04Z")

</div>

How to make msg.payload from the top payload like on the bot ?

---

## [Same output different response](https://discourse.nodered.org/t/same-output-different-response/2417)

<div class="topic-metadata">

**Author:** [@jarcher12](https://discourse.nodered.org/u/jarcher12)\
**Replies:** 4\
**Last updated:** [20 August 2018 20:39 UTC](https://discourse.nodered.org/t/same-output-different-response/2417 "2018-08-20T20:39:16Z")

</div>

In the flow below i'm trying to get a timed alarm to trygger a yeelight. it works when triggered from the inject node, but the excact same json code does not work when triggered from the trigger node. i have also tried …

---

## [New installation - full raspbian - today](https://discourse.nodered.org/t/new-installation-full-raspbian-today/2389)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 31\
**Last updated:** [20 August 2018 18:03 UTC](https://discourse.nodered.org/t/new-installation-full-raspbian-today/2389 "2018-08-20T18:03:07Z")

</div>

Just installed latest node red onfully up to date new raspbian on pi2. SQLITE and other nodes no problem (sqlite takes ages to install) - but no serial;port - so in NR I went to pallette manager - install node-red-node-s…

---

## [Json to influx node error invalid boolean](https://discourse.nodered.org/t/json-to-influx-node-error-invalid-boolean/2419)

<div class="topic-metadata">

**Author:** [@kelster101757](https://discourse.nodered.org/u/kelster101757)\
**Replies:** 2\
**Last updated:** [20 August 2018 16:10 UTC](https://discourse.nodered.org/t/json-to-influx-node-error-invalid-boolean/2419 "2018-08-20T16:10:32Z")

</div>

Hello, When I inject the following json into influxdb out node: " { "tags": { "MachineName": "TBL165-169", "MachineType": "Rig Test" }, "machine\_working": true }" I get the error "Error: A 400 Bad Request error…

---

## [Custom nodes cannot be installed to Node-Red](https://discourse.nodered.org/t/custom-nodes-cannot-be-installed-to-node-red/2368)

<div class="topic-metadata">

**Author:** [@malinthasa](https://discourse.nodered.org/u/malinthasa)\
**Replies:** 7\
**Last updated:** [20 August 2018 14:27 UTC](https://discourse.nodered.org/t/custom-nodes-cannot-be-installed-to-node-red/2368 "2018-08-20T14:27:47Z")

</div>

Hi, I am creating and installing nodes programmatically. I tested this application on Ubuntu OS and it worked correctly. Then I tried this application in another Ubuntu installation and there my node is not get installe…

---

## [Editor Theme CSS File Example](https://discourse.nodered.org/t/editor-theme-css-file-example/2328)

<div class="topic-metadata">

**Author:** [@echtelerp](https://discourse.nodered.org/u/echtelerp)\
**Replies:** 2\
**Last updated:** [20 August 2018 11:20 UTC](https://discourse.nodered.org/t/editor-theme-css-file-example/2328 "2018-08-20T11:20:52Z")

</div>

Hi Guys, I was playing arround with the settings file feature called Editor Theme. I was able to do everything, except the CSS manipulation :slight\_smile: i get stuck with not knowing where to find an example :slig…

---

## [Generation of UUID in function node](https://discourse.nodered.org/t/generation-of-uuid-in-function-node/2381)

<div class="topic-metadata">

**Author:** [@michaelblight](https://discourse.nodered.org/u/michaelblight)\
**Replies:** 6\
**Last updated:** [19 August 2018 23:09 UTC](https://discourse.nodered.org/t/generation-of-uuid-in-function-node/2381 "2018-08-19T23:09:03Z")

</div>

I installed node-red-contrib-uuid, primarily to ensure uuid was installed. Then I changed Node Red's settings.js to include the following: functionGlobalContext: { uuidv1:require('uuid/v1') } After restarting Node …

---

## [Can not install node-red-contrib-slack version 0.1.2](https://discourse.nodered.org/t/can-not-install-node-red-contrib-slack-version-0-1-2/2407)

<div class="topic-metadata">

**Author:** [@janvda](https://discourse.nodered.org/u/janvda)\
**Replies:** 1\
**Last updated:** [19 August 2018 20:52 UTC](https://discourse.nodered.org/t/can-not-install-node-red-contrib-slack-version-0-1-2/2407 "2018-08-19T20:52:29Z")

</div>

I have upgraded node-red on my raspberry pi using the following command: bash \<(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered) but it had a proble…

---

## [Searching character's](https://discourse.nodered.org/t/searching-characters/2348)

<div class="topic-metadata">

**Author:** [@leomozzer](https://discourse.nodered.org/u/leomozzer)\
**Replies:** 11\
**Last updated:** [19 August 2018 15:29 UTC](https://discourse.nodered.org/t/searching-characters/2348 "2018-08-19T15:29:13Z")

</div>

i want to check if have some words in a phrase, like "Bom". Think that is how to start but dont know how to check if "Bom" exist in my phrase.

---

## [HTTP POST receiving XML and send as email](https://discourse.nodered.org/t/http-post-receiving-xml-and-send-as-email/2385)

<div class="topic-metadata">

**Author:** [@4integration](https://discourse.nodered.org/u/4integration)\
**Replies:** 6\
**Last updated:** [19 August 2018 14:27 UTC](https://discourse.nodered.org/t/http-post-receiving-xml-and-send-as-email/2385 "2018-08-19T14:27:47Z")

</div>

Hi, I have setup a flow with a HTTP in/request node which receive XML payload in a POST request. I have this flow: Debug node logs the XML but the email recieved contains the same but JSON How can I preserve XML? H…

---

## [UI tabs documentation](https://discourse.nodered.org/t/ui-tabs-documentation/2396)

<div class="topic-metadata">

**Author:** [@CatalinFetoiu](https://discourse.nodered.org/u/CatalinFetoiu)\
**Replies:** 4\
**Last updated:** [19 August 2018 07:26 UTC](https://discourse.nodered.org/t/ui-tabs-documentation/2396 "2018-08-19T07:26:45Z")

</div>

Hello, Is there documentation for how to use tabs for a node UI? I tried to follow the mqtt node code and found a call to RED.tabs.create but I could not make it work. Does it require some special naming of the id for a…

---

## [How to sum hours](https://discourse.nodered.org/t/how-to-sum-hours/2370)

<div class="topic-metadata">

**Author:** [@leomozzer](https://discourse.nodered.org/u/leomozzer)\
**Replies:** 12\
**Last updated:** [18 August 2018 19:13 UTC](https://discourse.nodered.org/t/how-to-sum-hours/2370 "2018-08-18T19:13:02Z")

</div>

How can i sum in one hour the msg.payload\["2"\]: "13:00". Like if 1: "13:00", 2 must be "14:00"

---

## [Sending a Carriage Return to from TCP Node](https://discourse.nodered.org/t/sending-a-carriage-return-to-from-tcp-node/2366)

<div class="topic-metadata">

**Author:** [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Replies:** 3\
**Last updated:** [18 August 2018 13:05 UTC](https://discourse.nodered.org/t/sending-a-carriage-return-to-from-tcp-node/2366 "2018-08-18T13:05:30Z")

</div>

I have an application in which the equipment sends a continuous stream of data out serially, but an internal serial to ethernet card allows me to get the data which is being used in Node-Red. (TCP In Node) The equipment …

---

## [Node-red to Drayton Wiser Interface](https://discourse.nodered.org/t/node-red-to-drayton-wiser-interface/2046)

<div class="topic-metadata">

**Author:** [@davidparker](https://discourse.nodered.org/u/davidparker)\
**Replies:** 10\
**Last updated:** [17 August 2018 16:55 UTC](https://discourse.nodered.org/t/node-red-to-drayton-wiser-interface/2046 "2018-08-17T16:55:42Z")

</div>

I am able to READ the status of a Drayton Wiser HeatHub as a JSON object using HTTP GET, but I am having difficulty understanding the correct syntax to do an HTTP PATCH command in order to WRITE data back to a Wiser He…

---

## [Runtime API log to debug panel](https://discourse.nodered.org/t/runtime-api-log-to-debug-panel/2365)

<div class="topic-metadata">

**Author:** [@CatalinFetoiu](https://discourse.nodered.org/u/CatalinFetoiu)\
**Replies:** 5\
**Last updated:** [17 August 2018 15:04 UTC](https://discourse.nodered.org/t/runtime-api-log-to-debug-panel/2365 "2018-08-17T15:04:46Z")

</div>

Hello, Can you give me an example of how to write to the debug panel (the one in in the interface beside the info one)? I tried to follow the code of the debug node but I could not understand it completely. To be more …

---

## [Switch node and JSONata (Solved)](https://discourse.nodered.org/t/switch-node-and-jsonata-solved/2356)

<div class="topic-metadata">

**Author:** [@ncherry](https://discourse.nodered.org/u/ncherry)\
**Replies:** 6\
**Last updated:** [17 August 2018 12:36 UTC](https://discourse.nodered.org/t/switch-node-and-jsonata-solved/2356 "2018-08-17T12:36:36Z")

</div>

I'm taking the wonderful course: A Developer's guide to Node-RED. And I've just learned about JSONata (very cool). I'm done with the homework assignment and this is not my homework. But I do have a question on using JSO…

---

## [Library error? Can not install a node from the library,](https://discourse.nodered.org/t/library-error-can-not-install-a-node-from-the-library/2362)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 12\
**Last updated:** [17 August 2018 12:11 UTC](https://discourse.nodered.org/t/library-error-can-not-install-a-node-from-the-library/2362 "2018-08-17T12:11:27Z")

</div>

I am trying to install the npm install node-red-contrib-simple-message-queue I cut/pasted that into my machine. I get an error: 0 info it worked if it ends with ok 1 verbose cli \[ '/usr/bin/node', 1 verbose cli '/u…

---

## [Re-enter credentials](https://discourse.nodered.org/t/re-enter-credentials/2345)

<div class="topic-metadata">

**Author:** [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Replies:** 6\
**Last updated:** [16 August 2018 20:36 UTC](https://discourse.nodered.org/t/re-enter-credentials/2345 "2018-08-16T20:36:29Z")

</div>

While trying to push a project to git for the first time I accidentally entered the wrong password. I did manage to push from the command line but now I cannot commit any changes as the authentification box does not appe…

---

## [Samsung TV UE65MUXXXX - newsamsungtv - not working](https://discourse.nodered.org/t/samsung-tv-ue65muxxxx-newsamsungtv-not-working/2352)

<div class="topic-metadata">

**Author:** [@veki978](https://discourse.nodered.org/u/veki978)\
**Replies:** 1\
**Last updated:** [16 August 2018 20:13 UTC](https://discourse.nodered.org/t/samsung-tv-ue65muxxxx-newsamsungtv-not-working/2352 "2018-08-16T20:13:06Z")

</div>

Hi. I install node-red-contrib-newsamsungtv without problems, but when I send key nothing is happening. I adjust the IP, and try to ping TV. 4/4 Do I need to make some other adjustments? Thanks

---

## [Can a function node detect when re-deployed?](https://discourse.nodered.org/t/can-a-function-node-detect-when-re-deployed/2310)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 7\
**Last updated:** [16 August 2018 15:06 UTC](https://discourse.nodered.org/t/can-a-function-node-detect-when-re-deployed/2310 "2018-08-16T15:06:11Z")

</div>

I'm thinking that the answer is no but just checking Simon

---

## [Interface High Relay controller with Node red](https://discourse.nodered.org/t/interface-high-relay-controller-with-node-red/2203)

<div class="topic-metadata">

**Author:** [@catchy65](https://discourse.nodered.org/u/catchy65)\
**Replies:** 2\
**Last updated:** [16 August 2018 08:11 UTC](https://discourse.nodered.org/t/interface-high-relay-controller-with-node-red/2203 "2018-08-16T08:11:12Z")

</div>

Hey, for starter I am looking for heavy duty industrial relay solution which is easy to connect through 2 communication service (1 through Private network and another through wifi network), I am trying to make my own so…

---

## [Datatype error for fieldbus node](https://discourse.nodered.org/t/datatype-error-for-fieldbus-node/441)

<div class="topic-metadata">

**Author:** [@Madhumati](https://discourse.nodered.org/u/Madhumati)\
**Replies:** 14\
**Last updated:** [16 August 2018 06:09 UTC](https://discourse.nodered.org/t/datatype-error-for-fieldbus-node/441 "2018-08-16T06:09:24Z")

</div>

Hello, I am connecting my IoT gateway with PLC to exchange I/O data. One way it works well I can get data from PLC into Node-RED debug window. \[image\] \[image\] But other way, when I try to send data out from Node-RED …

---

## [Node-red mongodb](https://discourse.nodered.org/t/node-red-mongodb/2265)

<div class="topic-metadata">

**Author:** [@amol](https://discourse.nodered.org/u/amol)\
**Replies:** 1\
**Last updated:** [15 August 2018 21:01 UTC](https://discourse.nodered.org/t/node-red-mongodb/2265 "2018-08-15T21:01:08Z")

</div>

I am a beginner and tried hard to but don't no how to specify customized mongodb queries in node-red,can someone please help me in doing so!

---

## [Node red debug core node missing after installation win 8.1](https://discourse.nodered.org/t/node-red-debug-core-node-missing-after-installation-win-8-1/2313)

<div class="topic-metadata">

**Author:** [@digital.learner](https://discourse.nodered.org/u/digital.learner)\
**Replies:** 11\
**Last updated:** [15 August 2018 20:18 UTC](https://discourse.nodered.org/t/node-red-debug-core-node-missing-after-installation-win-8-1/2313 "2018-08-15T20:18:48Z")

</div>

I am new to node red. I have installed nodejs version 8.9.3 and npm version 6.3.0 on windows 8.1. For some reason debug and inject core modules were missing. I have installed the inject node using npm insall command howe…

---

## [Updating existing nodes](https://discourse.nodered.org/t/updating-existing-nodes/2315)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 2\
**Last updated:** [15 August 2018 19:59 UTC](https://discourse.nodered.org/t/updating-existing-nodes/2315 "2018-08-15T19:59:57Z")

</div>

Following I went to update my twitter node (after upgrading to 0.19.1) using Pallette Manager but it says its in use and won't let me upgrade. I googled and found this page https://nodered.org/docs/getting-started/up…

---

## [Create a webserver type thingy](https://discourse.nodered.org/t/create-a-webserver-type-thingy/2114)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 11\
**Last updated:** [15 August 2018 19:34 UTC](https://discourse.nodered.org/t/create-a-webserver-type-thingy/2114 "2018-08-15T19:34:24Z")

</div>

I'm hoping this has already been done and someone can just point me off in the right direction I'd like to create a webserver in NodeRED but all I want it to do is listen out on port 443 for an client computer making an…

---

## [Working with Comma Separated Data Stream](https://discourse.nodered.org/t/working-with-comma-separated-data-stream/2277)

<div class="topic-metadata">

**Author:** [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Replies:** 11\
**Last updated:** [15 August 2018 17:58 UTC](https://discourse.nodered.org/t/working-with-comma-separated-data-stream/2277 "2018-08-15T17:58:19Z")

</div>

I am feeding a data stream from a weigh scale. The scale allows me to separate the predefined variable by ",". The data variables are set up in the scale enclosed in \<\>, (i.e. ,,,. ) I am feeding into a Split node …

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

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