# Latest

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

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

**Page:** 695

---

## [Installation on ubuntu server](https://discourse.nodered.org/t/installation-on-ubuntu-server/53666)

<div class="topic-metadata">

**Author:** [@oddmn](https://discourse.nodered.org/u/oddmn)\
**Replies:** 3\
**Last updated:** [13 November 2021 21:12 UTC](https://discourse.nodered.org/t/installation-on-ubuntu-server/53666 "2021-11-13T21:12:18Z")

</div>

Hello all. I have installed node red on a ubuntu server on one pc So hwn i am working on node red using webbrowser from my pc. when i restart my work pc (windows) nodered stops and i cant connect using browser. I t…

---

## [How to set the function to wait until libraries loaded](https://discourse.nodered.org/t/how-to-set-the-function-to-wait-until-libraries-loaded/53373)

<div class="topic-metadata">

**Author:** [@nerevar](https://discourse.nodered.org/u/nerevar)\
**Replies:** 16\
**Last updated:** [13 November 2021 20:44 UTC](https://discourse.nodered.org/t/how-to-set-the-function-to-wait-until-libraries-loaded/53373 "2021-11-13T20:44:09Z")

</div>

Hello, I am using vega charts on my dashboard and certain users are on Wi-Fi and sometimes charts can't load in time, so they get a blank widget. This is the code without timeout: \<html\> \<head\> \<meta chars…

---

## [Making flow wiring easier to track](https://discourse.nodered.org/t/making-flow-wiring-easier-to-track/53695)

<div class="topic-metadata">

**Author:** [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Replies:** 3\
**Last updated:** [13 November 2021 18:45 UTC](https://discourse.nodered.org/t/making-flow-wiring-easier-to-track/53695 "2021-11-13T18:45:00Z")

</div>

Wow - well, at the risk of having my baby called ugly... imo, this is not only very useful, but fairly nice looking! ;\*) The debug node clearly has a wire attached (as denoted by the arrowhead), while the wire is ro…

---

## [Help with nodered container (proxmox) and sendPhoto telegram flow - photo not being picked up from /config/www/](https://discourse.nodered.org/t/help-with-nodered-container-proxmox-and-sendphoto-telegram-flow-photo-not-being-picked-up-from-config-www/53692)

<div class="topic-metadata">

**Author:** [@Yonny24](https://discourse.nodered.org/u/Yonny24)\
**Replies:** 0\
**Last updated:** [13 November 2021 18:43 UTC](https://discourse.nodered.org/t/help-with-nodered-container-proxmox-and-sendphoto-telegram-flow-photo-not-being-picked-up-from-config-www/53692 "2021-11-13T18:43:08Z")

</div>

Tricky one I can't see to resolve. I’ve recently moved nodered out of HA for some things and have a flow that takes a snapshot (which works fine), stored in /config/www/snapshots. The photo is being generated and it is…

---

## [Can I add a tab specific button to the header?](https://discourse.nodered.org/t/can-i-add-a-tab-specific-button-to-the-header/53691)

<div class="topic-metadata">

**Author:** [@Schmtterfliege](https://discourse.nodered.org/u/Schmtterfliege)\
**Replies:** 0\
**Last updated:** [13 November 2021 18:35 UTC](https://discourse.nodered.org/t/can-i-add-a-tab-specific-button-to-the-header/53691 "2021-11-13T18:35:13Z")

</div>

Hi, In my dashboard I have 10 "tabs" (rooms). Each room has a "Refresh" button, that basically triggers some nodes in each flow to basically just manually update information I show for each room. But this button looks…

---

## [Close few selected groups](https://discourse.nodered.org/t/close-few-selected-groups/53589)

<div class="topic-metadata">

**Author:** [@Krzysztof](https://discourse.nodered.org/u/Krzysztof)\
**Replies:** 19\
**Last updated:** [13 November 2021 18:09 UTC](https://discourse.nodered.org/t/close-few-selected-groups/53589 "2021-11-13T18:09:52Z")

</div>

I'm trying to send command witch should close the selected groups, but that work with very strange way. After deploy a flow and send close order, one of selected groups is closed the rest remains still open (not always t…

---

## [Need help on Climate sensor](https://discourse.nodered.org/t/need-help-on-climate-sensor/53682)

<div class="topic-metadata">

**Author:** [@JJdave](https://discourse.nodered.org/u/JJdave)\
**Replies:** 6\
**Last updated:** [13 November 2021 16:38 UTC](https://discourse.nodered.org/t/need-help-on-climate-sensor/53682 "2021-11-13T16:38:34Z")

</div>

Hi, I have sucessfully integrated the climate integration from HA and use the climate sensors. For setting temperature points, I use the set\_temperate call, so far OK when I use a fix number for the temperature. Right no…

---

## [Twitter node appears to be returning two messages](https://discourse.nodered.org/t/twitter-node-appears-to-be-returning-two-messages/53680)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 1\
**Last updated:** [13 November 2021 15:46 UTC](https://discourse.nodered.org/t/twitter-node-appears-to-be-returning-two-messages/53680 "2021-11-13T15:46:43Z")

</div>

Just started noticing it today (I don't do anything with the info - just use it to see past cheerlight tweets) I could switch off and on again to see if it clears but I'm wondering if I can use new debugger to see what …

---

## [Problem with serial ports and npm](https://discourse.nodered.org/t/problem-with-serial-ports-and-npm/53679)

<div class="topic-metadata">

**Author:** [@charles](https://discourse.nodered.org/u/charles)\
**Replies:** 4\
**Last updated:** [13 November 2021 13:58 UTC](https://discourse.nodered.org/t/problem-with-serial-ports-and-npm/53679 "2021-11-13T13:58:46Z")

</div>

hello everyone i'm a noob in node red and because of that i have some problems to install some nodes (serial and arduino) but istarted with the serial ports , look at this screenshot and please give me a solution because…

---

## [Telegram post caption filter](https://discourse.nodered.org/t/telegram-post-caption-filter/53579)

<div class="topic-metadata">

**Author:** [@gleba](https://discourse.nodered.org/u/gleba)\
**Replies:** 14\
**Last updated:** [13 November 2021 13:13 UTC](https://discourse.nodered.org/t/telegram-post-caption-filter/53579 "2021-11-13T13:13:56Z")

</div>

Hi, I state that my level is basic. I would like to filter the content of a channel by a keyword in the caption and then forward it to a second channel. i use contrib telegram nodes, and have tried with switch nodes to…

---

## [Debug node - $moment() utc vs. local time](https://discourse.nodered.org/t/debug-node-moment-utc-vs-local-time/53673)

<div class="topic-metadata">

**Author:** [@ACrazyConcept](https://discourse.nodered.org/u/ACrazyConcept)\
**Replies:** 1\
**Last updated:** [13 November 2021 12:06 UTC](https://discourse.nodered.org/t/debug-node-moment-utc-vs-local-time/53673 "2021-11-13T12:06:47Z")

</div>

I am trying to create a debug message with time. I found the $moment() function and it does give me the local time. But when I add text to the message e.g. "text" & $moment() the function suddenly prints UTC time instea…

---

## [Append Daemon node arguments](https://discourse.nodered.org/t/append-daemon-node-arguments/53674)

<div class="topic-metadata">

**Author:** [@Nbra](https://discourse.nodered.org/u/Nbra)\
**Replies:** 0\
**Last updated:** [13 November 2021 12:00 UTC](https://discourse.nodered.org/t/append-daemon-node-arguments/53674 "2021-11-13T12:00:08Z")

</div>

Im trying to transfer from using the exec node to the daemon node for running my ffmpeg batch scripts as I want the ability to pass commands while its running. However, how do I get the same argument append option as wi…

---

## [Atomic processing of multiple nodes](https://discourse.nodered.org/t/atomic-processing-of-multiple-nodes/45668)

<div class="topic-metadata">

**Author:** [@augjoh](https://discourse.nodered.org/u/augjoh)\
**Replies:** 40\
**Last updated:** [13 November 2021 11:03 UTC](https://discourse.nodered.org/t/atomic-processing-of-multiple-nodes/45668 "2021-11-13T11:03:38Z")

</div>

The following flow tries to read data from a file, compute an update, and store the update in the file read before. How to arrange this flow, so that multiple clients do not interfere with each other?

---

## [Npm audit fails](https://discourse.nodered.org/t/npm-audit-fails/50525)

<div class="topic-metadata">

**Author:** [@augjoh](https://discourse.nodered.org/u/augjoh)\
**Replies:** 28\
**Last updated:** [13 November 2021 10:57 UTC](https://discourse.nodered.org/t/npm-audit-fails/50525 "2021-11-13T10:57:35Z")

</div>

When running npm audit with the latest node-red version (2.0.5) it cannot fix all issues: \> npm audit fix \[...\] up to date in 4.834s 76 packages are looking for funding run \`npm fund\` for details fixed 0 of 3 vulner…

---

## [Raspberry pi Zero v2](https://discourse.nodered.org/t/raspberry-pi-zero-v2/53455)

<div class="topic-metadata">

**Author:** [@mtoko](https://discourse.nodered.org/u/mtoko)\
**Replies:** 10\
**Last updated:** [13 November 2021 10:43 UTC](https://discourse.nodered.org/t/raspberry-pi-zero-v2/53455 "2021-11-13T10:43:08Z")

</div>

Hi Has anyone tried running NR on the new Raspberry Pi Zero v2. I have two of these that both perform in a similar way. The editor loses connection to the server when you deploy a flow. If I do not use the editor the P…

---

## [Tried to send a message of type string (function node)](https://discourse.nodered.org/t/tried-to-send-a-message-of-type-string-function-node/53667)

<div class="topic-metadata">

**Author:** [@fmejialo](https://discourse.nodered.org/u/fmejialo)\
**Replies:** 4\
**Last updated:** [13 November 2021 10:35 UTC](https://discourse.nodered.org/t/tried-to-send-a-message-of-type-string-function-node/53667 "2021-11-13T10:35:18Z")

</div>

Hello, I am writing the following function, when the message enters the node, the debug reports the following error, someone can help me correct it. "Error": "Function tried to send a message of type string" The functi…

---

## [Switch node and buffer](https://discourse.nodered.org/t/switch-node-and-buffer/53632)

<div class="topic-metadata">

**Author:** [@Karlll](https://discourse.nodered.org/u/Karlll)\
**Replies:** 5\
**Last updated:** [13 November 2021 10:14 UTC](https://discourse.nodered.org/t/switch-node-and-buffer/53632 "2021-11-13T10:14:39Z")

</div>

Hi, I need some advice or direction. I have a device that has 100 inputs and communicates via UDP. According to certain parameters in the packet I want to route to a specific output using the switch function. I'm tryin…

---

## [Mssql-plus issue with mustache format for server name and user/pwd](https://discourse.nodered.org/t/mssql-plus-issue-with-mustache-format-for-server-name-and-user-pwd/53662)

<div class="topic-metadata">

**Author:** [@ramesh.rajendran](https://discourse.nodered.org/u/ramesh.rajendran)\
**Replies:** 8\
**Last updated:** [13 November 2021 10:00 UTC](https://discourse.nodered.org/t/mssql-plus-issue-with-mustache-format-for-server-name-and-user-pwd/53662 "2021-11-13T10:00:35Z")

</div>

Hi, I'm using mssql-plus 0.6.4 version. Node red and node js version: not sure, using with Litmus edge I could not connect to sql using env variable for connection informations. This is helpful for me to connect to di…

---

## [Sunny Home Manager Flow](https://discourse.nodered.org/t/sunny-home-manager-flow/53661)

<div class="topic-metadata">

**Author:** [@Ben\_F](https://discourse.nodered.org/u/Ben_F)\
**Replies:** 1\
**Last updated:** [13 November 2021 08:13 UTC](https://discourse.nodered.org/t/sunny-home-manager-flow/53661 "2021-11-13T08:13:45Z")

</div>

Hi, it is possible to get more data from the home manager. I still need the following data: Current active power in W battery charge level in% Battery charging power in W Battery discharge power in W I read out the …

---

## [Node red dashboard documentation](https://discourse.nodered.org/t/node-red-dashboard-documentation/53654)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 6\
**Last updated:** [13 November 2021 07:20 UTC](https://discourse.nodered.org/t/node-red-dashboard-documentation/53654 "2021-11-13T07:20:02Z")

</div>

After trying out the carbon fiber dashboard background customization I have been looking for a document that lists the different sections you can customize in the dashboard. Does anything exist that I can look at? Thank…

---

## [JSONata expression tester does not recognize $moment() function?](https://discourse.nodered.org/t/jsonata-expression-tester-does-not-recognize-moment-function/53650)

<div class="topic-metadata">

**Author:** [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Replies:** 5\
**Last updated:** [12 November 2021 23:16 UTC](https://discourse.nodered.org/t/jsonata-expression-tester-does-not-recognize-moment-function/53650 "2021-11-12T23:16:42Z")

</div>

I'm running the latest NR v2.1.3 and just found this oddity -- not sure if it worked on older versions: The inject node expression works fine when injected, but does not work inside the JSONata expression test window…

---

## [Installation of node red on k3s](https://discourse.nodered.org/t/installation-of-node-red-on-k3s/53644)

<div class="topic-metadata">

**Author:** [@hitenlulla](https://discourse.nodered.org/u/hitenlulla)\
**Replies:** 3\
**Last updated:** [12 November 2021 22:21 UTC](https://discourse.nodered.org/t/installation-of-node-red-on-k3s/53644 "2021-11-12T22:21:03Z")

</div>

Hello sir, I am trying to create a server using a Raspberry Pi Cluster to use node red. Can you help me how to install node red on K3S Kubernetes by creating a YAML file? I need to install using yaml because I want load …

---

## [Calculation of complex numbers for fft](https://discourse.nodered.org/t/calculation-of-complex-numbers-for-fft/53641)

<div class="topic-metadata">

**Author:** [@lucmun](https://discourse.nodered.org/u/lucmun)\
**Replies:** 4\
**Last updated:** [12 November 2021 22:19 UTC](https://discourse.nodered.org/t/calculation-of-complex-numbers-for-fft/53641 "2021-11-12T22:19:44Z")

</div>

hey, since the available fft-node isn't working, i want to code my own fft. I did it before with matlab and now i want to try it as a function in javascript. how can I include complex numbers in my calculation? I did a…

---

## [Any way to check for the absence of an expected email?](https://discourse.nodered.org/t/any-way-to-check-for-the-absence-of-an-expected-email/53603)

<div class="topic-metadata">

**Author:** [@theloneranger](https://discourse.nodered.org/u/theloneranger)\
**Replies:** 2\
**Last updated:** [12 November 2021 20:50 UTC](https://discourse.nodered.org/t/any-way-to-check-for-the-absence-of-an-expected-email/53603 "2021-11-12T20:50:24Z")

</div>

Every X days I receive a task result from a system by email. If a system is not working properly, for example if email stops working, if it has network issues, whatever reason, then I won't receive the email. The absence…

---

## [Decode special characters from js to html](https://discourse.nodered.org/t/decode-special-characters-from-js-to-html/53512)

<div class="topic-metadata">

**Author:** [@Giu-seppe](https://discourse.nodered.org/u/Giu-seppe)\
**Replies:** 15\
**Last updated:** [12 November 2021 16:40 UTC](https://discourse.nodered.org/t/decode-special-characters-from-js-to-html/53512 "2021-11-12T16:40:55Z")

</div>

Hello everyone, I need to pop-up and write on a text sheet from an error belonging to the command prompt. This message may contain special characters such as è or ' but any special characters is encoded in ' or . The…

---

## [Read BH1750 Sensor](https://discourse.nodered.org/t/read-bh1750-sensor/3378)

<div class="topic-metadata">

**Author:** [@b35b5dad43ea282b65d0](https://discourse.nodered.org/u/b35b5dad43ea282b65d0)\
**Replies:** 16\
**Last updated:** [12 November 2021 18:18 UTC](https://discourse.nodered.org/t/read-bh1750-sensor/3378 "2021-11-12T18:18:49Z")

</div>

Hi You know a way how to read the sensor data from the BH1750 sensor?

---

## [Replacing Values in Payload](https://discourse.nodered.org/t/replacing-values-in-payload/53635)

<div class="topic-metadata">

**Author:** [@rlongfield](https://discourse.nodered.org/u/rlongfield)\
**Replies:** 6\
**Last updated:** [12 November 2021 16:47 UTC](https://discourse.nodered.org/t/replacing-values-in-payload/53635 "2021-11-12T16:47:43Z")

</div>

I don't know if this is a question for here or a more programming forum. But since it's in Node-Red I thought I'd start here. I have a function that started off checking for spaces in a value for a specific object in th…

---

## [Inserting data into sqlite db](https://discourse.nodered.org/t/inserting-data-into-sqlite-db/53634)

<div class="topic-metadata">

**Author:** [@Tanglefoot](https://discourse.nodered.org/u/Tanglefoot)\
**Replies:** 2\
**Last updated:** [12 November 2021 16:05 UTC](https://discourse.nodered.org/t/inserting-data-into-sqlite-db/53634 "2021-11-12T16:05:10Z")

</div>

I've been trying to follow the advice given in this post but still having problems I've created a table using the inject node CREATE TABLE myroute(id INTEGER PRIMARY KEY AUTOINCREMENT, ModeS TEXT, Reg TEXT, Type TEXT) …

---

## [Template Button - How do I Change its Appearance?](https://discourse.nodered.org/t/template-button-how-do-i-change-its-appearance/52846)

<div class="topic-metadata">

**Author:** [@eddee54455](https://discourse.nodered.org/u/eddee54455)\
**Replies:** 26\
**Last updated:** [12 November 2021 16:04 UTC](https://discourse.nodered.org/t/template-button-how-do-i-change-its-appearance/52846 "2021-11-12T16:04:43Z")

</div>

Hi All, I have made the most basic of basic dashboard buttons... \[ { "id": "5773e8c258209a92", "type": "debug", "z": "bb0c8939b7b482ce", "name": "", "active": true, "…

---

## [JSONata array lookup using msg property](https://discourse.nodered.org/t/jsonata-array-lookup-using-msg-property/53637)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 3\
**Last updated:** [12 November 2021 14:21 UTC](https://discourse.nodered.org/t/jsonata-array-lookup-using-msg-property/53637 "2021-11-12T14:21:24Z")

</div>

The trouble I have using JSONata once a year is that I can never work out the syntax required msg.random contains number 0..2 How can I pick out the corresponding colour from the array? Currently getting undefined

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

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