# Latest

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

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

**Page:** 1341

---

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

---

## [Access Node properties](https://discourse.nodered.org/t/access-node-properties/5445)

<div class="topic-metadata">

**Author:** [@Kampfwurst](https://discourse.nodered.org/u/Kampfwurst)\
**Replies:** 1\
**Last updated:** [3 December 2018 17:16 UTC](https://discourse.nodered.org/t/access-node-properties/5445 "2018-12-03T17:16:07Z")

</div>

Hi, I have a question. Im using the OPCUA IIoT Server ASO node. I would like to create a subflow and change the "Node-Id" and the "Reference Id" from outside of the subflow. How can i do this? Thanks Chris.

---

## [Serial && status node on boot / start](https://discourse.nodered.org/t/serial-status-node-on-boot-start/5419)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 6\
**Last updated:** [3 December 2018 17:08 UTC](https://discourse.nodered.org/t/serial-status-node-on-boot-start/5419 "2018-12-03T17:08:06Z")

</div>

On boot of my raspberry and node red i want to know if my serial port is connected to my arduino. So i connected the status node to the serial port and to mqtt, but no output Then i connected the debug to the status no…

---

## [Persistent data in the dashboard UI template](https://discourse.nodered.org/t/persistent-data-in-the-dashboard-ui-template/5434)

<div class="topic-metadata">

**Author:** [@abra](https://discourse.nodered.org/u/abra)\
**Replies:** 3\
**Last updated:** [3 December 2018 16:49 UTC](https://discourse.nodered.org/t/persistent-data-in-the-dashboard-ui-template/5434 "2018-12-03T16:49:27Z")

</div>

What happens with the data from the UI in the dashboard template node when leaving the browser page and returning to it? Or when changing the visible flow inside the node-red dashboard? For instance if there is a table …

---

## [I have some questions relating database](https://discourse.nodered.org/t/i-have-some-questions-relating-database/2323)

<div class="topic-metadata">

**Author:** [@eleckits](https://discourse.nodered.org/u/eleckits)\
**Replies:** 57\
**Last updated:** [3 December 2018 12:41 UTC](https://discourse.nodered.org/t/i-have-some-questions-relating-database/2323 "2018-12-03T12:41:40Z")

</div>

Hi, there I am very new to node red and this is first message here I want to build database then want to store some values inside database and then want to read database and compare with inject value then if it is same…

---

## [Cannot access Mosquitto over Internet through cloudflare](https://discourse.nodered.org/t/cannot-access-mosquitto-over-internet-through-cloudflare/5413)

<div class="topic-metadata">

**Author:** [@Ian](https://discourse.nodered.org/u/Ian)\
**Replies:** 5\
**Last updated:** [3 December 2018 11:49 UTC](https://discourse.nodered.org/t/cannot-access-mosquitto-over-internet-through-cloudflare/5413 "2018-12-03T11:49:00Z")

</div>

Hi Possibly off topic but I struggling with a problem I have been unable to resolve. My setup:- Node-Red on a raspberry Pi. My mosquitto mqtt is on the same Pi. Emoncms self hosted on raspberry Pi. The access to bo…

---

## [Bank Account Connected Glow Orb](https://discourse.nodered.org/t/bank-account-connected-glow-orb/5412)

<div class="topic-metadata">

**Author:** [@Sheaffy](https://discourse.nodered.org/u/Sheaffy)\
**Replies:** 0\
**Last updated:** [2 December 2018 16:39 UTC](https://discourse.nodered.org/t/bank-account-connected-glow-orb/5412 "2018-12-02T16:39:34Z")

</div>

So I recently developed a new node for node-red called node-red-contrib-monzo and have connected up a gloworb from andysc that will change colours depending on how much money I have spent that day! npm : https://www.npm…

---

## [How do I set the md-card settings in the ui\_template?](https://discourse.nodered.org/t/how-do-i-set-the-md-card-settings-in-the-ui-template/5431)

<div class="topic-metadata">

**Author:** [@Georg25](https://discourse.nodered.org/u/Georg25)\
**Replies:** 0\
**Last updated:** [3 December 2018 09:58 UTC](https://discourse.nodered.org/t/how-do-i-set-the-md-card-settings-in-the-ui-template/5431 "2018-12-03T09:58:04Z")

</div>

Hi, how can I set the width of the md-card to 100vw default: this is my code: \> \<div\> \> \<style\> \> #RobotDashboard\_Column2, \> #RobotDashboard\_Column2 md-card { \> background: rgba(205,10…

---

## [Python 3 function node and global variables](https://discourse.nodered.org/t/python-3-function-node-and-global-variables/5327)

<div class="topic-metadata">

**Author:** [@tristan](https://discourse.nodered.org/u/tristan)\
**Replies:** 2\
**Last updated:** [1 December 2018 02:40 UTC](https://discourse.nodered.org/t/python-3-function-node-and-global-variables/5327 "2018-12-01T02:40:43Z")

</div>

I'm experimenting with the python 3 function node - trying to to pass global variables between two functions. There is no global.set() or global.get() exact equivalent in python. Just wondering what syntax could be try. …

---

## [README - no longer showing on node-red website](https://discourse.nodered.org/t/readme-no-longer-showing-on-node-red-website/5404)

<div class="topic-metadata">

**Author:** [@Sheaffy](https://discourse.nodered.org/u/Sheaffy)\
**Replies:** 1\
**Last updated:** [2 December 2018 21:22 UTC](https://discourse.nodered.org/t/readme-no-longer-showing-on-node-red-website/5404 "2018-12-02T21:22:48Z")

</div>

Hi! not sure what's happened here, however the readme is not showing on node-red (Link) it shows just fine on npm (Link). I only just noticed this morning. Does anyone have any ideas?

---

## [Http-request node in core produces fault](https://discourse.nodered.org/t/http-request-node-in-core-produces-fault/5270)

<div class="topic-metadata">

**Author:** [@hoekbrwr](https://discourse.nodered.org/u/hoekbrwr)\
**Replies:** 8\
**Last updated:** [2 December 2018 20:24 UTC](https://discourse.nodered.org/t/http-request-node-in-core-produces-fault/5270 "2018-12-02T20:24:15Z")

</div>

I have a node which has been broken. Now I get an error message like this: TypeError: tls.convertNPNProtocols is not a function I have done a full upgrade on my Raspi, but ran in the end into a few unsolvable problems a…

---

## [The best way to notice lack of message?](https://discourse.nodered.org/t/the-best-way-to-notice-lack-of-message/5282)

<div class="topic-metadata">

**Author:** [@Marooned](https://discourse.nodered.org/u/Marooned)\
**Replies:** 20\
**Last updated:** [2 December 2018 19:43 UTC](https://discourse.nodered.org/t/the-best-way-to-notice-lack-of-message/5282 "2018-12-02T19:43:57Z")

</div>

Hi there What will you propose to inform user if the message with known topic won't show for some time? I'm using rpi-ds18b20 node to periodically read all my DS' sensors. The network is quite big (I know, 1w was not d…

---

## [Export data to pdf file](https://discourse.nodered.org/t/export-data-to-pdf-file/5090)

<div class="topic-metadata">

**Author:** [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Replies:** 3\
**Last updated:** [2 December 2018 19:35 UTC](https://discourse.nodered.org/t/export-data-to-pdf-file/5090 "2018-12-02T19:35:18Z")

</div>

i wonder if it's possible to save data typed from a modal to a pdf file ? i did something similar with .csv file. i have searched a lot about pdf in node-red but nothing is clear yet.

---

## [Using node-RED to mock out restful webservices](https://discourse.nodered.org/t/using-node-red-to-mock-out-restful-webservices/5414)

<div class="topic-metadata">

**Author:** [@anwarbashir](https://discourse.nodered.org/u/anwarbashir)\
**Replies:** 4\
**Last updated:** [2 December 2018 19:22 UTC](https://discourse.nodered.org/t/using-node-red-to-mock-out-restful-webservices/5414 "2018-12-02T19:22:26Z")

</div>

I am trying to create a restful webservice that returns parameters. I found a tutorial that I think would assist me but I am unable to find the file storage node, see point 3 https://www.arhs-group.com/using-node-red-to…

---

## [Reading max31855](https://discourse.nodered.org/t/reading-max31855/5394)

<div class="topic-metadata">

**Author:** [@mason08](https://discourse.nodered.org/u/mason08)\
**Replies:** 2\
**Last updated:** [2 December 2018 14:51 UTC](https://discourse.nodered.org/t/reading-max31855/5394 "2018-12-02T14:51:42Z")

</div>

im trying to use a max31855 with node red. Is there a node for it?

---

## [Data reading and plotting](https://discourse.nodered.org/t/data-reading-and-plotting/5401)

<div class="topic-metadata">

**Author:** [@IOT](https://discourse.nodered.org/u/IOT)\
**Replies:** 5\
**Last updated:** [2 December 2018 11:43 UTC](https://discourse.nodered.org/t/data-reading-and-plotting/5401 "2018-12-02T11:43:19Z")

</div>

Hello! I am working on a project in which i need to send analogue value with delay 1 ms to MQTT and plot that value into the graph but unfortunately i failed after several tries.Kindly help me how to solve this issue. …

---

## [On flow - multiple access](https://discourse.nodered.org/t/on-flow-multiple-access/5038)

<div class="topic-metadata">

**Author:** [@jhon.zambrano](https://discourse.nodered.org/u/jhon.zambrano)\
**Replies:** 1\
**Last updated:** [2 December 2018 11:35 UTC](https://discourse.nodered.org/t/on-flow-multiple-access/5038 "2018-12-02T11:35:21Z")

</div>

hi, i have a flow as show it, is a retransmision Lora messages schema. This flow no have GUI. i wanna know what happen if other flows access to this at the same time or while the schema is running? has nodered multi thre…

---

## [Resolve text from number](https://discourse.nodered.org/t/resolve-text-from-number/5177)

<div class="topic-metadata">

**Author:** [@martinschki](https://discourse.nodered.org/u/martinschki)\
**Replies:** 13\
**Last updated:** [2 December 2018 11:10 UTC](https://discourse.nodered.org/t/resolve-text-from-number/5177 "2018-12-02T11:10:57Z")

</div>

Hello, I receive a status info from my PLC in form of a number. How can I translate that number into a describing text for display? For example, I receive "140" and the corresponding info text is "Automatic Mode". How …

---

## [Raw input for functions](https://discourse.nodered.org/t/raw-input-for-functions/5398)

<div class="topic-metadata">

**Author:** [@Kallb123](https://discourse.nodered.org/u/Kallb123)\
**Replies:** 0\
**Last updated:** [2 December 2018 09:29 UTC](https://discourse.nodered.org/t/raw-input-for-functions/5398 "2018-12-02T09:29:34Z")

</div>

It would be good if there was a toggle for the special input box for writing functions. The syntax highlighting and correction can be useful, but it is unusable on most android devices. There has obviously been a lot of …

---

## [Mdashboard chart usage](https://discourse.nodered.org/t/mdashboard-chart-usage/5397)

<div class="topic-metadata">

**Author:** [@VikrantSharma](https://discourse.nodered.org/u/VikrantSharma)\
**Replies:** 2\
**Last updated:** [2 December 2018 09:20 UTC](https://discourse.nodered.org/t/mdashboard-chart-usage/5397 "2018-12-02T09:20:57Z")

</div>

Has any one made full mqtt app with mdashboard gauges and chart

---

## [Retained message with msg.payload returns Function tried to send a message of type string](https://discourse.nodered.org/t/retained-message-with-msg-payload-returns-function-tried-to-send-a-message-of-type-string/5376)

<div class="topic-metadata">

**Author:** [@MANNAS3](https://discourse.nodered.org/u/MANNAS3)\
**Replies:** 5\
**Last updated:** [2 December 2018 09:13 UTC](https://discourse.nodered.org/t/retained-message-with-msg-payload-returns-function-tried-to-send-a-message-of-type-string/5376 "2018-12-02T09:13:58Z")

</div>

I have a dashboard button node in which it is connected to a function node and defined the context.global.stat to retain the state of the button across function node, also have another mqtt in node to gather sensor data …

---

## [Pause incoming payload with function and switch node](https://discourse.nodered.org/t/pause-incoming-payload-with-function-and-switch-node/5370)

<div class="topic-metadata">

**Author:** [@DevThePhoenix](https://discourse.nodered.org/u/DevThePhoenix)\
**Replies:** 5\
**Last updated:** [2 December 2018 06:21 UTC](https://discourse.nodered.org/t/pause-incoming-payload-with-function-and-switch-node/5370 "2018-12-02T06:21:58Z")

</div>

i want to Pause a payload coming from mqtt with a switch (Off mode), and want to continue payload coming from mqtt with switch (On mode)

---

## [Weird Problem With Deleted Flows](https://discourse.nodered.org/t/weird-problem-with-deleted-flows/5387)

<div class="topic-metadata">

**Author:** [@seth350](https://discourse.nodered.org/u/seth350)\
**Replies:** 3\
**Last updated:** [2 December 2018 04:53 UTC](https://discourse.nodered.org/t/weird-problem-with-deleted-flows/5387 "2018-12-02T04:53:13Z")

</div>

Hey guys, I am not sure how this happened or what could have caused this, so I will give you the sequence of events. Two RPis running the same flow, connected to the same network. I install another RPi running the sam…

---

## [Dashboard template node - CSS style does not work](https://discourse.nodered.org/t/dashboard-template-node-css-style-does-not-work/5375)

<div class="topic-metadata">

**Author:** [@mrkbr](https://discourse.nodered.org/u/mrkbr)\
**Replies:** 6\
**Last updated:** [1 December 2018 23:07 UTC](https://discourse.nodered.org/t/dashboard-template-node-css-style-does-not-work/5375 "2018-12-01T23:07:52Z")

</div>

I'm quite new to Node-RED, and I'm not a web developer, I have just basic knowledge of HTML/CSS/JavaScript. I'm trying to write my own HTML/CSS code in a dashboard template node, if the HTML part is ok, CSS styling sim…

---

## [Strange text behavior in the dashboard](https://discourse.nodered.org/t/strange-text-behavior-in-the-dashboard/5364)

<div class="topic-metadata">

**Author:** [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Replies:** 4\
**Last updated:** [1 December 2018 21:06 UTC](https://discourse.nodered.org/t/strange-text-behavior-in-the-dashboard/5364 "2018-12-01T21:06:37Z")

</div>

I noticed a small, slightly annoying quirk in the dashboard, and before I put a lot of effort into tracking it down, I wondered whether someone in the group might have an explanation. I am running the same flow under NR …

---

## [Replicate Flow - Find/Replace](https://discourse.nodered.org/t/replicate-flow-find-replace/5350)

<div class="topic-metadata">

**Author:** [@luisfsa502](https://discourse.nodered.org/u/luisfsa502)\
**Replies:** 10\
**Last updated:** [1 December 2018 12:11 UTC](https://discourse.nodered.org/t/replicate-flow-find-replace/5350 "2018-12-01T12:11:43Z")

</div>

Hey All, I've done several great things with Node-RED, but now i need to replicate (100 times) a flow that i have developed. The flow which was developed, creates a Group BOX with several information and displays. I tr…

---

## [Inject node with 1s interval not being launched 3600 times per hour](https://discourse.nodered.org/t/inject-node-with-1s-interval-not-being-launched-3600-times-per-hour/5332)

<div class="topic-metadata">

**Author:** [@abajolle](https://discourse.nodered.org/u/abajolle)\
**Replies:** 12\
**Last updated:** [1 December 2018 09:19 UTC](https://discourse.nodered.org/t/inject-node-with-1s-interval-not-being-launched-3600-times-per-hour/5332 "2018-12-01T09:19:21Z")

</div>

Hi Node-REDers ! On one of my flow I am using an inject node with an interval of 1s, to check the status of a machine and calculate later on some indicators like its availability. I have another inject node with an int…

---

## [Dim lights based on current intensity](https://discourse.nodered.org/t/dim-lights-based-on-current-intensity/5272)

<div class="topic-metadata">

**Author:** [@biochemguy](https://discourse.nodered.org/u/biochemguy)\
**Replies:** 10\
**Last updated:** [1 December 2018 04:01 UTC](https://discourse.nodered.org/t/dim-lights-based-on-current-intensity/5272 "2018-12-01T04:01:57Z")

</div>

Hi, I am new to Node-Red and have been able to do basic automations with home assistant. However, I am having trouble formatting a function to dim lights. Basically, I want to determine the current brightness of the lig…

---

## [Running a script using the exec node to reboot chromium!!](https://discourse.nodered.org/t/running-a-script-using-the-exec-node-to-reboot-chromium/5357)

<div class="topic-metadata">

**Author:** [@cjmaverickforever](https://discourse.nodered.org/u/cjmaverickforever)\
**Replies:** 2\
**Last updated:** [1 December 2018 02:30 UTC](https://discourse.nodered.org/t/running-a-script-using-the-exec-node-to-reboot-chromium/5357 "2018-12-01T02:30:50Z")

</div>

Using the exec node I'm able to run commands just fine, but when I try to run a script that loads chromium in kiosk mode using the matchbox window manager I get unable to open display errors. When I run the same script …

---

## [Where does the node-red store its credentials with azure-iot cloud?](https://discourse.nodered.org/t/where-does-the-node-red-store-its-credentials-with-azure-iot-cloud/5229)

<div class="topic-metadata">

**Author:** [@manal](https://discourse.nodered.org/u/manal)\
**Replies:** 1\
**Last updated:** [30 November 2018 22:33 UTC](https://discourse.nodered.org/t/where-does-the-node-red-store-its-credentials-with-azure-iot-cloud/5229 "2018-11-30T22:33:58Z")

</div>

Hey there, where does the node-red store its credentials, in particular with Azure IoT cloud? does it store all credentials in one place? thanks in advance

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

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