# General

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

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

**Page:** 942

---

## [How to define trigger time value programmatically](https://discourse.nodered.org/t/how-to-define-trigger-time-value-programmatically/3838)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 6\
**Last updated:** [19 October 2018 06:07 UTC](https://discourse.nodered.org/t/how-to-define-trigger-time-value-programmatically/3838 "2018-10-19T06:07:34Z")

</div>

I have an electric blanket, controlled by a simple RF socket switch (rfx-PT2262). Using the switch node, I can match "msg.bri==1" to a trigger set to 1 hour, and "msg.bri==2" to a trigger set to 2 hours, etc. This way I…

---

## [Correct Filename to load from remote share drive](https://discourse.nodered.org/t/correct-filename-to-load-from-remote-share-drive/4047)

<div class="topic-metadata">

**Author:** [@xx\_Nexus\_xx](https://discourse.nodered.org/u/xx_Nexus_xx)\
**Replies:** 8\
**Last updated:** [18 October 2018 22:53 UTC](https://discourse.nodered.org/t/correct-filename-to-load-from-remote-share-drive/4047 "2018-10-18T22:53:51Z")

</div>

Hi , I'm using motionEye to capture motion events and to store the evidence as jpg and mp4. I'm able to transfer the filename (\\\\192.168.1.173/share/camera1/LastMotion.mp4) to Node-Red. This filename works when used in …

---

## [How to access a lookup table from \`\`\`Function\`\`\` Node](https://discourse.nodered.org/t/how-to-access-a-lookup-table-from-function-node/4063)

<div class="topic-metadata">

**Author:** [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Replies:** 11\
**Last updated:** [18 October 2018 19:44 UTC](https://discourse.nodered.org/t/how-to-access-a-lookup-table-from-function-node/4063 "2018-10-18T19:44:40Z")

</div>

I am wondering where to begin if I want to access a lookup table on my computer (example .csv) that would have two columns and I could match up a know variable passing through a function node on the payload and assign a …

---

## [Chromium driving me nuts](https://discourse.nodered.org/t/chromium-driving-me-nuts/4096)

<div class="topic-metadata">

**Author:** [@StrongTown](https://discourse.nodered.org/u/StrongTown)\
**Replies:** 0\
**Last updated:** [18 October 2018 18:02 UTC](https://discourse.nodered.org/t/chromium-driving-me-nuts/4096 "2018-10-18T18:02:15Z")

</div>

I have installed Stretch on my rPi3 recently however I continue to have a long term annoying challenge with Chromium, just as I did with Jessie (pretty much since I got this Pi 2 yrs ago). I do see many others with the …

---

## [NR and Dashboard Passwords](https://discourse.nodered.org/t/nr-and-dashboard-passwords/3185)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 3\
**Last updated:** [18 October 2018 13:49 UTC](https://discourse.nodered.org/t/nr-and-dashboard-passwords/3185 "2018-10-18T13:49:49Z")

</div>

Something just occurred to me. Clearly I know how to go into code and generate passwords for users.. but normally a user or admin can change their own password without getting technical - I don't see how to do this in NR…

---

## [Modbus negative numbers](https://discourse.nodered.org/t/modbus-negative-numbers/4074)

<div class="topic-metadata">

**Author:** [@RickW](https://discourse.nodered.org/u/RickW)\
**Replies:** 6\
**Last updated:** [18 October 2018 09:30 UTC](https://discourse.nodered.org/t/modbus-negative-numbers/4074 "2018-10-18T09:30:19Z")

</div>

I need some help please to get Modbus numbers reading correctly when they go negative. When the output from my modbus device goes negative it adds 65535 to the number. I have tried various settings in a few different M…

---

## [Parsing varying attributes from an MQTT stream](https://discourse.nodered.org/t/parsing-varying-attributes-from-an-mqtt-stream/4066)

<div class="topic-metadata">

**Author:** [@jgaudu](https://discourse.nodered.org/u/jgaudu)\
**Replies:** 2\
**Last updated:** [18 October 2018 01:48 UTC](https://discourse.nodered.org/t/parsing-varying-attributes-from-an-mqtt-stream/4066 "2018-10-18T01:48:19Z")

</div>

Hello all, New guy here. Thanks in advance for any help you can offer. I'm trying to ingest an MQTT stream and extract / remap some of the values. I've only used msg.payload.split but can't quite get the formatting rig…

---

## [Node-red Crashing- Could it be node-red-contrib-cast](https://discourse.nodered.org/t/node-red-crashing-could-it-be-node-red-contrib-cast/4014)

<div class="topic-metadata">

**Author:** [@Unpuertomex](https://discourse.nodered.org/u/Unpuertomex)\
**Replies:** 7\
**Last updated:** [18 October 2018 01:21 UTC](https://discourse.nodered.org/t/node-red-crashing-could-it-be-node-red-contrib-cast/4014 "2018-10-18T01:21:42Z")

</div>

Hi, for the last several days node-red has been crashing throughout the day. I have not updated any node nor am I showing any nodes need to be updated. below is the log that shows when I start node-red up until it crashe…

---

## [Help with runtime-API!](https://discourse.nodered.org/t/help-with-runtime-api/147)

<div class="topic-metadata">

**Author:** [@selo](https://discourse.nodered.org/u/selo)\
**Replies:** 9\
**Last updated:** [17 October 2018 14:09 UTC](https://discourse.nodered.org/t/help-with-runtime-api/147 "2018-10-17T14:09:00Z")

</div>

Hello everyone, I have embedded nodered. I’m working with the runtime-api. I can launch the runtime and a flow. The flow is: \[inject-\> function (n + n) -\> debug\] (mm, yes, this is why I do not work at NASA ;-)) I get…

---

## [Node-red stuck on while loop in function node](https://discourse.nodered.org/t/node-red-stuck-on-while-loop-in-function-node/2077)

<div class="topic-metadata">

**Author:** [@RingoAl](https://discourse.nodered.org/u/RingoAl)\
**Replies:** 10\
**Last updated:** [17 October 2018 13:02 UTC](https://discourse.nodered.org/t/node-red-stuck-on-while-loop-in-function-node/2077 "2018-10-17T13:02:58Z")

</div>

Hello. I've such test flow for async actions in function node: Function code is: var success=0; node.send(\[{"payload":1},null\]); do { success=flow.get("success"); } while (!success) retu…

---

## [Msg root to file](https://discourse.nodered.org/t/msg-root-to-file/3943)

<div class="topic-metadata">

**Author:** [@injector22](https://discourse.nodered.org/u/injector22)\
**Replies:** 10\
**Last updated:** [17 October 2018 12:23 UTC](https://discourse.nodered.org/t/msg-root-to-file/3943 "2018-10-17T12:23:39Z")

</div>

I'm using the Azure IoT hub palette to resgister a device which responds with a key. This key I'm trying to save into a file but the Azure node responds back with msg and not msg.payload so the file node is not catching …

---

## [PR - Show startup messages when logging level above \[info\]](https://discourse.nodered.org/t/pr-show-startup-messages-when-logging-level-above-info/4050)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 0\
**Last updated:** [17 October 2018 09:55 UTC](https://discourse.nodered.org/t/pr-show-startup-messages-when-logging-level-above-info/4050 "2018-10-17T09:55:21Z")

</div>

When you startup Node-RED it displays a lot of great info about the system but it does it with the \[info\] tag. This is all well and good, but several nodes (the mqtt nodes for example) spit out \[info\] messages too which …

---

## [Removing nodes, but still showing as used in Palette](https://discourse.nodered.org/t/removing-nodes-but-still-showing-as-used-in-palette/4037)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 2\
**Last updated:** [16 October 2018 21:23 UTC](https://discourse.nodered.org/t/removing-nodes-but-still-showing-as-used-in-palette/4037 "2018-10-16T21:23:43Z")

</div>

I'm getting some strange / unpredictable behaviours using node-red-contrib-nest. I may be hitting up against Nest API limits, but thanks to the amazing lack of API quota information in the Nest documentation and in my de…

---

## [Trying to set msg.payload.target\_temperature\_c](https://discourse.nodered.org/t/trying-to-set-msg-payload-target-temperature-c/4013)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 7\
**Last updated:** [16 October 2018 19:37 UTC](https://discourse.nodered.org/t/trying-to-set-msg-payload-target-temperature-c/4013 "2018-10-16T19:37:13Z")

</div>

This is clearly a problem with my understanding, but I'm stumped! I'm basically following the example in this node red documentation page, bottom of the section "Changing message properties", except I'm injecting a nume…

---

## [Not getting msg from function node](https://discourse.nodered.org/t/not-getting-msg-from-function-node/4029)

<div class="topic-metadata">

**Author:** [@injector22](https://discourse.nodered.org/u/injector22)\
**Replies:** 2\
**Last updated:** [16 October 2018 14:20 UTC](https://discourse.nodered.org/t/not-getting-msg-from-function-node/4029 "2018-10-16T14:20:17Z")

</div>

I'm new to node so I'm pretty sure I'm doing something wrong. I'm trying to take the error, status, or deviceinfo based on what is returned by the create function. If I log them to the console they return fine, but when …

---

## [Working with Array of Strings](https://discourse.nodered.org/t/working-with-array-of-strings/4028)

<div class="topic-metadata">

**Author:** [@ev.heys](https://discourse.nodered.org/u/ev.heys)\
**Replies:** 4\
**Last updated:** [16 October 2018 11:54 UTC](https://discourse.nodered.org/t/working-with-array-of-strings/4028 "2018-10-16T11:54:32Z")

</div>

Hi, I'm trying to write an HTML site that will loop through images from a list of urls. Currently I have it set up that the file list (filenames.txt) is imported from my dropbox (I am running my instance on IBM so I don…

---

## [Parse error - insert into MySQL](https://discourse.nodered.org/t/parse-error-insert-into-mysql/4027)

<div class="topic-metadata">

**Author:** [@jaguar](https://discourse.nodered.org/u/jaguar)\
**Replies:** 3\
**Last updated:** [16 October 2018 08:58 UTC](https://discourse.nodered.org/t/parse-error-insert-into-mysql/4027 "2018-10-16T08:58:04Z")

</div>

Hi All, I read somewhere that the MySQL connector may not be able to process a multiple column insert into MySQL and would appreciate confirmation if that is the case. I have an incoming string comprised of around 35 va…

---

## [Connect sensor with azure iot hub](https://discourse.nodered.org/t/connect-sensor-with-azure-iot-hub/3909)

<div class="topic-metadata">

**Author:** [@manal](https://discourse.nodered.org/u/manal)\
**Replies:** 9\
**Last updated:** [16 October 2018 02:02 UTC](https://discourse.nodered.org/t/connect-sensor-with-azure-iot-hub/3909 "2018-10-16T02:02:20Z")

</div>

hi all, I am trying to connect rpi ds18b20 with azure iot hub, but the iot hub is disconnected all the time even I entered the host name. here, I am trying with real sensor , it is not simulated. could you help me to k…

---

## [Exec node question](https://discourse.nodered.org/t/exec-node-question/3992)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 18\
**Last updated:** [15 October 2018 20:13 UTC](https://discourse.nodered.org/t/exec-node-question/3992 "2018-10-15T20:13:43Z")

</div>

In Node Red I can start something running using exec node..spawn mode gives correct pid... but... I want to kill the running program via its PID. I can see the PID number in the status but nothing seems to come out of a…

---

## [New and no glue @ and-gate node](https://discourse.nodered.org/t/new-and-no-glue-and-gate-node/4003)

<div class="topic-metadata">

**Author:** [@k0nti](https://discourse.nodered.org/u/k0nti)\
**Replies:** 0\
**Last updated:** [15 October 2018 18:33 UTC](https://discourse.nodered.org/t/new-and-no-glue-and-gate-node/4003 "2018-10-15T18:33:39Z")

</div>

Hi Guys, My Project is home Automation with Openhab and Node Red as rule engine. I'm trying to get an simple and logic working.and have my Problems :thinking: Here is my first flow - I think i don't understand not the…

---

## [Watchdog to restart NR](https://discourse.nodered.org/t/watchdog-to-restart-nr/3983)

<div class="topic-metadata">

**Author:** [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Replies:** 5\
**Last updated:** [15 October 2018 16:31 UTC](https://discourse.nodered.org/t/watchdog-to-restart-nr/3983 "2018-10-15T16:31:47Z")

</div>

I have below a simplified flow for monitoring that certain messages, filtered out by the Switch Node, are continuously received from a specific equipment (hw connected via serial port in another flow but the same NR). M…

---

## [I am a new user of node red, i need help](https://discourse.nodered.org/t/i-am-a-new-user-of-node-red-i-need-help/3876)

<div class="topic-metadata">

**Author:** [@Jlearning](https://discourse.nodered.org/u/Jlearning)\
**Replies:** 24\
**Last updated:** [15 October 2018 10:11 UTC](https://discourse.nodered.org/t/i-am-a-new-user-of-node-red-i-need-help/3876 "2018-10-15T10:11:07Z")

</div>

i am working on a project that need to control a device via ble uart. i am using generic ble nodes on node red. my flow is as follows: timestamp -\> function where i send the buffer as msg.payload -\> generic-ble -\> debug…

---

## [Deploy from dashboard](https://discourse.nodered.org/t/deploy-from-dashboard/3959)

<div class="topic-metadata">

**Author:** [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Replies:** 3\
**Last updated:** [15 October 2018 10:10 UTC](https://discourse.nodered.org/t/deploy-from-dashboard/3959 "2018-10-15T10:10:20Z")

</div>

Just a quick question if any one knows the answer???? Can you deploy from the dashboard???? Many thanks

---

## [Context storage - Unhandled promise rejection](https://discourse.nodered.org/t/context-storage-unhandled-promise-rejection/3975)

<div class="topic-metadata">

**Author:** [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Replies:** 2\
**Last updated:** [14 October 2018 17:42 UTC](https://discourse.nodered.org/t/context-storage-unhandled-promise-rejection/3975 "2018-10-14T17:42:56Z")

</div>

I wanted to share an initialization issue with node\_RED and how it has been recovered. Issue: 14 Oct 10:56:45 - \[info\] Node-RED version: v0.19.1 14 Oct 10:56:45 - \[info\] Node.js version: v8.11.1 14 Oct 10:56:45 - \[inf…

---

## [Create node which displays input message content](https://discourse.nodered.org/t/create-node-which-displays-input-message-content/3682)

<div class="topic-metadata">

**Author:** [@malinthasa](https://discourse.nodered.org/u/malinthasa)\
**Replies:** 15\
**Last updated:** [14 October 2018 10:08 UTC](https://discourse.nodered.org/t/create-node-which-displays-input-message-content/3682 "2018-10-14T10:08:01Z")

</div>

Hi, I need to create a node or area which displays the content of the input event to that node. This requirement is not a dashboard requirement. I have added an scketch of the expected node. Is there a way to do this. …

---

## [Help on http page / project](https://discourse.nodered.org/t/help-on-http-page-project/3940)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 6\
**Last updated:** [14 October 2018 09:23 UTC](https://discourse.nodered.org/t/help-on-http-page-project/3940 "2018-10-14T09:23:18Z")

</div>

Hi! I am looking for someone who can help me a little. Trying to create a dynamic web page with external input for image to show and external text input To be honest i "need" to finish it for tomorrow afternoon and i …

---

## [Heartbeat Object Inserted into SQlite DB](https://discourse.nodered.org/t/heartbeat-object-inserted-into-sqlite-db/3957)

<div class="topic-metadata">

**Author:** [@MrDmx1024](https://discourse.nodered.org/u/MrDmx1024)\
**Replies:** 11\
**Last updated:** [13 October 2018 23:35 UTC](https://discourse.nodered.org/t/heartbeat-object-inserted-into-sqlite-db/3957 "2018-10-13T23:35:12Z")

</div>

Hello all! I am a bit new to this platform and had a question. I have a couple installations of Node-Red sending a "Heartbeat" message to a "Server" version of Node-Red to just check in and let me know they are alive. …

---

## [Decimal to float conversion block](https://discourse.nodered.org/t/decimal-to-float-conversion-block/3921)

<div class="topic-metadata">

**Author:** [@Madhumati](https://discourse.nodered.org/u/Madhumati)\
**Replies:** 8\
**Last updated:** [13 October 2018 13:56 UTC](https://discourse.nodered.org/t/decimal-to-float-conversion-block/3921 "2018-10-13T13:56:06Z")

</div>

Hello, Is there any ready function for Decimal to Real Float value conversion? In below flow case, please check the output value i.e decimal , I want it to be displayed on dashboard as Float ( that is actually sent valu…

---

## [Wrong value in serial](https://discourse.nodered.org/t/wrong-value-in-serial/3946)

<div class="topic-metadata">

**Author:** [@karthhic](https://discourse.nodered.org/u/karthhic)\
**Replies:** 4\
**Last updated:** [13 October 2018 10:50 UTC](https://discourse.nodered.org/t/wrong-value-in-serial/3946 "2018-10-13T10:50:11Z")

</div>

my esp8266 reads the temperature sensor and print the output in serial. In arduino serial monitor the output is correct, but in node red its showing -127 all the time. Thank you in advance, Karthhic

---

## [Node RED crashing because of Request body larger than maxBodyLength limit](https://discourse.nodered.org/t/node-red-crashing-because-of-request-body-larger-than-maxbodylength-limit/3932)

<div class="topic-metadata">

**Author:** [@Lace](https://discourse.nodered.org/u/Lace)\
**Replies:** 7\
**Last updated:** [12 October 2018 22:12 UTC](https://discourse.nodered.org/t/node-red-crashing-because-of-request-body-larger-than-maxbodylength-limit/3932 "2018-10-12T22:12:07Z")

</div>

I have the following flow mqtt in -\> function node set http header -\> http node (POST request) Randomly after some time Node RED crashes, the following log is created: 12 Oct 15:05:36 - \[error\] \[http request:20f2167a.d…

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

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