# General

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

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

**Page:** 850

---

## [\`function\` node. Not seeing the results I expect](https://discourse.nodered.org/t/function-node-not-seeing-the-results-i-expect/15319)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 5\
**Last updated:** [9 September 2019 21:10 UTC](https://discourse.nodered.org/t/function-node-not-seeing-the-results-i-expect/15319 "2019-09-09T21:10:03Z")

</div>

I think it is more to do with what time it is here now. Simple thing: values (numbers) go into a function node. If it is 70, one thing happens. If it is 75, another thing happens. For testing, I also check if the va…

---

## [PS: You can install npm-gui to more easily manage your packages and dependencies](https://discourse.nodered.org/t/ps-you-can-install-npm-gui-to-more-easily-manage-your-packages-and-dependencies/15283)

<div class="topic-metadata">

**Author:** [@Alacritous](https://discourse.nodered.org/u/Alacritous)\
**Replies:** 23\
**Last updated:** [9 September 2019 20:35 UTC](https://discourse.nodered.org/t/ps-you-can-install-npm-gui-to-more-easily-manage-your-packages-and-dependencies/15283 "2019-09-09T20:35:35Z")

</div>

See the details here. But basically install npm-gui As global dependency: npm install -g npm-gui or locally: npm install npm-gui Run it with npm-gui and open a browser and navigate to http://localhost:1337 I c…

---

## [Route msg based on key name](https://discourse.nodered.org/t/route-msg-based-on-key-name/15322)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 18\
**Last updated:** [9 September 2019 18:51 UTC](https://discourse.nodered.org/t/route-msg-based-on-key-name/15322 "2019-09-09T18:51:09Z")

</div>

Can I route a msg depending on its key name with basic nodes? e.g msg.payload is arriving on http in node as {"s3gpiocommand":"xxxx"} or {"s3gpioread":"yyyy"} I'd like to process them differently in two separate branc…

---

## [Delay timer for switch](https://discourse.nodered.org/t/delay-timer-for-switch/15276)

<div class="topic-metadata">

**Author:** [@Thewaver](https://discourse.nodered.org/u/Thewaver)\
**Replies:** 5\
**Last updated:** [9 September 2019 16:25 UTC](https://discourse.nodered.org/t/delay-timer-for-switch/15276 "2019-09-09T16:25:14Z")

</div>

Hi, I have a simple flow which turns on and off a light.(I have also integrated it with alexa so i can ask alexa to turn the light on and off). I'm trying to find a way that i can have a range of 4 switches that can turn…

---

## [Is it possible to trigger a flow and wait for it to complete?](https://discourse.nodered.org/t/is-it-possible-to-trigger-a-flow-and-wait-for-it-to-complete/15321)

<div class="topic-metadata">

**Author:** [@molesworth](https://discourse.nodered.org/u/molesworth)\
**Replies:** 6\
**Last updated:** [9 September 2019 14:35 UTC](https://discourse.nodered.org/t/is-it-possible-to-trigger-a-flow-and-wait-for-it-to-complete/15321 "2019-09-09T14:35:11Z")

</div>

Quick summary : I'd like to trigger a flow from within a function node, then wait for it to complete, either by receiving a message or detecting a change in a context variable. It may be that the new async mode in v1.0 …

---

## [Node opc ua compact server](https://discourse.nodered.org/t/node-opc-ua-compact-server/15303)

<div class="topic-metadata">

**Author:** [@smalhao](https://discourse.nodered.org/u/smalhao)\
**Replies:** 6\
**Last updated:** [9 September 2019 13:15 UTC](https://discourse.nodered.org/t/node-opc-ua-compact-server/15303 "2019-09-09T13:15:26Z")

</div>

I noticed that a new node for opc ua came up, namely the node opc ua compact server, i'd like to know if anyone has already used this node, i see that it has a tab to register with Local Discover Server and since i'm wor…

---

## [The flows stopped due to missing node types. ^ movehub-config](https://discourse.nodered.org/t/the-flows-stopped-due-to-missing-node-types-movehub-config/15297)

<div class="topic-metadata">

**Author:** [@zhang](https://discourse.nodered.org/u/zhang)\
**Replies:** 16\
**Last updated:** [9 September 2019 12:30 UTC](https://discourse.nodered.org/t/the-flows-stopped-due-to-missing-node-types-movehub-config/15297 "2019-09-09T12:30:46Z")

</div>

i have install the node of " movehub ". Now i don't need it . But it shows on Node-red always "the flows stopped due to missing node types. ^ movehub-config ". After Update the Movehub shows the event-log 2019-09-09T07:…

---

## [Through bot conversations i need static values](https://discourse.nodered.org/t/through-bot-conversations-i-need-static-values/15300)

<div class="topic-metadata">

**Author:** [@lastm4n](https://discourse.nodered.org/u/lastm4n)\
**Replies:** 4\
**Last updated:** [9 September 2019 10:25 UTC](https://discourse.nodered.org/t/through-bot-conversations-i-need-static-values/15300 "2019-09-09T10:25:23Z")

</div>

I am using bot red via Smooch (platform integration messenger,viber etc..) and at the start of the conversation i initialize variables that during the conversation they might change. At the start, the user when sends t…

---

## [Uninstalling nodes](https://discourse.nodered.org/t/uninstalling-nodes/5544)

<div class="topic-metadata">

**Author:** [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)\
**Replies:** 4\
**Last updated:** [9 September 2019 10:09 UTC](https://discourse.nodered.org/t/uninstalling-nodes/5544 "2019-09-09T10:09:23Z")

</div>

Hi, I install an i2c lcd node using: cd ~/.node-red/node\_modules git clone https://github.com/johnty/node-red-contrib-i2clcd cd ~/.node-red/node\_modules/node-red-contrib-i2clcd npm i As I install via git clone, I p…

---

## [Multiple Users of same flow](https://discourse.nodered.org/t/multiple-users-of-same-flow/15289)

<div class="topic-metadata">

**Author:** [@chandrashekar](https://discourse.nodered.org/u/chandrashekar)\
**Replies:** 3\
**Last updated:** [9 September 2019 07:52 UTC](https://discourse.nodered.org/t/multiple-users-of-same-flow/15289 "2019-09-09T07:52:15Z")

</div>

Iam new to Node-Red, Was creating a flow for multiple users so they can insert data to Mysql database. i have used join node with 2 different topic. So upon 2 submits join node output will be generated and data will be …

---

## [Watson Machine Learning & Node-RED](https://discourse.nodered.org/t/watson-machine-learning-node-red/15291)

<div class="topic-metadata">

**Author:** [@sandra](https://discourse.nodered.org/u/sandra)\
**Replies:** 1\
**Last updated:** [9 September 2019 07:14 UTC](https://discourse.nodered.org/t/watson-machine-learning-node-red/15291 "2019-09-09T07:14:12Z")

</div>

Hi! I have my model deployed with Watson Machine Learning and I want to call it from Node-RED. In the past I used a node called 'node-red-contrib-watson-machine-learning' but with the new authentication methods is not…

---

## [Alexa Local node stopped working today](https://discourse.nodered.org/t/alexa-local-node-stopped-working-today/15282)

<div class="topic-metadata">

**Author:** [@kxkayser](https://discourse.nodered.org/u/kxkayser)\
**Replies:** 1\
**Last updated:** [9 September 2019 06:42 UTC](https://discourse.nodered.org/t/alexa-local-node-stopped-working-today/15282 "2019-09-09T06:42:17Z")

</div>

Have been using the node-red-contrib-alexa-local for some time and have many devices defined. As of this morning (September 8, 2019) they have all stopped working. Alex responds that the device isn't responding. I have…

---

## [Node-red Error . Does not start](https://discourse.nodered.org/t/node-red-error-does-not-start/15274)

<div class="topic-metadata">

**Author:** [@manueldiasmanuel](https://discourse.nodered.org/u/manueldiasmanuel)\
**Replies:** 7\
**Last updated:** [8 September 2019 17:44 UTC](https://discourse.nodered.org/t/node-red-error-does-not-start/15274 "2019-09-08T17:44:20Z")

</div>

After installing new nodes node-red crashed and does not start. I´m running it on Raspberry. Please any advice to fix ? tarting as a systemd service. Started Node-RED graphical event wiring tool. 8 Sep 11:34:01 - \[i…

---

## [Alexa / hue emulation stopped working](https://discourse.nodered.org/t/alexa-hue-emulation-stopped-working/15279)

<div class="topic-metadata">

**Author:** [@godofglow](https://discourse.nodered.org/u/godofglow)\
**Replies:** 4\
**Last updated:** [8 September 2019 16:58 UTC](https://discourse.nodered.org/t/alexa-hue-emulation-stopped-working/15279 "2019-09-08T16:58:16Z")

</div>

Since hours/days there a lkot of problem with a lot of the local Alexa/Hue emulation nodes. Is there any idea?

---

## [Node-RED docker container crashes after a while](https://discourse.nodered.org/t/node-red-docker-container-crashes-after-a-while/15277)

<div class="topic-metadata">

**Author:** [@jaeti01](https://discourse.nodered.org/u/jaeti01)\
**Replies:** 2\
**Last updated:** [8 September 2019 14:31 UTC](https://discourse.nodered.org/t/node-red-docker-container-crashes-after-a-while/15277 "2019-09-08T14:31:20Z")

</div>

I have node-red running in a docker container and it works well for a few days. Then it crashes. Last relevant log lines before the crash indicate that some nodes had communication problems. But that shouldn't cause the…

---

## [LED Status Indicators](https://discourse.nodered.org/t/led-status-indicators/15249)

<div class="topic-metadata">

**Author:** [@shaynel2006](https://discourse.nodered.org/u/shaynel2006)\
**Replies:** 12\
**Last updated:** [8 September 2019 09:38 UTC](https://discourse.nodered.org/t/led-status-indicators/15249 "2019-09-08T09:38:46Z")

</div>

Hi All, hoping i could get some assistance. i have a 2 channel node that sends 0 when ok and 1 when closed. i want to display a LED status light. Green for 0 Red for 1 i have changed 1 to True and 0 to False i have…

---

## [Как подключиться к sybase iq (How to connect Sybase iq)](https://discourse.nodered.org/t/sybase-iq-how-to-connect-sybase-iq/15251)

<div class="topic-metadata">

**Author:** [@forsag](https://discourse.nodered.org/u/forsag)\
**Replies:** 2\
**Last updated:** [8 September 2019 09:03 UTC](https://discourse.nodered.org/t/sybase-iq-how-to-connect-sybase-iq/15251 "2019-09-08T09:03:45Z")

</div>

Добрый вечер, я новенький в использовании node red, подскажите пожалуйста как я мог создать узлы для подключеение и создание запроса в базу данных Sybase iq. Буду очень благодарен если будет пример обращенния в Sybase i…

---

## [Adjustable ui timer](https://discourse.nodered.org/t/adjustable-ui-timer/15252)

<div class="topic-metadata">

**Author:** [@Feva](https://discourse.nodered.org/u/Feva)\
**Replies:** 3\
**Last updated:** [8 September 2019 08:28 UTC](https://discourse.nodered.org/t/adjustable-ui-timer/15252 "2019-09-08T08:28:37Z")

</div>

for the love of god would somebody please help me implement something similar to this on HA. im lost once i get to the point where it goes on about creating a .py file for python script entities. How do i do that? The HA…

---

## [Scenario with MQTT nodes - No message received on debug node](https://discourse.nodered.org/t/scenario-with-mqtt-nodes-no-message-received-on-debug-node/15160)

<div class="topic-metadata">

**Author:** [@alboino](https://discourse.nodered.org/u/alboino)\
**Replies:** 21\
**Last updated:** [8 September 2019 06:48 UTC](https://discourse.nodered.org/t/scenario-with-mqtt-nodes-no-message-received-on-debug-node/15160 "2019-09-08T06:48:09Z")

</div>

Hi all, I've build a NODE-RED flow with the following nodes: 1 node type INJECT 1 node type MQTT\_OUT connected to SCP Cloud Platform IoT with TLS v1.2 1 none type MQTT\_IN connected to SCP Cloud Platform IoT with TLS…

---

## [Node-red-contrib-vcgencmd : reset throttling statistics](https://discourse.nodered.org/t/node-red-contrib-vcgencmd-reset-throttling-statistics/15229)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 8\
**Last updated:** [8 September 2019 01:00 UTC](https://discourse.nodered.org/t/node-red-contrib-vcgencmd-reset-throttling-statistics/15229 "2019-09-08T01:00:59Z")

</div>

Hi folks, I received I very good question from one of the forum members, but I don't know the answer myself so I post it here. For privacy reasons - and since he is still 'trying to learn' - I won't mention his name he…

---

## [Decoding a Lora Data](https://discourse.nodered.org/t/decoding-a-lora-data/15247)

<div class="topic-metadata">

**Author:** [@ScottKidd](https://discourse.nodered.org/u/ScottKidd)\
**Replies:** 2\
**Last updated:** [7 September 2019 22:59 UTC](https://discourse.nodered.org/t/decoding-a-lora-data/15247 "2019-09-07T22:59:55Z")

</div>

Hi I was wondering if anyone could help me. I have data coming in from lora gateway and the data is msg.payload : string\[6\] "4031e7" Now I know the format of the data is this.(provide from manufactures datasheet.) U…

---

## [Splitting a string and viewing contents](https://discourse.nodered.org/t/splitting-a-string-and-viewing-contents/15223)

<div class="topic-metadata">

**Author:** [@shaynel2006](https://discourse.nodered.org/u/shaynel2006)\
**Replies:** 13\
**Last updated:** [7 September 2019 22:28 UTC](https://discourse.nodered.org/t/splitting-a-string-and-viewing-contents/15223 "2019-09-07T22:28:52Z")

</div>

Hi All, im new to Node-Red and are slowly learning as i go. i have a data logger which broadcasts the string via IP and port. i have the string which gives me all of the logger values like this. i want to view for e…

---

## [Weird topic in MQTT explorer - am I spamming broker?](https://discourse.nodered.org/t/weird-topic-in-mqtt-explorer-am-i-spamming-broker/15235)

<div class="topic-metadata">

**Author:** [@877](https://discourse.nodered.org/u/877)\
**Replies:** 9\
**Last updated:** [7 September 2019 21:51 UTC](https://discourse.nodered.org/t/weird-topic-in-mqtt-explorer-am-i-spamming-broker/15235 "2019-09-07T21:51:16Z")

</div>

I was torn between posting over on the Arduino forum but decided I would start here, I am having issues with a new project but it's a general question really. If you see the below screenshot, there's a strange topic whi…

---

## [User Defined Evironmental Variables](https://discourse.nodered.org/t/user-defined-evironmental-variables/6455)

<div class="topic-metadata">

**Author:** [@ram1505](https://discourse.nodered.org/u/ram1505)\
**Replies:** 5\
**Last updated:** [7 September 2019 21:29 UTC](https://discourse.nodered.org/t/user-defined-evironmental-variables/6455 "2019-09-07T21:29:47Z")

</div>

Hi, I'm referring this example flow. I've in one of my flows, a client\_secret as payload. I'm trying to store this payload as an environmental variable. I'm a newbie and I'm not sure how to do it. Can someone help me pl…

---

## [Random crashes with "Maximum call stack size exceeded"](https://discourse.nodered.org/t/random-crashes-with-maximum-call-stack-size-exceeded/15099)

<div class="topic-metadata">

**Author:** [@clickworkorange](https://discourse.nodered.org/u/clickworkorange)\
**Replies:** 18\
**Last updated:** [7 September 2019 16:47 UTC](https://discourse.nodered.org/t/random-crashes-with-maximum-call-stack-size-exceeded/15099 "2019-09-07T16:47:53Z")

</div>

Node-RED randomly crashes after 5-20 mins with the error: 4 Sep 13:20:29 - \[red\] Uncaught Exception: 4 Sep 13:20:29 - RangeError: Maximum call stack size exceeded at Function.\[Symbol.hasInstance\] (\<anonymous\>) a…

---

## [Node-red is not starting on boot](https://discourse.nodered.org/t/node-red-is-not-starting-on-boot/15238)

<div class="topic-metadata">

**Author:** [@Dylantje](https://discourse.nodered.org/u/Dylantje)\
**Replies:** 5\
**Last updated:** [7 September 2019 15:59 UTC](https://discourse.nodered.org/t/node-red-is-not-starting-on-boot/15238 "2019-09-07T15:59:33Z")

</div>

Dear... finally node red running, only not when i start my Odroid N2 I run armbian on my N2.. Welcome to Node-RED =================== 7 Sep 15:58:27 - \[info\] Node-RED version: v0.20.7 7 Sep 15:58:27 - \[info\] Node.js…

---

## [Strava node will break after Sept 15th 2019 due to auth change](https://discourse.nodered.org/t/strava-node-will-break-after-sept-15th-2019-due-to-auth-change/15232)

<div class="topic-metadata">

**Author:** [@thebaldgeek](https://discourse.nodered.org/u/thebaldgeek)\
**Replies:** 3\
**Last updated:** [7 September 2019 11:31 UTC](https://discourse.nodered.org/t/strava-node-will-break-after-sept-15th-2019-due-to-auth-change/15232 "2019-09-07T11:31:36Z")

</div>

Strava is removing their 'forever tokens' and going with a different method. This change will break this node. I have taken a quick look at the code and its a bit beyond my skill set. Is anyone using this node and is …

---

## [I am not getting the meaning of the different colours for text in messages](https://discourse.nodered.org/t/i-am-not-getting-the-meaning-of-the-different-colours-for-text-in-messages/15217)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 6\
**Last updated:** [7 September 2019 07:35 UTC](https://discourse.nodered.org/t/i-am-not-getting-the-meaning-of-the-different-colours-for-text-in-messages/15217 "2019-09-07T07:35:15Z")

</div>

If a message is text, and it is displayed in a debug node it is colour: red with " around it. If it is a number it is blue. If it is true or false it is blue. That's where the problem (for me) starts. In a function n…

---

## [MQTT Pub each JSON value](https://discourse.nodered.org/t/mqtt-pub-each-json-value/13570)

<div class="topic-metadata">

**Author:** [@m\_elias](https://discourse.nodered.org/u/m_elias)\
**Replies:** 4\
**Last updated:** [6 September 2019 18:10 UTC](https://discourse.nodered.org/t/mqtt-pub-each-json-value/13570 "2019-09-06T18:10:54Z")

</div>

Hi, I'd like to publish several JSON object values from my weather station via MQTT. I am using a http request node to get the JSON object. First I started off using a change node to extract only one value but now I've …

---

## [How to Make a RPM-Time Chart Using Hall Effect](https://discourse.nodered.org/t/how-to-make-a-rpm-time-chart-using-hall-effect/15122)

<div class="topic-metadata">

**Author:** [@george](https://discourse.nodered.org/u/george)\
**Replies:** 5\
**Last updated:** [6 September 2019 14:26 UTC](https://discourse.nodered.org/t/how-to-make-a-rpm-time-chart-using-hall-effect/15122 "2019-09-06T14:26:22Z")

</div>

I currently have a Raspberry Pi 3, a hall effect sensor and a magnet attached to a bicycle's wheel. I'd like to make a real-time RPM vs Time chart that shows the gradual decrease of the wheel's speed (in RPM). but I don'…

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

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