# General

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

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

**Page:** 316

---

## [Function node's OnStart - no logging possible?](https://discourse.nodered.org/t/function-nodes-onstart-no-logging-possible/68456)

<div class="topic-metadata">

**Author:** [@NodeWrangler](https://discourse.nodered.org/u/NodeWrangler)\
**Replies:** 7\
**Last updated:** [2 October 2022 11:15 UTC](https://discourse.nodered.org/t/function-nodes-onstart-no-logging-possible/68456 "2022-10-02T11:15:25Z")

</div>

Hy all, I am relatively new to NodeRED and tinker around with function nodes. As I wasn't to sure about the flow context concept, I tried to add debug lines into my node's OnStartup, but they nowhere appeared in the de…

---

## [Flow to get output from a logical sequence of events](https://discourse.nodered.org/t/flow-to-get-output-from-a-logical-sequence-of-events/68447)

<div class="topic-metadata">

**Author:** [@Vik](https://discourse.nodered.org/u/Vik)\
**Replies:** 5\
**Last updated:** [2 October 2022 05:42 UTC](https://discourse.nodered.org/t/flow-to-get-output-from-a-logical-sequence-of-events/68447 "2022-10-02T05:42:31Z")

</div>

Hi, I need help in writing a flow to achieve the following logic: there are 2 boolean inputs. D1, D2 and they work in the following manner: step0: D2 = 0 AND D1 = 0 or 1, OUTPUT = 0 step1: D2 = 1 AND D1 = 0, OUTPUT…

---

## [Error "rc=0" when installing module](https://discourse.nodered.org/t/error-rc-0-when-installing-module/68458)

<div class="topic-metadata">

**Author:** [@Aaroneisele55](https://discourse.nodered.org/u/Aaroneisele55)\
**Replies:** 2\
**Last updated:** [2 October 2022 04:25 UTC](https://discourse.nodered.org/t/error-rc-0-when-installing-module/68458 "2022-10-02T04:25:45Z")

</div>

Hello, i have started using the Projects feature and it all works, except that i'm getting these "warning signs" on some packages. When i click on "install" on one of them, i get the following: 2022-10-01T15:25:03.…

---

## [NPM Command Not Found](https://discourse.nodered.org/t/npm-command-not-found/68426)

<div class="topic-metadata">

**Author:** [@noah911](https://discourse.nodered.org/u/noah911)\
**Replies:** 6\
**Last updated:** [1 October 2022 19:38 UTC](https://discourse.nodered.org/t/npm-command-not-found/68426 "2022-10-01T19:38:07Z")

</div>

Hello! My name is Noah, a relatively new user to Node-red. I am running into an issue, seemingly something to do with the file directories which node-red uses to run. I am running on Windows 10 (21H1) with Node v16.17.…

---

## [How to decode JWT?](https://discourse.nodered.org/t/how-to-decode-jwt/68427)

<div class="topic-metadata">

**Author:** [@network\_potato](https://discourse.nodered.org/u/network_potato)\
**Replies:** 5\
**Last updated:** [1 October 2022 19:10 UTC](https://discourse.nodered.org/t/how-to-decode-jwt/68427 "2022-10-01T19:10:02Z")

</div>

I have set up a webhook from Shipmondo and added a secret key (they won't let you create a WH without one): Receiving the message in Node-RED, the payload is encrypted. I now need to decrypt the payload. I have tried …

---

## [Home Assistant Node-RED Crashed out of the blue](https://discourse.nodered.org/t/home-assistant-node-red-crashed-out-of-the-blue/68431)

<div class="topic-metadata">

**Author:** [@ggarman](https://discourse.nodered.org/u/ggarman)\
**Replies:** 3\
**Last updated:** [1 October 2022 17:15 UTC](https://discourse.nodered.org/t/home-assistant-node-red-crashed-out-of-the-blue/68431 "2022-10-01T17:15:58Z")

</div>

Sorry if this isn't the correct place to post this. Can anyone tell me what is going on in the error log below? This just recently started happening and I uninstall/reinstall node-red and add my flows back one at a tim…

---

## [Global.get('')||0 inconsistent resutls (Function node)](https://discourse.nodered.org/t/global-get-0-inconsistent-resutls-function-node/68457)

<div class="topic-metadata">

**Author:** [@edterbak](https://discourse.nodered.org/u/edterbak)\
**Replies:** 14\
**Last updated:** [1 October 2022 16:02 UTC](https://discourse.nodered.org/t/global-get-0-inconsistent-resutls-function-node/68457 "2022-10-01T16:02:13Z")

</div>

Hello everyone, Im using Function node a lot. But I am seeing irratic behaviour of node red. Atleast thats how I percieve it. Might be due to a lack of understading :slight\_smile: var nr\_corr = global.get('NightReduct…

---

## [Send IR/RF Commands with Broadlink RM Pro](https://discourse.nodered.org/t/send-ir-rf-commands-with-broadlink-rm-pro/18794)

<div class="topic-metadata">

**Author:** [@get-command](https://discourse.nodered.org/u/get-command)\
**Replies:** 21\
**Last updated:** [1 October 2022 15:20 UTC](https://discourse.nodered.org/t/send-ir-rf-commands-with-broadlink-rm-pro/18794 "2022-10-01T15:20:59Z")

</div>

Hello Node-Red Community, i can't not to set a Node with IR/RF-Commands with the RM PRO with this nodes https://flows.nodered.org/node/node-red-contrib-broadlink-control . I get with der Dropdown "Learning" the IR-Code…

---

## [Multiple topics in single functin node - how to parse](https://discourse.nodered.org/t/multiple-topics-in-single-functin-node-how-to-parse/68451)

<div class="topic-metadata">

**Author:** [@BIIINO](https://discourse.nodered.org/u/BIIINO)\
**Replies:** 1\
**Last updated:** [1 October 2022 14:23 UTC](https://discourse.nodered.org/t/multiple-topics-in-single-functin-node-how-to-parse/68451 "2022-10-01T14:23:29Z")

</div>

Hello good day I would like to ask for your advice, I would need to process more msg.payload from several topics in 1 functional node and then publish it. I don't know how to parse it. I have multiple topics like mete/h…

---

## [Setting and printing heating curve with plotly as input for mixer](https://discourse.nodered.org/t/setting-and-printing-heating-curve-with-plotly-as-input-for-mixer/68357)

<div class="topic-metadata">

**Author:** [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Replies:** 2\
**Last updated:** [1 October 2022 10:32 UTC](https://discourse.nodered.org/t/setting-and-printing-heating-curve-with-plotly-as-input-for-mixer/68357 "2022-10-01T10:32:36Z")

</div>

I am having a problem getting the attached flow to work. I am not able to change the demo chart to my format. The graph I would like to create should look like this excel graph: by varying the 3 parameters in the ca…

---

## [RS485 or RS232?](https://discourse.nodered.org/t/rs485-or-rs232/68183)

<div class="topic-metadata">

**Author:** [@grant1](https://discourse.nodered.org/u/grant1)\
**Replies:** 15\
**Last updated:** [1 October 2022 05:30 UTC](https://discourse.nodered.org/t/rs485-or-rs232/68183 "2022-10-01T05:30:02Z")

</div>

Greetings. I have this weigh indicator transmitting data to a Raspberry Pi via RS232, specifically: and being received by the standard Node-RED serial in node. It works fine, but for reasons that are unclear to me,…

---

## ['project' update from command line](https://discourse.nodered.org/t/project-update-from-command-line/68405)

<div class="topic-metadata">

**Author:** [@jimwhitfield](https://discourse.nodered.org/u/jimwhitfield)\
**Replies:** 2\
**Last updated:** [30 September 2022 22:41 UTC](https://discourse.nodered.org/t/project-update-from-command-line/68405 "2022-09-30T22:41:08Z")

</div>

Hi, I love the Project feature. Version control of flows is awesome. I am delighted that, within the admin pages, I can update projects (git revert, git pull + deploy) and any on-screen data keeps its history (dashboar…

---

## [How to connect OPC/UA nodes after disconnect in a reliable way?](https://discourse.nodered.org/t/how-to-connect-opc-ua-nodes-after-disconnect-in-a-reliable-way/68410)

<div class="topic-metadata">

**Author:** [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Replies:** 1\
**Last updated:** [30 September 2022 21:29 UTC](https://discourse.nodered.org/t/how-to-connect-opc-ua-nodes-after-disconnect-in-a-reliable-way/68410 "2022-09-30T21:29:41Z")

</div>

Hello, we have started to use OpcUa together with Node-Red to establish machine to machine communication. Now we are facing a problem after machine disconnects: We do a regular (1/sec) READ on a Opc/Ua client to check…

---

## [How to post ESP32CAM image and data to Node-Red so it arrives as payload?](https://discourse.nodered.org/t/how-to-post-esp32cam-image-and-data-to-node-red-so-it-arrives-as-payload/68275)

<div class="topic-metadata">

**Author:** [@pcborges](https://discourse.nodered.org/u/pcborges)\
**Replies:** 5\
**Last updated:** [30 September 2022 19:27 UTC](https://discourse.nodered.org/t/how-to-post-esp32cam-image-and-data-to-node-red-so-it-arrives-as-payload/68275 "2022-09-30T19:27:58Z")

</div>

I have a Kodular (Android) App that posts images and related data to Node-Red. Both image and data arrive as payload. I also have a html script that does the same (script below) and works perfectly. Now I would like t…

---

## [Could not find stored procedure error with mssql-plus node](https://discourse.nodered.org/t/could-not-find-stored-procedure-error-with-mssql-plus-node/68396)

<div class="topic-metadata">

**Author:** [@Nirajan](https://discourse.nodered.org/u/Nirajan)\
**Replies:** 13\
**Last updated:** [30 September 2022 15:34 UTC](https://discourse.nodered.org/t/could-not-find-stored-procedure-error-with-mssql-plus-node/68396 "2022-09-30T15:34:34Z")

</div>

Hello Everyone, I have a problem connecting to a stored procedure. I have also found other topics with similar problem. I went through those topics as well. But i could not find any mistakes on my configuration. May be …

---

## [Clarify - time to update @clarify/node-red-contrib-clarify](https://discourse.nodered.org/t/clarify-time-to-update-clarify-node-red-contrib-clarify/68359)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 7\
**Last updated:** [30 September 2022 11:39 UTC](https://discourse.nodered.org/t/clarify-time-to-update-clarify-node-red-contrib-clarify/68359 "2022-09-30T11:39:28Z")

</div>

In February 2022, the @searis/node-red-contrib-clarify node was published and described in this post as an opportunity to store, display & analyse time series data, with a free tier kindly provided by Bernt-Johan (@bberg…

---

## [How to record data in csv and excel file](https://discourse.nodered.org/t/how-to-record-data-in-csv-and-excel-file/68379)

<div class="topic-metadata">

**Author:** [@aminulhaq](https://discourse.nodered.org/u/aminulhaq)\
**Replies:** 10\
**Last updated:** [30 September 2022 10:39 UTC](https://discourse.nodered.org/t/how-to-record-data-in-csv-and-excel-file/68379 "2022-09-30T10:39:53Z")

</div>

Hi, I want to record data first in csv file but when i am doing this it is not recording value after parser is there any way to direct record data to excel with timespan directly Thanks See pic for reference

---

## [Version/upgrade best practice for NR 3.x on Ubuntu 20 and upwards?](https://discourse.nodered.org/t/version-upgrade-best-practice-for-nr-3-x-on-ubuntu-20-and-upwards/68376)

<div class="topic-metadata">

**Author:** [@houser](https://discourse.nodered.org/u/houser)\
**Replies:** 5\
**Last updated:** [30 September 2022 10:22 UTC](https://discourse.nodered.org/t/version-upgrade-best-practice-for-nr-3-x-on-ubuntu-20-and-upwards/68376 "2022-09-30T10:22:05Z")

</div>

Hello, Have a few Ubuntu 20.04 NR installs that work well and are very stable. I see that those machines are now suggesting an upgrade to Ubuntu 22 LTS. Is this a good time to upgrade to 22 LTS and are there good reso…

---

## [Node-red custom node disappears after restarts](https://discourse.nodered.org/t/node-red-custom-node-disappears-after-restarts/68373)

<div class="topic-metadata">

**Author:** [@noob69](https://discourse.nodered.org/u/noob69)\
**Replies:** 6\
**Last updated:** [30 September 2022 09:40 UTC](https://discourse.nodered.org/t/node-red-custom-node-disappears-after-restarts/68373 "2022-09-30T09:40:36Z")

</div>

I've installed custom node using npm install when I restarted the pc, the installed folder which namesd as node-red-custom disappears from the node-modules folder. What's causing this? And also I wasn't able to find a .c…

---

## [Node-red-contrib-ikea-tradfri Help needed](https://discourse.nodered.org/t/node-red-contrib-ikea-tradfri-help-needed/68390)

<div class="topic-metadata">

**Author:** [@dbgnu76](https://discourse.nodered.org/u/dbgnu76)\
**Replies:** 4\
**Last updated:** [29 September 2022 17:28 UTC](https://discourse.nodered.org/t/node-red-contrib-ikea-tradfri-help-needed/68390 "2022-09-29T17:28:25Z")

</div>

I need help with turning on lamps, if i use inject node it always work with boolean. but from plc that also use boolean, i got error. i have tryed many combinations , nothing works ! it is Lampa\_ToalettNere best r…

---

## [Conditionally Right Align Selected Columns in pdfmake Both Column headers and Column contents](https://discourse.nodered.org/t/conditionally-right-align-selected-columns-in-pdfmake-both-column-headers-and-column-contents/68131)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 9\
**Last updated:** [29 September 2022 15:55 UTC](https://discourse.nodered.org/t/conditionally-right-align-selected-columns-in-pdfmake-both-column-headers-and-column-contents/68131 "2022-09-29T15:55:22Z")

</div>

Hi, I have a working solution for creating a pdf from a series of MySQL query outputs into a dynamic table. now the issue is i don't know how to right align few selected columns (that have numbers.). Since the content…

---

## [Installation locally on Win10 fails](https://discourse.nodered.org/t/installation-locally-on-win10-fails/68384)

<div class="topic-metadata">

**Author:** [@LarsKellner](https://discourse.nodered.org/u/LarsKellner)\
**Replies:** 4\
**Last updated:** [29 September 2022 14:52 UTC](https://discourse.nodered.org/t/installation-locally-on-win10-fails/68384 "2022-09-29T14:52:03Z")

</div>

Hey I am trying to install nodeRed on my Win10 Lap, but I get errors when installing. To the details: Version of node.js and npm: PS C:\\Users\\das\_o\> node --version; npm --version v16.17.1 8.15.0 The installation o…

---

## [Stop google smart speaking saying "Sorry I couldnt reach Nora"](https://discourse.nodered.org/t/stop-google-smart-speaking-saying-sorry-i-couldnt-reach-nora/68391)

<div class="topic-metadata">

**Author:** [@kes](https://discourse.nodered.org/u/kes)\
**Replies:** 1\
**Last updated:** [29 September 2022 14:15 UTC](https://discourse.nodered.org/t/stop-google-smart-speaking-saying-sorry-i-couldnt-reach-nora/68391 "2022-09-29T14:15:49Z")

</div>

Nora was not working for a long time. It looks like the original version has been disabled by the author. So I couldn't control anything with my smart speaker. I rectified this with 1 Adding Smart Nora, with this on …

---

## [Proxy node for request analysis](https://discourse.nodered.org/t/proxy-node-for-request-analysis/68382)

<div class="topic-metadata">

**Author:** [@Yaro7619](https://discourse.nodered.org/u/Yaro7619)\
**Replies:** 1\
**Last updated:** [29 September 2022 12:42 UTC](https://discourse.nodered.org/t/proxy-node-for-request-analysis/68382 "2022-09-29T12:42:36Z")

</div>

Hi guys. Could you recommend a way or ready-to-use node which works like some kind of proxy or man in the middle for HTTP / HTTPS requests? I need to analyze and save incoming requests for statistics and internal applic…

---

## [How to convert integer value coming from modbus to float value](https://discourse.nodered.org/t/how-to-convert-integer-value-coming-from-modbus-to-float-value/68273)

<div class="topic-metadata">

**Author:** [@aminulhaq](https://discourse.nodered.org/u/aminulhaq)\
**Replies:** 20\
**Last updated:** [29 September 2022 09:35 UTC](https://discourse.nodered.org/t/how-to-convert-integer-value-coming-from-modbus-to-float-value/68273 "2022-09-29T09:35:15Z")

</div>

Hi i am using energy meter and reading float type value but it is comming as integer in two different byte i want to convert this to float value to make this value usable Thanks

---

## [JSONata help ... and table node](https://discourse.nodered.org/t/jsonata-help-and-table-node/68339)

<div class="topic-metadata">

**Author:** [@Manu77](https://discourse.nodered.org/u/Manu77)\
**Replies:** 1\
**Last updated:** [29 September 2022 08:08 UTC](https://discourse.nodered.org/t/jsonata-help-and-table-node/68339 "2022-09-29T08:08:44Z")

</div>

I need help. I have no knowledge of jsonata. I have to transform a table output in nodered, the table comes from SQLITE. The table I want is handwritten, one of the possibilities is to use JsoNata Is there any other w…

---

## [After updating node-red-contrib-home-assistant-websocket error](https://discourse.nodered.org/t/after-updating-node-red-contrib-home-assistant-websocket-error/68358)

<div class="topic-metadata">

**Author:** [@klio-klio](https://discourse.nodered.org/u/klio-klio)\
**Replies:** 1\
**Last updated:** [29 September 2022 07:49 UTC](https://discourse.nodered.org/t/after-updating-node-red-contrib-home-assistant-websocket-error/68358 "2022-09-29T07:49:53Z")

</div>

After updating node-red-contrib-home-assistant-websocket my programming almost unusable. I would have to restore backup. What can I do?

---

## [How to implement control pin of the RS485](https://discourse.nodered.org/t/how-to-implement-control-pin-of-the-rs485/68351)

<div class="topic-metadata">

**Author:** [@SamuelXiot](https://discourse.nodered.org/u/SamuelXiot)\
**Replies:** 3\
**Last updated:** [29 September 2022 07:32 UTC](https://discourse.nodered.org/t/how-to-implement-control-pin-of-the-rs485/68351 "2022-09-29T07:32:35Z")

</div>

Hi all! I want to implement following flow for controlling read and write function of the modbus. toggle GPIO4 to 1 --\> Send with serial port --\> Data out end --\> toggle GPIO4 to 0 This there have any way to achieve t…

---

## [Check if the Value is present in an array](https://discourse.nodered.org/t/check-if-the-value-is-present-in-an-array/68370)

<div class="topic-metadata">

**Author:** [@Ganesh](https://discourse.nodered.org/u/Ganesh)\
**Replies:** 3\
**Last updated:** [29 September 2022 06:20 UTC](https://discourse.nodered.org/t/check-if-the-value-is-present-in-an-array/68370 "2022-09-29T06:20:44Z")

</div>

Hi var Zone = msg.payload; var Value = '34:80:73:90:d9:82'; const xx=\[\]; var x; var y; var radius; var color; if (Value == Zone) { if(!xx.includes(45)){ x = 45; y = 70; radius = 6; …

---

## [Icon usage rules](https://discourse.nodered.org/t/icon-usage-rules/68365)

<div class="topic-metadata">

**Author:** [@Kaneko](https://discourse.nodered.org/u/Kaneko)\
**Replies:** 2\
**Last updated:** [28 September 2022 23:13 UTC](https://discourse.nodered.org/t/icon-usage-rules/68365 "2022-09-28T23:13:21Z")

</div>

I make software that communicates with various software. It also communicates with Node-Red. I'd like to put icons of software that can communicate in my software advertisement. can i use this icon? https://nodered.o…

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

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