# Latest

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

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

**Page:** 507

---

## [How to programmatically identify whether node-red editor has changes to be deployed](https://discourse.nodered.org/t/how-to-programmatically-identify-whether-node-red-editor-has-changes-to-be-deployed/67124)

<div class="topic-metadata">

**Author:** [@BShashwat](https://discourse.nodered.org/u/BShashwat)\
**Replies:** 13\
**Last updated:** [1 September 2022 13:38 UTC](https://discourse.nodered.org/t/how-to-programmatically-identify-whether-node-red-editor-has-changes-to-be-deployed/67124 "2022-09-01T13:38:06Z")

</div>

Hi All, I have requirement to programmatically identify changes in node-red editor that are not yet deployed. Manually we can see that node-red displays a blue circle over the nodes that are not deployed. In order to au…

---

## [Capture static data from plc](https://discourse.nodered.org/t/capture-static-data-from-plc/67196)

<div class="topic-metadata">

**Author:** [@Alejoldu94](https://discourse.nodered.org/u/Alejoldu94)\
**Replies:** 7\
**Last updated:** [1 September 2022 13:30 UTC](https://discourse.nodered.org/t/capture-static-data-from-plc/67196 "2022-09-01T13:30:15Z")

</div>

Hello, I am trying to capture this data that is shown in the figure to be able to generate operations, but the problem is that I can only capture it once, since the node that I occupy only sends me the data every time…

---

## [Stop an exec node using button](https://discourse.nodered.org/t/stop-an-exec-node-using-button/67191)

<div class="topic-metadata">

**Author:** [@yimin](https://discourse.nodered.org/u/yimin)\
**Replies:** 2\
**Last updated:** [1 September 2022 13:29 UTC](https://discourse.nodered.org/t/stop-an-exec-node-using-button/67191 "2022-09-01T13:29:23Z")

</div>

Hi, I'm new to Node-RED. I'm trying to start and stop an exec node using buttons in dashboard. But I think it is not a simpler way to kill the exec node. Is there any methods not using the function node in my flow? \[ …

---

## [How to trigger a Node-RED flow from a shell script](https://discourse.nodered.org/t/how-to-trigger-a-node-red-flow-from-a-shell-script/67208)

<div class="topic-metadata">

**Author:** [@HonestJohn61](https://discourse.nodered.org/u/HonestJohn61)\
**Replies:** 2\
**Last updated:** [1 September 2022 13:09 UTC](https://discourse.nodered.org/t/how-to-trigger-a-node-red-flow-from-a-shell-script/67208 "2022-09-01T13:09:31Z")

</div>

There was an earlier thread about this which is now closed. I'd like to ask for some more specific guidance around a couple of the suggestions that were made by @knolleary and @Colin if I may. The daemon I'm trying to u…

---

## [Disable git config](https://discourse.nodered.org/t/disable-git-config/67212)

<div class="topic-metadata">

**Author:** [@kitkat159](https://discourse.nodered.org/u/kitkat159)\
**Replies:** 1\
**Last updated:** [1 September 2022 10:09 UTC](https://discourse.nodered.org/t/disable-git-config/67212 "2022-09-01T10:09:53Z")

</div>

Hello there! I'v disabled the palette in the settings dialog. Since I want to use NR in production, I also want to disable the git config tab: Is this possible? And if yes, how?

---

## [Custom action of double click on Node](https://discourse.nodered.org/t/custom-action-of-double-click-on-node/67210)

<div class="topic-metadata">

**Author:** [@dnyaneshwar](https://discourse.nodered.org/u/dnyaneshwar)\
**Replies:** 1\
**Last updated:** [1 September 2022 09:24 UTC](https://discourse.nodered.org/t/custom-action-of-double-click-on-node/67210 "2022-09-01T09:24:22Z")

</div>

I have one custom node, when I double click on node ,we have to open one url on oneditprepare event. I am able to open that url, but problem with edit dialog. we don't want to open edit dialog.

---

## [Write JSON string to OPC-UA InputArguments Method](https://discourse.nodered.org/t/write-json-string-to-opc-ua-inputarguments-method/67178)

<div class="topic-metadata">

**Author:** [@HakanOlsson71](https://discourse.nodered.org/u/HakanOlsson71)\
**Replies:** 1\
**Last updated:** [1 September 2022 08:54 UTC](https://discourse.nodered.org/t/write-json-string-to-opc-ua-inputarguments-method/67178 "2022-09-01T08:54:30Z")

</div>

Hi I’m using “node-red-contrib-opcua” and trying to write a JSON string to an InputArguments methodId with the help of OpcUA-Method node. I can read data from the corresponding outputArguments method. But I can’t figur…

---

## [Stop rule running again for x minutes](https://discourse.nodered.org/t/stop-rule-running-again-for-x-minutes/67198)

<div class="topic-metadata">

**Author:** [@djseek](https://discourse.nodered.org/u/djseek)\
**Replies:** 8\
**Last updated:** [1 September 2022 05:39 UTC](https://discourse.nodered.org/t/stop-rule-running-again-for-x-minutes/67198 "2022-09-01T05:39:27Z")

</div>

Hello, I have a simple rule that is triggered on motion detection. If the rule has been triggered in the last 60 minutes i'd like for it to not run again. I thought of setting it up to use no motion for 60 minutes tri…

---

## [Want to use ios shortcut as trigger](https://discourse.nodered.org/t/want-to-use-ios-shortcut-as-trigger/67165)

<div class="topic-metadata">

**Author:** [@kei81131](https://discourse.nodered.org/u/kei81131)\
**Replies:** 4\
**Last updated:** [1 September 2022 01:34 UTC](https://discourse.nodered.org/t/want-to-use-ios-shortcut-as-trigger/67165 "2022-09-01T01:34:30Z")

</div>

Hi all, i am new in node red and feel node's flow is so amazing BTW, if it is possible to use IOS shortcut to trigger node red automation? Thank you a lot for help

---

## [Group an array operation function](https://discourse.nodered.org/t/group-an-array-operation-function/67128)

<div class="topic-metadata">

**Author:** [@Alejoldu94](https://discourse.nodered.org/u/Alejoldu94)\
**Replies:** 4\
**Last updated:** [31 August 2022 19:44 UTC](https://discourse.nodered.org/t/group-an-array-operation-function/67128 "2022-08-31T19:44:54Z")

</div>

Hello, I want to perform an addition operation, I have several inputs, they are DINT type numbers, but I want to group them in an array to add them, but it does not allow me, I get an error. How can I print an array? va…

---

## [Unexpected socket close error](https://discourse.nodered.org/t/unexpected-socket-close-error/67107)

<div class="topic-metadata">

**Author:** [@DionCosina](https://discourse.nodered.org/u/DionCosina)\
**Replies:** 7\
**Last updated:** [31 August 2022 19:21 UTC](https://discourse.nodered.org/t/unexpected-socket-close-error/67107 "2022-08-31T19:21:08Z")

</div>

I want to send an email with gmail but when its sending i get a error unexpected socket close. How to fix this?

---

## [How to send a email with a if statement](https://discourse.nodered.org/t/how-to-send-a-email-with-a-if-statement/67104)

<div class="topic-metadata">

**Author:** [@DionCosina](https://discourse.nodered.org/u/DionCosina)\
**Replies:** 2\
**Last updated:** [31 August 2022 19:18 UTC](https://discourse.nodered.org/t/how-to-send-a-email-with-a-if-statement/67104 "2022-08-31T19:18:46Z")

</div>

I extract a weather http api link in node red. I want to make a if statement that says if the temperature is below 20 degree i get a email saying "you can wear shorts today". How do i do that?

---

## [Home Assistant Switch/Light Based flow based Manual, App or Automation](https://discourse.nodered.org/t/home-assistant-switch-light-based-flow-based-manual-app-or-automation/66776)

<div class="topic-metadata">

**Author:** [@jgvary](https://discourse.nodered.org/u/jgvary)\
**Replies:** 3\
**Last updated:** [31 August 2022 18:51 UTC](https://discourse.nodered.org/t/home-assistant-switch-light-based-flow-based-manual-app-or-automation/66776 "2022-08-31T18:51:00Z")

</div>

I am trying to set up a automation to control my bathroom fans, I will add if humidity is high then turn fan on until humidity returns to normal. My concern is if anyone in my family manually turns the fan on or via the…

---

## [Realtime data - average and mysql insert](https://discourse.nodered.org/t/realtime-data-average-and-mysql-insert/67141)

<div class="topic-metadata">

**Author:** [@mafo](https://discourse.nodered.org/u/mafo)\
**Replies:** 8\
**Last updated:** [31 August 2022 17:36 UTC](https://discourse.nodered.org/t/realtime-data-average-and-mysql-insert/67141 "2022-08-31T17:36:52Z")

</div>

Hi, I am new in node-red. I have temp humidity and barometric pressure sensors (30 pcs) in different places. Every sensor send me a message to rs485 every 15-20 sec. It is a lot of data. I want to do this: with each mes…

---

## [How to know subscribed users and their topics?](https://discourse.nodered.org/t/how-to-know-subscribed-users-and-their-topics/67125)

<div class="topic-metadata">

**Author:** [@LuisPereira](https://discourse.nodered.org/u/LuisPereira)\
**Replies:** 4\
**Last updated:** [31 August 2022 16:39 UTC](https://discourse.nodered.org/t/how-to-know-subscribed-users-and-their-topics/67125 "2022-08-31T16:39:50Z")

</div>

Hi everyone I have been looking for a way to know which clients are connected my broker and to which topics. I'm using esp32 as clients with PubSubClient.h library. the esp32 has to five a client name on the connection …

---

## [Grafana 9.1: Easier embedding](https://discourse.nodered.org/t/grafana-9-1-easier-embedding/67189)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 0\
**Last updated:** [31 August 2022 16:17 UTC](https://discourse.nodered.org/t/grafana-9-1-easier-embedding/67189 "2022-08-31T16:17:34Z")

</div>

Hi all, I know a lot of people use Grafana and want to embed charts into Dashboard, etc. So I thought it worth highlighting that v9.1 includes this: JWT URL embedding You can now easily embed Grafana in other applicat…

---

## [Does Palette Manager work in Windows](https://discourse.nodered.org/t/does-palette-manager-work-in-windows/67121)

<div class="topic-metadata">

**Author:** [@philbaney](https://discourse.nodered.org/u/philbaney)\
**Replies:** 9\
**Last updated:** [31 August 2022 13:56 UTC](https://discourse.nodered.org/t/does-palette-manager-work-in-windows/67121 "2022-08-31T13:56:46Z")

</div>

I've done a clean install of version 3.0.2 in Windows and edited the config file but still I get 'npm command not found' for the palette manager. Is it possible to install it retrospectively?

---

## [Node email : impossible to send email](https://discourse.nodered.org/t/node-email-impossible-to-send-email/4613)

<div class="topic-metadata">

**Author:** [@fabien](https://discourse.nodered.org/u/fabien)\
**Replies:** 3\
**Last updated:** [31 August 2022 13:25 UTC](https://discourse.nodered.org/t/node-email-impossible-to-send-email/4613 "2022-08-31T13:25:26Z")

</div>

hello impossible to send an email with node email. I tried with google mail and here is the message: Error: Invalid login: 534-5.7.14 \<https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbuw 534-5.7.14 bv…

---

## [Nodered on docker with bindmount on /data/flows.json. fails to deploy](https://discourse.nodered.org/t/nodered-on-docker-with-bindmount-on-data-flows-json-fails-to-deploy/67133)

<div class="topic-metadata">

**Author:** [@JoW](https://discourse.nodered.org/u/JoW)\
**Replies:** 1\
**Last updated:** [31 August 2022 12:33 UTC](https://discourse.nodered.org/t/nodered-on-docker-with-bindmount-on-data-flows-json-fails-to-deploy/67133 "2022-08-31T12:33:20Z")

</div>

I think the deploy functionality does not work with bind mounts on just the flows.json and related files. I think the deploy first writes the json to a file flows.json.$$$ and then tries to copy it over the flows.json. …

---

## [Public key not found](https://discourse.nodered.org/t/public-key-not-found/67175)

<div class="topic-metadata">

**Author:** [@krzydec](https://discourse.nodered.org/u/krzydec)\
**Replies:** 1\
**Last updated:** [31 August 2022 12:19 UTC](https://discourse.nodered.org/t/public-key-not-found/67175 "2022-08-31T12:19:21Z")

</div>

Hello. I'm trying to reuse ssh keys for my node-red projects for the docker instance of the node-red. I managed to locate the directory where the keys are kept: /var/lib/docker/volumes/\<container-volume\>/\_data/project…

---

## [Scraping Voltaware meter data?](https://discourse.nodered.org/t/scraping-voltaware-meter-data/67144)

<div class="topic-metadata">

**Author:** [@Mart](https://discourse.nodered.org/u/Mart)\
**Replies:** 3\
**Last updated:** [31 August 2022 11:36 UTC](https://discourse.nodered.org/t/scraping-voltaware-meter-data/67144 "2022-08-31T11:36:12Z")

</div>

I want to poll a Voltaware monitor that’s measuring power consumption in my house. I can use a browser to view the data direct from the monitor (image below). I thought I could “just” use an “http request” node in Node-R…

---

## [Big timer sunset trigger](https://discourse.nodered.org/t/big-timer-sunset-trigger/67169)

<div class="topic-metadata">

**Author:** [@djseek](https://discourse.nodered.org/u/djseek)\
**Replies:** 7\
**Last updated:** [31 August 2022 10:01 UTC](https://discourse.nodered.org/t/big-timer-sunset-trigger/67169 "2022-08-31T10:01:47Z")

</div>

Hi all. I just want to do a simple trigger when it's sunset. But big timer isn't working. Can someone share a sample one that works please ? Even if it's sunrise Thank you

---

## [How can I extrac data from PDF to format JSON?](https://discourse.nodered.org/t/how-can-i-extrac-data-from-pdf-to-format-json/67154)

<div class="topic-metadata">

**Author:** [@JhonnyPuttini](https://discourse.nodered.org/u/JhonnyPuttini)\
**Replies:** 1\
**Last updated:** [31 August 2022 08:07 UTC](https://discourse.nodered.org/t/how-can-i-extrac-data-from-pdf-to-format-json/67154 "2022-08-31T08:07:35Z")

</div>

I've been tried to make a conversion Data PDF to json format, If anyone has some tips to help me with functions, node or the especific node "node-red-contrib-pdfjs-mac".

---

## [Convert status "on"/"off" to 0/1](https://discourse.nodered.org/t/convert-status-on-off-to-0-1/67075)

<div class="topic-metadata">

**Author:** [@lessi](https://discourse.nodered.org/u/lessi)\
**Replies:** 13\
**Last updated:** [31 August 2022 05:45 UTC](https://discourse.nodered.org/t/convert-status-on-off-to-0-1/67075 "2022-08-31T05:45:39Z")

</div>

Hi, I am want to us the switch state of a shelly relay in a grafana time series. The status is coming in as "on" or "off". I would like to convert to a number (int/float whatever) so that Grafana can process it, but I g…

---

## [PayloadTooLargeError at deploy](https://discourse.nodered.org/t/payloadtoolargeerror-at-deploy/67053)

<div class="topic-metadata">

**Author:** [@skipware](https://discourse.nodered.org/u/skipware)\
**Replies:** 4\
**Last updated:** [31 August 2022 05:45 UTC](https://discourse.nodered.org/t/payloadtoolargeerror-at-deploy/67053 "2022-08-31T05:45:05Z")

</div>

This error is clearly related to the size of the flows within the instance since I can reduce the size of the flow file (by removing a node or 2 from the flow). I've attached a screen shot of the error. The post seems…

---

## [How we can export CSV file to local PC(Node-red on IOT2050)](https://discourse.nodered.org/t/how-we-can-export-csv-file-to-local-pc-node-red-on-iot2050/67111)

<div class="topic-metadata">

**Author:** [@nuttawut](https://discourse.nodered.org/u/nuttawut)\
**Replies:** 13\
**Last updated:** [30 August 2022 10:59 UTC](https://discourse.nodered.org/t/how-we-can-export-csv-file-to-local-pc-node-red-on-iot2050/67111 "2022-08-30T10:59:41Z")

</div>

Hi, everyone I'm study about dashboard I install Node-red on IOT2050. Now I can't export csv files to my drive D: . I need to record data on dashboard I already create folder and CSV files for record the data but de…

---

## [Understanding and parsing 16-bit words via Modbus](https://discourse.nodered.org/t/understanding-and-parsing-16-bit-words-via-modbus/67089)

<div class="topic-metadata">

**Author:** [@grant1](https://discourse.nodered.org/u/grant1)\
**Replies:** 10\
**Last updated:** [31 August 2022 01:41 UTC](https://discourse.nodered.org/t/understanding-and-parsing-16-bit-words-via-modbus/67089 "2022-08-31T01:41:19Z")

</div>

I have connected an Alley Bradley PowerFlex 525 variable frequency drive to a Pi using RS485 (DSI) protocol. I can instantly get the "easy" parameters, such as: output frequency (address: 001): result (~58.2 Hz) …

---

## [Encrypting a functional \`\`\`flows.json\`\`\` file](https://discourse.nodered.org/t/encrypting-a-functional-flows-json-file/67156)

<div class="topic-metadata">

**Author:** [@mrSidX](https://discourse.nodered.org/u/mrSidX)\
**Replies:** 1\
**Last updated:** [31 August 2022 01:23 UTC](https://discourse.nodered.org/t/encrypting-a-functional-flows-json-file/67156 "2022-08-31T01:23:08Z")

</div>

Is it possible to maintain an encrypted and functional flows.json for Node-Red? My scenario is I'm developing and hosting a platform for a partner who hasn't payed into his worth on the project.. The code I don't want t…

---

## [Timezones...server & browser](https://discourse.nodered.org/t/timezones-server-browser/66988)

<div class="topic-metadata">

**Author:** [@jimwhitfield](https://discourse.nodered.org/u/jimwhitfield)\
**Replies:** 5\
**Last updated:** [31 August 2022 01:12 UTC](https://discourse.nodered.org/t/timezones-server-browser/66988 "2022-08-31T01:12:11Z")

</div>

Hello, I am reasonably proficient with Node Red, but at the moment, I don't have a solution to my problem. I use Dashboard to display a graph of data over time. It works great. If I'm on the West Coast, the "last thre…

---

## [A guide to understanding 'Persistent Context'](https://discourse.nodered.org/t/a-guide-to-understanding-persistent-context/4115)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 87\
**Last updated:** [4 January 2022 12:47 UTC](https://discourse.nodered.org/t/a-guide-to-understanding-persistent-context/4115 "2022-01-04T12:47:12Z")

</div>

This is something I wrote up after playing with the context options. I've filed a PR with some of this added to the Node-RED documentation but thought I'd release it here also. I hope people find it useful. Paul A gui…

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

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