# General

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

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

**Page:** 218

---

## [Comparing timestamp with payload to work out if older than 5 minutes](https://discourse.nodered.org/t/comparing-timestamp-with-payload-to-work-out-if-older-than-5-minutes/77847)

<div class="topic-metadata">

**Author:** [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Replies:** 4\
**Last updated:** [23 April 2023 15:56 UTC](https://discourse.nodered.org/t/comparing-timestamp-with-payload-to-work-out-if-older-than-5-minutes/77847 "2023-04-23T15:56:29Z")

</div>

I have a time in a payload, and I want to set a flow variable depending on if the timestamp is older than 5 minutes or current. I could use 2 different timestamps to compare with the current time obsTimeUtc: "2023-04-23…

---

## [Jsonata globalContext() inconsistent handling of string vs variable](https://discourse.nodered.org/t/jsonata-globalcontext-inconsistent-handling-of-string-vs-variable/77845)

<div class="topic-metadata">

**Author:** [@moebius](https://discourse.nodered.org/u/moebius)\
**Replies:** 6\
**Last updated:** [23 April 2023 13:54 UTC](https://discourse.nodered.org/t/jsonata-globalcontext-inconsistent-handling-of-string-vs-variable/77845 "2023-04-23T13:54:12Z")

</div>

When accessing a map object via jsonata globalContext, it does not work when the get method uses a variable - but using a string works. v 3.0.2 example: \[{"id":"8885e1d87c774eb3","type":"change","z":"f1e84ae7.4dcf98",…

---

## [Cannot select/copy/paste with monaco editor on iPad/Safari](https://discourse.nodered.org/t/cannot-select-copy-paste-with-monaco-editor-on-ipad-safari/77844)

<div class="topic-metadata">

**Author:** [@thohoj](https://discourse.nodered.org/u/thohoj)\
**Replies:** 3\
**Last updated:** [23 April 2023 13:45 UTC](https://discourse.nodered.org/t/cannot-select-copy-paste-with-monaco-editor-on-ipad-safari/77844 "2023-04-23T13:45:33Z")

</div>

I cannot select text in a function node using safari on my iPad. So I cannot use copy/paste anymore (with ace it worked). I found a similar thread but it seems that the issue there was not iPad related. I can type in f…

---

## [NodeRed "breaks" my Wifi - every 25 seconds](https://discourse.nodered.org/t/nodered-breaks-my-wifi-every-25-seconds/77810)

<div class="topic-metadata">

**Author:** [@EDsteve](https://discourse.nodered.org/u/EDsteve)\
**Replies:** 5\
**Last updated:** [23 April 2023 11:41 UTC](https://discourse.nodered.org/t/nodered-breaks-my-wifi-every-25-seconds/77810 "2023-04-23T11:41:55Z")

</div>

Hi, As you can see in the attachments my network is getting interrupted every 15 to 30 second or so. It's not a consistent interval. This affects ALL devices connected wirelessly to the same Access point. Devices connec…

---

## [Node-red-contrib-eufy-security 0.0.2](https://discourse.nodered.org/t/node-red-contrib-eufy-security-0-0-2/77839)

<div class="topic-metadata">

**Author:** [@maru](https://discourse.nodered.org/u/maru)\
**Replies:** 2\
**Last updated:** [23 April 2023 11:16 UTC](https://discourse.nodered.org/t/node-red-contrib-eufy-security-0-0-2/77839 "2023-04-23T11:16:24Z")

</div>

Does anyone have experience with the node-red-contrib-eufy-security 0.0.2 node? I installed this via Managed palette, then created and configured a test flow. During Deploy I see the messages missing nodes eufy-config a…

---

## [Why am I getting the wrong \*type\* of data in this message?](https://discourse.nodered.org/t/why-am-i-getting-the-wrong-type-of-data-in-this-message/77830)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 26\
**Last updated:** [23 April 2023 10:47 UTC](https://discourse.nodered.org/t/why-am-i-getting-the-wrong-type-of-data-in-this-message/77830 "2023-04-23T10:47:43Z")

</div>

I am TRYING to test some code for weather (rain) detection. Originally it wasn't this smart, but now I am wanting to improve it. I've cut down a lot of stuff and tried to cut it to what is THE problem. If it is rainin…

---

## [Help with command structure - \`toFixed()\`](https://discourse.nodered.org/t/help-with-command-structure-tofixed/77829)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 15\
**Last updated:** [23 April 2023 10:44 UTC](https://discourse.nodered.org/t/help-with-command-structure-tofixed/77829 "2023-04-23T10:44:16Z")

</div>

I know: I'm stupid. I did some homework and found this to resolve a problem. toFixed() It puts a given number of decimal points in a number returned. So.... For instance I have: let j = 20; let k = 3; let answe…

---

## [Node-red-contrib-smartthings](https://discourse.nodered.org/t/node-red-contrib-smartthings/17399)

<div class="topic-metadata">

**Author:** [@M-a-r-k](https://discourse.nodered.org/u/M-a-r-k)\
**Replies:** 7\
**Last updated:** [23 April 2023 10:00 UTC](https://discourse.nodered.org/t/node-red-contrib-smartthings/17399 "2023-04-23T10:00:41Z")

</div>

Hi Guy's, has anyone used the node-red-contrib-smartthings nodes, as i cant for the life of me figure out how to use them. i have link them to my smartthings account using the token needed and can change the device withi…

---

## [Why NR asking for sudo passw? (OrangePi zero)](https://discourse.nodered.org/t/why-nr-asking-for-sudo-passw-orangepi-zero/77825)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 4\
**Last updated:** [23 April 2023 09:52 UTC](https://discourse.nodered.org/t/why-nr-asking-for-sudo-passw-orangepi-zero/77825 "2023-04-23T09:52:49Z")

</div>

Hi, I've created the user pi and added it to sudoers (but not on root group), I've installed NR under this user, recently it started asking me password during boot, why? Maybe a module needs that? After putting passowrd…

---

## [Postgres Database Connection - "Error: Connection terminated due to connection timeout"](https://discourse.nodered.org/t/postgres-database-connection-error-connection-terminated-due-to-connection-timeout/77827)

<div class="topic-metadata">

**Author:** [@HB\_1](https://discourse.nodered.org/u/HB_1)\
**Replies:** 6\
**Last updated:** [23 April 2023 09:37 UTC](https://discourse.nodered.org/t/postgres-database-connection-error-connection-terminated-due-to-connection-timeout/77827 "2023-04-23T09:37:30Z")

</div>

Hi All, I am trying to connect to a postgres database using the node "node-red-contrib-postgresql". A bit of context about my config : Node-red is run on an ubuntu virtual machine Postgres SQL is run on the SAME ubun…

---

## [Check Email with Email-Node and Print PDF Attachement](https://discourse.nodered.org/t/check-email-with-email-node-and-print-pdf-attachement/77776)

<div class="topic-metadata">

**Author:** [@ebnerjoh](https://discourse.nodered.org/u/ebnerjoh)\
**Replies:** 5\
**Last updated:** [23 April 2023 06:50 UTC](https://discourse.nodered.org/t/check-email-with-email-node-and-print-pdf-attachement/77776 "2023-04-23T06:50:49Z")

</div>

Hi, I am searching for a solution to check Emails and print PDFs via the CUPS Printer on a Raspbian. I am already able to check the Mailbox, but how can I forward the PDF Attachment to a Printer? Br, Johannes

---

## [PLC Hex time send / recive](https://discourse.nodered.org/t/plc-hex-time-send-recive/77813)

<div class="topic-metadata">

**Author:** [@soerenbull](https://discourse.nodered.org/u/soerenbull)\
**Replies:** 7\
**Last updated:** [22 April 2023 12:23 UTC](https://discourse.nodered.org/t/plc-hex-time-send-recive/77813 "2023-04-22T12:23:32Z")

</div>

Hi everbody. I am struggelig with read/send time to my Siemens PLC. I have made a flow, but it only work when i send a value with 2 decimals. Example: 13:13 - works fine. 18:56 - works fine 18:01 - Not working 10:…

---

## [iAquaLink for Zodiac Exo IQ LS stopped working](https://discourse.nodered.org/t/iaqualink-for-zodiac-exo-iq-ls-stopped-working/77807)

<div class="topic-metadata">

**Author:** [@h0eferm](https://discourse.nodered.org/u/h0eferm)\
**Replies:** 2\
**Last updated:** [22 April 2023 10:54 UTC](https://discourse.nodered.org/t/iaqualink-for-zodiac-exo-iq-ls-stopped-working/77807 "2023-04-22T10:54:30Z")

</div>

Hi all, had a flow up und running for a pool controller named EXO IQ LS by zodiac. Inspired by @Tico and @VVorttexx from this thread. https://discourse.nodered.org/t/iaqualink-for-pool-equipment-strike-again/63321/5?u…

---

## [NodeRED Projects - An unexpected error when entering the flow credential key](https://discourse.nodered.org/t/nodered-projects-an-unexpected-error-when-entering-the-flow-credential-key/77809)

<div class="topic-metadata">

**Author:** [@raspberry](https://discourse.nodered.org/u/raspberry)\
**Replies:** 0\
**Last updated:** [21 April 2023 23:11 UTC](https://discourse.nodered.org/t/nodered-projects-an-unexpected-error-when-entering-the-flow-credential-key/77809 "2023-04-21T23:11:14Z")

</div>

Hello, I have a Node-RED project setup with a git remote repository. The credentials file is encrypted, so when I pulled the project into a new machine, understandably, Node-RED says: Flows stopped as the credentials …

---

## [Docker Hub images - haven't been updated in 9 months](https://discourse.nodered.org/t/docker-hub-images-havent-been-updated-in-9-months/77805)

<div class="topic-metadata">

**Author:** [@WebAsh](https://discourse.nodered.org/u/WebAsh)\
**Replies:** 2\
**Last updated:** [21 April 2023 21:12 UTC](https://discourse.nodered.org/t/docker-hub-images-havent-been-updated-in-9-months/77805 "2023-04-21T21:12:10Z")

</div>

Hey there - it seems like the images on Docker Hub haven't been updated in 9 months: I suspect its just because a release of Node Red hasn't been pushed in that time, but its best practice for Docker images to still …

---

## [My project: Stay with node red or move on?](https://discourse.nodered.org/t/my-project-stay-with-node-red-or-move-on/77517)

<div class="topic-metadata">

**Author:** [@Manuel\_o](https://discourse.nodered.org/u/Manuel_o)\
**Replies:** 23\
**Last updated:** [21 April 2023 17:33 UTC](https://discourse.nodered.org/t/my-project-stay-with-node-red-or-move-on/77517 "2023-04-21T17:33:29Z")

</div>

Hello friends. My project for controlling a pump is taking shape more and more. Currently, I am using my Raspberry Pi and NODE-RED to read data from the pump via Modbus and send it to my MQTT broker, which is located on…

---

## [How to get e charts to display in Node Red with SQL query](https://discourse.nodered.org/t/how-to-get-e-charts-to-display-in-node-red-with-sql-query/77801)

<div class="topic-metadata">

**Author:** [@RedNod](https://discourse.nodered.org/u/RedNod)\
**Replies:** 0\
**Last updated:** [21 April 2023 16:57 UTC](https://discourse.nodered.org/t/how-to-get-e-charts-to-display-in-node-red-with-sql-query/77801 "2023-04-21T16:57:45Z")

</div>

Hi , I am new to NR and struggling to get a simple e chart to display in node red with an sql query. I am not sure what I am doing wrong in the template. \<!DOCTYPE html\> \<html lang="en" style="height: 100%"\> \<head\> …

---

## [How to extract array index number?](https://discourse.nodered.org/t/how-to-extract-array-index-number/77773)

<div class="topic-metadata">

**Author:** [@jenssen](https://discourse.nodered.org/u/jenssen)\
**Replies:** 4\
**Last updated:** [21 April 2023 15:48 UTC](https://discourse.nodered.org/t/how-to-extract-array-index-number/77773 "2023-04-21T15:48:34Z")

</div>

Hello, I make an API call, the result is msg.payload : Object, which contains an array with data. I am not interested in the data itself, only in the indexnumber of the array. For example the result is the output below…

---

## [How to automatically trigger a node-red flow by external app using the API](https://discourse.nodered.org/t/how-to-automatically-trigger-a-node-red-flow-by-external-app-using-the-api/77703)

<div class="topic-metadata">

**Author:** [@nit-cyber](https://discourse.nodered.org/u/nit-cyber)\
**Replies:** 10\
**Last updated:** [21 April 2023 15:02 UTC](https://discourse.nodered.org/t/how-to-automatically-trigger-a-node-red-flow-by-external-app-using-the-api/77703 "2023-04-21T15:02:07Z")

</div>

how to automatically trigger a node-red flow by external app using the API

---

## [Time node not being triggered unless manually changed](https://discourse.nodered.org/t/time-node-not-being-triggered-unless-manually-changed/77793)

<div class="topic-metadata">

**Author:** [@scubieman](https://discourse.nodered.org/u/scubieman)\
**Replies:** 0\
**Last updated:** [21 April 2023 13:35 UTC](https://discourse.nodered.org/t/time-node-not-being-triggered-unless-manually-changed/77793 "2023-04-21T13:35:45Z")

</div>

I have automation that automatically runs at same time each morning. Sometimes this time can be adjusted. If this time is adjust from 715 to 718 manually then automation will work and run. However I have it where after i…

---

## [Search for orphan nodes](https://discourse.nodered.org/t/search-for-orphan-nodes/77783)

<div class="topic-metadata">

**Author:** [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Replies:** 4\
**Last updated:** [21 April 2023 13:14 UTC](https://discourse.nodered.org/t/search-for-orphan-nodes/77783 "2023-04-21T13:14:27Z")

</div>

Hi Folks! I was wondering there there is a search term for input:0 output:0 i.e. nodes that have zero connections in and zero connections out, i.e. orphan nodes. I don't mean the nodes definition but the nodes usage in …

---

## [To know about Node red software](https://discourse.nodered.org/t/to-know-about-node-red-software/77788)

<div class="topic-metadata">

**Author:** [@noob10](https://discourse.nodered.org/u/noob10)\
**Replies:** 1\
**Last updated:** [21 April 2023 11:24 UTC](https://discourse.nodered.org/t/to-know-about-node-red-software/77788 "2023-04-21T11:24:11Z")

</div>

hello, i am a student. for my project,i am using node red software to collect the data from PLC simatic s7 300. is it possible to collect the data from PLC?. if it possible, which data format we get? i am downloaded the…

---

## [Retrieve values from payload object](https://discourse.nodered.org/t/retrieve-values-from-payload-object/77764)

<div class="topic-metadata">

**Author:** [@HB\_1](https://discourse.nodered.org/u/HB_1)\
**Replies:** 7\
**Last updated:** [21 April 2023 11:06 UTC](https://discourse.nodered.org/t/retrieve-values-from-payload-object/77764 "2023-04-21T11:06:21Z")

</div>

Hi all, New to node-red here, and looking to store some IoT data coming from TTN into a postgres database. I am having a hard time formatting the data. Here is the payload I receive 4/21/2023, 1:19:29 AM\[node: msg.pa…

---

## [How to hide the new process button in the workspace area?](https://discourse.nodered.org/t/how-to-hide-the-new-process-button-in-the-workspace-area/77765)

<div class="topic-metadata">

**Author:** [@1260215278](https://discourse.nodered.org/u/1260215278)\
**Replies:** 1\
**Last updated:** [21 April 2023 08:38 UTC](https://discourse.nodered.org/t/how-to-hide-the-new-process-button-in-the-workspace-area/77765 "2023-04-21T08:38:07Z")

</div>

I want to hide the editing functionality of the workspace area. But I can't find it in the documentation, can you tell me? Thanks

---

## [Auto arrange flow](https://discourse.nodered.org/t/auto-arrange-flow/77758)

<div class="topic-metadata">

**Author:** [@Bean](https://discourse.nodered.org/u/Bean)\
**Replies:** 1\
**Last updated:** [21 April 2023 08:15 UTC](https://discourse.nodered.org/t/auto-arrange-flow/77758 "2023-04-21T08:15:06Z")

</div>

Hello, Is there a way to auto arrange the flows? I found an issue on github pointing to the forum, but couldn't find anything about it in the search. :sweat\_smile: Thanks :grin:

---

## [Power shell script trigger](https://discourse.nodered.org/t/power-shell-script-trigger/77772)

<div class="topic-metadata">

**Author:** [@nagaabhishek](https://discourse.nodered.org/u/nagaabhishek)\
**Replies:** 2\
**Last updated:** [21 April 2023 05:51 UTC](https://discourse.nodered.org/t/power-shell-script-trigger/77772 "2023-04-21T05:51:47Z")

</div>

Hi all, How to trigger a powershell script on a windows server from nodered. Both nodered and powershell scripts are on different servers and both are running windows os. Thank you

---

## [How to use functions in DLL files on node red?](https://discourse.nodered.org/t/how-to-use-functions-in-dll-files-on-node-red/77744)

<div class="topic-metadata">

**Author:** [@Mr\_Li](https://discourse.nodered.org/u/Mr_Li)\
**Replies:** 6\
**Last updated:** [21 April 2023 01:22 UTC](https://discourse.nodered.org/t/how-to-use-functions-in-dll-files-on-node-red/77744 "2023-04-21T01:22:28Z")

</div>

How to use functions in DLL files on node red?

---

## [Need help with flow variables](https://discourse.nodered.org/t/need-help-with-flow-variables/77753)

<div class="topic-metadata">

**Author:** [@DoctorDan](https://discourse.nodered.org/u/DoctorDan)\
**Replies:** 2\
**Last updated:** [21 April 2023 00:53 UTC](https://discourse.nodered.org/t/need-help-with-flow-variables/77753 "2023-04-21T00:53:49Z")

</div>

I'm new here so I apologize in advance if I don't pose this question correctly or don't post the right stuff. I have an iot app (rtl\_433) feeding mqtt. My goal is to create a web page that will display the latest readin…

---

## [How to send MQTT string value to a postgres table](https://discourse.nodered.org/t/how-to-send-mqtt-string-value-to-a-postgres-table/77757)

<div class="topic-metadata">

**Author:** [@daaven](https://discourse.nodered.org/u/daaven)\
**Replies:** 2\
**Last updated:** [20 April 2023 23:45 UTC](https://discourse.nodered.org/t/how-to-send-mqtt-string-value-to-a-postgres-table/77757 "2023-04-20T23:45:40Z")

</div>

I have an MQTT node called "description" this node comes in as ASCII code from a PLC. The string node converts the ASCII code into a string value. I inserted debugs node so you can see how the message is moving. My …

---

## [Running Node-RED on AWS](https://discourse.nodered.org/t/running-node-red-on-aws/14884)

<div class="topic-metadata">

**Author:** [@guysqr](https://discourse.nodered.org/u/guysqr)\
**Replies:** 2\
**Last updated:** [20 April 2023 20:43 UTC](https://discourse.nodered.org/t/running-node-red-on-aws/14884 "2023-04-20T20:43:58Z")

</div>

Hi folks I've put together a repo that will let you set up Node-RED on AWS running on multiple instances behind a load balancer - high availability for Node-RED on AWS in other words. It works by sharing the filesyst…

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

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