# General

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

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

**Page:** 170

---

## [Flight Radar 24 node stopped working again](https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031)

<div class="topic-metadata">

**Author:** [@FatPilot](https://discourse.nodered.org/u/FatPilot)\
**Replies:** 10\
**Last updated:** [15 October 2023 20:31 UTC](https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031 "2023-10-15T20:31:44Z")

</div>

Hi Everyone, since the last fix in July 2023 it has worked really well. However something has changed again. It's no longer collecting data and is failing with the error - SyntaxError: Unexpected token ':' This starte…

---

## [Restart of mqtt client](https://discourse.nodered.org/t/restart-of-mqtt-client/82057)

<div class="topic-metadata">

**Author:** [@AloisBachmeier](https://discourse.nodered.org/u/AloisBachmeier)\
**Replies:** 2\
**Last updated:** [15 October 2023 19:49 UTC](https://discourse.nodered.org/t/restart-of-mqtt-client/82057 "2023-10-15T19:49:39Z")

</div>

Hi all: I run nodeRed + the Mosquitto broker. My problem: The Mosquitto send the mqtt message only if the value changes e.g. a number from a slider in the dashboard. I use that value in a client (C++) for anything. How…

---

## [Min x minutes; value \>= y or brightness value must have reached a value x minutes, then value 'true' is displayed](https://discourse.nodered.org/t/min-x-minutes-value-y-or-brightness-value-must-have-reached-a-value-x-minutes-then-value-true-is-displayed/82045)

<div class="topic-metadata">

**Author:** [@F11](https://discourse.nodered.org/u/F11)\
**Replies:** 3\
**Last updated:** [15 October 2023 19:33 UTC](https://discourse.nodered.org/t/min-x-minutes-value-y-or-brightness-value-must-have-reached-a-value-x-minutes-then-value-true-is-displayed/82045 "2023-10-15T19:33:56Z")

</div>

Hello I am still a newbie in node red and have a little problem. I want to evaluate the brightness for the control of my shutters. For this I have a Lux sensor whose data I smooth with a Smooth Node. The result is alre…

---

## [How to write 4 values with with calculated times in InfluxDB?](https://discourse.nodered.org/t/how-to-write-4-values-with-with-calculated-times-in-influxdb/82053)

<div class="topic-metadata">

**Author:** [@oliverr](https://discourse.nodered.org/u/oliverr)\
**Replies:** 1\
**Last updated:** [15 October 2023 15:49 UTC](https://discourse.nodered.org/t/how-to-write-4-values-with-with-calculated-times-in-influxdb/82053 "2023-10-15T15:49:27Z")

</div>

Hi, I get via mqtt every 20 minutes a record and in the record are 4 values, which are values of each 5 minutes distance. These values are then to be written into an influxdb as if they were written into the influxdb a…

---

## [Function node export object from start section](https://discourse.nodered.org/t/function-node-export-object-from-start-section/82049)

<div class="topic-metadata">

**Author:** [@dakhnod](https://discourse.nodered.org/u/dakhnod)\
**Replies:** 1\
**Last updated:** [15 October 2023 14:47 UTC](https://discourse.nodered.org/t/function-node-export-object-from-start-section/82049 "2023-10-15T14:47:08Z")

</div>

I use a function node to connect to socket.io, thus creating a socket object in the Start tab. I need access to that socket object in the Stop section, to close the connection again. Alternatively, node.on('close', ...…

---

## [Uibuilder - checkbox rendering question](https://discourse.nodered.org/t/uibuilder-checkbox-rendering-question/82032)

<div class="topic-metadata">

**Author:** [@mjc](https://discourse.nodered.org/u/mjc)\
**Replies:** 4\
**Last updated:** [15 October 2023 14:26 UTC](https://discourse.nodered.org/t/uibuilder-checkbox-rendering-question/82032 "2023-10-15T14:26:33Z")

</div>

I am using uibuilder 6.5.0 on Node-Red 3.1.0 with IIFE client and no framework. I have built an HTML form presented with uibuilder that I use to initiate speech with Amazon Alexa. The HTML form is currently using a rang…

---

## [Help with Java: timestamps result to Jan 20th 1970](https://discourse.nodered.org/t/help-with-java-timestamps-result-to-jan-20th-1970/82034)

<div class="topic-metadata">

**Author:** [@My\_Millenium](https://discourse.nodered.org/u/My_Millenium)\
**Replies:** 4\
**Last updated:** [15 October 2023 09:46 UTC](https://discourse.nodered.org/t/help-with-java-timestamps-result-to-jan-20th-1970/82034 "2023-10-15T09:46:03Z")

</div>

I despair of this error. A function node receives values from a database, edits these, and sends them to a chart. There are two types of data: sum\_of\_minutes --\> the x-axis shows values in HH:MM sum\_of\_days --\> the x…

---

## [Change format of values from array from integer to unix-timestamp for a chart](https://discourse.nodered.org/t/change-format-of-values-from-array-from-integer-to-unix-timestamp-for-a-chart/81863)

<div class="topic-metadata">

**Author:** [@My\_Millenium](https://discourse.nodered.org/u/My_Millenium)\
**Replies:** 7\
**Last updated:** [15 October 2023 09:07 UTC](https://discourse.nodered.org/t/change-format-of-values-from-array-from-integer-to-unix-timestamp-for-a-chart/81863 "2023-10-15T09:07:28Z")

</div>

In my Flow I read values from a database from columns "MINUTESUM" and "TIME". These values are read from a function that sends these values to a chart. This works, but the diagram does not recognize the time values as …

---

## [Javascript to Function node. Lost, very lost... :/](https://discourse.nodered.org/t/javascript-to-function-node-lost-very-lost/82036)

<div class="topic-metadata">

**Author:** [@Tamadite](https://discourse.nodered.org/u/Tamadite)\
**Replies:** 2\
**Last updated:** [15 October 2023 08:09 UTC](https://discourse.nodered.org/t/javascript-to-function-node-lost-very-lost/82036 "2023-10-15T08:09:49Z")

</div>

I found this JS parser: The code takes an ASCII string as input, parses it and returns a JSON object. The lib folder contains multiple js files and the codes sub-folder again multiple js files in it. I have no idea ho…

---

## [Tibber API installation fails (Homematic)](https://discourse.nodered.org/t/tibber-api-installation-fails-homematic/82030)

<div class="topic-metadata">

**Author:** [@Franz70](https://discourse.nodered.org/u/Franz70)\
**Replies:** 3\
**Last updated:** [14 October 2023 20:59 UTC](https://discourse.nodered.org/t/tibber-api-installation-fails-homematic/82030 "2023-10-14T20:59:42Z")

</div>

Hello community I am pretty new to Node-RED. Therefore, my apology for a probably silly question... I tried to install the Tibber API node-red-contrib-tibber-api Using the the installation menue of Node-RED I receive …

---

## [Securing Webhook and Websockets connections](https://discourse.nodered.org/t/securing-webhook-and-websockets-connections/81935)

<div class="topic-metadata">

**Author:** [@linker3000](https://discourse.nodered.org/u/linker3000)\
**Replies:** 2\
**Last updated:** [14 October 2023 12:19 UTC](https://discourse.nodered.org/t/securing-webhook-and-websockets-connections/81935 "2023-10-14T12:19:40Z")

</div>

Is there a sensible way to secure a publicly-exposed Webhook or Web Socket node using inbuilt tools or add-ons without using a third party service (eg: Webhook Relay), or is a local secure proxy (eg: Nginx) the way to go…

---

## [Using environment variables](https://discourse.nodered.org/t/using-environment-variables/81975)

<div class="topic-metadata">

**Author:** [@GretaC](https://discourse.nodered.org/u/GretaC)\
**Replies:** 14\
**Last updated:** [13 October 2023 19:43 UTC](https://discourse.nodered.org/t/using-environment-variables/81975 "2023-10-13T19:43:34Z")

</div>

Hi, I try to use my own environment variables in sub-flows. That's my goal and I fail. So I go back to a very simple 'flow' with nothing but a Inject node and a debug node. I set up the Inject node and replace the def…

---

## [Node-Red flows keep showing disconnected at times](https://discourse.nodered.org/t/node-red-flows-keep-showing-disconnected-at-times/82012)

<div class="topic-metadata">

**Author:** [@Dozer](https://discourse.nodered.org/u/Dozer)\
**Replies:** 1\
**Last updated:** [13 October 2023 18:24 UTC](https://discourse.nodered.org/t/node-red-flows-keep-showing-disconnected-at-times/82012 "2023-10-13T18:24:56Z")

</div>

I'm using HA on a Nuc PC under Proxmox... I've installed Node Red and it seems tobe working, but the nodes I have, after a short time, stop working and show "disconnected. Do these logs from HA "Supervisor" look ok? 2…

---

## [ssh node @insectos/ssh-exec 0.3.2](https://discourse.nodered.org/t/ssh-node-insectos-ssh-exec-0-3-2/82007)

<div class="topic-metadata">

**Author:** [@Stefan68](https://discourse.nodered.org/u/Stefan68)\
**Replies:** 0\
**Last updated:** [13 October 2023 14:17 UTC](https://discourse.nodered.org/t/ssh-node-insectos-ssh-exec-0-3-2/82007 "2023-10-13T14:17:59Z")

</div>

Hello, I would like to send a command to a Unifi AP via ssh, it works perfectly with Putty. Now in Nodered I use this node "@insectos/ssh-exec 0.3.2". He builds a connection with me and can also see this in his observat…

---

## [Creating CRC16 xModem Hex Value](https://discourse.nodered.org/t/creating-crc16-xmodem-hex-value/81981)

<div class="topic-metadata">

**Author:** [@michaelbusry](https://discourse.nodered.org/u/michaelbusry)\
**Replies:** 7\
**Last updated:** [13 October 2023 14:38 UTC](https://discourse.nodered.org/t/creating-crc16-xmodem-hex-value/81981 "2023-10-13T14:38:58Z")

</div>

I'm new here and rusty on my Java sorry if this sounds silly and before you say I've tried the other postings and I couldn't get them to work. What we're need to do is to send an ASCII base64 value from a JSON object st…

---

## [Dealing with variables when duplicating groups of nodes](https://discourse.nodered.org/t/dealing-with-variables-when-duplicating-groups-of-nodes/81917)

<div class="topic-metadata">

**Author:** [@JeromeVISUALS](https://discourse.nodered.org/u/JeromeVISUALS)\
**Replies:** 4\
**Last updated:** [13 October 2023 13:53 UTC](https://discourse.nodered.org/t/dealing-with-variables-when-duplicating-groups-of-nodes/81917 "2023-10-13T13:53:53Z")

</div>

Hi all ! I need to duplicate some parts of a flow as I need to get the same behavior and workflow to work with another device ( or let's say another identical feature of the same device) My first idea was to make use o…

---

## [Exec node exe has multiple msgs when there should be one (windows)](https://discourse.nodered.org/t/exec-node-exe-has-multiple-msgs-when-there-should-be-one-windows/82001)

<div class="topic-metadata">

**Author:** [@mored](https://discourse.nodered.org/u/mored)\
**Replies:** 3\
**Last updated:** [13 October 2023 13:22 UTC](https://discourse.nodered.org/t/exec-node-exe-has-multiple-msgs-when-there-should-be-one-windows/82001 "2023-10-13T13:22:50Z")

</div>

I have a C# console app that I've created that amongst other things runs a (sub?) process. When using the exec node to run the compiled binary the process that the exe creates seems to get picked up by node red. Can see …

---

## [Functions Association](https://discourse.nodered.org/t/functions-association/81974)

<div class="topic-metadata">

**Author:** [@leo17](https://discourse.nodered.org/u/leo17)\
**Replies:** 7\
**Last updated:** [13 October 2023 13:17 UTC](https://discourse.nodered.org/t/functions-association/81974 "2023-10-13T13:17:32Z")

</div>

Hello everyone, I would like to associate two functions in a 1 fuction (association) to store them in my database (MongoDB) . My first fuction is : var dateActuelle = new Date(); var dateFormatee = dateActuelle.g…

---

## [Linking two or more conditions in a function node - syntax?](https://discourse.nodered.org/t/linking-two-or-more-conditions-in-a-function-node-syntax/81997)

<div class="topic-metadata">

**Author:** [@pinie\_pinie](https://discourse.nodered.org/u/pinie_pinie)\
**Replies:** 4\
**Last updated:** [13 October 2023 12:58 UTC](https://discourse.nodered.org/t/linking-two-or-more-conditions-in-a-function-node-syntax/81997 "2023-10-13T12:58:55Z")

</div>

Hello, I need the syntax for a function node to compare at least 2 conditions at the input and then generate a result accordingly. e.g. At the input the values 20 and 40 come from 2 nodes. Now the connection: If paylo…

---

## [Raspberry Pi Device - Play mp3 file without opening dashboard](https://discourse.nodered.org/t/raspberry-pi-device-play-mp3-file-without-opening-dashboard/81996)

<div class="topic-metadata">

**Author:** [@Mbessing](https://discourse.nodered.org/u/Mbessing)\
**Replies:** 0\
**Last updated:** [13 October 2023 10:17 UTC](https://discourse.nodered.org/t/raspberry-pi-device-play-mp3-file-without-opening-dashboard/81996 "2023-10-13T10:17:38Z")

</div>

Hi, I want to add multiple Raspberry Pi devices to my cloud FlowFuse application and be able to play audio through their audio jack port without openening the dashboard in the browser. My question is, what nodes can I u…

---

## [Sending an Hex Command over TCP](https://discourse.nodered.org/t/sending-an-hex-command-over-tcp/8267)

<div class="topic-metadata">

**Author:** [@BastelKlaus](https://discourse.nodered.org/u/BastelKlaus)\
**Replies:** 17\
**Last updated:** [13 October 2023 09:21 UTC](https://discourse.nodered.org/t/sending-an-hex-command-over-tcp/8267 "2023-10-13T09:21:18Z")

</div>

Hi, i´m trying to read out my Central Heating. It have an RS232 port and i will send an Command over Node-red (based on IoBroker), over a Usr-TCP232 (Serial Port converter). I try to send this Hex Command: 0x7B 0x4…

---

## [Strange Behaviour on Applying Mathematics on Variable](https://discourse.nodered.org/t/strange-behaviour-on-applying-mathematics-on-variable/81986)

<div class="topic-metadata">

**Author:** [@Kalvintan](https://discourse.nodered.org/u/Kalvintan)\
**Replies:** 2\
**Last updated:** [13 October 2023 06:43 UTC](https://discourse.nodered.org/t/strange-behaviour-on-applying-mathematics-on-variable/81986 "2023-10-13T06:43:35Z")

</div>

Hello everyone, I've recently been attempting to perform mathematical operations on a variable in my Home Assistant setup. The variable I'm working with is obtained from Home Assistant and is named comfort\_temperature. …

---

## [MQTT yields no results from 'status' or 'complete' nodes](https://discourse.nodered.org/t/mqtt-yields-no-results-from-status-or-complete-nodes/81831)

<div class="topic-metadata">

**Author:** [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Replies:** 15\
**Last updated:** [13 October 2023 01:12 UTC](https://discourse.nodered.org/t/mqtt-yields-no-results-from-status-or-complete-nodes/81831 "2023-10-13T01:12:04Z")

</div>

EDIT: 'status' worked when I shut down Mosquitto MQTT broker. So, 'status' node confirmed OK. 'complete' does not work as I had expected. It needs a in/out pair to start/complete. This is not based on just sending mes…

---

## [HTTP node overwrites msg, how to solve?](https://discourse.nodered.org/t/http-node-overwrites-msg-how-to-solve/81982)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 7\
**Last updated:** [13 October 2023 00:20 UTC](https://discourse.nodered.org/t/http-node-overwrites-msg-how-to-solve/81982 "2023-10-13T00:20:29Z")

</div>

I'd like to pass something like the below to an HTTP request node, and have the HTTP node spit out its response including the additional properties: msg = { "payload": "foo - replace this with output from HTTP node"…

---

## [Using npm module](https://discourse.nodered.org/t/using-npm-module/81977)

<div class="topic-metadata">

**Author:** [@Greg50100](https://discourse.nodered.org/u/Greg50100)\
**Replies:** 2\
**Last updated:** [12 October 2023 20:16 UTC](https://discourse.nodered.org/t/using-npm-module/81977 "2023-10-12T20:16:24Z")

</div>

Hi, I'm new to Node Red and I would like to use the astronomy-engine npm module (astronomy-engine - npm) in node npm but I can't find any examples to help me. Is it possible to have some help to extract the functions?

---

## [Http request node get server not responding error](https://discourse.nodered.org/t/http-request-node-get-server-not-responding-error/81919)

<div class="topic-metadata">

**Author:** [@Mick](https://discourse.nodered.org/u/Mick)\
**Replies:** 6\
**Last updated:** [12 October 2023 17:38 UTC](https://discourse.nodered.org/t/http-request-node-get-server-not-responding-error/81919 "2023-10-12T17:38:51Z")

</div>

I have a flow that is being used by some one else but getting : msg.payload : string\[71\] "RequestError : https://www.blitzortung.org/en/JS/live\_lightning\_maps.js" 10/10/2023, 21:04:00node: e9f91fa8e7a0868emsg : strin…

---

## [Search an Array](https://discourse.nodered.org/t/search-an-array/81969)

<div class="topic-metadata">

**Author:** [@Elad23](https://discourse.nodered.org/u/Elad23)\
**Replies:** 11\
**Last updated:** [12 October 2023 16:35 UTC](https://discourse.nodered.org/t/search-an-array/81969 "2023-10-12T16:35:12Z")

</div>

Hi, I have a text file that I am loading into an array which contains lots of license plates. I have a feed coming from a camera with msg.payload of licene plate data; I want to be able to search every message coming o…

---

## [Unusually High CPU Usage on Raspberry Pi 3 at Startup](https://discourse.nodered.org/t/unusually-high-cpu-usage-on-raspberry-pi-3-at-startup/81920)

<div class="topic-metadata">

**Author:** [@dunum](https://discourse.nodered.org/u/dunum)\
**Replies:** 17\
**Last updated:** [12 October 2023 13:39 UTC](https://discourse.nodered.org/t/unusually-high-cpu-usage-on-raspberry-pi-3-at-startup/81920 "2023-10-12T13:39:54Z")

</div>

Hi I have successfully installed and run Node-RED on many Raspberry Pi systems to date, however my latest install has shown strange CPU activity at start-up. Following start-up of a clean system build, with no other pr…

---

## [The specified msg.topic is not supported](https://discourse.nodered.org/t/the-specified-msg-topic-is-not-supported/77291)

<div class="topic-metadata">

**Author:** [@ninaaa](https://discourse.nodered.org/u/ninaaa)\
**Replies:** 22\
**Last updated:** [12 October 2023 12:34 UTC](https://discourse.nodered.org/t/the-specified-msg-topic-is-not-supported/77291 "2023-10-12T12:34:33Z")

</div>

Hello, I hope you can help me. I always get this message (with every value change (update) and everything works very sluggishly in this picture! What am I doing wrong? Thenks

---

## [If/Else statements failing](https://discourse.nodered.org/t/if-else-statements-failing/81964)

<div class="topic-metadata">

**Author:** [@mattuns](https://discourse.nodered.org/u/mattuns)\
**Replies:** 4\
**Last updated:** [12 October 2023 10:51 UTC](https://discourse.nodered.org/t/if-else-statements-failing/81964 "2023-10-12T10:51:43Z")

</div>

Hi All, Firstly, apologies for the newbie questions. I suspect this is a straightforward solution but I've not been able to find it yet. I have a number of sensors and am using a existing github repository for the java…

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

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