# General

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

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

**Page:** 876

---

## [Interesting even with LINK nodes](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 31\
**Last updated:** [17 June 2019 14:17 UTC](https://discourse.nodered.org/t/interesting-even-with-link-nodes/12318 "2019-06-17T14:17:40Z")

</div>

I was messing around and using some LINK nodes. I noticed a problem in how you can connect them. Seems you aren't limited to connecting the virtual out to the virtual in. Seems you can connect the virtual out to the R…

---

## [Benefits to running Node-Red in docker vs on Raspberry pi itself](https://discourse.nodered.org/t/benefits-to-running-node-red-in-docker-vs-on-raspberry-pi-itself/12188)

<div class="topic-metadata">

**Author:** [@Arm555](https://discourse.nodered.org/u/Arm555)\
**Replies:** 13\
**Last updated:** [17 June 2019 13:40 UTC](https://discourse.nodered.org/t/benefits-to-running-node-red-in-docker-vs-on-raspberry-pi-itself/12188 "2019-06-17T13:40:34Z")

</div>

I have been working with node-red for a week or so and i like it a lot, but I have never been able to view the console commands as I don’t know where to find them, so i have given up on that. With this in mind, i wonder …

---

## [Different options for Node-red debug](https://discourse.nodered.org/t/different-options-for-node-red-debug/12186)

<div class="topic-metadata">

**Author:** [@sanserg](https://discourse.nodered.org/u/sanserg)\
**Replies:** 5\
**Last updated:** [17 June 2019 13:07 UTC](https://discourse.nodered.org/t/different-options-for-node-red-debug/12186 "2019-06-17T13:07:01Z")

</div>

Hi team, would like if there is any additional features that I can use besides the debug node in node-red to debug an application. Thanks Sandra

---

## [Debug node doesn't work properly when authentication is configured](https://discourse.nodered.org/t/debug-node-doesnt-work-properly-when-authentication-is-configured/12306)

<div class="topic-metadata">

**Author:** [@fangzhu](https://discourse.nodered.org/u/fangzhu)\
**Replies:** 6\
**Last updated:** [17 June 2019 11:21 UTC](https://discourse.nodered.org/t/debug-node-doesnt-work-properly-when-authentication-is-configured/12306 "2019-06-17T11:21:25Z")

</div>

debug node stops displaying information to debug window after we set up authentication. Did anyone encounter this issue? I suspect it is a configuration issue where host name was not set up property, but I have checked a…

---

## [Splitting payload from serial](https://discourse.nodered.org/t/splitting-payload-from-serial/9356)

<div class="topic-metadata">

**Author:** [@SkyNet97](https://discourse.nodered.org/u/SkyNet97)\
**Replies:** 22\
**Last updated:** [17 June 2019 10:47 UTC](https://discourse.nodered.org/t/splitting-payload-from-serial/9356 "2019-06-17T10:47:21Z")

</div>

Hi :slight\_smile: first time on forum, got a question: Trying to split a payload into several outputs: {"payload":"6434,-1.50,kg,26.50,25.50,\\r\\n","port":"/dev/ttyUSB0","\_msgid":"870aa08d.f4a58"} Im betting I need to …

---

## [raspberry\_bacnet](https://discourse.nodered.org/t/raspberry-bacnet/12313)

<div class="topic-metadata">

**Author:** [@mamikakafall](https://discourse.nodered.org/u/mamikakafall)\
**Replies:** 2\
**Last updated:** [17 June 2019 09:30 UTC](https://discourse.nodered.org/t/raspberry-bacnet/12313 "2019-06-17T09:30:01Z")

</div>

hello, I have a raspberry pi 3 B + that retrieves the information from my meter via the output 10. and I now want to send the information from my raspberry to a controller via bacnet with node red. but I do not know wher…

---

## [Impossible to make nodered start automatically at boot](https://discourse.nodered.org/t/impossible-to-make-nodered-start-automatically-at-boot/12245)

<div class="topic-metadata">

**Author:** [@mike67](https://discourse.nodered.org/u/mike67)\
**Replies:** 9\
**Last updated:** [17 June 2019 08:56 UTC](https://discourse.nodered.org/t/impossible-to-make-nodered-start-automatically-at-boot/12245 "2019-06-17T08:56:20Z")

</div>

Hello Itry to make nodered start at boot automatically. As I use node.js 10.15.3, and so, nodered 0.20.5, I can not use PM2 to make nodered start automatically. It seems that pm2 is not compatible with node.js 10.15.3 …

---

## [A bigger problem than the ones I have been mentioning to now](https://discourse.nodered.org/t/a-bigger-problem-than-the-ones-i-have-been-mentioning-to-now/12277)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 10\
**Last updated:** [16 June 2019 21:34 UTC](https://discourse.nodered.org/t/a-bigger-problem-than-the-ones-i-have-been-mentioning-to-now/12277 "2019-06-16T21:34:38Z")

</div>

Recently I have been busy with NR and flows. I've mentioned weird errors, and a few other things which have been brought about because of strange happenings on my flow/s / machines. I have a couple of RPIs. One is a R…

---

## [HTTP In node, how to get the URL itself](https://discourse.nodered.org/t/http-in-node-how-to-get-the-url-itself/12299)

<div class="topic-metadata">

**Author:** [@xilex](https://discourse.nodered.org/u/xilex)\
**Replies:** 2\
**Last updated:** [16 June 2019 20:46 UTC](https://discourse.nodered.org/t/http-in-node-how-to-get-the-url-itself/12299 "2019-06-16T20:46:52Z")

</div>

Hello, I set up several HTTP In nodes with different URLs, such as /check-state, /check-location, etc. Is there a variable to get this URL (ie /check-state or just check-state) so I can use it as a parameter in subsequen…

---

## [How to split msg.payload array data](https://discourse.nodered.org/t/how-to-split-msg-payload-array-data/12293)

<div class="topic-metadata">

**Author:** [@mjbhuyan](https://discourse.nodered.org/u/mjbhuyan)\
**Replies:** 3\
**Last updated:** [16 June 2019 19:12 UTC](https://discourse.nodered.org/t/how-to-split-msg-payload-array-data/12293 "2019-06-16T19:12:08Z")

</div>

I'm try to extract the data from the \[10 ...14\] '12' and '13' as shown in the picture. I'm very new to Node-red , so someone help will be very much appreciated. Thank you!!

---

## [Adding variables](https://discourse.nodered.org/t/adding-variables/12272)

<div class="topic-metadata">

**Author:** [@Duncan](https://discourse.nodered.org/u/Duncan)\
**Replies:** 3\
**Last updated:** [16 June 2019 14:43 UTC](https://discourse.nodered.org/t/adding-variables/12272 "2019-06-16T14:43:52Z")

</div>

I am trying to convert time to total minutes. The result is always 601 instead of 61. What am I doing wrong? thanks! global.set(msg.topic,msg.payload); var hour = global.get("timehour"); var minute = global.get("time…

---

## [Multiple Payload in formated Output](https://discourse.nodered.org/t/multiple-payload-in-formated-output/12283)

<div class="topic-metadata">

**Author:** [@unixweb](https://discourse.nodered.org/u/unixweb)\
**Replies:** 3\
**Last updated:** [16 June 2019 14:04 UTC](https://discourse.nodered.org/t/multiple-payload-in-formated-output/12283 "2019-06-16T14:04:36Z")

</div>

Hello NodeRed User i am new here and i need some help. I am not an expert in coding (Not Programmer) but i understand how works Node-Red. I have a JSON String like this {"\_timestamp": 1551212773, "Temp": 22.80, "Pres…

---

## [Photos not sent through email node](https://discourse.nodered.org/t/photos-not-sent-through-email-node/12238)

<div class="topic-metadata">

**Author:** [@leftShark2019](https://discourse.nodered.org/u/leftShark2019)\
**Replies:** 1\
**Last updated:** [16 June 2019 13:59 UTC](https://discourse.nodered.org/t/photos-not-sent-through-email-node/12238 "2019-06-16T13:59:23Z")

</div>

Hello, beginner question, but my digging hasn't turned anything up so far (I've read three google groups about similar issues and one came very close to my problem--and it directed me to a Node-Red slack; Stack Overflow …

---

## [Trigger after multiple of message](https://discourse.nodered.org/t/trigger-after-multiple-of-message/12262)

<div class="topic-metadata">

**Author:** [@vomov](https://discourse.nodered.org/u/vomov)\
**Replies:** 7\
**Last updated:** [16 June 2019 11:36 UTC](https://discourse.nodered.org/t/trigger-after-multiple-of-message/12262 "2019-06-16T11:36:15Z")

</div>

I've been experimenting with detection, and am trying to weed out false negatives and positives. Essentially, I want a message saying a state has changed when it has been different for the past n messages. Using counter…

---

## [Could not locate the bindings file](https://discourse.nodered.org/t/could-not-locate-the-bindings-file/12258)

<div class="topic-metadata">

**Author:** [@msupra](https://discourse.nodered.org/u/msupra)\
**Replies:** 9\
**Last updated:** [16 June 2019 10:36 UTC](https://discourse.nodered.org/t/could-not-locate-the-bindings-file/12258 "2019-06-16T10:36:16Z")

</div>

Hi all I followed the online tutorial to create your first node. It worked exactly as expected. I then tried to create my own node and everything goes well until I try to use it within node-red. The only difference bet…

---

## [TypeError: Cannot convert undefined or null to object](https://discourse.nodered.org/t/typeerror-cannot-convert-undefined-or-null-to-object/12264)

<div class="topic-metadata">

**Author:** [@charlie32305](https://discourse.nodered.org/u/charlie32305)\
**Replies:** 13\
**Last updated:** [16 June 2019 10:10 UTC](https://discourse.nodered.org/t/typeerror-cannot-convert-undefined-or-null-to-object/12264 "2019-06-16T10:10:58Z")

</div>

My data is a json format. However, there are some null in my data. How can I fix the problem. Can I change null to string. How can I change by using java?

---

## [Confusing error](https://discourse.nodered.org/t/confusing-error/12147)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 27\
**Last updated:** [16 June 2019 07:10 UTC](https://discourse.nodered.org/t/confusing-error/12147 "2019-06-16T07:10:15Z")

</div>

I am getting an error in a flow. {"message":"ReferenceError: IP\_Address is not defined (line 3, col 60)","source":{"id":"ee68941a.7bad58","type":"function","name":"TimeStamp","count":1}} Note: line 3 column 60 Enteri…

---

## [Dynamically control whether the attribute is required](https://discourse.nodered.org/t/dynamically-control-whether-the-attribute-is-required/12253)

<div class="topic-metadata">

**Author:** [@limengsong](https://discourse.nodered.org/u/limengsong)\
**Replies:** 13\
**Last updated:** [15 June 2019 23:09 UTC](https://discourse.nodered.org/t/dynamically-control-whether-the-attribute-is-required/12253 "2019-06-15T23:09:46Z")

</div>

How to dynamically modify the required value of a field to dynamically control whether the attribute is required。 oneditprepare: function () { $("#node-input-payloadType").change(()=\>{ co…

---

## [Creating percentages from responses](https://discourse.nodered.org/t/creating-percentages-from-responses/12097)

<div class="topic-metadata">

**Author:** [@graphicsop](https://discourse.nodered.org/u/graphicsop)\
**Replies:** 30\
**Last updated:** [15 June 2019 22:35 UTC](https://discourse.nodered.org/t/creating-percentages-from-responses/12097 "2019-06-15T22:35:21Z")

</div>

Hi all... Apologies, I'm a very new user with no experience in coding... Does anyone have any ideas on how best to count from 4 responses in a message and create percentage results to be sent via OSC? Would it be poss…

---

## [Formatting output from the Exec Node?](https://discourse.nodered.org/t/formatting-output-from-the-exec-node/12224)

<div class="topic-metadata">

**Author:** [@nodecentral](https://discourse.nodered.org/u/nodecentral)\
**Replies:** 14\
**Last updated:** [15 June 2019 22:08 UTC](https://discourse.nodered.org/t/formatting-output-from-the-exec-node/12224 "2019-06-15T22:08:53Z")

</div>

Hi I am running the following command via the Exec node (against my Docker instance of NR), and would appreciate some help formatting the output ls -R | grep ":$" | sed -e 's/:$//' -e 's/\[^-\]\[^\\/\]\*\\//--/g' -e 's/^/ /…

---

## [Node-Red Sending Unencoded text or filenames over email Instead of photos](https://discourse.nodered.org/t/node-red-sending-unencoded-text-or-filenames-over-email-instead-of-photos/12265)

<div class="topic-metadata">

**Author:** [@leftShark2019](https://discourse.nodered.org/u/leftShark2019)\
**Replies:** 1\
**Last updated:** [15 June 2019 13:57 UTC](https://discourse.nodered.org/t/node-red-sending-unencoded-text-or-filenames-over-email-instead-of-photos/12265 "2019-06-15T13:57:12Z")

</div>

I've automated taking and storing photos with camerapi, I've automated the sending of emails, but I'm not certain how to Send camerapi photos over email. Trying to follow this guide but not sure how to employ JSONata in…

---

## [Node won't install, please help](https://discourse.nodered.org/t/node-wont-install-please-help/11839)

<div class="topic-metadata">

**Author:** [@coleh](https://discourse.nodered.org/u/coleh)\
**Replies:** 24\
**Last updated:** [15 June 2019 13:20 UTC](https://discourse.nodered.org/t/node-wont-install-please-help/11839 "2019-06-15T13:20:26Z")

</div>

I have tried to install widgetlord node so I can use a Pi-Spi 4-20ma current loop sensor to get data from a sensor, I followed instruction but getting this error.. Widgetlord instruction are at: Getting Started with PI-…

---

## [DHT11 is giving an error](https://discourse.nodered.org/t/dht11-is-giving-an-error/12255)

<div class="topic-metadata">

**Author:** [@gosaye\_1](https://discourse.nodered.org/u/gosaye_1)\
**Replies:** 2\
**Last updated:** [15 June 2019 10:01 UTC](https://discourse.nodered.org/t/dht11-is-giving-an-error/12255 "2019-06-15T10:01:04Z")

</div>

my dht11 sensor has bin configured correctly but is not working? it gives a msg value of \_msgid: "5e01a3d1.dfba7c" topic: "rpi-dht11" payload: "0.00" humidity: "0.00" isValid: false errors: 4 sensorid: "dht11" p…

---

## [Save variable to object type](https://discourse.nodered.org/t/save-variable-to-object-type/12254)

<div class="topic-metadata">

**Author:** [@limengsong](https://discourse.nodered.org/u/limengsong)\
**Replies:** 6\
**Last updated:** [15 June 2019 07:09 UTC](https://discourse.nodered.org/t/save-variable-to-object-type/12254 "2019-06-15T07:09:49Z")

</div>

In node-red, how to save a variable to an object structure, not a string. Such as a JSON object

---

## [How to control fan with 2 different set points](https://discourse.nodered.org/t/how-to-control-fan-with-2-different-set-points/12206)

<div class="topic-metadata">

**Author:** [@Jez](https://discourse.nodered.org/u/Jez)\
**Replies:** 3\
**Last updated:** [15 June 2019 01:06 UTC](https://discourse.nodered.org/t/how-to-control-fan-with-2-different-set-points/12206 "2019-06-15T01:06:02Z")

</div>

Im having trouble trying to control a fan based on temp. I want it to start at 27 and stop at 24 but it starts and stops on 24. ive tried a couple of ways but just cant get it to work. \[{"id":"fd535ba.ed8a328","type":"r…

---

## [Node install errors](https://discourse.nodered.org/t/node-install-errors/12190)

<div class="topic-metadata">

**Author:** [@lozzer65](https://discourse.nodered.org/u/lozzer65)\
**Replies:** 3\
**Last updated:** [14 June 2019 22:38 UTC](https://discourse.nodered.org/t/node-install-errors/12190 "2019-06-14T22:38:13Z")

</div>

I have transfered a project to my home machine from work so I can work on it. It shower a list of nodes that needed installing. 2 will not install, but these are not used in any flow. when trying to install I get error…

---

## [Network Packet Loss](https://discourse.nodered.org/t/network-packet-loss/12182)

<div class="topic-metadata">

**Author:** [@caracall](https://discourse.nodered.org/u/caracall)\
**Replies:** 3\
**Last updated:** [14 June 2019 22:25 UTC](https://discourse.nodered.org/t/network-packet-loss/12182 "2019-06-14T22:25:41Z")

</div>

Hello, I was just wondering if is it possible to calculate packet loss of a stream of data transmitted through a LAN network using some nodes in Node-RED. I have two machines on a LAN network, each has Node-RED running …

---

## [Do flows stop working if you don’t click deploy on other flows you edited?](https://discourse.nodered.org/t/do-flows-stop-working-if-you-don-t-click-deploy-on-other-flows-you-edited/12088)

<div class="topic-metadata">

**Author:** [@Arm555](https://discourse.nodered.org/u/Arm555)\
**Replies:** 7\
**Last updated:** [14 June 2019 22:10 UTC](https://discourse.nodered.org/t/do-flows-stop-working-if-you-don-t-click-deploy-on-other-flows-you-edited/12088 "2019-06-14T22:10:37Z")

</div>

I have a flow I am still working on and that is independent from another flow that detects if away. However I didn’t click deploy on that testing flow and right now I was expecting my away flow to trigger and nothing, no…

---

## [Need an email checker node](https://discourse.nodered.org/t/need-an-email-checker-node/12234)

<div class="topic-metadata">

**Author:** [@mdiehl](https://discourse.nodered.org/u/mdiehl)\
**Replies:** 3\
**Last updated:** [14 June 2019 18:58 UTC](https://discourse.nodered.org/t/need-an-email-checker-node/12234 "2019-06-14T18:58:20Z")

</div>

Hi, I'm wanting to build a dashboard that displays the number of new/old emails from various accounts and folders. I don't want NR to actually download the messages, just tell me how many there are. I've looked, but m…

---

## [Node to authenticate with AD?](https://discourse.nodered.org/t/node-to-authenticate-with-ad/11809)

<div class="topic-metadata">

**Author:** [@RobP](https://discourse.nodered.org/u/RobP)\
**Replies:** 3\
**Last updated:** [14 June 2019 18:58 UTC](https://discourse.nodered.org/t/node-to-authenticate-with-ad/11809 "2019-06-14T18:58:19Z")

</div>

I am writing an app in node red that has a GUI component that allows humans to login to a web page. To login, I want to authenticate the user against an existing AD using ADFS. Is there a node that allows me to do this? …

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

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