# General

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

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

**Page:** 473

---

## [Conversion influx retention 168h0m0s to msec](https://discourse.nodered.org/t/conversion-influx-retention-168h0m0s-to-msec/53273)

<div class="topic-metadata">

**Author:** [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Replies:** 3\
**Last updated:** [6 November 2021 09:46 UTC](https://discourse.nodered.org/t/conversion-influx-retention-168h0m0s-to-msec/53273 "2021-11-06T09:46:37Z")

</div>

It is possible to request the retention policy of an Influx database, but the result is a time format like 168h0m0s (=autogen). Is there an easy way to convert this format to milliseconds?

---

## [Download NR documentation](https://discourse.nodered.org/t/download-nr-documentation/53282)

<div class="topic-metadata">

**Author:** [@SirPrice](https://discourse.nodered.org/u/SirPrice)\
**Replies:** 1\
**Last updated:** [6 November 2021 08:42 UTC](https://discourse.nodered.org/t/download-nr-documentation/53282 "2021-11-06T08:42:55Z")

</div>

Where can I download PDF documentation regarding installing/working/cbuilding flows with NR, to not require to be on line and use the HTML available?

---

## [Tensorflow Custom Model](https://discourse.nodered.org/t/tensorflow-custom-model/53280)

<div class="topic-metadata">

**Author:** [@subwayfootlong](https://discourse.nodered.org/u/subwayfootlong)\
**Replies:** 0\
**Last updated:** [6 November 2021 04:52 UTC](https://discourse.nodered.org/t/tensorflow-custom-model/53280 "2021-11-06T04:52:53Z")

</div>

Hello all, I would like to load a custom model for my flow to detect a new item currently not supported by the node-red-contrib-tensorflow pallet. How would I go about this? Any and all information will help, I'm pret…

---

## [Multiple Paths with Sleeps](https://discourse.nodered.org/t/multiple-paths-with-sleeps/53241)

<div class="topic-metadata">

**Author:** [@stu1811](https://discourse.nodered.org/u/stu1811)\
**Replies:** 3\
**Last updated:** [6 November 2021 00:58 UTC](https://discourse.nodered.org/t/multiple-paths-with-sleeps/53241 "2021-11-06T00:58:52Z")

</div>

I'm trying to control 3x RGB bulbs and have them cycle through two colors (Red and Green). Often only one of the bulbs change colors and the other two remain constant with their first color. The path circled in red conti…

---

## [Counts the data](https://discourse.nodered.org/t/counts-the-data/53237)

<div class="topic-metadata">

**Author:** [@madmax](https://discourse.nodered.org/u/madmax)\
**Replies:** 1\
**Last updated:** [6 November 2021 00:06 UTC](https://discourse.nodered.org/t/counts-the-data/53237 "2021-11-06T00:06:40Z")

</div>

Hello! I am using node-red-contrib-fs to read files from a folder. There is the possibility that he counts the data and then writes it into a value (msg.count) e.g. 1 of 10, 2 of 10, 3 of 10 and so on.

---

## [Can't run NodeJS instance from Node-Red using exec](https://discourse.nodered.org/t/cant-run-nodejs-instance-from-node-red-using-exec/53270)

<div class="topic-metadata">

**Author:** [@southsummit](https://discourse.nodered.org/u/southsummit)\
**Replies:** 7\
**Last updated:** [5 November 2021 19:33 UTC](https://discourse.nodered.org/t/cant-run-nodejs-instance-from-node-red-using-exec/53270 "2021-11-05T19:33:41Z")

</div>

I'm new to Node-Red and just getting acquainted. I'm able to use the 'exec' node to run and log some system commands (eg "ls", "ps", whoami"). These work. Then I tried launching NodeJS to capture the output of a JavaSc…

---

## [Node-red-node-ping always return false](https://discourse.nodered.org/t/node-red-node-ping-always-return-false/53165)

<div class="topic-metadata">

**Author:** [@RainerGa](https://discourse.nodered.org/u/RainerGa)\
**Replies:** 25\
**Last updated:** [5 November 2021 16:43 UTC](https://discourse.nodered.org/t/node-red-node-ping-always-return-false/53165 "2021-11-05T16:43:22Z")

</div>

Hello, I am new to node-red. And new to this forum too! In the links please replace "-" with "." :slight\_smile: For learning purposes I want to try ping a target and show the result on an dashboard :slight\_smile: I us…

---

## [How to get remote image size before download](https://discourse.nodered.org/t/how-to-get-remote-image-size-before-download/53257)

<div class="topic-metadata">

**Author:** [@pcborges](https://discourse.nodered.org/u/pcborges)\
**Replies:** 4\
**Last updated:** [5 November 2021 15:42 UTC](https://discourse.nodered.org/t/how-to-get-remote-image-size-before-download/53257 "2021-11-05T15:42:11Z")

</div>

I would like to be able to check image size before download. I am trying the HTTP Request node with Method HEAD but some remote servers do not return image size. Is there other way? Thanks

---

## [Curl translate to httprequest](https://discourse.nodered.org/t/curl-translate-to-httprequest/53213)

<div class="topic-metadata">

**Author:** [@ketpa](https://discourse.nodered.org/u/ketpa)\
**Replies:** 5\
**Last updated:** [5 November 2021 14:42 UTC](https://discourse.nodered.org/t/curl-translate-to-httprequest/53213 "2021-11-05T14:42:40Z")

</div>

I have curl curl -H "Authorization: Bearer token\_api\_oauth" \\ "https://api.smsapi.pl/sms.do?\\ from=pole\_nadawcy&\\ to=48500000000&\\ message=treść\_wiadomości&\\ format=json" and try in node-red function httprequest…

---

## [Auto inject at deploy](https://discourse.nodered.org/t/auto-inject-at-deploy/53157)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 6\
**Last updated:** [5 November 2021 14:01 UTC](https://discourse.nodered.org/t/auto-inject-at-deploy/53157 "2021-11-05T14:01:35Z")

</div>

I'm playing around with q-gate node and I need it to be open at the start of my testing and sometimes it gets stuck in queued state So I added an inject node to send the message to open it and I just used to press butto…

---

## [How to Stop a Flow During a Lighting Loop?](https://discourse.nodered.org/t/how-to-stop-a-flow-during-a-lighting-loop/53236)

<div class="topic-metadata">

**Author:** [@tagwort](https://discourse.nodered.org/u/tagwort)\
**Replies:** 1\
**Last updated:** [5 November 2021 13:50 UTC](https://discourse.nodered.org/t/how-to-stop-a-flow-during-a-lighting-loop/53236 "2021-11-05T13:50:42Z")

</div>

Not a programmer, so apologies that I'm likely using incorrect terminology to ask. My favorite new node red automation uses a Home Assistant helper to trigger whenever a color scheme is selected. It then checks to see if…

---

## [LDAP Basics to start with](https://discourse.nodered.org/t/ldap-basics-to-start-with/52742)

<div class="topic-metadata">

**Author:** [@Chorum](https://discourse.nodered.org/u/Chorum)\
**Replies:** 21\
**Last updated:** [5 November 2021 12:23 UTC](https://discourse.nodered.org/t/ldap-basics-to-start-with/52742 "2021-11-05T12:23:44Z")

</div>

Hello, now i have time to experiment with ldap but i think i need a little help from somebody who has done that before. My first Problem is to authenticate a user. i used following nodes : node-red-contrib-ldap-login…

---

## [Select / EXTRACT query](https://discourse.nodered.org/t/select-extract-query/53218)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.nodered.org/u/jules)\
**Replies:** 5\
**Last updated:** [5 November 2021 12:09 UTC](https://discourse.nodered.org/t/select-extract-query/53218 "2021-11-05T12:09:43Z")

</div>

Hello, I save my gas meter "gasmeter" readings together with time and date "time" to my MariaDB "gas". With the following query code: Select EXTRACT(DAY FROM time), MAX(gasmeter)-MIN(gasmeter) AS "gasmeter" Fr…

---

## ["Failed to install Node.js - Exit" on CentOS 7.9](https://discourse.nodered.org/t/failed-to-install-node-js-exit-on-centos-7-9/53255)

<div class="topic-metadata">

**Author:** [@janedoe123](https://discourse.nodered.org/u/janedoe123)\
**Replies:** 4\
**Last updated:** [5 November 2021 10:27 UTC](https://discourse.nodered.org/t/failed-to-install-node-js-exit-on-centos-7-9/53255 "2021-11-05T10:27:37Z")

</div>

Hi All, Till last week, I had no issue installing Node-RED v2.1.3 on CentOS 7.9 However, since today, I am getting the below issue: Dependencies Resolved ==============================================================…

---

## [Modifying object variable name](https://discourse.nodered.org/t/modifying-object-variable-name/9042)

<div class="topic-metadata">

**Author:** [@tzeeth](https://discourse.nodered.org/u/tzeeth)\
**Replies:** 5\
**Last updated:** [5 November 2021 10:19 UTC](https://discourse.nodered.org/t/modifying-object-variable-name/9042 "2021-11-05T10:19:49Z")

</div>

Hi! I am having some trouble with this simple task: I have a msg.payload like this: "response": "221321312" And I want to be able to change it for "WhateverIWant":"221321312" . I have tried with change and switch bu…

---

## [Git SSH-Key based authentication failes, if username contains "AT" character](https://discourse.nodered.org/t/git-ssh-key-based-authentication-failes-if-username-contains-at-character/53224)

<div class="topic-metadata">

**Author:** [@crackytsi](https://discourse.nodered.org/u/crackytsi)\
**Replies:** 2\
**Last updated:** [5 November 2021 07:12 UTC](https://discourse.nodered.org/t/git-ssh-key-based-authentication-failes-if-username-contains-at-character/53224 "2021-11-05T07:12:39Z")

</div>

I have a header based authentication and the username contains the "@" character. After doing several debugging, it seems that the "@" char is the reason, which is used as name in the keyfile. It seems, that the key fi…

---

## [Disconnected from broker /connected to broker](https://discourse.nodered.org/t/disconnected-from-broker-connected-to-broker/53234)

<div class="topic-metadata">

**Author:** [@CamiloGaviria0](https://discourse.nodered.org/u/CamiloGaviria0)\
**Replies:** 2\
**Last updated:** [4 November 2021 21:45 UTC](https://discourse.nodered.org/t/disconnected-from-broker-connected-to-broker/53234 "2021-11-04T21:45:44Z")

</div>

Hello to all I currently have an incident that I have not been able to resolve and also I do not have much experience. I have noticed that all my mqtt in , disconnect in a very continuous way and take a few seconds to …

---

## [Triggering output when a number changes by x within y time period](https://discourse.nodered.org/t/triggering-output-when-a-number-changes-by-x-within-y-time-period/53223)

<div class="topic-metadata">

**Author:** [@iderdik](https://discourse.nodered.org/u/iderdik)\
**Replies:** 7\
**Last updated:** [4 November 2021 21:44 UTC](https://discourse.nodered.org/t/triggering-output-when-a-number-changes-by-x-within-y-time-period/53223 "2021-11-04T21:44:36Z")

</div>

I'm looking to turn on a fan when humidity rises 10% with a 5 minute time period. The humidity sensor might report the rise over multiple reports so I can't just compare it to the last change. Any ideas on how to accompl…

---

## [Worldmap spamming bounds since v2.18](https://discourse.nodered.org/t/worldmap-spamming-bounds-since-v2-18/52779)

<div class="topic-metadata">

**Author:** [@Razio](https://discourse.nodered.org/u/Razio)\
**Replies:** 6\
**Last updated:** [4 November 2021 16:50 UTC](https://discourse.nodered.org/t/worldmap-spamming-bounds-since-v2-18/52779 "2021-11-04T16:50:25Z")

</div>

Hi, Since v2.18 of worldmap. the 'worldmap in' node is spamming action:"bounds" messages from the moment there is a connection with worldmap. This causes my flows to cease working. Do I have to alter something since ver…

---

## [How to update node-red-contrib-powershell](https://discourse.nodered.org/t/how-to-update-node-red-contrib-powershell/53214)

<div class="topic-metadata">

**Author:** [@RainerGa](https://discourse.nodered.org/u/RainerGa)\
**Replies:** 6\
**Last updated:** [4 November 2021 16:23 UTC](https://discourse.nodered.org/t/how-to-update-node-red-contrib-powershell/53214 "2021-11-04T16:23:31Z")

</div>

Hello, again I spend over 2 hours to debugging. The Package "node-red-contrib-powershell" has a bug. The msg.payload will not correct returned. In github the error is corrected, see: node-red-contrib-powershell/powers…

---

## [MQTT nodes vs. in-flow processing](https://discourse.nodered.org/t/mqtt-nodes-vs-in-flow-processing/53193)

<div class="topic-metadata">

**Author:** [@Sineos](https://discourse.nodered.org/u/Sineos)\
**Replies:** 3\
**Last updated:** [4 November 2021 15:39 UTC](https://discourse.nodered.org/t/mqtt-nodes-vs-in-flow-processing/53193 "2021-11-04T15:39:25Z")

</div>

I'm doing a lot of MQTT message processing (central broker instance) and I'm wondering, what the more efficient approach would be: A lot of MQTT in / out nodes caring for very strict topics Doing all topic filtering / …

---

## [Electrolux wellbeing?](https://discourse.nodered.org/t/electrolux-wellbeing/53219)

<div class="topic-metadata">

**Author:** [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Replies:** 0\
**Last updated:** [4 November 2021 15:04 UTC](https://discourse.nodered.org/t/electrolux-wellbeing/53219 "2021-11-04T15:04:29Z")

</div>

Was wondering if anybody have made something on the Electrolux wellbeeing app? I got a Pure A9 PA91-604GY Air cleaner and it would have been nice to access those data. Have been searching but only thing i found was somet…

---

## [Can't get the state of a sensor in a TTS message with a function note](https://discourse.nodered.org/t/cant-get-the-state-of-a-sensor-in-a-tts-message-with-a-function-note/53216)

<div class="topic-metadata">

**Author:** [@dmertens](https://discourse.nodered.org/u/dmertens)\
**Replies:** 2\
**Last updated:** [4 November 2021 14:38 UTC](https://discourse.nodered.org/t/cant-get-the-state-of-a-sensor-in-a-tts-message-with-a-function-note/53216 "2021-11-04T14:38:20Z")

</div>

Hi, Sorry I'm not a developer so probably something stupid, but can't get this to work :frowning: If I create TTS requests with a service call node, (HA) then I get the value of the state with this option {{payload}}, …

---

## [Displaying specific text from the array { TEMP, HUMI and EXTPWR}](https://discourse.nodered.org/t/displaying-specific-text-from-the-array-temp-humi-and-extpwr/53198)

<div class="topic-metadata">

**Author:** [@AYo](https://discourse.nodered.org/u/AYo)\
**Replies:** 17\
**Last updated:** [4 November 2021 13:10 UTC](https://discourse.nodered.org/t/displaying-specific-text-from-the-array-temp-humi-and-extpwr/53198 "2021-11-04T13:10:28Z")

</div>

hi am new to node red and not conversant with Js. please i just need to display the following value on the debug node and dashboard. TEMP HUMI EXTPWR the below is the msg.payload i receive \</\> \[{"flag":"DI0","switc…

---

## [Editor Hide Tab Icon](https://discourse.nodered.org/t/editor-hide-tab-icon/53207)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 0\
**Last updated:** [4 November 2021 11:28 UTC](https://discourse.nodered.org/t/editor-hide-tab-icon/53207 "2021-11-04T11:28:10Z")

</div>

Please can the X icon to hide tabs be changed to a crossed out eye - Same as is used in the sidebar for hidden tabs? It is driving me mad thinking I have deleted the tab! Hiding tabs We often hear from users who hav…

---

## [Node-red-contrib-ui-svg remove and add elements](https://discourse.nodered.org/t/node-red-contrib-ui-svg-remove-and-add-elements/53125)

<div class="topic-metadata">

**Author:** [@samuelbras](https://discourse.nodered.org/u/samuelbras)\
**Replies:** 8\
**Last updated:** [4 November 2021 11:07 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-svg-remove-and-add-elements/53125 "2021-11-04T11:07:08Z")

</div>

Hi I have a problema whith elements in the SVG. I add elements by input text { "command": "add\_element", "elementType": "text", "elementId": "text140", "parentElementId": "group140", …

---

## [Temperature with MAX31855](https://discourse.nodered.org/t/temperature-with-max31855/52498)

<div class="topic-metadata">

**Author:** [@Blu3](https://discourse.nodered.org/u/Blu3)\
**Replies:** 14\
**Last updated:** [4 November 2021 10:39 UTC](https://discourse.nodered.org/t/temperature-with-max31855/52498 "2021-11-04T10:39:50Z")

</div>

Hi Everyone, I currently have a problem that seems to have been addressed here more often in the forum. I would like to read the temperature of a type-K thermocouple using a MAX31855 and a Raspberry. Unfortunately the…

---

## [Newbie node function javascript](https://discourse.nodered.org/t/newbie-node-function-javascript/53171)

<div class="topic-metadata">

**Author:** [@andregilles](https://discourse.nodered.org/u/andregilles)\
**Replies:** 13\
**Last updated:** [4 November 2021 10:19 UTC](https://discourse.nodered.org/t/newbie-node-function-javascript/53171 "2021-11-04T10:19:49Z")

</div>

Hi all, I am newbie with node-red and I have a question ... after a slider node I put a Gauge node .. how to get the max value of my flow to show it on my gauge ??? it means, if the value of the flow decrease, my gauge …

---

## [How to set the \`initial values\` in a function node?](https://discourse.nodered.org/t/how-to-set-the-initial-values-in-a-function-node/53201)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 3\
**Last updated:** [4 November 2021 09:13 UTC](https://discourse.nodered.org/t/how-to-set-the-initial-values-in-a-function-node/53201 "2021-11-04T09:13:21Z")

</div>

Sorry folks, but I can't understand it. I did a quick search but am not wording it the right way. This is an example of what I am wanting to do. \[{"id":"5869e9f6.3f1a3","type":"function","z":"675e227d.d158b4","name":"…

---

## [Self Signed Cert in FTP node](https://discourse.nodered.org/t/self-signed-cert-in-ftp-node/53196)

<div class="topic-metadata">

**Author:** [@RettSan25](https://discourse.nodered.org/u/RettSan25)\
**Replies:** 0\
**Last updated:** [4 November 2021 08:15 UTC](https://discourse.nodered.org/t/self-signed-cert-in-ftp-node/53196 "2021-11-04T08:15:09Z")

</div>

Dear NodeRED users and thanks to all developers, I would like to use the FTP node from the package node-red-contrib-advanced-ftp but I got the feedback error because of an self signed certificate Do anyone knows what I…

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

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