# Latest

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

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

**Page:** 854

---

## [Buttons don't work from other tab?](https://discourse.nodered.org/t/buttons-dont-work-from-other-tab/43127)

<div class="topic-metadata">

**Author:** [@Myslikko](https://discourse.nodered.org/u/Myslikko)\
**Replies:** 0\
**Last updated:** [24 March 2021 14:57 UTC](https://discourse.nodered.org/t/buttons-dont-work-from-other-tab/43127 "2021-03-24T14:57:06Z")

</div>

Hello! i'm trying to control ui\_media node from other tab but for some unknown reason it doesn't react to cliks. with inject nodes it works fine. heres the code \[{"id":"fd48e304.074d7","type":"tab","label":"video","di…

---

## [Node-Red CSV double entries](https://discourse.nodered.org/t/node-red-csv-double-entries/43082)

<div class="topic-metadata">

**Author:** [@Eintracht00](https://discourse.nodered.org/u/Eintracht00)\
**Replies:** 6\
**Last updated:** [24 March 2021 11:09 UTC](https://discourse.nodered.org/t/node-red-csv-double-entries/43082 "2021-03-24T11:09:39Z")

</div>

Is there a way how i can go sure that i don't get double entries in my CSV. I take data from a sensor every 30 sec, but if nothing changed, I want get a new entry in my CSV. Just if something changed (I get 5 different…

---

## [Node-Red CSV datatype](https://discourse.nodered.org/t/node-red-csv-datatype/43081)

<div class="topic-metadata">

**Author:** [@Eintracht00](https://discourse.nodered.org/u/Eintracht00)\
**Replies:** 6\
**Last updated:** [24 March 2021 10:56 UTC](https://discourse.nodered.org/t/node-red-csv-datatype/43081 "2021-03-24T10:56:25Z")

</div>

How can I make that my CSV File that my lines are formatted, because if i get data like "7.2" as float. it makes me in the CSV btw. Excel 7. Feb, because it thinks automatically that its a date

---

## [Found an error in the user guide](https://discourse.nodered.org/t/found-an-error-in-the-user-guide/43113)

<div class="topic-metadata">

**Author:** [@Suurballe](https://discourse.nodered.org/u/Suurballe)\
**Replies:** 1\
**Last updated:** [24 March 2021 10:27 UTC](https://discourse.nodered.org/t/found-an-error-in-the-user-guide/43113 "2021-03-24T10:27:38Z")

</div>

Hello, I was sitting and reading through the user-guide on how to write functions in Node-RED and came across a tiny error. I know it is not much at all, but it threw me off when I was reading it. https://nodered.org/d…

---

## [Mysql connection refused](https://discourse.nodered.org/t/mysql-connection-refused/43109)

<div class="topic-metadata">

**Author:** [@Eimerich](https://discourse.nodered.org/u/Eimerich)\
**Replies:** 5\
**Last updated:** [24 March 2021 10:22 UTC](https://discourse.nodered.org/t/mysql-connection-refused/43109 "2021-03-24T10:22:22Z")

</div>

Hi there, I've seen that some similar questions have already been replied but didn't seem to clarify my actual problem. The situation so far: We have installed an IOT on our system to monitor the Siemens PLC. When I'm …

---

## [Programming ti MSP430 using MSP-FET and Raspberry pi](https://discourse.nodered.org/t/programming-ti-msp430-using-msp-fet-and-raspberry-pi/39870)

<div class="topic-metadata">

**Author:** [@RaptorUK](https://discourse.nodered.org/u/RaptorUK)\
**Replies:** 1\
**Last updated:** [24 March 2021 10:19 UTC](https://discourse.nodered.org/t/programming-ti-msp430-using-msp-fet-and-raspberry-pi/39870 "2021-03-24T10:19:54Z")

</div>

Hi folks, I'll shortly be working on a project which will use Node Red on a Raspberry pi 3B, part of this project will involve using the pi to program (firmware upload) a populated PCB under test. The Micro Controller …

---

## [Why .. "TypeError: Cannot read property 'apply' of undefined"](https://discourse.nodered.org/t/why-typeerror-cannot-read-property-apply-of-undefined/43106)

<div class="topic-metadata">

**Author:** [@12345](https://discourse.nodered.org/u/12345)\
**Replies:** 2\
**Last updated:** [24 March 2021 08:55 UTC](https://discourse.nodered.org/t/why-typeerror-cannot-read-property-apply-of-undefined/43106 "2021-03-24T08:55:40Z")

</div>

var States = 1; var msg1 = {payload : msg.payload}; msg1.States = States; function delay(){ msg.payload = { value: msg.payload, 'fc': 16, 'unitid': 1, 'address': 400 , 'quantity': 2 } ; } setTimeout(delay(),200 ); …

---

## [How to clear node when I clicked F5 (refresh)?](https://discourse.nodered.org/t/how-to-clear-node-when-i-clicked-f5-refresh/43064)

<div class="topic-metadata">

**Author:** [@OchoijuoO](https://discourse.nodered.org/u/OchoijuoO)\
**Replies:** 3\
**Last updated:** [24 March 2021 08:59 UTC](https://discourse.nodered.org/t/how-to-clear-node-when-i-clicked-f5-refresh/43064 "2021-03-24T08:59:33Z")

</div>

When I page out , click 'F5' refresh button, close dashboard page , I want to refresh my node Now, my dashboard page is remained pre-selected values. //selected dropdown values , selected switch.., clicked button , va…

---

## [Issue with filepath to load geometry file inside a function node](https://discourse.nodered.org/t/issue-with-filepath-to-load-geometry-file-inside-a-function-node/42992)

<div class="topic-metadata">

**Author:** [@Dino](https://discourse.nodered.org/u/Dino)\
**Replies:** 7\
**Last updated:** [24 March 2021 07:48 UTC](https://discourse.nodered.org/t/issue-with-filepath-to-load-geometry-file-inside-a-function-node/42992 "2021-03-24T07:48:08Z")

</div>

Dear team, Currently trying to visualize a three.js sketch inside a dashboard. This works well thanks to the example : https://flows.nodered.org/flow/079151b53f63261911684acc015f9166 It works fluently and manage to bri…

---

## [How to remove or disable factory default nodes](https://discourse.nodered.org/t/how-to-remove-or-disable-factory-default-nodes/43103)

<div class="topic-metadata">

**Author:** [@cebucul](https://discourse.nodered.org/u/cebucul)\
**Replies:** 1\
**Last updated:** [24 March 2021 07:45 UTC](https://discourse.nodered.org/t/how-to-remove-or-disable-factory-default-nodes/43103 "2021-03-24T07:45:43Z")

</div>

Hi, please let me know how could I remove default nodes populated in any fresh installation of node-red. Example network nodes like UDP and TCP. Thanks

---

## [How to pass msg value to switch topic field](https://discourse.nodered.org/t/how-to-pass-msg-value-to-switch-topic-field/43061)

<div class="topic-metadata">

**Author:** [@ddk](https://discourse.nodered.org/u/ddk)\
**Replies:** 3\
**Last updated:** [24 March 2021 01:16 UTC](https://discourse.nodered.org/t/how-to-pass-msg-value-to-switch-topic-field/43061 "2021-03-24T01:16:22Z")

</div>

Hi I want to set Topic filed with special expression: {{{msg.prex}}}\_test in the switch node, but it not work. How can I fix it? Thanks!!! \[{"id":"992e19b1.96722","type":"ui\_switch","z":"7c707aa7.c06c4c","name":"loo…

---

## [Linking nodes with wire](https://discourse.nodered.org/t/linking-nodes-with-wire/43097)

<div class="topic-metadata">

**Author:** [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Replies:** 3\
**Last updated:** [23 March 2021 23:14 UTC](https://discourse.nodered.org/t/linking-nodes-with-wire/43097 "2021-03-23T23:14:30Z")

</div>

I have a question about linking nodes with wires. For example I have three nodes A,B,C and this nodes are linked to node D with wire. Every node has a unique internal id. On node property "wires" of nodes A,B,C are th…

---

## [Getting a disconnected message on Web Apps](https://discourse.nodered.org/t/getting-a-disconnected-message-on-web-apps/43062)

<div class="topic-metadata">

**Author:** [@qawnaoya](https://discourse.nodered.org/u/qawnaoya)\
**Replies:** 2\
**Last updated:** [23 March 2021 21:56 UTC](https://discourse.nodered.org/t/getting-a-disconnected-message-on-web-apps/43062 "2021-03-23T21:56:01Z")

</div>

I've built a Web Apps site using Node RED Docker in Microsoft Azure, but I'm frequently getting a disconnected message. Any ideas on how to fix this? Node RED is using the latest image of nodered/node-red on Docker Hub.

---

## [Display image using \</\>template node](https://discourse.nodered.org/t/display-image-using-template-node/43094)

<div class="topic-metadata">

**Author:** [@FatPilot](https://discourse.nodered.org/u/FatPilot)\
**Replies:** 6\
**Last updated:** [23 March 2021 21:24 UTC](https://discourse.nodered.org/t/display-image-using-template-node/43094 "2021-03-23T21:24:59Z")

</div>

Hi Everyone, Could someone please tell me what I'm doing wrong. Trying to display an image using the \</\>template node. I'm sure what I've done in the template node is incorrect. Cheers. Paul. \[{"id":"3a1bff0b.55d3c…

---

## [NodeRED Process Crashing](https://discourse.nodered.org/t/nodered-process-crashing/43053)

<div class="topic-metadata">

**Author:** [@bkdfkup](https://discourse.nodered.org/u/bkdfkup)\
**Replies:** 2\
**Last updated:** [23 March 2021 21:05 UTC](https://discourse.nodered.org/t/nodered-process-crashing/43053 "2021-03-23T21:05:57Z")

</div>

Hi all. Having an issue where since migrating from an ubuntu-based node-red instance to a Raspbian-based instance, the node-red process is frequently crashing and (as I am running it as a service) is restarting. Due to …

---

## [Node-red performance benchmark](https://discourse.nodered.org/t/node-red-performance-benchmark/43072)

<div class="topic-metadata">

**Author:** [@baoyicai](https://discourse.nodered.org/u/baoyicai)\
**Replies:** 5\
**Last updated:** [23 March 2021 20:58 UTC](https://discourse.nodered.org/t/node-red-performance-benchmark/43072 "2021-03-23T20:58:14Z")

</div>

I'm wondering how many concurrent flows can node-red handle? is there any load test? My use case: 1 generate alarm on iot data. like temperature exceed limit, around 10,000 alarms 2. calculate new values based on inp…

---

## [Back-up SQLite Database](https://discourse.nodered.org/t/back-up-sqlite-database/42995)

<div class="topic-metadata">

**Author:** [@Dgillett](https://discourse.nodered.org/u/Dgillett)\
**Replies:** 13\
**Last updated:** [23 March 2021 19:33 UTC](https://discourse.nodered.org/t/back-up-sqlite-database/42995 "2021-03-23T19:33:45Z")

</div>

Im working with Node-Red to send MQTT data to a SQLite database and Provide data in an organized manner. My Question, Is their a way to Backup the SQLite database automatically from Node-Red or another way to do it. I'm…

---

## [Save the cumulate data each 8 hours tracking events](https://discourse.nodered.org/t/save-the-cumulate-data-each-8-hours-tracking-events/42855)

<div class="topic-metadata">

**Author:** [@Khaledpro](https://discourse.nodered.org/u/Khaledpro)\
**Replies:** 23\
**Last updated:** [23 March 2021 15:40 UTC](https://discourse.nodered.org/t/save-the-cumulate-data-each-8-hours-tracking-events/42855 "2021-03-23T15:40:49Z")

</div>

Hello everyone i want ask if there's someone can help me in node-red flows i have msg.Payload is a counter and i want to save the total of this cumulate for each 8 hours. please any one has an ideas to help me thank yo…

---

## [Scanning android NFC tags without app?](https://discourse.nodered.org/t/scanning-android-nfc-tags-without-app/42818)

<div class="topic-metadata">

**Author:** [@akszyn\_pl](https://discourse.nodered.org/u/akszyn_pl)\
**Replies:** 6\
**Last updated:** [23 March 2021 15:40 UTC](https://discourse.nodered.org/t/scanning-android-nfc-tags-without-app/42818 "2021-03-23T15:40:46Z")

</div>

What are the requirements for node red to detect which phone we use to scan the tag? I would like everyone to be able to activate the NFC tag is it someone in the household or someone stranger who scans for the first ti…

---

## [Turn off plug when no much power taken (washmachine)](https://discourse.nodered.org/t/turn-off-plug-when-no-much-power-taken-washmachine/42969)

<div class="topic-metadata">

**Author:** [@undefinedman](https://discourse.nodered.org/u/undefinedman)\
**Replies:** 6\
**Last updated:** [23 March 2021 14:58 UTC](https://discourse.nodered.org/t/turn-off-plug-when-no-much-power-taken-washmachine/42969 "2021-03-23T14:58:55Z")

</div>

I am very new to node-red and homeassistant, so far I had no problems with basic setup however this scenario I don't know how to achieve. Basically I have a wash machine and a dryer connected to a smart plug. I thought …

---

## [Parse a random json](https://discourse.nodered.org/t/parse-a-random-json/43085)

<div class="topic-metadata">

**Author:** [@Napster](https://discourse.nodered.org/u/Napster)\
**Replies:** 4\
**Last updated:** [23 March 2021 14:09 UTC](https://discourse.nodered.org/t/parse-a-random-json/43085 "2021-03-23T14:09:46Z")

</div>

Hi, When i do a http get from my solaredge system, i get a json array with types and values. But the types are on random object places, how can i parse them ?

---

## [Struggling with exec node](https://discourse.nodered.org/t/struggling-with-exec-node/43080)

<div class="topic-metadata">

**Author:** [@peter\_a](https://discourse.nodered.org/u/peter_a)\
**Replies:** 6\
**Last updated:** [23 March 2021 12:43 UTC](https://discourse.nodered.org/t/struggling-with-exec-node/43080 "2021-03-23T12:43:28Z")

</div>

I've been struggling to use the exec node to run a command that will work in a standard linux cli. The command sends a request to a thermostat in my home, and returns a JSON object with the current status of the thermos…

---

## [Dashboard Does Not Always Update Correctly](https://discourse.nodered.org/t/dashboard-does-not-always-update-correctly/43084)

<div class="topic-metadata">

**Author:** [@n61ab](https://discourse.nodered.org/u/n61ab)\
**Replies:** 0\
**Last updated:** [23 March 2021 12:41 UTC](https://discourse.nodered.org/t/dashboard-does-not-always-update-correctly/43084 "2021-03-23T12:41:29Z")

</div>

My browser dashboards do not always update correctly. Background colors, and text are often the first to not update, followed by actual values. Happens after a period of proper browser operation, typically takes severa…

---

## [Non linear scale node?](https://discourse.nodered.org/t/non-linear-scale-node/43008)

<div class="topic-metadata">

**Author:** [@dougle03](https://discourse.nodered.org/u/dougle03)\
**Replies:** 14\
**Last updated:** [23 March 2021 12:26 UTC](https://discourse.nodered.org/t/non-linear-scale-node/43008 "2021-03-23T12:26:34Z")

</div>

Hi all, I have a sensor that varies it's resistance in response to position. It varies between 0 ohms and 190 ohms in a reasonably straight curve, however the device I'm using to read the resistance is using a voltage d…

---

## [Error: ER\_BAD\_FIELD\_ERROR: Unknown column 'DWD981' in 'field list'](https://discourse.nodered.org/t/error-er-bad-field-error-unknown-column-dwd981-in-field-list/42802)

<div class="topic-metadata">

**Author:** [@med](https://discourse.nodered.org/u/med)\
**Replies:** 7\
**Last updated:** [23 March 2021 11:31 UTC](https://discourse.nodered.org/t/error-er-bad-field-error-unknown-column-dwd981-in-field-list/42802 "2021-03-23T11:31:00Z")

</div>

hi guys, I am not that much into SQL and was working on my first project and I had this error, I need your help, please .

---

## [CSV Date Filename and Daily Email](https://discourse.nodered.org/t/csv-date-filename-and-daily-email/7498)

<div class="topic-metadata">

**Author:** [@randolfwenhold](https://discourse.nodered.org/u/randolfwenhold)\
**Replies:** 6\
**Last updated:** [23 March 2021 10:31 UTC](https://discourse.nodered.org/t/csv-date-filename-and-daily-email/7498 "2021-03-23T10:31:10Z")

</div>

LHi there, I would like to create a new CSV every day with logged data from a Modbus enabled Energy meter. The Meter is being read via Modbus in a simple Python script that I am running with the exec node. I would like …

---

## [Function for sorting output by input](https://discourse.nodered.org/t/function-for-sorting-output-by-input/43069)

<div class="topic-metadata">

**Author:** [@mocky](https://discourse.nodered.org/u/mocky)\
**Replies:** 1\
**Last updated:** [23 March 2021 09:22 UTC](https://discourse.nodered.org/t/function-for-sorting-output-by-input/43069 "2021-03-23T09:22:18Z")

</div>

\*\*Good day We are starting with node red and I would like to ask if anyone could advise me. The point is that I would need a function that would sort my input. Now it does to me that when I send any input 1-4, the out…

---

## [Query SMA Energy Meter / Home Manager by UDP in](https://discourse.nodered.org/t/query-sma-energy-meter-home-manager-by-udp-in/42983)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 15\
**Last updated:** [23 March 2021 07:17 UTC](https://discourse.nodered.org/t/query-sma-energy-meter-home-manager-by-udp-in/42983 "2021-03-23T07:17:28Z")

</div>

Hi, I came across the possibility to query my home manager directly in Node Red with UDP in: \[{"id":"a14c0e39.6a108","type":"udp in","z":"4726af68.c62a98","name":"Home Manager","iface":"","port":"9522","ipv":"udp4","m…

---

## [Setting message payload based on condition](https://discourse.nodered.org/t/setting-message-payload-based-on-condition/43049)

<div class="topic-metadata">

**Author:** [@ajocius](https://discourse.nodered.org/u/ajocius)\
**Replies:** 1\
**Last updated:** [22 March 2021 21:55 UTC](https://discourse.nodered.org/t/setting-message-payload-based-on-condition/43049 "2021-03-22T21:55:49Z")

</div>

I am measuring temp diff and saving it to flow context value 'Temp-Diff'. I then would like to use that context value to turn sonoff "on" or "off" by setting message payload accordingly and at a next step sending that m…

---

## [Diff between values](https://discourse.nodered.org/t/diff-between-values/43035)

<div class="topic-metadata">

**Author:** [@ajocius](https://discourse.nodered.org/u/ajocius)\
**Replies:** 4\
**Last updated:** [22 March 2021 21:53 UTC](https://discourse.nodered.org/t/diff-between-values/43035 "2021-03-22T21:53:27Z")

</div>

Have following context values: |Temp-Air|4.75| |Temp-Ground|5.9375| I need to calculate diff between them, so I put function : flow.set('Temp-Diff', 'Temp-Air'-'Temp-Ground') Result I got was error message, probab…

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

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