# Developing Nodes

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

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

**Page:** 48

---

## [Example for Bayeux protocol for long-polling streaming api](https://discourse.nodered.org/t/example-for-bayeux-protocol-for-long-polling-streaming-api/4873)

<div class="topic-metadata">

**Author:** [@rladd](https://discourse.nodered.org/u/rladd)\
**Replies:** 0\
**Last updated:** [14 November 2018 16:06 UTC](https://discourse.nodered.org/t/example-for-bayeux-protocol-for-long-polling-streaming-api/4873 "2018-11-14T16:06:43Z")

</div>

I'm wondering if there are any good examples on making a custom node to handle subscribing to a realtime api channel. What happens is this: first you send a post request with your user/pass authentication to a handshak…

---

## [Hrtime vs date.now()](https://discourse.nodered.org/t/hrtime-vs-date-now/4550)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 6\
**Last updated:** [4 November 2018 13:20 UTC](https://discourse.nodered.org/t/hrtime-vs-date-now/4550 "2018-11-04T13:20:45Z")

</div>

Hi folks, In one of my contributions I'm using the hrTime (similar to e.g. the delay-node): var timestamp1 = process.hrtime(); On the other hand there is also the (less accurate) way to get the the current timestamp (…

---

## [How does configuration node change detection work](https://discourse.nodered.org/t/how-does-configuration-node-change-detection-work/4230)

<div class="topic-metadata">

**Author:** [@kuehnel](https://discourse.nodered.org/u/kuehnel)\
**Replies:** 0\
**Last updated:** [23 October 2018 17:32 UTC](https://discourse.nodered.org/t/how-does-configuration-node-change-detection-work/4230 "2018-10-23T17:32:47Z")

</div>

Hello, I'm quite new to node red developement and would be glad to get some help to this situation: My configuration node has six input fields. Each input can have a select next to it that is created / deleted dynamicly…

---

## [Event for node paste/import](https://discourse.nodered.org/t/event-for-node-paste-import/3644)

<div class="topic-metadata">

**Author:** [@uma](https://discourse.nodered.org/u/uma)\
**Replies:** 3\
**Last updated:** [18 October 2018 22:20 UTC](https://discourse.nodered.org/t/event-for-node-paste-import/3644 "2018-10-18T22:20:07Z")

</div>

Hi Is there an event I can listen on to be notified when a node is copy/pasted or imported? I am looking for something similar to node.on("close", function (){... Something like node.on("paste", function (){... I have…

---

## [Documentation question: examples directory](https://discourse.nodered.org/t/documentation-question-examples-directory/3904)

<div class="topic-metadata">

**Author:** [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Replies:** 1\
**Last updated:** [12 October 2018 08:17 UTC](https://discourse.nodered.org/t/documentation-question-examples-directory/3904 "2018-10-12T08:17:09Z")

</div>

I just had a quick look at the Coursera course "A Developer's guide to Node-RED" (very good, BTW) and learned something new about distributing contributed nodes. Apparently, putting sample flows into a directory named "e…

---

## [Node does not appear in palette](https://discourse.nodered.org/t/node-does-not-appear-in-palette/3795)

<div class="topic-metadata">

**Author:** [@oliverlorenz](https://discourse.nodered.org/u/oliverlorenz)\
**Replies:** 4\
**Last updated:** [8 October 2018 22:59 UTC](https://discourse.nodered.org/t/node-does-not-appear-in-palette/3795 "2018-10-08T22:59:12Z")

</div>

Hey! My new node https://www.npmjs.com/package/node-red-contrib-chromecast-session doesn't appear in the palette and I'm not able to find my mistake. Can somebody give me a hint? What I already checked: Can be found …

---

## [Node namespace confusion on my part (?)](https://discourse.nodered.org/t/node-namespace-confusion-on-my-part/2144)

<div class="topic-metadata">

**Author:** [@ncherry](https://discourse.nodered.org/u/ncherry)\
**Replies:** 10\
**Last updated:** [6 October 2018 12:22 UTC](https://discourse.nodered.org/t/node-namespace-confusion-on-my-part/2144 "2018-10-06T12:22:39Z")

</div>

I have a working node (node-red-contrib-mytimeout) and I have a user who has 12 of these nodes in 1 tab. I'm investigating why some nodes, sometimes fails to finish counting down (see below),. I've seen this before occur…

---

## [Need Help: Node for elero shutter usb stick](https://discourse.nodered.org/t/need-help-node-for-elero-shutter-usb-stick/3485)

<div class="topic-metadata">

**Author:** [@HannesG79](https://discourse.nodered.org/u/HannesG79)\
**Replies:** 3\
**Last updated:** [27 September 2018 15:16 UTC](https://discourse.nodered.org/t/need-help-node-for-elero-shutter-usb-stick/3485 "2018-09-27T15:16:04Z")

</div>

Hello community, i need help to create a node for a elero shutter system. This is my first request to the community. I am more a user than a developer. Hopefully someone can help me. This is the elero usb transmitter…

---

## [Node-red-contrib-moment - breaking update - looking for input](https://discourse.nodered.org/t/node-red-contrib-moment-breaking-update-looking-for-input/3380)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 8\
**Last updated:** [25 September 2018 15:00 UTC](https://discourse.nodered.org/t/node-red-contrib-moment-breaking-update-looking-for-input/3380 "2018-09-25T15:00:18Z")

</div>

Hi all. I'm looking for input about a potential change to my node-red-contrib-moment node. Currently, there is a slight issue when you supply data that isn't a date/time. According to the build-in warning, you should ge…

---

## [Just created node (not saved) and RED.nodes.getNode](https://discourse.nodered.org/t/just-created-node-not-saved-and-red-nodes-getnode/3391)

<div class="topic-metadata">

**Author:** [@10der](https://discourse.nodered.org/u/10der)\
**Replies:** 7\
**Last updated:** [24 September 2018 06:59 UTC](https://discourse.nodered.org/t/just-created-node-not-saved-and-red-nodes-getnode/3391 "2018-09-24T06:59:48Z")

</div>

Hi! own created node. drop my node to flow set configuration in the field trying lookup some information based on configuration field server: { value: "", type: "hc2-server-config", required: true }, (ip/login/pwd…

---

## [Use SPI1 in Node-RED](https://discourse.nodered.org/t/use-spi1-in-node-red/3329)

<div class="topic-metadata">

**Author:** [@cyberporkexception](https://discourse.nodered.org/u/cyberporkexception)\
**Replies:** 4\
**Last updated:** [21 September 2018 21:50 UTC](https://discourse.nodered.org/t/use-spi1-in-node-red/3329 "2018-09-21T21:50:48Z")

</div>

I use the "node-red-node-pi-mcp3008" to operate with my MCP3008 A/D Converter Chip. In this Node i can change the Chip Select line CE0 and CE1 of the SPI0 Bus. I want to use the SPI1 from my Raspberry PI3 for another M…

---

## [Step down number increments over time node red dimming](https://discourse.nodered.org/t/step-down-number-increments-over-time-node-red-dimming/3156)

<div class="topic-metadata">

**Author:** [@chris1988](https://discourse.nodered.org/u/chris1988)\
**Replies:** 4\
**Last updated:** [17 September 2018 22:21 UTC](https://discourse.nodered.org/t/step-down-number-increments-over-time-node-red-dimming/3156 "2018-09-17T22:21:15Z")

</div>

looking to a node to drop an number value down over time i have seen it today when looking for something but i cant remember what it is called

---

## [Add output on mongodb OUT node to provide status (success/fail)](https://discourse.nodered.org/t/add-output-on-mongodb-out-node-to-provide-status-success-fail/3071)

<div class="topic-metadata">

**Author:** [@mickev36](https://discourse.nodered.org/u/mickev36)\
**Replies:** 2\
**Last updated:** [12 September 2018 18:10 UTC](https://discourse.nodered.org/t/add-output-on-mongodb-out-node-to-provide-status-success-fail/3071 "2018-09-12T18:10:40Z")

</div>

Hi, I think the OUT node for node-red-node-mongodb (which is provided with the extra nodes package) should provide an output, so we can process the status of the query (Did it fail ? Did it succeed ? When ?) Simple rea…

---

## [Delete a parasitic flow in flows.nodered.org?](https://discourse.nodered.org/t/delete-a-parasitic-flow-in-flows-nodered-org/3011)

<div class="topic-metadata">

**Author:** [@julienVinber](https://discourse.nodered.org/u/julienVinber)\
**Replies:** 2\
**Last updated:** [10 September 2018 12:08 UTC](https://discourse.nodered.org/t/delete-a-parasitic-flow-in-flows-nodered-org/3011 "2018-09-10T12:08:59Z")

</div>

Hello, I created a new node, but it doesn't appear in the search on the site (it works in Nodered itself): https://flows.nodered.org/?term=node-red-contrib-message-gate&num\_pages=1 While the page does exist. It's a …

---

## [User input while running the flow](https://discourse.nodered.org/t/user-input-while-running-the-flow/2918)

<div class="topic-metadata">

**Author:** [@sidthesloth](https://discourse.nodered.org/u/sidthesloth)\
**Replies:** 4\
**Last updated:** [6 September 2018 18:06 UTC](https://discourse.nodered.org/t/user-input-while-running-the-flow/2918 "2018-09-06T18:06:33Z")

</div>

Hi Masters, i am very new to node-red, we have a very specific requirement. while the flow is running the program should accept date from the end user using a text box and run a sub flow in a loop based on the user in…

---

## [Add a nod sur Putty](https://discourse.nodered.org/t/add-a-nod-sur-putty/2862)

<div class="topic-metadata">

**Author:** [@jmgos](https://discourse.nodered.org/u/jmgos)\
**Replies:** 1\
**Last updated:** [5 September 2018 07:56 UTC](https://discourse.nodered.org/t/add-a-nod-sur-putty/2862 "2018-09-05T07:56:07Z")

</div>

bonjour, Sur la Multiconnect LORA et jusqu’à la version 1.33 ,je rajoutais mes capteurs LORA par la commande sur Putty : lora-query --node-add devAddr Class AppEUI DevEUI AppKey J’ai updaté le firmware à 1.4.17 et mai…

---

## [Http endpoint guidelines](https://discourse.nodered.org/t/http-endpoint-guidelines/2309)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 4\
**Last updated:** [15 August 2018 19:31 UTC](https://discourse.nodered.org/t/http-endpoint-guidelines/2309 "2018-08-15T19:31:29Z")

</div>

Hi folks, The config screen of my node-red-contrib-blockly node needs to load a series of Javascript library files from the server. This is implemented by using a http endpoint: RED.httpAdmin.get('/blocky/js/\*', funct…

---

## [\[new node\] node-red-contrib-open-protocol](https://discourse.nodered.org/t/new-node-node-red-contrib-open-protocol/2288)

<div class="topic-metadata">

**Author:** [@machadotiago](https://discourse.nodered.org/u/machadotiago)\
**Replies:** 0\
**Last updated:** [14 August 2018 20:49 UTC](https://discourse.nodered.org/t/new-node-node-red-contrib-open-protocol/2288 "2018-08-14T20:49:03Z")

</div>

Hello @knolleary we have just published this new node that implements the "Open Protocol" protocol https://www.npmjs.com/package/node-red-contrib-open-protocol. Could you please index it into the node palette? Thanks! …

---

## [Using external javascript library](https://discourse.nodered.org/t/using-external-javascript-library/2136)

<div class="topic-metadata">

**Author:** [@modeller](https://discourse.nodered.org/u/modeller)\
**Replies:** 1\
**Last updated:** [13 August 2018 15:05 UTC](https://discourse.nodered.org/t/using-external-javascript-library/2136 "2018-08-13T15:05:58Z")

</div>

Hi , I need a multi-select style form in my node's data-template-name like is provided by http://loudev.com/#demos I've tried and failed to incorporate the external css and script links into the data-template-name. Is …

---

## [Fail Service Node Red](https://discourse.nodered.org/t/fail-service-node-red/2227)

<div class="topic-metadata">

**Author:** [@kalyanbl](https://discourse.nodered.org/u/kalyanbl)\
**Replies:** 1\
**Last updated:** [11 August 2018 10:38 UTC](https://discourse.nodered.org/t/fail-service-node-red/2227 "2018-08-11T10:38:39Z")

</div>

Hi folks, I'm running the red node in Linux (raspbian) and am experiencing some problems. It constantly restarts unexpectedly by displaying the following log messages: 25 Jul 02:35:47 - \[red\] Uncaught Exception: 25 Ju…

---

## [\[new node\] node-red-contrib-snap4city-user](https://discourse.nodered.org/t/new-node-node-red-contrib-snap4city-user/2179)

<div class="topic-metadata">

**Author:** [@disit](https://discourse.nodered.org/u/disit)\
**Replies:** 4\
**Last updated:** [9 August 2018 12:01 UTC](https://discourse.nodered.org/t/new-node-node-red-contrib-snap4city-user/2179 "2018-08-09T12:01:03Z")

</div>

https://www.npmjs.com/package/node-red-contrib-snap4city-user

---

## [\[new node\] node-red-contrib-snap4city-developer](https://discourse.nodered.org/t/new-node-node-red-contrib-snap4city-developer/2180)

<div class="topic-metadata">

**Author:** [@disit](https://discourse.nodered.org/u/disit)\
**Replies:** 0\
**Last updated:** [9 August 2018 09:58 UTC](https://discourse.nodered.org/t/new-node-node-red-contrib-snap4city-developer/2180 "2018-08-09T09:58:37Z")

</div>

https://www.npmjs.com/package/node-red-contrib-snap4city-developer

---

## [Storing Credentials](https://discourse.nodered.org/t/storing-credentials/2130)

<div class="topic-metadata">

**Author:** [@Coderkido](https://discourse.nodered.org/u/Coderkido)\
**Replies:** 1\
**Last updated:** [7 August 2018 05:44 UTC](https://discourse.nodered.org/t/storing-credentials/2130 "2018-08-07T05:44:02Z")

</div>

First time making my own nodes. Node is intended to build and make simple requests to a device which hosts a restful api. I am having issues in getting the config node which stores the credentials to actually keep them…

---

## [\[new node\]: node-red-contrib-cheerio-function](https://discourse.nodered.org/t/new-node-node-red-contrib-cheerio-function/1982)

<div class="topic-metadata">

**Author:** [@t4skforce1337](https://discourse.nodered.org/u/t4skforce1337)\
**Replies:** 8\
**Last updated:** [1 August 2018 21:38 UTC](https://discourse.nodered.org/t/new-node-node-red-contrib-cheerio-function/1982 "2018-08-01T21:38:21Z")

</div>

New node to be added to https://flows.nodered.org: https://www.npmjs.com/package/node-red-contrib-cheerio-function

---

## [Accessing and Deleting a Message](https://discourse.nodered.org/t/accessing-and-deleting-a-message/1914)

<div class="topic-metadata">

**Author:** [@genepool](https://discourse.nodered.org/u/genepool)\
**Replies:** 6\
**Last updated:** [31 July 2018 18:27 UTC](https://discourse.nodered.org/t/accessing-and-deleting-a-message/1914 "2018-07-31T18:27:46Z")

</div>

I have a flow where messages containing an id, text string and a number of times to repeat comes in from an HTTP end-point. The text is converted to audio and is played over a loudspeaker with a delay before repeating. I…

---

## [Pointers on function testing a node](https://discourse.nodered.org/t/pointers-on-function-testing-a-node/1795)

<div class="topic-metadata">

**Author:** [@ncherry](https://discourse.nodered.org/u/ncherry)\
**Replies:** 0\
**Last updated:** [25 July 2018 00:21 UTC](https://discourse.nodered.org/t/pointers-on-function-testing-a-node/1795 "2018-07-25T00:21:30Z")

</div>

I've gotten my node (node-red-contrib-mytimeout) testing working with node-red-node-test-helper (thanks folks). Now I need to add to the testing to test the functionality of the node. I'm not sure how I can unit test a n…

---

## [Server push in custom node](https://discourse.nodered.org/t/server-push-in-custom-node/1749)

<div class="topic-metadata">

**Author:** [@poximan](https://discourse.nodered.org/u/poximan)\
**Replies:** 1\
**Last updated:** [23 July 2018 07:30 UTC](https://discourse.nodered.org/t/server-push-in-custom-node/1749 "2018-07-23T07:30:55Z")

</div>

hello, I am developing a node that when listening to a this.on("input", () =\> { }) input should read some local values and publish them on the client side in the node's edit view (the homologous html of my node). how can…

---

## [\[new node\]: node-red-contrib-etekcity-smartplug](https://discourse.nodered.org/t/new-node-node-red-contrib-etekcity-smartplug/1750)

<div class="topic-metadata">

**Author:** [@jbardi](https://discourse.nodered.org/u/jbardi)\
**Replies:** 2\
**Last updated:** [23 July 2018 01:04 UTC](https://discourse.nodered.org/t/new-node-node-red-contrib-etekcity-smartplug/1750 "2018-07-23T01:04:47Z")

</div>

New node to be added to https://flows.nodered.org: https://www.npmjs.com/package/node-red-contrib-etekcity-smartplug

---

## [node-red-contrib-newsamsungtv](https://discourse.nodered.org/t/node-red-contrib-newsamsungtv/1723)

<div class="topic-metadata">

**Author:** [@onecd2000](https://discourse.nodered.org/u/onecd2000)\
**Replies:** 0\
**Last updated:** [20 July 2018 22:12 UTC](https://discourse.nodered.org/t/node-red-contrib-newsamsungtv/1723 "2018-07-20T22:12:55Z")

</div>

https://www.npmjs.com/package/node-red-contrib-newsamsungtv

---

## [Q: How do you make it come on?](https://discourse.nodered.org/t/q-how-do-you-make-it-come-on/1628)

<div class="topic-metadata">

**Author:** [@10der](https://discourse.nodered.org/u/10der)\
**Replies:** 1\
**Last updated:** [17 July 2018 08:23 UTC](https://discourse.nodered.org/t/q-how-do-you-make-it-come-on/1628 "2018-07-17T08:23:03Z")

</div>

Hi!! I am writing a simple (https://github.com/10der/node-red-contrib-fibaro-hc2) module for Fibaro community How do you make it come on here ? thank you!

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

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