# General

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

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

**Page:** 931

---

## [Broke node-red - can I fix it somehow?](https://discourse.nodered.org/t/broke-node-red-can-i-fix-it-somehow/5574)

<div class="topic-metadata">

**Author:** [@Samuel](https://discourse.nodered.org/u/Samuel)\
**Replies:** 5\
**Last updated:** [7 December 2018 23:19 UTC](https://discourse.nodered.org/t/broke-node-red-can-i-fix-it-somehow/5574 "2018-12-07T23:19:57Z")

</div>

Guys, I have broke my node-red. I have installed few new packages and it won't start. this is full log from startup. I have already reinstalled NR, that didn't help. Any ideas? Thank you Welcome to Node-RED ========…

---

## [Problem with Watson Visual Recognition](https://discourse.nodered.org/t/problem-with-watson-visual-recognition/5568)

<div class="topic-metadata">

**Author:** [@Genesis6](https://discourse.nodered.org/u/Genesis6)\
**Replies:** 1\
**Last updated:** [7 December 2018 16:53 UTC](https://discourse.nodered.org/t/problem-with-watson-visual-recognition/5568 "2018-12-07T16:53:08Z")

</div>

I have got a problem with Watson(IBM). I created a custom Visual recognition model for recognize images in a museum. I don't know how to implement its node in Node-RED. Please help me if someone knows something about thi…

---

## [SNAP run npm command](https://discourse.nodered.org/t/snap-run-npm-command/5558)

<div class="topic-metadata">

**Author:** [@mdresf](https://discourse.nodered.org/u/mdresf)\
**Replies:** 2\
**Last updated:** [7 December 2018 15:22 UTC](https://discourse.nodered.org/t/snap-run-npm-command/5558 "2018-12-07T15:22:36Z")

</div>

Hello, I installed node-red as a snap on ubuntu-core. It's an easy process and everything is working nicely except that I am not able to run npm command to manually install node. For example automatic installation from…

---

## [Arrays & Objects in Node-RED](https://discourse.nodered.org/t/arrays-objects-in-node-red/5559)

<div class="topic-metadata">

**Author:** [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Replies:** 9\
**Last updated:** [7 December 2018 14:18 UTC](https://discourse.nodered.org/t/arrays-objects-in-node-red/5559 "2018-12-07T14:18:22Z")

</div>

how can i access to my data in function node. i have tested too many things but no one works. exemple var matriculeString =msg.payload\[0\]\[data3\]; var matriculeString =msg.data3;, etc ....

---

## [Send variable from dashboard template node to another one, other than msg.payload](https://discourse.nodered.org/t/send-variable-from-dashboard-template-node-to-another-one-other-than-msg-payload/5501)

<div class="topic-metadata">

**Author:** [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Replies:** 11\
**Last updated:** [6 December 2018 19:33 UTC](https://discourse.nodered.org/t/send-variable-from-dashboard-template-node-to-another-one-other-than-msg-payload/5501 "2018-12-06T19:33:20Z")

</div>

is it possible to send a variable other then msg.payload and test on it on the other template. i test this example but it doesn't work for me.!! template1 : \<button class="inner" id="myBtn1" ng-click="send({topic: '1'…

---

## [Display dropdown option inside mustach template node](https://discourse.nodered.org/t/display-dropdown-option-inside-mustach-template-node/5527)

<div class="topic-metadata">

**Author:** [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Replies:** 2\
**Last updated:** [6 December 2018 19:25 UTC](https://discourse.nodered.org/t/display-dropdown-option-inside-mustach-template-node/5527 "2018-12-06T19:25:00Z")

</div>

i'am trying to display my dropdown option inside a mustache template node. at the same time this template display a liste of payload cames from another template. So, i put msg.paylod that comes from dropdown node to a m…

---

## [Create an admin configuration API HTTPS endpoint](https://discourse.nodered.org/t/create-an-admin-configuration-api-https-endpoint/4423)

<div class="topic-metadata">

**Author:** [@stamer](https://discourse.nodered.org/u/stamer)\
**Replies:** 10\
**Last updated:** [6 December 2018 19:12 UTC](https://discourse.nodered.org/t/create-an-admin-configuration-api-https-endpoint/4423 "2018-12-06T19:12:33Z")

</div>

Hello, I need to create an admin configuration API HTTPS endpoint to look up additional data at configuration time. I found information about Serial node: https://github.com/node-red/cookbook.nodered.org/wiki/Create-an-…

---

## [Node red wake on lan node](https://discourse.nodered.org/t/node-red-wake-on-lan-node/5473)

<div class="topic-metadata">

**Author:** [@Samuel](https://discourse.nodered.org/u/Samuel)\
**Replies:** 10\
**Last updated:** [6 December 2018 15:56 UTC](https://discourse.nodered.org/t/node-red-wake-on-lan-node/5473 "2018-12-06T15:56:23Z")

</div>

Hi guys, I wanted to use node red to do wol on my local pc, so I have installed wol node, all works but! After some time, let's say an hour or so, after my pc got switched off, my wol flow will stop working and it won't …

---

## [Trying to retrieve info from a website problems, I'm just a rookie](https://discourse.nodered.org/t/trying-to-retrieve-info-from-a-website-problems-im-just-a-rookie/5092)

<div class="topic-metadata">

**Author:** [@Christian](https://discourse.nodered.org/u/Christian)\
**Replies:** 19\
**Last updated:** [6 December 2018 15:52 UTC](https://discourse.nodered.org/t/trying-to-retrieve-info-from-a-website-problems-im-just-a-rookie/5092 "2018-12-06T15:52:36Z")

</div>

Hello everyone! Completely new, but I am very much in need of help. I'm currently working on a project where I retrieve a time of sun rise and sun set from a website (https://soltider.dk/loc/6100-haderslev-danmark#) so…

---

## [Button behavior- blink toggle + audio feeback when pressed](https://discourse.nodered.org/t/button-behavior-blink-toggle-audio-feeback-when-pressed/5533)

<div class="topic-metadata">

**Author:** [@sweetwater](https://discourse.nodered.org/u/sweetwater)\
**Replies:** 1\
**Last updated:** [6 December 2018 13:59 UTC](https://discourse.nodered.org/t/button-behavior-blink-toggle-audio-feeback-when-pressed/5533 "2018-12-06T13:59:53Z")

</div>

NodeRed- marvelous tool, really amazing how powerful and user friendly the platform is. We have been using it for only a few months and achieved so much in the short time. However, one minor question about the 'button' …

---

## [Get RGB Light to previous state after color change (Homeassistant)](https://discourse.nodered.org/t/get-rgb-light-to-previous-state-after-color-change-homeassistant/5513)

<div class="topic-metadata">

**Author:** [@ohIZUxEkuGpAKSfrvAql](https://discourse.nodered.org/u/ohIZUxEkuGpAKSfrvAql)\
**Replies:** 2\
**Last updated:** [5 December 2018 23:52 UTC](https://discourse.nodered.org/t/get-rgb-light-to-previous-state-after-color-change-homeassistant/5513 "2018-12-05T23:52:16Z")

</div>

Hello, I put a litte photo resistor in my Alexa Echo dot so when the light ring lights up an esp8266 detects that and triggers a binary\_sensor. With that information I power on/off an LED Strip (Because I sometimes I do…

---

## [Node flow recursive](https://discourse.nodered.org/t/node-flow-recursive/5504)

<div class="topic-metadata">

**Author:** [@akhilendharreddy](https://discourse.nodered.org/u/akhilendharreddy)\
**Replies:** 9\
**Last updated:** [5 December 2018 22:16 UTC](https://discourse.nodered.org/t/node-flow-recursive/5504 "2018-12-05T22:16:52Z")

</div>

I am beginner to Node-red, i have doubt how can i call nodes recursively? example: i have 100 employees for each employee i have attendance available in db, this time i have to loop through 100 records and get their att…

---

## [How to create an array from mqtt input](https://discourse.nodered.org/t/how-to-create-an-array-from-mqtt-input/5507)

<div class="topic-metadata">

**Author:** [@MANNAS3](https://discourse.nodered.org/u/MANNAS3)\
**Replies:** 2\
**Last updated:** [5 December 2018 18:12 UTC](https://discourse.nodered.org/t/how-to-create-an-array-from-mqtt-input/5507 "2018-12-05T18:12:06Z")

</div>

I have a button (on/off) - connected to another node that only shows msg when it is turned on. I have another mqtt in, that is connected along with the first node to a function node. What I would like to achieve in no…

---

## [Quick reminder about security and shared flows](https://discourse.nodered.org/t/quick-reminder-about-security-and-shared-flows/5477)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 3\
**Last updated:** [5 December 2018 11:47 UTC](https://discourse.nodered.org/t/quick-reminder-about-security-and-shared-flows/5477 "2018-12-05T11:47:20Z")

</div>

Hi all, Just a quick thought. We have a lot of new people in the forum now and, while I'm not suggesting that any would be malicious, we cannot rule it out. As such, this is just a reminder that, just because someone s…

---

## [How to deploy Node-RED](https://discourse.nodered.org/t/how-to-deploy-node-red/5499)

<div class="topic-metadata">

**Author:** [@accuser](https://discourse.nodered.org/u/accuser)\
**Replies:** 4\
**Last updated:** [5 December 2018 10:47 UTC](https://discourse.nodered.org/t/how-to-deploy-node-red/5499 "2018-12-05T10:47:43Z")

</div>

A little bit of background: I have an MVHR unit installed in the house, and I have a need to control and monitor some of its functions. I have a simple Python-based web server on a RasPi Zero that enables me to remotely …

---

## [Jsonata: return value from context array](https://discourse.nodered.org/t/jsonata-return-value-from-context-array/5469)

<div class="topic-metadata">

**Author:** [@psmtvdw](https://discourse.nodered.org/u/psmtvdw)\
**Replies:** 2\
**Last updated:** [5 December 2018 07:31 UTC](https://discourse.nodered.org/t/jsonata-return-value-from-context-array/5469 "2018-12-05T07:31:04Z")

</div>

Hi, I'm looking for the right jsonata expression to do the following: I have a context variable containing a json array with the following data: { "Products": \[ { "ProductName": "Red Bowler Hat ", "ProductID": 858…

---

## [Can not install external nodes in embedding mode](https://discourse.nodered.org/t/can-not-install-external-nodes-in-embedding-mode/5489)

<div class="topic-metadata">

**Author:** [@kilik52](https://discourse.nodered.org/u/kilik52)\
**Replies:** 1\
**Last updated:** [5 December 2018 03:11 UTC](https://discourse.nodered.org/t/can-not-install-external-nodes-in-embedding-mode/5489 "2018-12-05T03:11:13Z")

</div>

Hi there, i'm new to nodered. I followed the documents about embedding nodered in an express app, and it worked. My settings: var settings = { httpAdminRoot: "/red", httpNodeRoot: "/redapi", userDir: "~/.node-re…

---

## [Node red convert string to fields](https://discourse.nodered.org/t/node-red-convert-string-to-fields/5485)

<div class="topic-metadata">

**Author:** [@yoyo89](https://discourse.nodered.org/u/yoyo89)\
**Replies:** 14\
**Last updated:** [4 December 2018 23:55 UTC](https://discourse.nodered.org/t/node-red-convert-string-to-fields/5485 "2018-12-04T23:55:39Z")

</div>

Hello i want a way to convert my string data into Json fields where they can be read by things speak

---

## [Send data from C Program to Node-Red](https://discourse.nodered.org/t/send-data-from-c-program-to-node-red/5471)

<div class="topic-metadata">

**Author:** [@PhilGood](https://discourse.nodered.org/u/PhilGood)\
**Replies:** 6\
**Last updated:** [4 December 2018 20:55 UTC](https://discourse.nodered.org/t/send-data-from-c-program-to-node-red/5471 "2018-12-04T20:55:17Z")

</div>

Hi, I'm newbie to Node-Red. I work on a Raspberry Pi3. I developed a C program that runs on the Raspberry. I want to periodically send data to Node-Red. What is the best way. Thank you for your comeback.

---

## [How can I poll the status node for status errors?](https://discourse.nodered.org/t/how-can-i-poll-the-status-node-for-status-errors/5458)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 1\
**Last updated:** [4 December 2018 16:55 UTC](https://discourse.nodered.org/t/how-can-i-poll-the-status-node-for-status-errors/5458 "2018-12-04T16:55:14Z")

</div>

I have a Status node which reports changes in the status of an RFX sensor: Then, my Function node filters for disconnections: if (msg.status.text == "disconnected") return msg; which means I can periodically try to …

---

## ["Rich File Manager" in node-red](https://discourse.nodered.org/t/rich-file-manager-in-node-red/5433)

<div class="topic-metadata">

**Author:** [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Replies:** 34\
**Last updated:** [4 December 2018 12:34 UTC](https://discourse.nodered.org/t/rich-file-manager-in-node-red/5433 "2018-12-04T12:34:23Z")

</div>

I was searching all day on how can i display a file manager in node-red dashboard. Something similar to "Rich File Manager". But without results. Any suggestions, ideas, exemples,.. would be very helpful and thank you.

---

## [Browser microphone not working](https://discourse.nodered.org/t/browser-microphone-not-working/5475)

<div class="topic-metadata">

**Author:** [@mshaz](https://discourse.nodered.org/u/mshaz)\
**Replies:** 0\
**Last updated:** [4 December 2018 11:54 UTC](https://discourse.nodered.org/t/browser-microphone-not-working/5475 "2018-12-04T11:54:34Z")

</div>

Hi I am using browse-utils microphone and has the error could not start from source. It was working before. I m using USB microphone and it was working fine using terminal.

---

## [ER\_NOT\_SUPPORTED\_AUTH\_MODE](https://discourse.nodered.org/t/er-not-supported-auth-mode/5465)

<div class="topic-metadata">

**Author:** [@zayas](https://discourse.nodered.org/u/zayas)\
**Replies:** 5\
**Last updated:** [4 December 2018 10:00 UTC](https://discourse.nodered.org/t/er-not-supported-auth-mode/5465 "2018-12-04T10:00:26Z")

</div>

Hello, I have the following problem, I want to connect with the node network to an external database, that is to say with a different IP but of the same range. In the MySQL-Worbench program, everything is well configure…

---

## [MQTT Json to Influxdb (node function)](https://discourse.nodered.org/t/mqtt-json-to-influxdb-node-function/5424)

<div class="topic-metadata">

**Author:** [@luisgcu](https://discourse.nodered.org/u/luisgcu)\
**Replies:** 3\
**Last updated:** [4 December 2018 07:20 UTC](https://discourse.nodered.org/t/mqtt-json-to-influxdb-node-function/5424 "2018-12-04T07:20:11Z")

</div>

Hi guys, Need some help to improve function node that I have done to insert data into influxdb. data is coming out a Mqtt in json format. The topic have this structure : /v1.6/devices/IOT\_ID2 where "IOT\_ID2" ide…

---

## [Is there a Clock node?](https://discourse.nodered.org/t/is-there-a-clock-node/5456)

<div class="topic-metadata">

**Author:** [@MrJoe837](https://discourse.nodered.org/u/MrJoe837)\
**Replies:** 2\
**Last updated:** [3 December 2018 23:25 UTC](https://discourse.nodered.org/t/is-there-a-clock-node/5456 "2018-12-03T23:25:21Z")

</div>

I would like my Google Mini's to announce the time at the top of the hour and the bottom of the hour. Kind of like a clock gong. (I would only turn this on when I'm working at home). Seems like it would be pretty simpl…

---

## [Wireless monitoring/control of current and voltage using node red](https://discourse.nodered.org/t/wireless-monitoring-control-of-current-and-voltage-using-node-red/5444)

<div class="topic-metadata">

**Author:** [@Tamazin96](https://discourse.nodered.org/u/Tamazin96)\
**Replies:** 7\
**Last updated:** [3 December 2018 21:26 UTC](https://discourse.nodered.org/t/wireless-monitoring-control-of-current-and-voltage-using-node-red/5444 "2018-12-03T21:26:56Z")

</div>

Hey guys, I've been working on a project for college which requires monitoring of current and voltage of loads around a building wirelessly and control them using relays -also wirelessly- So far I've done this without …

---

## [Ttn up-link error in node-red](https://discourse.nodered.org/t/ttn-up-link-error-in-node-red/5363)

<div class="topic-metadata">

**Author:** [@yoyo89](https://discourse.nodered.org/u/yoyo89)\
**Replies:** 7\
**Last updated:** [3 December 2018 21:14 UTC](https://discourse.nodered.org/t/ttn-up-link-error-in-node-red/5363 "2018-12-03T21:14:09Z")

</div>

Does anybody know why i get this error it was working fine then it happened ,i deleted my node-red instance from IBM bluemix installed again ,it worked for sometime then i had the same error :"Error on connection for …

---

## [Dynamically add new node](https://discourse.nodered.org/t/dynamically-add-new-node/4614)

<div class="topic-metadata">

**Author:** [@gabriel-delira](https://discourse.nodered.org/u/gabriel-delira)\
**Replies:** 4\
**Last updated:** [3 December 2018 18:54 UTC](https://discourse.nodered.org/t/dynamically-add-new-node/4614 "2018-12-03T18:54:04Z")

</div>

I have an application with embedded node-red. In the application the user register some math operations. After that, I want to create a new node and add it to the palette. There is any way to do that? I've tried to cre…

---

## [Question for evaluation rfxcom-out](https://discourse.nodered.org/t/question-for-evaluation-rfxcom-out/5377)

<div class="topic-metadata">

**Author:** [@Florian](https://discourse.nodered.org/u/Florian)\
**Replies:** 23\
**Last updated:** [3 December 2018 18:27 UTC](https://discourse.nodered.org/t/question-for-evaluation-rfxcom-out/5377 "2018-12-03T18:27:35Z")

</div>

I have a question about rfx-PT2262-Out. I would like to generate a specific response to a specific key. The key has the hex code 0x415530. How can I now configure it so that only the hex code is processed further? At t…

---

## [Passing (msg.payload) in exec node to a python script function](https://discourse.nodered.org/t/passing-msg-payload-in-exec-node-to-a-python-script-function/3200)

<div class="topic-metadata">

**Author:** [@pandeyprakhar00](https://discourse.nodered.org/u/pandeyprakhar00)\
**Replies:** 19\
**Last updated:** [3 December 2018 17:43 UTC](https://discourse.nodered.org/t/passing-msg-payload-in-exec-node-to-a-python-script-function/3200 "2018-12-03T17:43:39Z")

</div>

Hi, I have a MQTT client that that receives the messages in the format "A0000","A0111", etc.. I have a python script named function named "rf1(code)" that receives message in the above format and executes the script ac…

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

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