# General

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

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

**Page:** 780

---

## [Log files in docker node red](https://discourse.nodered.org/t/log-files-in-docker-node-red/23396)

<div class="topic-metadata">

**Author:** [@tobiasselin](https://discourse.nodered.org/u/tobiasselin)\
**Replies:** 0\
**Last updated:** [21 March 2020 09:21 UTC](https://discourse.nodered.org/t/log-files-in-docker-node-red/23396 "2020-03-21T09:21:24Z")

</div>

I've had a couple node red instances that I run in docker where the log.json file has grown to tens of GBs in only a few weeks/months. Are there environment variables in docker that can be used to limit log file size? Or…

---

## [Trying to build message with CHANGE node. Not working](https://discourse.nodered.org/t/trying-to-build-message-with-change-node-not-working/23393)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [21 March 2020 08:37 UTC](https://discourse.nodered.org/t/trying-to-build-message-with-change-node-not-working/23393 "2020-03-21T08:37:41Z")

</div>

(And template node.) This is the flow: (Basic) \[{"id":"15ae0152.83044f","type":"inject","z":"675e227d.d158b4","name":"Weekly","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"50 23 \* \* 0","once":fa…

---

## [Multiple output based on payload byte](https://discourse.nodered.org/t/multiple-output-based-on-payload-byte/23371)

<div class="topic-metadata">

**Author:** [@ortegafernando](https://discourse.nodered.org/u/ortegafernando)\
**Replies:** 4\
**Last updated:** [21 March 2020 07:40 UTC](https://discourse.nodered.org/t/multiple-output-based-on-payload-byte/23371 "2020-03-21T07:40:17Z")

</div>

Hi, I have been fighting with something and I cannot solve it. I have a system of reception of messages by MQTT of several sensors. One of the bytes of this message (it is a buffer) indicates the "TYPE" of the message/s…

---

## [Credentials could not be decrypted](https://discourse.nodered.org/t/credentials-could-not-be-decrypted/23307)

<div class="topic-metadata">

**Author:** [@mrSidX](https://discourse.nodered.org/u/mrSidX)\
**Replies:** 6\
**Last updated:** [21 March 2020 01:44 UTC](https://discourse.nodered.org/t/credentials-could-not-be-decrypted/23307 "2020-03-21T01:44:34Z")

</div>

I have this repeating problem with the credentials file not being able to be decrypted. There are repeating instances where my flow would lock up I'm suspecting due to lack of system resources, BUT main issue relating …

---

## [Change node / Telegram message](https://discourse.nodered.org/t/change-node-telegram-message/23365)

<div class="topic-metadata">

**Author:** [@duffy6](https://discourse.nodered.org/u/duffy6)\
**Replies:** 3\
**Last updated:** [21 March 2020 01:29 UTC](https://discourse.nodered.org/t/change-node-telegram-message/23365 "2020-03-21T01:29:58Z")

</div>

My MQTT data looks like this: {"topic": "heating/Hz system/flow temperature", "payload":33, "qos":0, "retain":false,"\_msgid": "446dfe39.cc451"} How could a change or function node look like that I can send the payload …

---

## [Help on message construction in a TRIGGER node](https://discourse.nodered.org/t/help-on-message-construction-in-a-trigger-node/23381)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 1\
**Last updated:** [20 March 2020 23:59 UTC](https://discourse.nodered.org/t/help-on-message-construction-in-a-trigger-node/23381 "2020-03-20T23:59:40Z")

</div>

This is a broken down flow of my problem. Putting aside the change node at the top: Press the inject node and get a message saying 192.168.0.254 is online. The trigger node waits 10 seconds and if nothing is received …

---

## [Permissions settings when using Twitter OpenID authentification](https://discourse.nodered.org/t/permissions-settings-when-using-twitter-openid-authentification/23376)

<div class="topic-metadata">

**Author:** [@kybsmiling](https://discourse.nodered.org/u/kybsmiling)\
**Replies:** 0\
**Last updated:** [20 March 2020 21:51 UTC](https://discourse.nodered.org/t/permissions-settings-when-using-twitter-openid-authentification/23376 "2020-03-20T21:51:23Z")

</div>

If I am going to use Twitter OpenID authentication, do I still need to put all users into settings.js to give them their permissions? Is this correct, or do I miss something? If I would set up my own OpenID Server (e.g…

---

## [Global context mutability](https://discourse.nodered.org/t/global-context-mutability/22407)

<div class="topic-metadata">

**Author:** [@shooftie](https://discourse.nodered.org/u/shooftie)\
**Replies:** 4\
**Last updated:** [20 March 2020 20:28 UTC](https://discourse.nodered.org/t/global-context-mutability/22407 "2020-03-20T20:28:43Z")

</div>

I have a function-file node in which I would like to use configs which are stored in the global context. I am struggling because my approach appears to mutate the global context which I do not want. I am not sure whethe…

---

## [Node-red-contrib-mic : how to use it?](https://discourse.nodered.org/t/node-red-contrib-mic-how-to-use-it/23225)

<div class="topic-metadata">

**Author:** [@hammeronthenet](https://discourse.nodered.org/u/hammeronthenet)\
**Replies:** 8\
**Last updated:** [20 March 2020 18:11 UTC](https://discourse.nodered.org/t/node-red-contrib-mic-how-to-use-it/23225 "2020-03-20T18:11:21Z")

</div>

Hi all, this is my first post here, I'm exploring nodered and i'm very happy with it :slight\_smile: . I'm wondering how to use the component in the object ( node-red-contrib-mic ). I'm using it on a Raspberry PI with n…

---

## [Could someone help me with this error?](https://discourse.nodered.org/t/could-someone-help-me-with-this-error/23336)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [20 March 2020 11:14 UTC](https://discourse.nodered.org/t/could-someone-help-me-with-this-error/23336 "2020-03-20T11:14:39Z")

</div>

More to the point: Which node? Normally errors are caught and I get a message telling me which node, etc. This doesn't have any of the usual stuff like that. {"message":"TypeError: Cannot read property 'split' of und…

---

## [Chart.js node not working](https://discourse.nodered.org/t/chart-js-node-not-working/23333)

<div class="topic-metadata">

**Author:** [@axelcamos](https://discourse.nodered.org/u/axelcamos)\
**Replies:** 0\
**Last updated:** [19 March 2020 23:32 UTC](https://discourse.nodered.org/t/chart-js-node-not-working/23333 "2020-03-19T23:32:28Z")

</div>

Hi every one! I'm want to use chart.js node (https://flows.nodered.org/node/node-red-contrib-chartjs), but it doesn't works, don't show anything on the chart. What i'm trying to do it's show the temperature in y axis an…

---

## [IE11 All nodes from all flows shown at once (each tab looks the same)](https://discourse.nodered.org/t/ie11-all-nodes-from-all-flows-shown-at-once-each-tab-looks-the-same/23313)

<div class="topic-metadata">

**Author:** [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Replies:** 7\
**Last updated:** [19 March 2020 23:13 UTC](https://discourse.nodered.org/t/ie11-all-nodes-from-all-flows-shown-at-once-each-tab-looks-the-same/23313 "2020-03-19T23:13:34Z")

</div>

I'm sure this will be something on my setup but I thought I'd post it to see if anyone else is getting this? and what (if anything) the DEVs would like me to try / check before I rebuild / repair. Normally I don't use I…

---

## [Schedule something for 2 hours in future?](https://discourse.nodered.org/t/schedule-something-for-2-hours-in-future/23329)

<div class="topic-metadata">

**Author:** [@brettyj](https://discourse.nodered.org/u/brettyj)\
**Replies:** 3\
**Last updated:** [19 March 2020 22:14 UTC](https://discourse.nodered.org/t/schedule-something-for-2-hours-in-future/23329 "2020-03-19T22:14:29Z")

</div>

Hey, Wondering if anyone has a solution to this. So I have an event that when fires uses a timeout node to countdown for 2 hours before I need to turn off the device. It works fine, but the problem with any timeout tha…

---

## [All flows gone after restart of NR](https://discourse.nodered.org/t/all-flows-gone-after-restart-of-nr/23327)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 5\
**Last updated:** [19 March 2020 21:28 UTC](https://discourse.nodered.org/t/all-flows-gone-after-restart-of-nr/23327 "2020-03-19T21:28:08Z")

</div>

Hi folks, I ve no idea what happened. When I restart nr all flows are gone. No matter how often I deploy flows, changes or whatever -\> after nr restart all the flows are gone.

---

## [How to copy credentials in node-red flow?](https://discourse.nodered.org/t/how-to-copy-credentials-in-node-red-flow/23315)

<div class="topic-metadata">

**Author:** [@hsn548](https://discourse.nodered.org/u/hsn548)\
**Replies:** 8\
**Last updated:** [19 March 2020 13:54 UTC](https://discourse.nodered.org/t/how-to-copy-credentials-in-node-red-flow/23315 "2020-03-19T13:54:31Z")

</div>

I have a mqtt node and in the mqtt node, I have all the credentials e.g. password, username etc and I am taking the password and username from the environment variables like this $(Password). Now when i export the flow…

---

## [Context store and array](https://discourse.nodered.org/t/context-store-and-array/23261)

<div class="topic-metadata">

**Author:** [@krzydec](https://discourse.nodered.org/u/krzydec)\
**Replies:** 5\
**Last updated:** [19 March 2020 13:18 UTC](https://discourse.nodered.org/t/context-store-and-array/23261 "2020-03-19T13:18:51Z")

</div>

Hello I'm experiencing a strange behaviour when reading an array from the context store. The array is altered in the context store just by reading it inside the function block. Please can someone explain to me why thi…

---

## [Timeout node does not send payload](https://discourse.nodered.org/t/timeout-node-does-not-send-payload/23316)

<div class="topic-metadata">

**Author:** [@877](https://discourse.nodered.org/u/877)\
**Replies:** 0\
**Last updated:** [19 March 2020 12:28 UTC](https://discourse.nodered.org/t/timeout-node-does-not-send-payload/23316 "2020-03-19T12:28:06Z")

</div>

Strange thing I have noticed with @scargill 's timeout node. When deploying, the 'unsafe' payload gets sent ok. But then after that the payload does not get sent when the node times-out. If I set a 'safe' payload i.e. …

---

## [Number in German format in dashboard (100.235,25) - how to?](https://discourse.nodered.org/t/number-in-german-format-in-dashboard-100-235-25-how-to/23236)

<div class="topic-metadata">

**Author:** [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Replies:** 15\
**Last updated:** [19 March 2020 11:34 UTC](https://discourse.nodered.org/t/number-in-german-format-in-dashboard-100-235-25-how-to/23236 "2020-03-19T11:34:20Z")

</div>

How can I format my msg.payload to be shown in German format in dashboard text node. not 100,235.25 but 100.235,25 for example. Any help appreciated.

---

## [Performance / Efficiencies - best practice?](https://discourse.nodered.org/t/performance-efficiencies-best-practice/23310)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 7\
**Last updated:** [19 March 2020 10:07 UTC](https://discourse.nodered.org/t/performance-efficiencies-best-practice/23310 "2020-03-19T10:07:42Z")

</div>

Having a lot of mqtt (out)nodes in my flows (must sound familiar), I was wondering if there is a best practice / best optimisation of (mqtt) node use. Is there a performance impact/optimisation of using a lot of mqtt ou…

---

## [Confused novice - 2 flows won't work when running on the same host without failing](https://discourse.nodered.org/t/confused-novice-2-flows-wont-work-when-running-on-the-same-host-without-failing/23272)

<div class="topic-metadata">

**Author:** [@fil](https://discourse.nodered.org/u/fil)\
**Replies:** 0\
**Last updated:** [18 March 2020 14:32 UTC](https://discourse.nodered.org/t/confused-novice-2-flows-wont-work-when-running-on-the-same-host-without-failing/23272 "2020-03-18T14:32:31Z")

</div>

I am expanding/developing a system i have had in place running on a pi-0-w using 6 sensors writting logs to csv files that has been running well for over a year I intend to employ significantly more sensors and log to a…

---

## [About node-red memory handling](https://discourse.nodered.org/t/about-node-red-memory-handling/22643)

<div class="topic-metadata">

**Author:** [@fangzhu](https://discourse.nodered.org/u/fangzhu)\
**Replies:** 3\
**Last updated:** [19 March 2020 09:33 UTC](https://discourse.nodered.org/t/about-node-red-memory-handling/22643 "2020-03-19T09:33:57Z")

</div>

I have a question about memory handling. Assuming we have a node that uses a lot of memory (through msg.payload object), when will the memory be cleared and by who? Would the used memory be cleared after the node is com…

---

## [Strange behavior of my simple API](https://discourse.nodered.org/t/strange-behavior-of-my-simple-api/23289)

<div class="topic-metadata">

**Author:** [@rex](https://discourse.nodered.org/u/rex)\
**Replies:** 8\
**Last updated:** [19 March 2020 09:33 UTC](https://discourse.nodered.org/t/strange-behavior-of-my-simple-api/23289 "2020-03-19T09:33:11Z")

</div>

I'm trying a simple API, and I have a strange behavior with the result. The result is JSON formatted, the data come from a DB query. The result has unwanted escape characters: "{"type":\[ {"sensor":"temperature", "unit…

---

## [Modbus "Initialized"](https://discourse.nodered.org/t/modbus-initialized/23079)

<div class="topic-metadata">

**Author:** [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Replies:** 1\
**Last updated:** [18 March 2020 23:17 UTC](https://discourse.nodered.org/t/modbus-initialized/23079 "2020-03-18T23:17:22Z")

</div>

I am running Node-Red on two different machine, both with the same version of Node-Red and Node.js, yet one will connect using Modbus Read fine and the other will not. I have downgraded the Modbus Node package to the ve…

---

## [\[Solved\] credentialSecret, flows stopped as the credentials could not be decrypted](https://discourse.nodered.org/t/solved-credentialsecret-flows-stopped-as-the-credentials-could-not-be-decrypted/19363)

<div class="topic-metadata">

**Author:** [@thechane](https://discourse.nodered.org/u/thechane)\
**Replies:** 10\
**Last updated:** [18 March 2020 23:07 UTC](https://discourse.nodered.org/t/solved-credentialsecret-flows-stopped-as-the-credentials-could-not-be-decrypted/19363 "2020-03-18T23:07:20Z")

</div>

I'm going around and around in circles trying to solve this one, hoping someone out there has an answer. I am bringing up customized docker containers running nodered with projects enabled and setting a custom credentia…

---

## [MQTT In and Flow Deploy, is this a bug?](https://discourse.nodered.org/t/mqtt-in-and-flow-deploy-is-this-a-bug/2765)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 17\
**Last updated:** [18 March 2020 22:00 UTC](https://discourse.nodered.org/t/mqtt-in-and-flow-deploy-is-this-a-bug/2765 "2020-03-18T22:00:14Z")

</div>

This was mentioned in a thread a couple of days ago bit I did not see an authoritative reply. If the wiring out of an MQTT In node is changed (wire moved, or deleted or another one added) then a Flow deploy does not re…

---

## [Extracting object elements from CSVs into graphable data](https://discourse.nodered.org/t/extracting-object-elements-from-csvs-into-graphable-data/23290)

<div class="topic-metadata">

**Author:** [@firedude144](https://discourse.nodered.org/u/firedude144)\
**Replies:** 1\
**Last updated:** [18 March 2020 20:59 UTC](https://discourse.nodered.org/t/extracting-object-elements-from-csvs-into-graphable-data/23290 "2020-03-18T20:59:35Z")

</div>

I'm trying to build a graph that will update periodically from an open data source (the COVID-19 data from Our World in Data org (blob:https://ourworldindata.org/f7778f11-7e49-4608-8695-c9c420e6e817). I'm a seasoned prog…

---

## [Generic flow to save MQTT payloads to context](https://discourse.nodered.org/t/generic-flow-to-save-mqtt-payloads-to-context/21580)

<div class="topic-metadata">

**Author:** [@m\_elias](https://discourse.nodered.org/u/m_elias)\
**Replies:** 17\
**Last updated:** [18 March 2020 20:41 UTC](https://discourse.nodered.org/t/generic-flow-to-save-mqtt-payloads-to-context/21580 "2020-03-18T20:41:07Z")

</div>

Do you use a function node or the core nodes to built a flow to save MQTT payloads to the flow context? I'm thinking of using one MQTT in node with a '#' (multi level) wildcard and using the last branch in the topic tree…

---

## [Max31865 thermocouple amplifier (Solved)](https://discourse.nodered.org/t/max31865-thermocouple-amplifier-solved/10295)

<div class="topic-metadata">

**Author:** [@Poodlepapa](https://discourse.nodered.org/u/Poodlepapa)\
**Replies:** 5\
**Last updated:** [18 March 2020 19:48 UTC](https://discourse.nodered.org/t/max31865-thermocouple-amplifier-solved/10295 "2020-03-18T19:48:11Z")

</div>

I am still working on this project, as soon as I have a working flow I will post a list of the steps I took to make the Max31865 work. This has been frustrating and poorly documented device. I'd like to help others avo…

---

## [From Blockly to Node-RED: migration of irrigation flow](https://discourse.nodered.org/t/from-blockly-to-node-red-migration-of-irrigation-flow/23047)

<div class="topic-metadata">

**Author:** [@cmartens](https://discourse.nodered.org/u/cmartens)\
**Replies:** 16\
**Last updated:** [18 March 2020 19:43 UTC](https://discourse.nodered.org/t/from-blockly-to-node-red-migration-of-irrigation-flow/23047 "2020-03-18T19:43:06Z")

</div>

Hi all, in Domoticz Blockly I have defined the following Blockly (see below). However, I want to migrate this to Node-RED in Home Assistant. This function is triggered when a switch (beregening handmatig) is switched on…

---

## [Http headers error for multiple msgs](https://discourse.nodered.org/t/http-headers-error-for-multiple-msgs/23270)

<div class="topic-metadata">

**Author:** [@aitor1skater](https://discourse.nodered.org/u/aitor1skater)\
**Replies:** 2\
**Last updated:** [18 March 2020 18:09 UTC](https://discourse.nodered.org/t/http-headers-error-for-multiple-msgs/23270 "2020-03-18T18:09:56Z")

</div>

Hello everyone, I am developing a flow that aims to divide a huge message into smaller messages. I have achieved all the logical part for dividing the msg, however, when sending all those small messages to a http respon…

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

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