# General

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

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

**Page:** 328

---

## [ESPresense Device Tracking](https://discourse.nodered.org/t/espresense-device-tracking/67222)

<div class="topic-metadata">

**Author:** [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Replies:** 5\
**Last updated:** [2 September 2022 05:15 UTC](https://discourse.nodered.org/t/espresense-device-tracking/67222 "2022-09-02T05:15:22Z")

</div>

Currently I am playing with ESPresense. At the moment i can see the information from the ESP32 in Nodered. Now i have to filter 2 different ID´s to read out the distance of the device. With this function it wont work: …

---

## [Separate a value from an object, capture information](https://discourse.nodered.org/t/separate-a-value-from-an-object-capture-information/67225)

<div class="topic-metadata">

**Author:** [@Alejoldu94](https://discourse.nodered.org/u/Alejoldu94)\
**Replies:** 4\
**Last updated:** [1 September 2022 23:00 UTC](https://discourse.nodered.org/t/separate-a-value-from-an-object-capture-information/67225 "2022-09-01T23:00:14Z")

</div>

I need to separate, or capture the value of the object, which I got from the database, I have no idea how to do it, any idea or programming code. i want to publish on a dashboard this value. in a gauge indicator

---

## [Condition if motion office was not active in last 5 minutes](https://discourse.nodered.org/t/condition-if-motion-office-was-not-active-in-last-5-minutes/67205)

<div class="topic-metadata">

**Author:** [@djseek](https://discourse.nodered.org/u/djseek)\
**Replies:** 9\
**Last updated:** [1 September 2022 21:10 UTC](https://discourse.nodered.org/t/condition-if-motion-office-was-not-active-in-last-5-minutes/67205 "2022-09-01T21:10:42Z")

</div>

Hello I'm having trouble having this is as a condition. Trigger says state is on or off. But you cannot do: was not on for X minutes What's the easiest way to do this ? Thanks so much

---

## [Cannot POST - Post raw data to a flow](https://discourse.nodered.org/t/cannot-post-post-raw-data-to-a-flow/66923)

<div class="topic-metadata">

**Author:** [@pacmanmt](https://discourse.nodered.org/u/pacmanmt)\
**Replies:** 1\
**Last updated:** [1 September 2022 19:05 UTC](https://discourse.nodered.org/t/cannot-post-post-raw-data-to-a-flow/66923 "2022-09-01T19:05:19Z")

</div>

Hi all, I am a newbie starting to work with Node-RED walking trough the many examples found here. I am using a Raspi 4B 8GB with SignalK vers. 1.44.0 and its Node-RED plugin ver. 2.1.6. Node version is 14.20.0. I have…

---

## [Opc-ua iiot vs contrib- opc ua node](https://discourse.nodered.org/t/opc-ua-iiot-vs-contrib-opc-ua-node/67188)

<div class="topic-metadata">

**Author:** [@BaconPancake](https://discourse.nodered.org/u/BaconPancake)\
**Replies:** 3\
**Last updated:** [1 September 2022 18:33 UTC](https://discourse.nodered.org/t/opc-ua-iiot-vs-contrib-opc-ua-node/67188 "2022-09-01T18:33:40Z")

</div>

Hello! the node red version i am using is 1.0.3 and unfortunately i am stuck with this (i cannot update it in any way). I got a project from a coworker using in which he was using node-red-contrib-opcua.Unfortunately t…

---

## [Dropdown list gets overwritten. Only one item in list](https://discourse.nodered.org/t/dropdown-list-gets-overwritten-only-one-item-in-list/67216)

<div class="topic-metadata">

**Author:** [@pat1](https://discourse.nodered.org/u/pat1)\
**Replies:** 3\
**Last updated:** [1 September 2022 14:10 UTC](https://discourse.nodered.org/t/dropdown-list-gets-overwritten-only-one-item-in-list/67216 "2022-09-01T14:10:32Z")

</div>

I'm trying to populate a dropdown with the options propery in the picture. A change-node gives me a few objects like the one above. The dropdown gets populated with the msg.options, but only last item is shown. So I …

---

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

---

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

---

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

---

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

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

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