# General

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

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

**Page:** 574

---

## [Flow context to email node](https://discourse.nodered.org/t/flow-context-to-email-node/43866)

<div class="topic-metadata">

**Author:** [@OrluckIndBJ](https://discourse.nodered.org/u/OrluckIndBJ)\
**Replies:** 2\
**Last updated:** [8 April 2021 17:55 UTC](https://discourse.nodered.org/t/flow-context-to-email-node/43866 "2021-04-08T17:55:57Z")

</div>

Another newbie question here. I am using the dashboard to pick a person to send an email notification for their shift. What I am having problems with is getting the email node to take the flow context variable in the "TO…

---

## [Error loading settings file: /home/pi/.node-red/settings.js?](https://discourse.nodered.org/t/error-loading-settings-file-home-pi-node-red-settings-js/43874)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 8\
**Last updated:** [8 April 2021 16:42 UTC](https://discourse.nodered.org/t/error-loading-settings-file-home-pi-node-red-settings-js/43874 "2021-04-08T16:42:24Z")

</div>

Error loading settings file: /home/pi/.node-red/settings.js? Ok, I am not seeing why it is not being read. This file seems fine to me, what am I missing? If I let NR create the settings file, it works. But if I custo…

---

## [Node-RED 1.3.0: The workspace contains some nodes that are not properly configured](https://discourse.nodered.org/t/node-red-1-3-0-the-workspace-contains-some-nodes-that-are-not-properly-configured/43870)

<div class="topic-metadata">

**Author:** [@jo\_strasser](https://discourse.nodered.org/u/jo_strasser)\
**Replies:** 10\
**Last updated:** [8 April 2021 15:35 UTC](https://discourse.nodered.org/t/node-red-1-3-0-the-workspace-contains-some-nodes-that-are-not-properly-configured/43870 "2021-04-08T15:35:17Z")

</div>

Hi, since the update to 1.3.0 I am getting the error "The workspace contains some nodes that are not properly configured" when I try to deploy... But I haven't changed anything on the change function: Any ideas? …

---

## [Help with creating a dynamic list of tripped sensors](https://discourse.nodered.org/t/help-with-creating-a-dynamic-list-of-tripped-sensors/43805)

<div class="topic-metadata">

**Author:** [@gadget](https://discourse.nodered.org/u/gadget)\
**Replies:** 6\
**Last updated:** [8 April 2021 14:15 UTC](https://discourse.nodered.org/t/help-with-creating-a-dynamic-list-of-tripped-sensors/43805 "2021-04-08T14:15:08Z")

</div>

I'm attempting to create a list of contact sensors which are in the open state. For example I have a node which returns the state of sensor XYZ. So if the payload is "open", the text "XYZ" is added to the string/list wh…

---

## [Better control for heating](https://discourse.nodered.org/t/better-control-for-heating/43798)

<div class="topic-metadata">

**Author:** [@Surefire01](https://discourse.nodered.org/u/Surefire01)\
**Replies:** 15\
**Last updated:** [8 April 2021 14:00 UTC](https://discourse.nodered.org/t/better-control-for-heating/43798 "2021-04-08T14:00:09Z")

</div>

My central heating control using temperature data measured with a Si7021 probe plugged into a Sonoff TH unit, which is then averaged over ten readings using a smooth node in Node red works quite well. But I can't help wo…

---

## [Javascript switch in function node problem](https://discourse.nodered.org/t/javascript-switch-in-function-node-problem/43820)

<div class="topic-metadata">

**Author:** [@ricky.spanish6](https://discourse.nodered.org/u/ricky.spanish6)\
**Replies:** 2\
**Last updated:** [8 April 2021 13:51 UTC](https://discourse.nodered.org/t/javascript-switch-in-function-node-problem/43820 "2021-04-08T13:51:20Z")

</div>

Hi, I was wondering if it was possible to compare values from different payloads in the same function. I keep getting an undefined error for my msg.payload\[1\]. Or if we can't, anybody would have a better idea? Here is …

---

## [Access NR using Hostname](https://discourse.nodered.org/t/access-nr-using-hostname/43827)

<div class="topic-metadata">

**Author:** [@dpatel2016](https://discourse.nodered.org/u/dpatel2016)\
**Replies:** 14\
**Last updated:** [8 April 2021 13:51 UTC](https://discourse.nodered.org/t/access-nr-using-hostname/43827 "2021-04-08T13:51:11Z")

</div>

I have multiple RPI 4 collecting and controlling different things. I want to access NR with hostname because of dynamic IP. I don't have any control over the router and IP selection so I want to know if there is any othe…

---

## [IBM Cloud Node Red HTTP security](https://discourse.nodered.org/t/ibm-cloud-node-red-http-security/43861)

<div class="topic-metadata">

**Author:** [@HZB](https://discourse.nodered.org/u/HZB)\
**Replies:** 0\
**Last updated:** [8 April 2021 12:44 UTC](https://discourse.nodered.org/t/ibm-cloud-node-red-http-security/43861 "2021-04-08T12:44:42Z")

</div>

HI, I am new to Node Red & running on IBM cloud. I am trying to enable a login and password for the dashboard. I don't wan to do that in the flow because if anyone knows the address he/she just can jump to different tab…

---

## [Get sensor data](https://discourse.nodered.org/t/get-sensor-data/43857)

<div class="topic-metadata">

**Author:** [@fernando](https://discourse.nodered.org/u/fernando)\
**Replies:** 2\
**Last updated:** [8 April 2021 11:38 UTC](https://discourse.nodered.org/t/get-sensor-data/43857 "2021-04-08T11:38:29Z")

</div>

Hi, I'm new in Node-RED and I don't know how get data from 2 sensors. The model of sensors is pkth100b cz1 and they use tty USB (serial port I think). I'm stuck on this problem for 2 weeks, all I want is get data from …

---

## [Msg aus einer if-then Anweisung heraus?](https://discourse.nodered.org/t/msg-aus-einer-if-then-anweisung-heraus/43847)

<div class="topic-metadata">

**Author:** [@miggi20000](https://discourse.nodered.org/u/miggi20000)\
**Replies:** 2\
**Last updated:** [8 April 2021 10:46 UTC](https://discourse.nodered.org/t/msg-aus-einer-if-then-anweisung-heraus/43847 "2021-04-08T10:46:20Z")

</div>

Hallo, liebe node-red-Nutzer, ich taste mich langsam an node-red heran und bin auch schon ganz gut dabei. Aber bei nachfolgendem Problem bleibe ich einfach hängen. Ich möchte aus einer if-Abfrage innerhalb einer Funktio…

---

## [How to add new sensor in node-red](https://discourse.nodered.org/t/how-to-add-new-sensor-in-node-red/14137)

<div class="topic-metadata">

**Author:** [@adamf](https://discourse.nodered.org/u/adamf)\
**Replies:** 4\
**Last updated:** [8 April 2021 09:50 UTC](https://discourse.nodered.org/t/how-to-add-new-sensor-in-node-red/14137 "2021-04-08T09:50:48Z")

</div>

Hi, I am a newbie here. I have worked with node-red that has already installed sensors or I got npm install files from the internet. But now I want to work with this temp and hum sensor and send its data to google sheet…

---

## [Node-red MSSQL User Password](https://discourse.nodered.org/t/node-red-mssql-user-password/43843)

<div class="topic-metadata">

**Author:** [@Eintracht00](https://discourse.nodered.org/u/Eintracht00)\
**Replies:** 2\
**Last updated:** [8 April 2021 08:05 UTC](https://discourse.nodered.org/t/node-red-mssql-user-password/43843 "2021-04-08T08:05:16Z")

</div>

Hey I use the MSSQL Node-Flow, sometimes when i start my local host/ pc, the user and password of this flow to get access to my sql server is deleted or not given. How can I do that this don't happen?

---

## [Extract numbers from image](https://discourse.nodered.org/t/extract-numbers-from-image/43529)

<div class="topic-metadata">

**Author:** [@m\_elias](https://discourse.nodered.org/u/m_elias)\
**Replies:** 14\
**Last updated:** [8 April 2021 09:05 UTC](https://discourse.nodered.org/t/extract-numbers-from-image/43529 "2021-04-08T09:05:47Z")

</div>

I'm not sure what the terminology is, but I'd like to setup a flow to extract the hydro meter readings from a live view camera. I already know how to pull in still images from the camera but the meter cycles through the …

---

## [Need assistance converting serial input buffer to numbers](https://discourse.nodered.org/t/need-assistance-converting-serial-input-buffer-to-numbers/43703)

<div class="topic-metadata">

**Author:** [@SplitSecComp](https://discourse.nodered.org/u/SplitSecComp)\
**Replies:** 27\
**Last updated:** [8 April 2021 09:08 UTC](https://discourse.nodered.org/t/need-assistance-converting-serial-input-buffer-to-numbers/43703 "2021-04-08T09:08:58Z")

</div>

Hi. I have a serial input node and are reading data from a device. Its a binary input and i split the data in the serials node on eight characters. I get the following data from the serial input: 4/5/2021, 1:57:03 PMno…

---

## [Iterate over element of msg.payload and check for nulls](https://discourse.nodered.org/t/iterate-over-element-of-msg-payload-and-check-for-nulls/43449)

<div class="topic-metadata">

**Author:** [@vraghu1983](https://discourse.nodered.org/u/vraghu1983)\
**Replies:** 18\
**Last updated:** [8 April 2021 05:43 UTC](https://discourse.nodered.org/t/iterate-over-element-of-msg-payload-and-check-for-nulls/43449 "2021-04-08T05:43:52Z")

</div>

Hi - I have this requirement - I have the msg.payload with 37 + properties, and I want to check them for nulls before I move on in the flow. Attaching a sample payload screenshot, but you can assume any object for refere…

---

## [Virtual device does not update blind position](https://discourse.nodered.org/t/virtual-device-does-not-update-blind-position/43819)

<div class="topic-metadata">

**Author:** [@SandroK](https://discourse.nodered.org/u/SandroK)\
**Replies:** 0\
**Last updated:** [7 April 2021 14:16 UTC](https://discourse.nodered.org/t/virtual-device-does-not-update-blind-position/43819 "2021-04-07T14:16:48Z")

</div>

Hi Community, I'm new to the forum and hope someone can help me. I use Node-Red V1.2.9 together with IOBroker and the Node-Red-Contrib-Alexa-Home-Skill-Palette v0.1.19. Below you can see a flow for controlling a roller…

---

## [Python code reading msg.payload value in Template node](https://discourse.nodered.org/t/python-code-reading-msg-payload-value-in-template-node/43832)

<div class="topic-metadata">

**Author:** [@Fatima221](https://discourse.nodered.org/u/Fatima221)\
**Replies:** 2\
**Last updated:** [7 April 2021 20:45 UTC](https://discourse.nodered.org/t/python-code-reading-msg-payload-value-in-template-node/43832 "2021-04-07T20:45:21Z")

</div>

Hello, I recently started using Node-red, it is wonderful and hoping to get the hang of stuff here! So, I was trying to connect a 16X2 LCD with Raspberry pi and write to it from Node-red. unfortunately, I could not fin…

---

## [Node red array of objects and cpu workload efficiency query](https://discourse.nodered.org/t/node-red-array-of-objects-and-cpu-workload-efficiency-query/43817)

<div class="topic-metadata">

**Author:** [@coppo23](https://discourse.nodered.org/u/coppo23)\
**Replies:** 5\
**Last updated:** [7 April 2021 18:45 UTC](https://discourse.nodered.org/t/node-red-array-of-objects-and-cpu-workload-efficiency-query/43817 "2021-04-07T18:45:24Z")

</div>

I'm struggling to understand how to format and use objects and keep things efficient. I come from an embedded C background. In my node red home automation implementation I have a global array of objects, one per 'thing…

---

## [Using the time in node red](https://discourse.nodered.org/t/using-the-time-in-node-red/16761)

<div class="topic-metadata">

**Author:** [@steven\_191](https://discourse.nodered.org/u/steven_191)\
**Replies:** 20\
**Last updated:** [7 April 2021 18:22 UTC](https://discourse.nodered.org/t/using-the-time-in-node-red/16761 "2021-04-07T18:22:59Z")

</div>

Hi all, Ive been playing with node red for a while to set up to home automation. Its all going well and is up and running but I noticed this morning things happening at an unexpected time and I found this is due to the t…

---

## [File Storage to a text file](https://discourse.nodered.org/t/file-storage-to-a-text-file/43826)

<div class="topic-metadata">

**Author:** [@dirtydredrt](https://discourse.nodered.org/u/dirtydredrt)\
**Replies:** 12\
**Last updated:** [7 April 2021 18:04 UTC](https://discourse.nodered.org/t/file-storage-to-a-text-file/43826 "2021-04-07T18:04:53Z")

</div>

I have a BME280 sending out Temp, humidity, pressure, heatindex, dewpoint, temp F, pressure Hg. i'm only using 3 outputs I have three gauges temperature 70.0 Humidity 29.6 and Pressure 30.1 i have added filters to elim…

---

## [Variable value as part of name of the another variable](https://discourse.nodered.org/t/variable-value-as-part-of-name-of-the-another-variable/43793)

<div class="topic-metadata">

**Author:** [@petrasl](https://discourse.nodered.org/u/petrasl)\
**Replies:** 4\
**Last updated:** [7 April 2021 15:47 UTC](https://discourse.nodered.org/t/variable-value-as-part-of-name-of-the-another-variable/43793 "2021-04-07T15:47:22Z")

</div>

Hi, plese help a newbie which can't even formulate its questions properly :slight\_smile: I have two of them: Lets say i have a switch, which after action sends what was done like a confirmation that task was done: http…

---

## [Problems to "read out" mqtt Payload from DHT11](https://discourse.nodered.org/t/problems-to-read-out-mqtt-payload-from-dht11/43807)

<div class="topic-metadata">

**Author:** [@Bolle01](https://discourse.nodered.org/u/Bolle01)\
**Replies:** 5\
**Last updated:** [7 April 2021 14:28 UTC](https://discourse.nodered.org/t/problems-to-read-out-mqtt-payload-from-dht11/43807 "2021-04-07T14:28:37Z")

</div>

Hi, i am new here and i can´t find my fault in a Function node. I want to read out the Temperature and Huminity from a Tasmota DHT11 Client. So i use the Function node to extract the Temperature and Huminity, but it will…

---

## [Monitoring bot email](https://discourse.nodered.org/t/monitoring-bot-email/43812)

<div class="topic-metadata">

**Author:** [@Biff\_The\_Banana](https://discourse.nodered.org/u/Biff_The_Banana)\
**Replies:** 2\
**Last updated:** [7 April 2021 13:28 UTC](https://discourse.nodered.org/t/monitoring-bot-email/43812 "2021-04-07T13:28:15Z")

</div>

Hi there, I'm trying to run a small flow that monitors site uptime and sends emails if said site goes down. I'm trying to test right now but when I try to trigger the email out node it returns the following error: Erro…

---

## [Read ECONNRESET at TCP.onStreamRead](https://discourse.nodered.org/t/read-econnreset-at-tcp-onstreamread/43746)

<div class="topic-metadata">

**Author:** [@angrj](https://discourse.nodered.org/u/angrj)\
**Replies:** 4\
**Last updated:** [7 April 2021 11:49 UTC](https://discourse.nodered.org/t/read-econnreset-at-tcp-onstreamread/43746 "2021-04-07T11:49:52Z")

</div>

Hello to all, I have a problem with Node-RED: continuously communicates with PLCs using node-red-contrib-s7, it worked well for a long time, once migrated Node.JS and Node-RED (without changes to the flows) from a mach…

---

## [Filter sensor data](https://discourse.nodered.org/t/filter-sensor-data/43775)

<div class="topic-metadata">

**Author:** [@biros](https://discourse.nodered.org/u/biros)\
**Replies:** 8\
**Last updated:** [7 April 2021 10:05 UTC](https://discourse.nodered.org/t/filter-sensor-data/43775 "2021-04-07T10:05:06Z")

</div>

Hello, I have a sonoff th10 temperature and relay board flashed with tasmota (9.3.1). The one with the SI7021 sensor. I guess it's a firmware thing and or hardware problem, the measurements (on the tasmota web interface…

---

## [A problem with redis nodes](https://discourse.nodered.org/t/a-problem-with-redis-nodes/43802)

<div class="topic-metadata">

**Author:** [@vtgav](https://discourse.nodered.org/u/vtgav)\
**Replies:** 1\
**Last updated:** [7 April 2021 09:30 UTC](https://discourse.nodered.org/t/a-problem-with-redis-nodes/43802 "2021-04-07T09:30:17Z")

</div>

Greetings, I've successfully used redis from node-red in the past, and have just started a new piece of work which again needs redis, I'm using nodes from node-red-contrib-redis 1.3.7 but I'm having a struggle getting st…

---

## [MQTT problems with mobile phone](https://discourse.nodered.org/t/mqtt-problems-with-mobile-phone/43728)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 15\
**Last updated:** [7 April 2021 09:25 UTC](https://discourse.nodered.org/t/mqtt-problems-with-mobile-phone/43728 "2021-04-07T09:25:12Z")

</div>

I know I've asked before but this is the next step/stage. I use TASKER for my phone and apps. I've installed the MQTT part for it and things seem to work. But not always. The story: At certain battery levels the ph…

---

## [Is there a better way to do this?](https://discourse.nodered.org/t/is-there-a-better-way-to-do-this/43785)

<div class="topic-metadata">

**Author:** [@jcarreira](https://discourse.nodered.org/u/jcarreira)\
**Replies:** 2\
**Last updated:** [7 April 2021 06:54 UTC](https://discourse.nodered.org/t/is-there-a-better-way-to-do-this/43785 "2021-04-07T06:54:50Z")

</div>

Maybe "better" isn't the right word... More native to NR, maybe? I'm trying to avoid dropping to code for everything, but this works... \[{"id":"449c809d.fec43","type":"hubitat hsm","z":"534682e6.98503c","name":"","serve…

---

## [ts.startsWith is not a function](https://discourse.nodered.org/t/ts-startswith-is-not-a-function/43750)

<div class="topic-metadata">

**Author:** [@Mark-Muc](https://discourse.nodered.org/u/Mark-Muc)\
**Replies:** 12\
**Last updated:** [7 April 2021 05:54 UTC](https://discourse.nodered.org/t/ts-startswith-is-not-a-function/43750 "2021-04-07T05:54:11Z")

</div>

Hello to all!! I yesterday updated MQTT to Version 2.0.10 ,, so far averything was working fine. To day i updated all packages in Node-RED marked with update / newer version. After a reboot, Node-RED won't start anymo…

---

## [Posted flow updates from github not working](https://discourse.nodered.org/t/posted-flow-updates-from-github-not-working/43735)

<div class="topic-metadata">

**Author:** [@vlturner](https://discourse.nodered.org/u/vlturner)\
**Replies:** 2\
**Last updated:** [6 April 2021 21:29 UTC](https://discourse.nodered.org/t/posted-flow-updates-from-github-not-working/43735 "2021-04-06T21:29:30Z")

</div>

I have updated my flow and edited the text and flow itself, but the update from githib fails to update or show the new update date. https://flows.nodered.org/flow/9ba46c350c8999eaf137b65055a7e784

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

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