# Latest

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

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

**Page:** 843

---

## [Expose configured output count to function node (I can PR)](https://discourse.nodered.org/t/expose-configured-output-count-to-function-node-i-can-pr/43848)

<div class="topic-metadata">

**Author:** [@kristian](https://discourse.nodered.org/u/kristian)\
**Replies:** 11\
**Last updated:** [8 April 2021 16:02 UTC](https://discourse.nodered.org/t/expose-configured-output-count-to-function-node-i-can-pr/43848 "2021-04-08T16:02:53Z")

</div>

Right now if I wish to handle the configured output count "dynamically" inside function node, i'd also have to set it in javascript as the configured one is not exposed to the sandbox - so setting it twice. My suggestio…

---

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

---

## [Node Icon cannot be scaled and always fills the entire area](https://discourse.nodered.org/t/node-icon-cannot-be-scaled-and-always-fills-the-entire-area/43358)

<div class="topic-metadata">

**Author:** [@Kib](https://discourse.nodered.org/u/Kib)\
**Replies:** 12\
**Last updated:** [8 April 2021 14:36 UTC](https://discourse.nodered.org/t/node-icon-cannot-be-scaled-and-always-fills-the-entire-area/43358 "2021-04-08T14:36:51Z")

</div>

Hello guys, I am triying to use an .svg in the icons directory of my custom node. Nodered finds and displays the svg correctly but the icon always seems to fill the entire area. the file being an .svg isnt affected by s…

---

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

---

## [Filter the node in real time](https://discourse.nodered.org/t/filter-the-node-in-real-time/43845)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 17\
**Last updated:** [8 April 2021 10:25 UTC](https://discourse.nodered.org/t/filter-the-node-in-real-time/43845 "2021-04-08T10:25:47Z")

</div>

const filter = () =\> { // Filters options in the select tag. let optionEl = options\[i\]; let txt = selectTag.options\[i\].text.toLowerCase(); if (txt.indexOf(…

---

## [Limit use of dashboard to one user](https://discourse.nodered.org/t/limit-use-of-dashboard-to-one-user/43842)

<div class="topic-metadata">

**Author:** [@sinkovcm](https://discourse.nodered.org/u/sinkovcm)\
**Replies:** 5\
**Last updated:** [8 April 2021 10:23 UTC](https://discourse.nodered.org/t/limit-use-of-dashboard-to-one-user/43842 "2021-04-08T10:23:46Z")

</div>

Hi, I want to limit access to dashboard ui to only one user from external device. Is this possible and how? I have a RPI 4 and touch screen on device. When RPI is boots opens opens chromium in kiosk mode so we have ful…

---

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

---

## [Dashboard unresponsive in chromium browser](https://discourse.nodered.org/t/dashboard-unresponsive-in-chromium-browser/43389)

<div class="topic-metadata">

**Author:** [@JCLeuvennink](https://discourse.nodered.org/u/JCLeuvennink)\
**Replies:** 10\
**Last updated:** [8 April 2021 08:23 UTC](https://discourse.nodered.org/t/dashboard-unresponsive-in-chromium-browser/43389 "2021-04-08T08:23:17Z")

</div>

Hi I recently made a node-red dashboard that is running on an oracle VM. I can access the dashboard via the internet from any other device. it works well on all devices except 1. I have a tablet PC running ubuntu and wh…

---

## [Tooltip issue with chart.js](https://discourse.nodered.org/t/tooltip-issue-with-chart-js/43836)

<div class="topic-metadata">

**Author:** [@Shakey7](https://discourse.nodered.org/u/Shakey7)\
**Replies:** 2\
**Last updated:** [8 April 2021 07:10 UTC](https://discourse.nodered.org/t/tooltip-issue-with-chart-js/43836 "2021-04-08T07:10:30Z")

</div>

Hi guys, working for hours on bubble chart with chart.js to find out how to show tooltip for each bubble. Simply I'd like to show the Id passed in the datasets array for each bubble or either to show it only if I pass…

---

## [Light weight cipher for payload protection](https://discourse.nodered.org/t/light-weight-cipher-for-payload-protection/43626)

<div class="topic-metadata">

**Author:** [@sreelakshmi25996](https://discourse.nodered.org/u/sreelakshmi25996)\
**Replies:** 25\
**Last updated:** [8 April 2021 06:58 UTC](https://discourse.nodered.org/t/light-weight-cipher-for-payload-protection/43626 "2021-04-08T06:58:29Z")

</div>

Hello! Is it possible to create a lightweight cipher node, for example, a present cipher or a speck cipher in node-red for payload protection?

---

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

---

## [Getting "TypeError: global.get is not a function" when trying to use an NPM package](https://discourse.nodered.org/t/getting-typeerror-global-get-is-not-a-function-when-trying-to-use-an-npm-package/43834)

<div class="topic-metadata">

**Author:** [@vegabook](https://discourse.nodered.org/u/vegabook)\
**Replies:** 5\
**Last updated:** [7 April 2021 23:41 UTC](https://discourse.nodered.org/t/getting-typeerror-global-get-is-not-a-function-when-trying-to-use-an-npm-package/43834 "2021-04-07T23:41:41Z")

</div>

I'm trying to use the phoenix-channels package on npm inside a node that I'm creating. I'm following the instructions. I've got it working fine in nodejs on its own. const { Socket } = require('phoenix-channels') let s…

---

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

---

## [Installation of node-red-contrib-mpi-s7 faild with warning](https://discourse.nodered.org/t/installation-of-node-red-contrib-mpi-s7-faild-with-warning/43682)

<div class="topic-metadata">

**Author:** [@DerD74](https://discourse.nodered.org/u/DerD74)\
**Replies:** 14\
**Last updated:** [7 April 2021 20:26 UTC](https://discourse.nodered.org/t/installation-of-node-red-contrib-mpi-s7-faild-with-warning/43682 "2021-04-07T20:26:29Z")

</div>

If start npm installation I get followning output and can't use the node on web frontend. If someone who nows the problem and could help to fix it? root@iot2000:~# npm install node-red-contrib-mpi-s7 usb@1.6.3 instal…

---

## [On/off buttons syncing with HA](https://discourse.nodered.org/t/on-off-buttons-syncing-with-ha/43833)

<div class="topic-metadata">

**Author:** [@ACJUK](https://discourse.nodered.org/u/ACJUK)\
**Replies:** 0\
**Last updated:** [7 April 2021 20:24 UTC](https://discourse.nodered.org/t/on-off-buttons-syncing-with-ha/43833 "2021-04-07T20:24:22Z")

</div>

I appear to have fallen at the first hurdle for creating my dashboard. I can set up a switch that will turn the light on and off but it's not in sync if something like a sensor turns the light on or off. I put and even…

---

## [Notification on all tabs](https://discourse.nodered.org/t/notification-on-all-tabs/43825)

<div class="topic-metadata">

**Author:** [@HZB](https://discourse.nodered.org/u/HZB)\
**Replies:** 2\
**Last updated:** [7 April 2021 20:03 UTC](https://discourse.nodered.org/t/notification-on-all-tabs/43825 "2021-04-07T20:03:41Z")

</div>

Hi, My flow contains 10 different tabs. and each tab has some notifications triggered by specific events. But the problem is notification is not contained to a specific tab. when ever a notification is displayed, it dis…

---

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

---

## [Get time and date on raspberry](https://discourse.nodered.org/t/get-time-and-date-on-raspberry/43824)

<div class="topic-metadata">

**Author:** [@achrefnajjar](https://discourse.nodered.org/u/achrefnajjar)\
**Replies:** 5\
**Last updated:** [7 April 2021 17:22 UTC](https://discourse.nodered.org/t/get-time-and-date-on-raspberry/43824 "2021-04-07T17:22:49Z")

</div>

hello my friends can i'm wondering how to get time and date to a text node using a function node when working on raspberry pi ? thanks.

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

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