# General

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

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

**Page:** 585

---

## [Save duration of a state bool TRACK EVENTS](https://discourse.nodered.org/t/save-duration-of-a-state-bool-track-events/42869)

<div class="topic-metadata">

**Author:** [@Khaledpro](https://discourse.nodered.org/u/Khaledpro)\
**Replies:** 2\
**Last updated:** [19 March 2021 11:48 UTC](https://discourse.nodered.org/t/save-duration-of-a-state-bool-track-events/42869 "2021-03-19T11:48:16Z")

</div>

hi everyone i have a payload msg bool type send true or false so i want to know how much the true state take and how much the false state take somthing like the picture below if any one can help me on this thank you so …

---

## [(De)activate Telegram-notifications with Dashboard UI-switch](https://discourse.nodered.org/t/de-activate-telegram-notifications-with-dashboard-ui-switch/42859)

<div class="topic-metadata">

**Author:** [@molt](https://discourse.nodered.org/u/molt)\
**Replies:** 7\
**Last updated:** [19 March 2021 11:47 UTC](https://discourse.nodered.org/t/de-activate-telegram-notifications-with-dashboard-ui-switch/42859 "2021-03-19T11:47:34Z")

</div>

Hi, what I am trying to do: I want to have a UI-Switch for activating or deactivating the sending of messages via Telegram. Scenario: Switch is deactivated: Someone turns the light on or off = I dont receive a messag…

---

## [POST XML variables into CGI based website](https://discourse.nodered.org/t/post-xml-variables-into-cgi-based-website/42834)

<div class="topic-metadata">

**Author:** [@aa0z](https://discourse.nodered.org/u/aa0z)\
**Replies:** 4\
**Last updated:** [19 March 2021 10:52 UTC](https://discourse.nodered.org/t/post-xml-variables-into-cgi-based-website/42834 "2021-03-19T10:52:04Z")

</div>

My website skills on 90's websites are not the best....I'm working on a flow that takes XML ham radio info and injects a website based on certain criteria. Here is the http request node. The full URL is \> http://cw…

---

## [parseFloat() return as it want value and NaN](https://discourse.nodered.org/t/parsefloat-return-as-it-want-value-and-nan/42815)

<div class="topic-metadata">

**Author:** [@corso66](https://discourse.nodered.org/u/corso66)\
**Replies:** 12\
**Last updated:** [19 March 2021 09:27 UTC](https://discourse.nodered.org/t/parsefloat-return-as-it-want-value-and-nan/42815 "2021-03-19T09:27:45Z")

</div>

Hello everybody, thanks about this forum, it's a nice node red encyclopedia :wink: Generaly, i understand what i do, i can pass 1min, 1hour, 1days and more when i meet a problem but now, madness begins ... Consider thi…

---

## [Problem with "node-red-contrib-alexa-remote2" ans Alexa](https://discourse.nodered.org/t/problem-with-node-red-contrib-alexa-remote2-ans-alexa/42468)

<div class="topic-metadata">

**Author:** [@ThoR1973](https://discourse.nodered.org/u/ThoR1973)\
**Replies:** 3\
**Last updated:** [19 March 2021 08:26 UTC](https://discourse.nodered.org/t/problem-with-node-red-contrib-alexa-remote2-ans-alexa/42468 "2021-03-19T08:26:12Z")

</div>

Hi, I'm new to the forum and hope I've landed in the right area. Maybe someone can help me. I have a Node Red running on a Raspberry Pi 4b in my network. This is partly responsible for my home automation in connection …

---

## [Parallel Processing of Messages](https://discourse.nodered.org/t/parallel-processing-of-messages/42852)

<div class="topic-metadata">

**Author:** [@sathishkumarc14](https://discourse.nodered.org/u/sathishkumarc14)\
**Replies:** 1\
**Last updated:** [19 March 2021 07:37 UTC](https://discourse.nodered.org/t/parallel-processing-of-messages/42852 "2021-03-19T07:37:25Z")

</div>

I am having a flow as below, TCP in node connected with 5000 clients. Each client sends data in every 60 seconds. Queue holding 20k+ messages over period of time and it is keep on increasing. Is there any methods/nodes …

---

## [Language selection](https://discourse.nodered.org/t/language-selection/833)

<div class="topic-metadata">

**Author:** [@tilleul](https://discourse.nodered.org/u/tilleul)\
**Replies:** 14\
**Last updated:** [18 March 2021 22:25 UTC](https://discourse.nodered.org/t/language-selection/833 "2021-03-18T22:25:32Z")

</div>

Sorry in advance if this is a stupid question but I couldn’t find an answer in the docs… Where do you select the display language for the editor ?

---

## [Insert csv. file to SQLite](https://discourse.nodered.org/t/insert-csv-file-to-sqlite/42216)

<div class="topic-metadata">

**Author:** [@Samira05](https://discourse.nodered.org/u/Samira05)\
**Replies:** 18\
**Last updated:** [18 March 2021 22:13 UTC](https://discourse.nodered.org/t/insert-csv-file-to-sqlite/42216 "2021-03-18T22:13:42Z")

</div>

Hi, i have many csv. file that i want to send them to a database(i used sqlite hier). I thought that i can use function node after csv node, but i became error that i cannot slove them. I would be happy when i get some …

---

## [Color Picker Support / Convert to HSBColor](https://discourse.nodered.org/t/color-picker-support-convert-to-hsbcolor/42807)

<div class="topic-metadata">

**Author:** [@Noschvie](https://discourse.nodered.org/u/Noschvie)\
**Replies:** 1\
**Last updated:** [18 March 2021 21:53 UTC](https://discourse.nodered.org/t/color-picker-support-convert-to-hsbcolor/42807 "2021-03-18T21:53:54Z")

</div>

Hello similar to Color Picker Support for RGBW I want to convert a rgb value configured by Color Picker to a value used as HSBColor for the bulb flashed with Tasmota. stat/tasmota\_DF3208/RESULT = {"POWER":"ON","Dimmer"…

---

## [Some Advise by using "http request" node](https://discourse.nodered.org/t/some-advise-by-using-http-request-node/42566)

<div class="topic-metadata">

**Author:** [@calberts](https://discourse.nodered.org/u/calberts)\
**Replies:** 8\
**Last updated:** [18 March 2021 20:47 UTC](https://discourse.nodered.org/t/some-advise-by-using-http-request-node/42566 "2021-03-18T20:47:09Z")

</div>

ALL I use the http request node to instruct a system to do something where single command is used it work fine. http://192.168.1.11:11111/api/v1/telescope/0/unpark But the question is how to deal with the followin…

---

## [Howto HTTP POST with auth+session cookies?](https://discourse.nodered.org/t/howto-http-post-with-auth-session-cookies/41833)

<div class="topic-metadata">

**Author:** [@BoernyMcFly](https://discourse.nodered.org/u/BoernyMcFly)\
**Replies:** 8\
**Last updated:** [18 March 2021 19:12 UTC](https://discourse.nodered.org/t/howto-http-post-with-auth-session-cookies/41833 "2021-03-18T19:12:55Z")

</div>

Hello, I try to duplicate a function, which works nicely on command line, but fails in Node-RED. Use-case is accessing the data from Tesla Powerwall 2 with authentication leveraging cookies. The server requires authen…

---

## [Input Numeric sent on Button click](https://discourse.nodered.org/t/input-numeric-sent-on-button-click/42829)

<div class="topic-metadata">

**Author:** [@edwardr](https://discourse.nodered.org/u/edwardr)\
**Replies:** 5\
**Last updated:** [18 March 2021 17:15 UTC](https://discourse.nodered.org/t/input-numeric-sent-on-button-click/42829 "2021-03-18T17:15:26Z")

</div>

Hello Folks, I am trying to find a way to make a UI interface on node red where I input a numeric value into the text input node then only send such when you click a submit button or slider being on. I couldn\`t find an…

---

## [JSON Array Filtering - Function Node](https://discourse.nodered.org/t/json-array-filtering-function-node/42827)

<div class="topic-metadata">

**Author:** [@franco101](https://discourse.nodered.org/u/franco101)\
**Replies:** 3\
**Last updated:** [18 March 2021 16:45 UTC](https://discourse.nodered.org/t/json-array-filtering-function-node/42827 "2021-03-18T16:45:03Z")

</div>

Hello, Using the function node please could someone help me filter the area\_id value when its set to RT in the below array? msg.payload = msg.payload.CA\_MSG.filter(el =\> el.area\_id.includes("RT")) return msg;

---

## [Websocket Disconnects When Injecting](https://discourse.nodered.org/t/websocket-disconnects-when-injecting/42798)

<div class="topic-metadata">

**Author:** [@ivexy24](https://discourse.nodered.org/u/ivexy24)\
**Replies:** 10\
**Last updated:** [18 March 2021 15:31 UTC](https://discourse.nodered.org/t/websocket-disconnects-when-injecting/42798 "2021-03-18T15:31:32Z")

</div>

Does anyone know why does my websocket disconnect everytime i inject a message.

---

## [Error start node-red](https://discourse.nodered.org/t/error-start-node-red/42820)

<div class="topic-metadata">

**Author:** [@TE\_developer](https://discourse.nodered.org/u/TE_developer)\
**Replies:** 3\
**Last updated:** [18 March 2021 15:27 UTC](https://discourse.nodered.org/t/error-start-node-red/42820 "2021-03-18T15:27:31Z")

</div>

Good morning, can anyone help me on the following error? I have tried to uninstall everything and reinstall by following various guides but the problem persists. Thanks so much PS C:\\Users\\User\> node --version; npm -…

---

## [Function call from one js file to another](https://discourse.nodered.org/t/function-call-from-one-js-file-to-another/42811)

<div class="topic-metadata">

**Author:** [@Syedabd](https://discourse.nodered.org/u/Syedabd)\
**Replies:** 3\
**Last updated:** [18 March 2021 13:22 UTC](https://discourse.nodered.org/t/function-call-from-one-js-file-to-another/42811 "2021-03-18T13:22:11Z")

</div>

Hi, I'm working on the node-red deploy button, trying to invoke the save() function in deploy.js file on click of the event(tab) from the tabs.js file, But the save() function has a lot of other functions involved in i…

---

## [Filter Array of Objects](https://discourse.nodered.org/t/filter-array-of-objects/42808)

<div class="topic-metadata">

**Author:** [@David2608](https://discourse.nodered.org/u/David2608)\
**Replies:** 6\
**Last updated:** [18 March 2021 12:56 UTC](https://discourse.nodered.org/t/filter-array-of-objects/42808 "2021-03-18T12:56:40Z")

</div>

Hello together, I'm new to Node-Red and I have a comprehension problem. I dont understand how to filter an array of objects based on an object value. From a MSSQL-Database i receive an array and now i want to split the…

---

## [Problem securing my node-red Admin and UI separate](https://discourse.nodered.org/t/problem-securing-my-node-red-admin-and-ui-separate/42759)

<div class="topic-metadata">

**Author:** [@mogmedia](https://discourse.nodered.org/u/mogmedia)\
**Replies:** 6\
**Last updated:** [18 March 2021 11:17 UTC](https://discourse.nodered.org/t/problem-securing-my-node-red-admin-and-ui-separate/42759 "2021-03-18T11:17:25Z")

</div>

Hey i have a porblem securing my node-red Admin and UI separate. I want to have a secure Ui Dashboard and a different Admin user for the AdminPanel. I used the following settings and if I log in the AdminPanel every t…

---

## [How to use watt2kwh ( get value of energy consumed at the end of each hour)](https://discourse.nodered.org/t/how-to-use-watt2kwh-get-value-of-energy-consumed-at-the-end-of-each-hour/42776)

<div class="topic-metadata">

**Author:** [@hassengh](https://discourse.nodered.org/u/hassengh)\
**Replies:** 3\
**Last updated:** [18 March 2021 10:33 UTC](https://discourse.nodered.org/t/how-to-use-watt2kwh-get-value-of-energy-consumed-at-the-end-of-each-hour/42776 "2021-03-18T10:33:55Z")

</div>

dear all , how to use watt2kwh to calculate the energy consumed each hour. I want the value of energy consumed at the end of each hour. \[{"id":"46a2a128.2d8c5","type":"debug","z":"d0eb3ee7.8c75","name":"","active":tru…

---

## [How I do place Deploy button present?](https://discourse.nodered.org/t/how-i-do-place-deploy-button-present/42654)

<div class="topic-metadata">

**Author:** [@Syedabd](https://discourse.nodered.org/u/Syedabd)\
**Replies:** 7\
**Last updated:** [18 March 2021 07:26 UTC](https://discourse.nodered.org/t/how-i-do-place-deploy-button-present/42654 "2021-03-18T07:26:30Z")

</div>

Hi, Can you please help me out? How do I place Deploy button of header just beside (+) icon or just beside info Tab. Please find screenshot below:

---

## [How to send acknowledgement with TCP](https://discourse.nodered.org/t/how-to-send-acknowledgement-with-tcp/42770)

<div class="topic-metadata">

**Author:** [@sathishkumarc14](https://discourse.nodered.org/u/sathishkumarc14)\
**Replies:** 3\
**Last updated:** [18 March 2021 07:34 UTC](https://discourse.nodered.org/t/how-to-send-acknowledgement-with-tcp/42770 "2021-03-18T07:34:46Z")

</div>

Continuing the discussion from How to send acknowledgement in tcp: We are having TCP listener (tcp in) with node RED. When TCP client device sends data to the node red, how can send acknowledgement (like REST response) …

---

## [Test a property of an array of objects](https://discourse.nodered.org/t/test-a-property-of-an-array-of-objects/42565)

<div class="topic-metadata">

**Author:** [@borpin](https://discourse.nodered.org/u/borpin)\
**Replies:** 11\
**Last updated:** [18 March 2021 03:04 UTC](https://discourse.nodered.org/t/test-a-property-of-an-array-of-objects/42565 "2021-03-18T03:04:50Z")

</div>

I have an array of objects. I want to test a specific property of each object. If one test fails, the whole array fails and I want a single 'failed' output. I can do this in a Javascript function but cannot work out ho…

---

## [Need help with how to add catch node to catch errors if any](https://discourse.nodered.org/t/need-help-with-how-to-add-catch-node-to-catch-errors-if-any/42777)

<div class="topic-metadata">

**Author:** [@SKA](https://discourse.nodered.org/u/SKA)\
**Replies:** 1\
**Last updated:** [18 March 2021 00:07 UTC](https://discourse.nodered.org/t/need-help-with-how-to-add-catch-node-to-catch-errors-if-any/42777 "2021-03-18T00:07:23Z")

</div>

Hello all I need some urgent help please, my final goal is to compare incoming RGB values with the stored ones in the database, but before that I am trying to use error handling to catch any errors. For example if the va…

---

## [Multiple NodeRed / Cluster](https://discourse.nodered.org/t/multiple-nodered-cluster/42679)

<div class="topic-metadata">

**Author:** [@chiacomo](https://discourse.nodered.org/u/chiacomo)\
**Replies:** 1\
**Last updated:** [17 March 2021 23:24 UTC](https://discourse.nodered.org/t/multiple-nodered-cluster/42679 "2021-03-17T23:24:11Z")

</div>

Hi, i am searching for a possibility to use multiple nodered instances for ha und loadbalancing. I read DNR but i have no idea about. Is anyone here, woh can help me? Best regards.

---

## [Let Alexa speak](https://discourse.nodered.org/t/let-alexa-speak/42726)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 13\
**Last updated:** [17 March 2021 23:11 UTC](https://discourse.nodered.org/t/let-alexa-speak/42726 "2021-03-17T23:11:16Z")

</div>

Is node-red-contrib-alexa-remote2 (and the forked -cakebaked) module the only one able to let Alexa speak (TTS)? I made a search and didn't find anything else, but I hope I am missing something. Thanks for any suggestio…

---

## [Store txt content into a variable](https://discourse.nodered.org/t/store-txt-content-into-a-variable/42792)

<div class="topic-metadata">

**Author:** [@limpstar](https://discourse.nodered.org/u/limpstar)\
**Replies:** 2\
**Last updated:** [17 March 2021 22:30 UTC](https://discourse.nodered.org/t/store-txt-content-into-a-variable/42792 "2021-03-17T22:30:11Z")

</div>

hey hello guys I guess this is a trivial problem, but I just don't get it. I want to store a numbre from a txt file into a variable. I only have one number in the txt file. I want to store it into "count". The problem …

---

## [UIbuilder behind NGINX reverse proxy](https://discourse.nodered.org/t/uibuilder-behind-nginx-reverse-proxy/13703)

<div class="topic-metadata">

**Author:** [@scotie](https://discourse.nodered.org/u/scotie)\
**Replies:** 5\
**Last updated:** [17 March 2021 22:29 UTC](https://discourse.nodered.org/t/uibuilder-behind-nginx-reverse-proxy/13703 "2021-03-17T22:29:45Z")

</div>

Hi, I'm having an Issue accessing uibuilder. I recently added a basic auth from the node-red setting.js httpNodeAuth: {user:"user",pass:"..."}, httpStaticAuth: {user:"user",pass:"..."}, While this works well with D…

---

## [Update Node.js to version 14](https://discourse.nodered.org/t/update-node-js-to-version-14/42786)

<div class="topic-metadata">

**Author:** [@Simon01011](https://discourse.nodered.org/u/Simon01011)\
**Replies:** 8\
**Last updated:** [17 March 2021 21:16 UTC](https://discourse.nodered.org/t/update-node-js-to-version-14/42786 "2021-03-17T21:16:27Z")

</div>

Hi! I have a HomeMatic IP system - RaspberryMatic with RedMatic addon (it has Node.js 14) - which works without problems with node-red-contrib-ccu to control everything. I want to move to a separate pi that I installe…

---

## [Howto SQL-Query with quotes](https://discourse.nodered.org/t/howto-sql-query-with-quotes/42155)

<div class="topic-metadata">

**Author:** [@Muschelpuster](https://discourse.nodered.org/u/Muschelpuster)\
**Replies:** 22\
**Last updated:** [17 March 2021 20:55 UTC](https://discourse.nodered.org/t/howto-sql-query-with-quotes/42155 "2021-03-17T20:55:53Z")

</div>

As on different times discussed here often SQL needs quotes. If I want to satisfy MySQL completely I need other quotes for DB-, table or column-names as for data. ASCII 0x060 or 0x027. I found no function in JSONata to …

---

## [Suspend action for 10 minutes after triggered](https://discourse.nodered.org/t/suspend-action-for-10-minutes-after-triggered/42787)

<div class="topic-metadata">

**Author:** [@DJwho123](https://discourse.nodered.org/u/DJwho123)\
**Replies:** 1\
**Last updated:** [17 March 2021 20:18 UTC](https://discourse.nodered.org/t/suspend-action-for-10-minutes-after-triggered/42787 "2021-03-17T20:18:36Z")

</div>

Hi guys! Let's say a node sends out a trigger. Is it possible to suspend further action from the node for the next 10 minutes? (Basically, pause the flow for 10 minutes after it has run once). Thanks in advance for tip…

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

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