# Latest

**URL:** https://discourse.nodered.org/latest.md?page=1266

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

**Page:** 1267

---

## [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…

---

## [Template for "how to share code"](https://discourse.nodered.org/t/template-for-how-to-share-code/12227)

<div class="topic-metadata">

**Author:** [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Replies:** 1\
**Last updated:** [16 June 2019 04:30 UTC](https://discourse.nodered.org/t/template-for-how-to-share-code/12227 "2019-06-16T04:30:18Z")

</div>

There is a plugin for discourse called Canned Replies Can it be added here and fill with template to make the answering to code sharing issue as easy as one or two clicks? Might be useful for other templates too like "…

---

## [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…

---

## [How to retrieve data from ui dropdown on button click](https://discourse.nodered.org/t/how-to-retrieve-data-from-ui-dropdown-on-button-click/12259)

<div class="topic-metadata">

**Author:** [@nassima100](https://discourse.nodered.org/u/nassima100)\
**Replies:** 6\
**Last updated:** [15 June 2019 13:48 UTC](https://discourse.nodered.org/t/how-to-retrieve-data-from-ui-dropdown-on-button-click/12259 "2019-06-15T13:48:55Z")

</div>

Hello, I want to retrieve the selected data from 2 ui dropdowns when I click on an ui button, is that possible ?

---

## [Tooltip in UI template](https://discourse.nodered.org/t/tooltip-in-ui-template/12180)

<div class="topic-metadata">

**Author:** [@mdresf](https://discourse.nodered.org/u/mdresf)\
**Replies:** 2\
**Last updated:** [15 June 2019 13:21 UTC](https://discourse.nodered.org/t/tooltip-in-ui-template/12180 "2019-06-15T13:21:26Z")

</div>

Hello, I would like to have a tooltip that appears when the mouse is on a row of a table. The text of the tooltip is in row.description. I have tried several solutions with hover but I have not managed to use it with n…

---

## [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…

---

## [Switch Node with Limited 'on' time](https://discourse.nodered.org/t/switch-node-with-limited-on-time/11842)

<div class="topic-metadata">

**Author:** [@rholmesa](https://discourse.nodered.org/u/rholmesa)\
**Replies:** 10\
**Last updated:** [15 June 2019 09:00 UTC](https://discourse.nodered.org/t/switch-node-with-limited-on-time/11842 "2019-06-15T09:00:00Z")

</div>

Hi, Does anyone know of a ui-node like the switch node, where there is a time limit for the 'on' time. For example I wish to switch on an irrigation system for a maximum of 5 minutes. This is easy enough to schedule us…

---

## [Node config screen - Show details of a table row](https://discourse.nodered.org/t/node-config-screen-show-details-of-a-table-row/11958)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 17\
**Last updated:** [15 June 2019 08:10 UTC](https://discourse.nodered.org/t/node-config-screen-show-details-of-a-table-row/11958 "2019-06-15T08:10:04Z")

</div>

Hi folks, In my newest node config screen, a table is displayed. Each row in that table can have a different number of properties/columns. So I show the common properties/columns in the table, but I need to be able to…

---

## [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? …

---

## [Custom nodes deleted on palette install](https://discourse.nodered.org/t/custom-nodes-deleted-on-palette-install/12114)

<div class="topic-metadata">

**Author:** [@Andydesjardins](https://discourse.nodered.org/u/Andydesjardins)\
**Replies:** 4\
**Last updated:** [14 June 2019 18:22 UTC](https://discourse.nodered.org/t/custom-nodes-deleted-on-palette-install/12114 "2019-06-14T18:22:37Z")

</div>

Hello, We created 3 custom nodes (that are not to be shared on github). They work well in our environment. But each time we install a palette, they get deleted. I have to recover them throught git. Anyone has any clue …

---

## [Flow won't deploy](https://discourse.nodered.org/t/flow-wont-deploy/12203)

<div class="topic-metadata">

**Author:** [@leftShark2019](https://discourse.nodered.org/u/leftShark2019)\
**Replies:** 6\
**Last updated:** [14 June 2019 15:53 UTC](https://discourse.nodered.org/t/flow-wont-deploy/12203 "2019-06-14T15:53:19Z")

</div>

I'm following an online guide to create a flow that takes pictures using my Raspberry pi. Once I create the nodes and customise them appropriately, the IDE won't let me Deploy the changes. If it helps, I'm using Node.j…

---

## [Distributed Node-RED](https://discourse.nodered.org/t/distributed-node-red/12239)

<div class="topic-metadata">

**Author:** [@caracall](https://discourse.nodered.org/u/caracall)\
**Replies:** 1\
**Last updated:** [14 June 2019 15:01 UTC](https://discourse.nodered.org/t/distributed-node-red/12239 "2019-06-14T15:01:48Z")

</div>

I am using Distributed Node-RED, I set up a simple distributed flow over two machines. This flow consists of one inject node and one debug node, each of them running on different machine. The inject node sends timestamp …

---

## [Mysterious Startup notices](https://discourse.nodered.org/t/mysterious-startup-notices/11951)

<div class="topic-metadata">

**Author:** [@athome](https://discourse.nodered.org/u/athome)\
**Replies:** 12\
**Last updated:** [14 June 2019 14:37 UTC](https://discourse.nodered.org/t/mysterious-startup-notices/11951 "2019-06-14T14:37:01Z")

</div>

I am trying to configure a Node-RED startup flow and have tried both of these techniques: https://cookbook.nodered.org/basic/trigger-on-start https://flows.nodered.org/node/node-red-contrib-startup-trigger It is inter…

---

## [GPIO processing speed](https://discourse.nodered.org/t/gpio-processing-speed/12191)

<div class="topic-metadata">

**Author:** [@Carloj](https://discourse.nodered.org/u/Carloj)\
**Replies:** 21\
**Last updated:** [14 June 2019 12:36 UTC](https://discourse.nodered.org/t/gpio-processing-speed/12191 "2019-06-14T12:36:43Z")

</div>

HI, Im trying to count the amount of signals of a stamping machine. Every 200miliseconds there is a signal. Is this possible to count within node-red and a Raspberry PI 3b+? or is the processing time to count a signal m…

---

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

<div class="topic-metadata">

**Author:** [@marc](https://discourse.nodered.org/u/marc)\
**Replies:** 4\
**Last updated:** [14 June 2019 09:33 UTC](https://discourse.nodered.org/t/node-red-does-not-start/12219 "2019-06-14T09:33:13Z")

</div>

hello, Could someone help me with the following question? I first tried to install node red under visual code (extension Node-RED Jun Han). this didn't work. Then via cmd of windows and this didn't work either. I recei…

---

## [Port label tab missing at Function node](https://discourse.nodered.org/t/port-label-tab-missing-at-function-node/12171)

<div class="topic-metadata">

**Author:** [@muharremsari](https://discourse.nodered.org/u/muharremsari)\
**Replies:** 4\
**Last updated:** [14 June 2019 09:27 UTC](https://discourse.nodered.org/t/port-label-tab-missing-at-function-node/12171 "2019-06-14T09:27:57Z")

</div>

I will create Email Alerts & Notifications for events but portlable missing at Function node. I use function node for message class eg. warning, critical, normal.

---

## [Basics,Faster LED Blink,Set/Get function: mosquito into an elephant](https://discourse.nodered.org/t/basics-faster-led-blink-set-get-function-mosquito-into-an-elephant/12168)

<div class="topic-metadata">

**Author:** [@RoundTriangle](https://discourse.nodered.org/u/RoundTriangle)\
**Replies:** 15\
**Last updated:** [14 June 2019 09:27 UTC](https://discourse.nodered.org/t/basics-faster-led-blink-set-get-function-mosquito-into-an-elephant/12168 "2019-06-14T09:27:44Z")

</div>

Hey Dear Node-Red Forum. I am still new to Node-Red I have serveral questions, for you maybe basic, maybe i am just stupid, but its making me crazy(a chat would be nice instead of this thousend of topics.).. anyway: I…

---

## [Convert msg.object to a new msg.object (function)](https://discourse.nodered.org/t/convert-msg-object-to-a-new-msg-object-function/12141)

<div class="topic-metadata">

**Author:** [@E\_T](https://discourse.nodered.org/u/E_T)\
**Replies:** 4\
**Last updated:** [14 June 2019 04:52 UTC](https://discourse.nodered.org/t/convert-msg-object-to-a-new-msg-object-function/12141 "2019-06-14T04:52:12Z")

</div>

Hallo, i need an msg-object for the World-Map like this: {"name":"Test", "lat":52.31, "lon":7.05} i got an msg-object like this: My idea var payload=msg.payload; var newMsg = {"name":"Test", "lat":52.31, "lon":7.…

[Previous page](https://discourse.nodered.org/latest.md?page=1265)

[Next page](https://discourse.nodered.org/latest.md?page=1267)
