# Developing Nodes

**URL:** https://discourse.nodered.org/c/developing-nodes/15.md?page=39

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

**Page:** 40

---

## [If this then statement in node red](https://discourse.nodered.org/t/if-this-then-statement-in-node-red/31809)

<div class="topic-metadata">

**Author:** [@jepe63](https://discourse.nodered.org/u/jepe63)\
**Replies:** 6\
**Last updated:** [21 August 2020 11:13 UTC](https://discourse.nodered.org/t/if-this-then-statement-in-node-red/31809 "2020-08-21T11:13:03Z")

</div>

Hi all , just new here , i've searched here but didn't find the answer (yet) so maybe somone can help. I managed to setup node red with the Nora (google home) plugin and it's working fine with my lamps. I'm now trying …

---

## [Creating json object in js file](https://discourse.nodered.org/t/creating-json-object-in-js-file/31623)

<div class="topic-metadata">

**Author:** [@nodiaque](https://discourse.nodered.org/u/nodiaque)\
**Replies:** 2\
**Last updated:** [20 August 2020 20:13 UTC](https://discourse.nodered.org/t/creating-json-object-in-js-file/31623 "2020-08-20T20:13:24Z")

</div>

Hello everyone, I'm currently trying to parse some data I receive from a request to send only what I want to the html file. I manage to get the data like I want, but when I try to create my object, I can't parse it prop…

---

## [Add config node at runtime](https://discourse.nodered.org/t/add-config-node-at-runtime/31767)

<div class="topic-metadata">

**Author:** [@NetHans](https://discourse.nodered.org/u/NetHans)\
**Replies:** 2\
**Last updated:** [20 August 2020 14:23 UTC](https://discourse.nodered.org/t/add-config-node-at-runtime/31767 "2020-08-20T14:23:14Z")

</div>

Hello, this link describes how a config node can be permanently defined in a node. I would like to have config nodes added at runtime. For example, to define a list of server accesses. I wanted to use the editableList …

---

## [400 No required SSL certificate was sent](https://discourse.nodered.org/t/400-no-required-ssl-certificate-was-sent/31696)

<div class="topic-metadata">

**Author:** [@rabah.tamezait](https://discourse.nodered.org/u/rabah.tamezait)\
**Replies:** 11\
**Last updated:** [20 August 2020 14:08 UTC](https://discourse.nodered.org/t/400-no-required-ssl-certificate-was-sent/31696 "2020-08-20T14:08:22Z")

</div>

Hello, I try to execute API in http request and I receive this message ""400 No required SSL certificate was sent"" please what means ?

---

## [Need help in function format string](https://discourse.nodered.org/t/need-help-in-function-format-string/31734)

<div class="topic-metadata">

**Author:** [@great12](https://discourse.nodered.org/u/great12)\
**Replies:** 2\
**Last updated:** [20 August 2020 05:01 UTC](https://discourse.nodered.org/t/need-help-in-function-format-string/31734 "2020-08-20T05:01:48Z")

</div>

Hello there, i'm very new to node-red. I'm trying my first steps, but stuck now. i made a bash script, querying blacklist from spamhaus the output tells me, if there is an entry or not. the function is as follows v…

---

## [Packaging Files in a Node-Red Flow](https://discourse.nodered.org/t/packaging-files-in-a-node-red-flow/31727)

<div class="topic-metadata">

**Author:** [@jennyeg](https://discourse.nodered.org/u/jennyeg)\
**Replies:** 6\
**Last updated:** [19 August 2020 17:44 UTC](https://discourse.nodered.org/t/packaging-files-in-a-node-red-flow/31727 "2020-08-19T17:44:44Z")

</div>

Hello everyone, I have created a flow that I would like to publish, however my flow relies on reading a html file and a javascript file. My file node is currently reading these files from my local machine. However, when…

---

## [Is there a way to allow for the msg. / flow. / global. input types for subflows?](https://discourse.nodered.org/t/is-there-a-way-to-allow-for-the-msg-flow-global-input-types-for-subflows/31530)

<div class="topic-metadata">

**Author:** [@MrRosenkilde](https://discourse.nodered.org/u/MrRosenkilde)\
**Replies:** 11\
**Last updated:** [19 August 2020 10:43 UTC](https://discourse.nodered.org/t/is-there-a-way-to-allow-for-the-msg-flow-global-input-types-for-subflows/31530 "2020-08-19T10:43:57Z")

</div>

Hi, a lot of nodes has the functionality of reading from a context on inputs. For example the change node can read a variable from the global context and write it to the incoming message I would very much like to hav…

---

## [Autocomplete not working](https://discourse.nodered.org/t/autocomplete-not-working/31674)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 5\
**Last updated:** [17 August 2020 22:26 UTC](https://discourse.nodered.org/t/autocomplete-not-working/31674 "2020-08-17T22:26:06Z")

</div>

Hi folks, I'm developing a new node where I need autocompletion in an input field which is located inside a popup dialog: var formField = $('\<form/\>'); // Create a dropdown, that represents the…

---

## [Help request - translations for mssql-plus node wanted](https://discourse.nodered.org/t/help-request-translations-for-mssql-plus-node-wanted/31629)

<div class="topic-metadata">

**Author:** [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Replies:** 0\
**Last updated:** [16 August 2020 22:41 UTC](https://discourse.nodered.org/t/help-request-translations-for-mssql-plus-node-wanted/31629 "2020-08-16T22:41:54Z")

</div>

Hi, I wonder if there are any users of the MSSQL-PLUS node would be willing to assist in translating the 2 following files... I would happily accept a PR or even post translations here Many thanks, Steve.

---

## [Cannot get translation in .html file](https://discourse.nodered.org/t/cannot-get-translation-in-html-file/31628)

<div class="topic-metadata">

**Author:** [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Replies:** 1\
**Last updated:** [16 August 2020 22:19 UTC](https://discourse.nodered.org/t/cannot-get-translation-in-html-file/31628 "2020-08-16T22:19:40Z")

</div>

Hi all, I am working through a node I maintain and adding i18n to the html and JS So far, I have ... replacing static text with spans - :white\_check\_mark: \<span data-i18n="mssql.node.label.connection"\> replacing tit…

---

## [Debugging python code in VSCODE](https://discourse.nodered.org/t/debugging-python-code-in-vscode/31550)

<div class="topic-metadata">

**Author:** [@VC-07](https://discourse.nodered.org/u/VC-07)\
**Replies:** 1\
**Last updated:** [14 August 2020 09:33 UTC](https://discourse.nodered.org/t/debugging-python-code-in-vscode/31550 "2020-08-14T09:33:04Z")

</div>

ABOUT DEBUGGING CUSTOM NODE DEVELOPMENT 1. How to debug custom python code which is present inside js function for custom python node development in node-red. ? 2. How to use VSCODE debugging capabilities to debug node-…

---

## [Button with function in .js file](https://discourse.nodered.org/t/button-with-function-in-js-file/31453)

<div class="topic-metadata">

**Author:** [@nodiaque](https://discourse.nodered.org/u/nodiaque)\
**Replies:** 14\
**Last updated:** [13 August 2020 17:23 UTC](https://discourse.nodered.org/t/button-with-function-in-js-file/31453 "2020-08-13T17:23:19Z")

</div>

Hello everyone, I'm having a headache trying to wrap my head arround using button on a node. In my js file, I got a function created in the node description: function EcobeePinRequest(config) { RED.nodes.createNode(t…

---

## [Configuration of Somfy Tahoma Consumer Key & Secret](https://discourse.nodered.org/t/configuration-of-somfy-tahoma-consumer-key-secret/31436)

<div class="topic-metadata">

**Author:** [@jaerc](https://discourse.nodered.org/u/jaerc)\
**Replies:** 8\
**Last updated:** [12 August 2020 21:04 UTC](https://discourse.nodered.org/t/configuration-of-somfy-tahoma-consumer-key-secret/31436 "2020-08-12T21:04:39Z")

</div>

Hi there, I'm totaly new to Node-RED and did try to create an interface to Somfy Tahoma. I did install the node-red-contrib-tahoma with this documentation: https://flows.nodered.org/node/node-red-contrib-tahoma For t…

---

## [C in properties view of a node?](https://discourse.nodered.org/t/c-in-properties-view-of-a-node/31296)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 4\
**Last updated:** [11 August 2020 01:15 UTC](https://discourse.nodered.org/t/c-in-properties-view-of-a-node/31296 "2020-08-11T01:15:50Z")

</div>

Is there something I am doing wrong when using checkboxes in properties view of a node? When I check or uncheck the box, I get this rectangle artifact? Below is the HTML fragment for the check box... \<div cl…

---

## [My contrib node is gone from https://flows.nodered.org/](https://discourse.nodered.org/t/my-contrib-node-is-gone-from-https-flows-nodered-org/31251)

<div class="topic-metadata">

**Author:** [@amodelbello](https://discourse.nodered.org/u/amodelbello)\
**Replies:** 2\
**Last updated:** [6 August 2020 22:58 UTC](https://discourse.nodered.org/t/my-contrib-node-is-gone-from-https-flows-nodered-org/31251 "2020-08-06T22:58:51Z")

</div>

I'm the author of @meowwolf/node-red-contrib-amqp and after updating it this week it's just gone from flows.nodered.org site. https://flows.nodered.org/node/@meowwolf/node-red-contrib-amqp resolves to a 404. It also do…

---

## [Ewpe-smart-mqtt](https://discourse.nodered.org/t/ewpe-smart-mqtt/31011)

<div class="topic-metadata">

**Author:** [@MAaron](https://discourse.nodered.org/u/MAaron)\
**Replies:** 4\
**Last updated:** [1 August 2020 12:11 UTC](https://discourse.nodered.org/t/ewpe-smart-mqtt/31011 "2020-08-01T12:11:45Z")

</div>

Hi there! I've been using this Ewpe-smart-mqtt node for about a month now. It connects nodered and AC units through mosquitto. Today in the morning, my flows did not work at all, the mqtt push did not actually push any…

---

## [On redeploy, node.send() not emitting message on custom HTTP trigger node with POST route](https://discourse.nodered.org/t/on-redeploy-node-send-not-emitting-message-on-custom-http-trigger-node-with-post-route/30909)

<div class="topic-metadata">

**Author:** [@skar1005](https://discourse.nodered.org/u/skar1005)\
**Replies:** 1\
**Last updated:** [30 July 2020 06:52 UTC](https://discourse.nodered.org/t/on-redeploy-node-send-not-emitting-message-on-custom-http-trigger-node-with-post-route/30909 "2020-07-30T06:52:21Z")

</div>

What are the steps to reproduce? Building this custom node-red module : https://github.com/mayahq/maya-red-bot-utils Install this module Drag the bot-intent node to pallette and attach to debug node Get the endpointUrl…

---

## [Netatmo + openweathermap](https://discourse.nodered.org/t/netatmo-openweathermap/30704)

<div class="topic-metadata">

**Author:** [@MHULT](https://discourse.nodered.org/u/MHULT)\
**Replies:** 9\
**Last updated:** [29 July 2020 17:14 UTC](https://discourse.nodered.org/t/netatmo-openweathermap/30704 "2020-07-29T17:14:54Z")

</div>

Hi, I'm using a robonect module for my automower which has connection to openweathermaps to get weather data. The problem for me is that the collected data is far away and therefor not accurate. I've purchased a netatm…

---

## [Node that supports LG ThinQ](https://discourse.nodered.org/t/node-that-supports-lg-thinq/30826)

<div class="topic-metadata">

**Author:** [@fvhemert](https://discourse.nodered.org/u/fvhemert)\
**Replies:** 2\
**Last updated:** [29 July 2020 09:38 UTC](https://discourse.nodered.org/t/node-that-supports-lg-thinq/30826 "2020-07-29T09:38:10Z")

</div>

My airco and refrigerator are both LG and have support for LG ThinQ. I know there is an API available but it is gated to official developers creating application that include LG components. Has anybody seen a node that…

---

## [How to use the class property in the TreeList widget](https://discourse.nodered.org/t/how-to-use-the-class-property-in-the-treelist-widget/30717)

<div class="topic-metadata">

**Author:** [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Replies:** 1\
**Last updated:** [26 July 2020 15:54 UTC](https://discourse.nodered.org/t/how-to-use-the-class-property-in-the-treelist-widget/30717 "2020-07-26T15:54:39Z")

</div>

Hi, I believe this is a simple question for somebody with more knowledge in css as I have. I use the TreeList widget in one of my custom nodes: Now I like to highlight certain elements/lines by changing the backgrou…

---

## [RSS Creation in NODERED](https://discourse.nodered.org/t/rss-creation-in-nodered/30714)

<div class="topic-metadata">

**Author:** [@MAaron](https://discourse.nodered.org/u/MAaron)\
**Replies:** 1\
**Last updated:** [26 July 2020 10:33 UTC](https://discourse.nodered.org/t/rss-creation-in-nodered/30714 "2020-07-26T10:33:20Z")

</div>

Hi there! I would like to create an own RSS feed, containing magnet links, something like on showrss.info . But I want to be able to add a new item entry to this RSS feed from my phone. None of these 2 processes I kno…

---

## [Button Press Next Color](https://discourse.nodered.org/t/button-press-next-color/30674)

<div class="topic-metadata">

**Author:** [@Lethal83](https://discourse.nodered.org/u/Lethal83)\
**Replies:** 1\
**Last updated:** [25 July 2020 19:40 UTC](https://discourse.nodered.org/t/button-press-next-color/30674 "2020-07-25T19:40:59Z")

</div>

Hi All New to Node Red but enjoying it as I'm starting to get my head around it. I have the 5 button Ikea Tradfi remote that the kids use in their room with a Tasmota flash RGBW globe. Im also using Home assistant. I …

---

## [How to create a config node that contains credentials](https://discourse.nodered.org/t/how-to-create-a-config-node-that-contains-credentials/30664)

<div class="topic-metadata">

**Author:** [@davehorton](https://discourse.nodered.org/u/davehorton)\
**Replies:** 5\
**Last updated:** [25 July 2020 07:11 UTC](https://discourse.nodered.org/t/how-to-create-a-config-node-that-contains-credentials/30664 "2020-07-25T07:11:31Z")

</div>

I am creating a config node to be used in some of my other nodes. The information includes a url and an auth token which is not something I want exposed, so I designed the config node to store this information as creden…

---

## [Custom node not able to make request to api with a self-signed certificate](https://discourse.nodered.org/t/custom-node-not-able-to-make-request-to-api-with-a-self-signed-certificate/29739)

<div class="topic-metadata">

**Author:** [@jennyeg](https://discourse.nodered.org/u/jennyeg)\
**Replies:** 5\
**Last updated:** [23 July 2020 17:21 UTC](https://discourse.nodered.org/t/custom-node-not-able-to-make-request-to-api-with-a-self-signed-certificate/29739 "2020-07-23T17:21:13Z")

</div>

Hello! I am new to node-red and am currently working on creating a custom node that makes several https requests to an API in order to get a JSON response in return. I am having trouble making these requests because the …

---

## [Write node source code?](https://discourse.nodered.org/t/write-node-source-code/30516)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 5\
**Last updated:** [22 July 2020 17:17 UTC](https://discourse.nodered.org/t/write-node-source-code/30516 "2020-07-22T17:17:38Z")

</div>

While learning how to write node code, I came across an error, that I did not understand. The error message in the log referenced that I had a type that was already registered? For example the following generates the e…

---

## [Wrong icon when using font-awsome icon?](https://discourse.nodered.org/t/wrong-icon-when-using-font-awsome-icon/30521)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 15\
**Last updated:** [22 July 2020 14:11 UTC](https://discourse.nodered.org/t/wrong-icon-when-using-font-awsome-icon/30521 "2020-07-22T14:11:32Z")

</div>

In my html file for my custom node... \<script type='text/javascript'\> RED.nodes.registerType('si7021',{ category: 'under construction', color: '#a6bbcf', defaults:…

---

## [Is this no longer valid practice?](https://discourse.nodered.org/t/is-this-no-longer-valid-practice/30517)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 6\
**Last updated:** [22 July 2020 12:54 UTC](https://discourse.nodered.org/t/is-this-no-longer-valid-practice/30517 "2020-07-22T12:54:38Z")

</div>

In a custom node, on input just as a test... const sleep = require('sleep'); // sleep.sleep(5000); I did load sleep via npm... $ npm list | grep sleep └─┬ sleep@6.3.0 Log shows... 22 Jul 00:21:14 - \[error\] \[si7021:f…

---

## [I2C 7 Segment HT16K33](https://discourse.nodered.org/t/i2c-7-segment-ht16k33/30436)

<div class="topic-metadata">

**Author:** [@PommyBitter](https://discourse.nodered.org/u/PommyBitter)\
**Replies:** 1\
**Last updated:** [22 July 2020 02:22 UTC](https://discourse.nodered.org/t/i2c-7-segment-ht16k33/30436 "2020-07-22T02:22:54Z")

</div>

Hello Everyone, I'm a beginner learning mostly by trial and error and I'm really struggling to use a 7 segment LEd display. I've recently bought a adafruit HT16K33 7 segment in the hope of getting it to work as I have h…

---

## [Config node settings not saved](https://discourse.nodered.org/t/config-node-settings-not-saved/30293)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 4\
**Last updated:** [18 July 2020 14:36 UTC](https://discourse.nodered.org/t/config-node-settings-not-saved/30293 "2020-07-18T14:36:16Z")

</div>

I am creating my first node with an associated config node. I have used node-red-contrib-influxdb for inspiration and have got most of it working in the editor. The config node dropdown (Create New ...) appears ok and …

---

## [Help text for config nodes](https://discourse.nodered.org/t/help-text-for-config-nodes/30009)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 14\
**Last updated:** [14 July 2020 08:07 UTC](https://discourse.nodered.org/t/help-text-for-config-nodes/30009 "2020-07-14T08:07:19Z")

</div>

For the first time I am creating a node that uses a config node and realise that config nodes appear never to have help text associated with them. Is that just the way it is or can I attach help text to a config node?

[Previous page](https://discourse.nodered.org/c/developing-nodes/15.md?page=38)

[Next page](https://discourse.nodered.org/c/developing-nodes/15.md?page=40)
