# General

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

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

**Page:** 582

---

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

---

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

---

## [Set 'undefined' to 0](https://discourse.nodered.org/t/set-undefined-to-0/43044)

<div class="topic-metadata">

**Author:** [@knaxman](https://discourse.nodered.org/u/knaxman)\
**Replies:** 1\
**Last updated:** [22 March 2021 20:51 UTC](https://discourse.nodered.org/t/set-undefined-to-0/43044 "2021-03-22T20:51:19Z")

</div>

Hi guys, I just started some days ago with Node-RED. I have maybe a dummy a question. I read via http a XML file from a Converter. During daytime it works but if the converter is hybernating the power value is receive…

---

## [Node RED Website not loading](https://discourse.nodered.org/t/node-red-website-not-loading/43033)

<div class="topic-metadata">

**Author:** [@deactivator](https://discourse.nodered.org/u/deactivator)\
**Replies:** 9\
**Last updated:** [22 March 2021 20:08 UTC](https://discourse.nodered.org/t/node-red-website-not-loading/43033 "2021-03-22T20:08:50Z")

</div>

Hello everyone, i am running node-red on my Raspberry Pi 22 Mar 19:32:42 - \[info\] Node-RED Version: v1.2.9 22 Mar 19:32:42 - \[info\] Node.js Version: v12.21.0 22 Mar 19:32:42 - \[info\] Linux 5.4.83-v7+ arm LE 22 Mar …

---

## [Coding suggestion](https://discourse.nodered.org/t/coding-suggestion/43031)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 4\
**Last updated:** [22 March 2021 19:56 UTC](https://discourse.nodered.org/t/coding-suggestion/43031 "2021-03-22T19:56:45Z")

</div>

I need your best advise on finding the most efficient solution to my problem. Problem: I am monitoring an automation bus on which a stream of frames flows. The frames speed can range from 1/second to 15/second. I need t…

---

## [Install node-red-contrib-mijia-filter to nodered](https://discourse.nodered.org/t/install-node-red-contrib-mijia-filter-to-nodered/42971)

<div class="topic-metadata">

**Author:** [@xjust](https://discourse.nodered.org/u/xjust)\
**Replies:** 4\
**Last updated:** [22 March 2021 19:05 UTC](https://discourse.nodered.org/t/install-node-red-contrib-mijia-filter-to-nodered/42971 "2021-03-22T19:05:58Z")

</div>

any ideea how to make node-red-contrib-mijia-filter work with nodered again ? its not in the search palletes and i tried npm install node-red-contrib-mijia-filter but it doesnt seem to appear in nodered webpage of the…

---

## [Questions about Raspberry pi ezo sensor flow.(atlas scientific sensor)](https://discourse.nodered.org/t/questions-about-raspberry-pi-ezo-sensor-flow-atlas-scientific-sensor/27091)

<div class="topic-metadata">

**Author:** [@Athurian](https://discourse.nodered.org/u/Athurian)\
**Replies:** 19\
**Last updated:** [22 March 2021 18:59 UTC](https://discourse.nodered.org/t/questions-about-raspberry-pi-ezo-sensor-flow-atlas-scientific-sensor/27091 "2021-03-22T18:59:31Z")

</div>

I have even succeeded in loading the current python code from nod red to deebug. I can do this by entering a command in the Raspberry Pi cmd command window. However, I am not sure what to do next in node red. As you c…

---

## [Node-red-contrib-sonos-plus monitor track being played](https://discourse.nodered.org/t/node-red-contrib-sonos-plus-monitor-track-being-played/43025)

<div class="topic-metadata">

**Author:** [@lseg74](https://discourse.nodered.org/u/lseg74)\
**Replies:** 2\
**Last updated:** [22 March 2021 18:33 UTC](https://discourse.nodered.org/t/node-red-contrib-sonos-plus-monitor-track-being-played/43025 "2021-03-22T18:33:43Z")

</div>

Hi @hklages, I was wondering if I could monitor which track is being played on a particular sonos (S1). My kids typically are playing story CD's from the music library in the evening. And we typically switch to Radio in …

---

## [List of topic choices in mqtt-in](https://discourse.nodered.org/t/list-of-topic-choices-in-mqtt-in/43001)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 6\
**Last updated:** [22 March 2021 16:39 UTC](https://discourse.nodered.org/t/list-of-topic-choices-in-mqtt-in/43001 "2021-03-22T16:39:56Z")

</div>

I'd like to have a fixed list of available topics for the mqtt-in node. As far as I can see, using a subflow is not option, or maybe I am missing something. In other words, I need that the user - upon deploying the node…

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

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