# General

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

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

**Page:** 846

---

## [Find path of usb device with VID and PID](https://discourse.nodered.org/t/find-path-of-usb-device-with-vid-and-pid/15725)

<div class="topic-metadata">

**Author:** [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Replies:** 12\
**Last updated:** [24 September 2019 03:53 UTC](https://discourse.nodered.org/t/find-path-of-usb-device-with-vid-and-pid/15725 "2019-09-24T03:53:39Z")

</div>

i have been searching on way to find path of usb. i found out this node but it requires node v0.8 - v4.x+. is there any other way ??

---

## [Cancelling a javascript countdown in function](https://discourse.nodered.org/t/cancelling-a-javascript-countdown-in-function/15790)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 6\
**Last updated:** [23 September 2019 20:30 UTC](https://discourse.nodered.org/t/cancelling-a-javascript-countdown-in-function/15790 "2019-09-23T20:30:42Z")

</div>

I'm just writing a function to carry out some admin tasks, like rebooting node-RED, shutting down the pi, etc, and have a countdown which when it reaches zero, the command is passed to an exec node to fulfill the request…

---

## [Rename or copy core nodes ( inject)](https://discourse.nodered.org/t/rename-or-copy-core-nodes-inject/15802)

<div class="topic-metadata">

**Author:** [@jaya24](https://discourse.nodered.org/u/jaya24)\
**Replies:** 5\
**Last updated:** [23 September 2019 15:46 UTC](https://discourse.nodered.org/t/rename-or-copy-core-nodes-inject/15802 "2019-09-23T15:46:52Z")

</div>

Is it possible to rename core nodes or make similar nodes with different name ?

---

## [Get Status from Shelly 1](https://discourse.nodered.org/t/get-status-from-shelly-1/15805)

<div class="topic-metadata">

**Author:** [@MarcoTho](https://discourse.nodered.org/u/MarcoTho)\
**Replies:** 5\
**Last updated:** [23 September 2019 12:33 UTC](https://discourse.nodered.org/t/get-status-from-shelly-1/15805 "2019-09-23T12:33:21Z")

</div>

Hi! I have bougth a Shelly 1. Now I want to get the status via MQTT. The MQTT connection works, but I don´t know how to get the status. https://shelly-api-docs.shelly.cloud/#shelly1-1pm-status I am using the Mosca MQT…

---

## [Previous state, current state of 48 digital inputs made whit pcf8574](https://discourse.nodered.org/t/previous-state-current-state-of-48-digital-inputs-made-whit-pcf8574/15795)

<div class="topic-metadata">

**Author:** [@homeplayer](https://discourse.nodered.org/u/homeplayer)\
**Replies:** 8\
**Last updated:** [23 September 2019 11:20 UTC](https://discourse.nodered.org/t/previous-state-current-state-of-48-digital-inputs-made-whit-pcf8574/15795 "2019-09-23T11:20:56Z")

</div>

After a lot of reading coding trying I did get some where But I still need your expertise. Whit the above I have 48 digital inputs made of 6,PCF8574 whit interrupt, so NR gets a signal on pin 11 and knows now to r…

---

## [Node-red on Android going to sleep](https://discourse.nodered.org/t/node-red-on-android-going-to-sleep/15746)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 4\
**Last updated:** [23 September 2019 08:55 UTC](https://discourse.nodered.org/t/node-red-on-android-going-to-sleep/15746 "2019-09-23T08:55:49Z")

</div>

I am running node-red on Android (6.0) under Termux, started on boot by Tasker. All is working well apart from the fact that if not charging then if I leave the device for a while then it seems that certain parts of nod…

---

## [Creating ui from node-red without using uibuilder](https://discourse.nodered.org/t/creating-ui-from-node-red-without-using-uibuilder/15801)

<div class="topic-metadata">

**Author:** [@Sanketp](https://discourse.nodered.org/u/Sanketp)\
**Replies:** 6\
**Last updated:** [23 September 2019 06:42 UTC](https://discourse.nodered.org/t/creating-ui-from-node-red-without-using-uibuilder/15801 "2019-09-23T06:42:09Z")

</div>

i want to create web pages without using uibuilder. flow after starting would call web page take input and get back to node-red. how can i do it?

---

## [Synology DS1019+ docker installed: how to connect?](https://discourse.nodered.org/t/synology-ds1019-docker-installed-how-to-connect/15748)

<div class="topic-metadata">

**Author:** [@jlm70](https://discourse.nodered.org/u/jlm70)\
**Replies:** 9\
**Last updated:** [22 September 2019 23:15 UTC](https://discourse.nodered.org/t/synology-ds1019-docker-installed-how-to-connect/15748 "2019-09-22T23:15:12Z")

</div>

Dear friends, I'm new to Node-red and... kindly ask for an help. Just installed the official docker on my new DS1019+ NAS. Below attached its instance, listening on port 1880. It runs and seems healthy. But I cannot o…

---

## [Node-red-contrib-alexa-smart-home](https://discourse.nodered.org/t/node-red-contrib-alexa-smart-home/15778)

<div class="topic-metadata">

**Author:** [@ScottKidd](https://discourse.nodered.org/u/ScottKidd)\
**Replies:** 5\
**Last updated:** [22 September 2019 21:31 UTC](https://discourse.nodered.org/t/node-red-contrib-alexa-smart-home/15778 "2019-09-22T21:31:12Z")

</div>

I am having some trouble on getting Alexa to speak the temperature values that I have. They are coming through as an MQTT. Even when I try the demo examples, the function goes into a error. This is the basic set up I ha…

---

## [Deploy button doesn't click](https://discourse.nodered.org/t/deploy-button-doesnt-click/15776)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 26\
**Last updated:** [22 September 2019 20:44 UTC](https://discourse.nodered.org/t/deploy-button-doesnt-click/15776 "2019-09-22T20:44:14Z")

</div>

When I click the red deploy button, it no longer does anything; it stays red rather than going grey, and the nodes are not deployed. Browser console: Uncaught TypeError: Cannot read property 'name' of undefined at m …

---

## [Is there any way too Tell if a UIBuilder node has connections](https://discourse.nodered.org/t/is-there-any-way-too-tell-if-a-uibuilder-node-has-connections/15787)

<div class="topic-metadata">

**Author:** [@johnlongo](https://discourse.nodered.org/u/johnlongo)\
**Replies:** 3\
**Last updated:** [22 September 2019 19:39 UTC](https://discourse.nodered.org/t/is-there-any-way-too-tell-if-a-uibuilder-node-has-connections/15787 "2019-09-22T19:39:57Z")

</div>

Is there any way too Tell if a UIBuilder node has connections, would like to be able to check in a function or switch?

---

## [Node Red no longer accesible](https://discourse.nodered.org/t/node-red-no-longer-accesible/15756)

<div class="topic-metadata">

**Author:** [@BioticDev](https://discourse.nodered.org/u/BioticDev)\
**Replies:** 2\
**Last updated:** [22 September 2019 18:56 UTC](https://discourse.nodered.org/t/node-red-no-longer-accesible/15756 "2019-09-22T18:56:57Z")

</div>

Hello! First post here, hopefully I am observing the proper rules and posting this in the correct location. I use the Node Red Home Assistant Addon. Seemingly randomly today Node Red stopped working and I can no longer …

---

## [Can I add a button related to a specific workflow(which can trigger a event) in nodered?](https://discourse.nodered.org/t/can-i-add-a-button-related-to-a-specific-workflow-which-can-trigger-a-event-in-nodered/15783)

<div class="topic-metadata">

**Author:** [@HannanKan](https://discourse.nodered.org/u/HannanKan)\
**Replies:** 2\
**Last updated:** [22 September 2019 16:42 UTC](https://discourse.nodered.org/t/can-i-add-a-button-related-to-a-specific-workflow-which-can-trigger-a-event-in-nodered/15783 "2019-09-22T16:42:04Z")

</div>

I use nodered to visualize my computation. I want to add a button related to a specific workflow. When pressing the button, a new page, showing the detailed information of this workflow, shows up. How can I add such butt…

---

## [Get device battery level (zwave)](https://discourse.nodered.org/t/get-device-battery-level-zwave/14273)

<div class="topic-metadata">

**Author:** [@Qaldak](https://discourse.nodered.org/u/Qaldak)\
**Replies:** 13\
**Last updated:** [22 September 2019 12:56 UTC](https://discourse.nodered.org/t/get-device-battery-level-zwave/14273 "2019-09-22T12:56:33Z")

</div>

I would like to get the battery level of my zwave device weekly. But I couldn't find the exact command for this. Here the JSON: { "topic":"???", "payload": { "nodeid":4, "cmdclass":128 } } which topic I have to…

---

## [Set the input signal to high and low for a while of 1 second](https://discourse.nodered.org/t/set-the-input-signal-to-high-and-low-for-a-while-of-1-second/15403)

<div class="topic-metadata">

**Author:** [@nmc](https://discourse.nodered.org/u/nmc)\
**Replies:** 15\
**Last updated:** [22 September 2019 10:57 UTC](https://discourse.nodered.org/t/set-the-input-signal-to-high-and-low-for-a-while-of-1-second/15403 "2019-09-22T10:57:00Z")

</div>

Dear Guys, I am new with node-red as well as JavaScript. I would like to make active a device for some percent of 1 second in 1000 ms (e.g. 60% of 1 second= 600ms) with high=1 and make the rest time (40% of 1000ms) ina…

---

## [How to create an error message in a flow](https://discourse.nodered.org/t/how-to-create-an-error-message-in-a-flow/15764)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 10\
**Last updated:** [22 September 2019 07:57 UTC](https://discourse.nodered.org/t/how-to-create-an-error-message-in-a-flow/15764 "2019-09-22T07:57:27Z")

</div>

I know this may seem weird, but I can't think of an easier way to solve the problem. I have some function nodes which need things set in them for them to work. If the variables aren't set, the nodes don't work. Not a…

---

## [Why does importing a clipboard with a subflow create a "new" identical but renamed subflow](https://discourse.nodered.org/t/why-does-importing-a-clipboard-with-a-subflow-create-a-new-identical-but-renamed-subflow/15668)

<div class="topic-metadata">

**Author:** [@cuxcrider](https://discourse.nodered.org/u/cuxcrider)\
**Replies:** 6\
**Last updated:** [22 September 2019 03:37 UTC](https://discourse.nodered.org/t/why-does-importing-a-clipboard-with-a-subflow-create-a-new-identical-but-renamed-subflow/15668 "2019-09-22T03:37:45Z")

</div>

Edit: Now that I know the behavior I observe is inherent to Node-RED, I reposted this over on the feature requests: https://discourse.nodered.org/t/import-a-flow-containing-a-subflow-without-unintentionally-creating-a-…

---

## [Notification when NR is stopped](https://discourse.nodered.org/t/notification-when-nr-is-stopped/15742)

<div class="topic-metadata">

**Author:** [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Replies:** 12\
**Last updated:** [21 September 2019 20:26 UTC](https://discourse.nodered.org/t/notification-when-nr-is-stopped/15742 "2019-09-21T20:26:12Z")

</div>

I would like to "do some stuff" in my flow when NR is about to be stopped. Is there any event or so that I could use in a function node to get notified for this purpose. I saw in the api @node-red/runtime there is the fu…

---

## [Flow for both Windows and Android, deployment and debug questions](https://discourse.nodered.org/t/flow-for-both-windows-and-android-deployment-and-debug-questions/15733)

<div class="topic-metadata">

**Author:** [@andreash](https://discourse.nodered.org/u/andreash)\
**Replies:** 5\
**Last updated:** [21 September 2019 16:06 UTC](https://discourse.nodered.org/t/flow-for-both-windows-and-android-deployment-and-debug-questions/15733 "2019-09-21T16:06:30Z")

</div>

Hi, I am very new to node-red, but think its very powerful. I would like to build a little work incident information dashboard that calls a bunch of REST APIs, then aggregates the data then makes sure to highlight the t…

---

## [Http-in module authentication](https://discourse.nodered.org/t/http-in-module-authentication/15732)

<div class="topic-metadata">

**Author:** [@mike829](https://discourse.nodered.org/u/mike829)\
**Replies:** 11\
**Last updated:** [21 September 2019 14:22 UTC](https://discourse.nodered.org/t/http-in-module-authentication/15732 "2019-09-21T14:22:06Z")

</div>

Hello Everybody, i just set up the http-in module and I am able to receive the web request like raspberry.local:1880/cmnd?var=1 Now, I enabled the user authentication but I am not able to understand how to put username…

---

## [Slide ui with auto trigger](https://discourse.nodered.org/t/slide-ui-with-auto-trigger/15738)

<div class="topic-metadata">

**Author:** [@Yortz](https://discourse.nodered.org/u/Yortz)\
**Replies:** 1\
**Last updated:** [21 September 2019 07:33 UTC](https://discourse.nodered.org/t/slide-ui-with-auto-trigger/15738 "2019-09-21T07:33:18Z")

</div>

I have fan attached with my Pi. I want to make a slide to set threshold for fan controlling. When temperature of Pi higher than slider value fan should turn on automatically. vice-versa turn-off automatically when temper…

---

## [Raspberry PI 4 GPIO](https://discourse.nodered.org/t/raspberry-pi-4-gpio/13904)

<div class="topic-metadata">

**Author:** [@rjandsam](https://discourse.nodered.org/u/rjandsam)\
**Replies:** 25\
**Last updated:** [20 September 2019 22:29 UTC](https://discourse.nodered.org/t/raspberry-pi-4-gpio/13904 "2019-09-20T22:29:11Z")

</div>

Hi is there a way to access the extra GPIO 0 and 1 on the PI 4 as in the list pin 27 and 28 are not configurable as outputs? Thanks Rich

---

## [Msg.payload string in grey](https://discourse.nodered.org/t/msg-payload-string-in-grey/15728)

<div class="topic-metadata">

**Author:** [@mike829](https://discourse.nodered.org/u/mike829)\
**Replies:** 5\
**Last updated:** [20 September 2019 18:18 UTC](https://discourse.nodered.org/t/msg-payload-string-in-grey/15728 "2019-09-20T18:18:36Z")

</div>

Hello Everybody, maybe this is a stupid question but I didn't find documents about the payload as in the picture. I would like to understand what is it.. Can you help me?

---

## [Append to Evernote from Node Red](https://discourse.nodered.org/t/append-to-evernote-from-node-red/15726)

<div class="topic-metadata">

**Author:** [@m\_elias](https://discourse.nodered.org/u/m_elias)\
**Replies:** 2\
**Last updated:** [20 September 2019 18:11 UTC](https://discourse.nodered.org/t/append-to-evernote-from-node-red/15726 "2019-09-20T18:11:47Z")

</div>

I've been able to append to a note in Evernote from Node Red via an IFTTT Webhook-\>Evernote applet but yesterday the IFTTT Maker Webhook service went down for a period of time so now I'm looking for something more robust…

---

## [Error in read modbus data](https://discourse.nodered.org/t/error-in-read-modbus-data/15721)

<div class="topic-metadata">

**Author:** [@chirag](https://discourse.nodered.org/u/chirag)\
**Replies:** 1\
**Last updated:** [20 September 2019 11:48 UTC](https://discourse.nodered.org/t/error-in-read-modbus-data/15721 "2019-09-20T11:48:46Z")

</div>

i read the data using node-red-contrib-modbus and it is working. but after any change in flow(deploy) its not working and showing error Error: Cannot find module 'fs-extra'. after restart the node-red it will work. pl…

---

## [How to display various types of charts like bar chart, line chart, scatter etc](https://discourse.nodered.org/t/how-to-display-various-types-of-charts-like-bar-chart-line-chart-scatter-etc/15718)

<div class="topic-metadata">

**Author:** [@Sanketp](https://discourse.nodered.org/u/Sanketp)\
**Replies:** 2\
**Last updated:** [20 September 2019 11:39 UTC](https://discourse.nodered.org/t/how-to-display-various-types-of-charts-like-bar-chart-line-chart-scatter-etc/15718 "2019-09-20T11:39:15Z")

</div>

displaying various types of charts like bar chart, line chart, scatter etc

---

## [Projects - per project settings.js](https://discourse.nodered.org/t/projects-per-project-settings-js/15707)

<div class="topic-metadata">

**Author:** [@snicho99](https://discourse.nodered.org/u/snicho99)\
**Replies:** 8\
**Last updated:** [20 September 2019 11:37 UTC](https://discourse.nodered.org/t/projects-per-project-settings-js/15707 "2019-09-20T11:37:15Z")

</div>

Hi there, I'm loving the projects feature, really makes it easier to collaborate on things and beats the hell out of trying to diff the flows.json file. Big question though - how do I set per project node-red settings?…

---

## [How to send payload for each iteration (function node) a payload to MQTT node?](https://discourse.nodered.org/t/how-to-send-payload-for-each-iteration-function-node-a-payload-to-mqtt-node/15715)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 3\
**Last updated:** [20 September 2019 11:28 UTC](https://discourse.nodered.org/t/how-to-send-payload-for-each-iteration-function-node-a-payload-to-mqtt-node/15715 "2019-09-20T11:28:41Z")

</div>

hello firends, this is my function: var LastCommands = msg.payload.split('\\n') global.set("LastCommands", LastCommands); LastCommands.forEach(function(command) { // send each "command" with 250ms delay to MQTT node …

---

## [If Else Problem](https://discourse.nodered.org/t/if-else-problem/15709)

<div class="topic-metadata">

**Author:** [@hikmet](https://discourse.nodered.org/u/hikmet)\
**Replies:** 14\
**Last updated:** [20 September 2019 11:13 UTC](https://discourse.nodered.org/t/if-else-problem/15709 "2019-09-20T11:13:10Z")

</div>

Hi, This problem can be very simple for you. But I couldn't. var gelen = msg.payload; var son =flow.get('son'); if (gelen == son) {msg.payload = " No Action "} else {msg.payload =" Write DB "} flow.set('son',gelen); …

---

## ['Save to file' node problem](https://discourse.nodered.org/t/save-to-file-node-problem/15612)

<div class="topic-metadata">

**Author:** [@ferfersan6](https://discourse.nodered.org/u/ferfersan6)\
**Replies:** 5\
**Last updated:** [20 September 2019 08:21 UTC](https://discourse.nodered.org/t/save-to-file-node-problem/15612 "2019-09-20T08:21:58Z")

</div>

Hello! It may be a stupid question, but I am very newbie with Node-Red. I am using Node-Red online, I mean, with my internet browser (so I don't have it installed). The thing is that when I use the 'Save to file' node, I…

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

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