# Latest

**URL:** https://discourse.nodered.org/latest.md?no_subcategories=false&page=269

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

**Page:** 270

---

## [Node-RED MCU - unhandled exceptions causing endless loop?](https://discourse.nodered.org/t/node-red-mcu-unhandled-exceptions-causing-endless-loop/83044)

<div class="topic-metadata">

**Author:** [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Replies:** 7\
**Last updated:** [28 November 2023 19:23 UTC](https://discourse.nodered.org/t/node-red-mcu-unhandled-exceptions-causing-endless-loop/83044 "2023-11-28T19:23:10Z")

</div>

Not sure if this is an issue inside moddable or node-red-mcu, but anytime the generated node-red flows running on my ESP-32 hit an error, the whole unit restarts... and fails again. In my particular flow, I just added a…

---

## [Best practice: custom v. function node](https://discourse.nodered.org/t/best-practice-custom-v-function-node/83222)

<div class="topic-metadata">

**Author:** [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Replies:** 38\
**Last updated:** [28 November 2023 18:38 UTC](https://discourse.nodered.org/t/best-practice-custom-v-function-node/83222 "2023-11-28T18:38:52Z")

</div>

Hi There! Are there best practices for creating a custom node versus writing a function node? I recently created the filetype node and realised that its a very thin wrapper around the file-type package - in fact there …

---

## [Device list in zigbee2mqtt bridge lässt sich nicht mehr ändern](https://discourse.nodered.org/t/device-list-in-zigbee2mqtt-bridge-lasst-sich-nicht-mehr-andern/83059)

<div class="topic-metadata">

**Author:** [@mweissen](https://discourse.nodered.org/u/mweissen)\
**Replies:** 7\
**Last updated:** [28 November 2023 17:49 UTC](https://discourse.nodered.org/t/device-list-in-zigbee2mqtt-bridge-lasst-sich-nicht-mehr-andern/83059 "2023-11-28T17:49:44Z")

</div>

NodeRed version 3.0.2 Seit kurzem ist es nicht mehr möglich, in der Zigbee2mqtt bridge die Liste der Devices zu verändern: "Friendly name"s können nicht geändert werden, neue Devices erscheinen nach dem pairing nicht au…

---

## [How to get opcua curves from array of extension object?](https://discourse.nodered.org/t/how-to-get-opcua-curves-from-array-of-extension-object/83253)

<div class="topic-metadata">

**Author:** [@Elo](https://discourse.nodered.org/u/Elo)\
**Replies:** 0\
**Last updated:** [28 November 2023 15:30 UTC](https://discourse.nodered.org/t/how-to-get-opcua-curves-from-array-of-extension-object/83253 "2023-11-28T15:30:15Z")

</div>

If I access the opcua server in the UaExpert software I can see CycleDoneEventType message with all data points in the Event View tab. In the node-red, the extension object array is empty.

---

## [Howto read rpi gpio state after reboot](https://discourse.nodered.org/t/howto-read-rpi-gpio-state-after-reboot/83218)

<div class="topic-metadata">

**Author:** [@Kliurka](https://discourse.nodered.org/u/Kliurka)\
**Replies:** 10\
**Last updated:** [28 November 2023 14:08 UTC](https://discourse.nodered.org/t/howto-read-rpi-gpio-state-after-reboot/83218 "2023-11-28T14:08:52Z")

</div>

howto read rpi gpio state after rpi reboot, or howto initiate force read gpio

---

## [Strange visual goings on in editor](https://discourse.nodered.org/t/strange-visual-goings-on-in-editor/83215)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 6\
**Last updated:** [28 November 2023 12:08 UTC](https://discourse.nodered.org/t/strange-visual-goings-on-in-editor/83215 "2023-11-28T12:08:11Z")

</div>

I've noticed a bit of a glitch Note how the wire looping back underneath the Blocky node loops much lower down than the green unexpected debug node one But if I copy it to another tab - effect disappears Just put…

---

## [Node: "read file" debug: Error: EACCES: permission denied, open 'x.json'"](https://discourse.nodered.org/t/node-read-file-debug-error-eacces-permission-denied-open-x-json/83225)

<div class="topic-metadata">

**Author:** [@Bitmage77](https://discourse.nodered.org/u/Bitmage77)\
**Replies:** 13\
**Last updated:** [28 November 2023 11:34 UTC](https://discourse.nodered.org/t/node-read-file-debug-error-eacces-permission-denied-open-x-json/83225 "2023-11-28T11:34:20Z")

</div>

Hello, i am very new and I hope someone can help me. I am using a Linux system with IO-Broker and Node-Red. Everything is running on the newest version. I created a ".json" on my linux system under "/home/user/x.json". …

---

## [Javascript chart code](https://discourse.nodered.org/t/javascript-chart-code/83247)

<div class="topic-metadata">

**Author:** [@girigowda](https://discourse.nodered.org/u/girigowda)\
**Replies:** 1\
**Last updated:** [28 November 2023 11:26 UTC](https://discourse.nodered.org/t/javascript-chart-code/83247 "2023-11-28T11:26:43Z")

</div>

in node red how to create a chart javascript code

---

## [Time format conversion](https://discourse.nodered.org/t/time-format-conversion/83184)

<div class="topic-metadata">

**Author:** [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Replies:** 7\
**Last updated:** [28 November 2023 11:19 UTC](https://discourse.nodered.org/t/time-format-conversion/83184 "2023-11-28T11:19:55Z")

</div>

This is a peace of the flow which shows my problem: Sunrise and sunset comes in that format: "Sat Nov 25 2023 19:57:52 GMT+0100" and I need a timestamp of this format in oder to calculate the time difference. (durati…

---

## [How to access context in a change node using the J: method](https://discourse.nodered.org/t/how-to-access-context-in-a-change-node-using-the-j-method/83241)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 3\
**Last updated:** [28 November 2023 11:16 UTC](https://discourse.nodered.org/t/how-to-access-context-in-a-change-node-using-the-j-method/83241 "2023-11-28T11:16:42Z")

</div>

Sorry, I know I've asked before but it is possible. I want to do some maths on a context but can't remember how to do that trick. I seem to remember in the change node you set it something like: J: flow.get("something…

---

## [Change multiple svg elements color?](https://discourse.nodered.org/t/change-multiple-svg-elements-color/83244)

<div class="topic-metadata">

**Author:** [@Kliurka](https://discourse.nodered.org/u/Kliurka)\
**Replies:** 2\
**Last updated:** [28 November 2023 10:22 UTC](https://discourse.nodered.org/t/change-multiple-svg-elements-color/83244 "2023-11-28T10:22:59Z")

</div>

howto change multiple svg elements color? like that

---

## [Can this be done with bluetooth?](https://discourse.nodered.org/t/can-this-be-done-with-bluetooth/83213)

<div class="topic-metadata">

**Author:** [@EaB11](https://discourse.nodered.org/u/EaB11)\
**Replies:** 7\
**Last updated:** [28 November 2023 10:15 UTC](https://discourse.nodered.org/t/can-this-be-done-with-bluetooth/83213 "2023-11-28T10:15:10Z")

</div>

i am looking at getting a small motorized dolly for a camera (model is Neewer DL300).. it uses bluetooth to connect to an app on the phone where the user can set its movement direction (either left or right) and also spe…

---

## [Reading in file missing parts](https://discourse.nodered.org/t/reading-in-file-missing-parts/83026)

<div class="topic-metadata">

**Author:** [@sages](https://discourse.nodered.org/u/sages)\
**Replies:** 8\
**Last updated:** [28 November 2023 08:57 UTC](https://discourse.nodered.org/t/reading-in-file-missing-parts/83026 "2023-11-28T08:57:54Z")

</div>

greetings,I have to convert a absolutely massive json string to a javascript object using the default JSON NODE in multiple steps. 1.The string is read in from the filesystem using the default read file block with th…

---

## [500 parallel flow in Nodered](https://discourse.nodered.org/t/500-parallel-flow-in-nodered/83237)

<div class="topic-metadata">

**Author:** [@shershah](https://discourse.nodered.org/u/shershah)\
**Replies:** 4\
**Last updated:** [28 November 2023 08:53 UTC](https://discourse.nodered.org/t/500-parallel-flow-in-nodered/83237 "2023-11-28T08:53:19Z")

</div>

Hi All, I am trying to find if we can create 500 parallel flow in Nodered. Can we? Will there be any performance issue? If it is feasible, how can we maintain queue to avoid data loss? Regards, Shershah

---

## [Integrate node-red editor in angular project](https://discourse.nodered.org/t/integrate-node-red-editor-in-angular-project/83220)

<div class="topic-metadata">

**Author:** [@norchenne](https://discourse.nodered.org/u/norchenne)\
**Replies:** 0\
**Last updated:** [27 November 2023 13:08 UTC](https://discourse.nodered.org/t/integrate-node-red-editor-in-angular-project/83220 "2023-11-27T13:08:14Z")

</div>

Hello, I am required to integrate node-red editor in angular project which I already did using an Iframe, but could I also authenticate the node-red user using the angular session token? If so, could you please give m…

---

## [Best practice for the msg object?](https://discourse.nodered.org/t/best-practice-for-the-msg-object/83210)

<div class="topic-metadata">

**Author:** [@Stwissel](https://discourse.nodered.org/u/Stwissel)\
**Replies:** 10\
**Last updated:** [28 November 2023 05:13 UTC](https://discourse.nodered.org/t/best-practice-for-the-msg-object/83210 "2023-11-28T05:13:40Z")

</div>

What is the recommendation for dealing with the msg object. In the on Input event we get the msg object. Typically we might only be interested in the payload, but the msg properties might have items that need to be passe…

---

## [Documentation Suggestions](https://discourse.nodered.org/t/documentation-suggestions/83192)

<div class="topic-metadata">

**Author:** [@TerryE](https://discourse.nodered.org/u/TerryE)\
**Replies:** 22\
**Last updated:** [28 November 2023 05:08 UTC](https://discourse.nodered.org/t/documentation-suggestions/83192 "2023-11-28T05:08:19Z")

</div>

This is really a Q for @knolleary et al. The background is that I am an experienced developer / sysadmin with no karma on this project, but who now seems to use Node-RED for personal use. As with many FLOSS projects, …

---

## [Lead/lag pump failover](https://discourse.nodered.org/t/lead-lag-pump-failover/83209)

<div class="topic-metadata">

**Author:** [@Automata](https://discourse.nodered.org/u/Automata)\
**Replies:** 5\
**Last updated:** [28 November 2023 01:59 UTC](https://discourse.nodered.org/t/lead-lag-pump-failover/83209 "2023-11-28T01:59:42Z")

</div>

happy holiday weekend everyone, running into some trouble getting a pump failover flow to work. ive tried numerouse configurations. this has gotten me the closest. what im trying to achieve is having the lead pump always…

---

## [How to extract a value](https://discourse.nodered.org/t/how-to-extract-a-value/83233)

<div class="topic-metadata">

**Author:** [@telescopio](https://discourse.nodered.org/u/telescopio)\
**Replies:** 12\
**Last updated:** [27 November 2023 23:56 UTC](https://discourse.nodered.org/t/how-to-extract-a-value/83233 "2023-11-27T23:56:05Z")

</div>

11/27/2023, 4:32:57 PMnode: debug 57 Need help to extract the rF to show on a text node true : msg.payload : Object object id: 100 tC: 26.2 tF: 79.2

---

## [Dynamic name for variables,based for example on \_\_msgid\_\_](https://discourse.nodered.org/t/dynamic-name-for-variables-based-for-example-on-msgid/83226)

<div class="topic-metadata">

**Author:** [@aguida79](https://discourse.nodered.org/u/aguida79)\
**Replies:** 8\
**Last updated:** [27 November 2023 23:30 UTC](https://discourse.nodered.org/t/dynamic-name-for-variables-based-for-example-on-msgid/83226 "2023-11-27T23:30:22Z")

</div>

Hi everyone, I want to know if there is a way to define a variable with a dynamic part in the name. For example, I can define a flow context variable with a dynamic name, like this: flow.set('value'+\_msgid\_,"test"); …

---

## [Is there a more elegant solution for this pattern](https://discourse.nodered.org/t/is-there-a-more-elegant-solution-for-this-pattern/83230)

<div class="topic-metadata">

**Author:** [@escamoteur](https://discourse.nodered.org/u/escamoteur)\
**Replies:** 2\
**Last updated:** [27 November 2023 21:19 UTC](https://discourse.nodered.org/t/is-there-a-more-elegant-solution-for-this-pattern/83230 "2023-11-27T21:19:41Z")

</div>

I have repeated a pattern like the above because I want to trigger a message with latest value of a Sensor either when the state of the sensor changes or, because of some other trigger. It would be nice if there were …

---

## [\[Feature Request\]Additional tests in switch node](https://discourse.nodered.org/t/feature-request-additional-tests-in-switch-node/83195)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 10\
**Last updated:** [27 November 2023 20:02 UTC](https://discourse.nodered.org/t/feature-request-additional-tests-in-switch-node/83195 "2023-11-27T20:02:12Z")

</div>

The switch node has a number of tests and the opposite of them e.g == and != \< \> \>= \<= etc is true and is false is null and is not null is empty and is not empty but there are others with just one method has key …

---

## [Display text in a svg graphic](https://discourse.nodered.org/t/display-text-in-a-svg-graphic/83208)

<div class="topic-metadata">

**Author:** [@markush](https://discourse.nodered.org/u/markush)\
**Replies:** 2\
**Last updated:** [27 November 2023 16:07 UTC](https://discourse.nodered.org/t/display-text-in-a-svg-graphic/83208 "2023-11-27T16:07:33Z")

</div>

Hello Folks, i need your help for a new Flow. I want to show a Heating buffer with its temperature state. I found the most solution in this thread . Now i want to display the values of the four temparature sensors i hav…

---

## [How to reverse a value?](https://discourse.nodered.org/t/how-to-reverse-a-value/83089)

<div class="topic-metadata">

**Author:** [@eli5](https://discourse.nodered.org/u/eli5)\
**Replies:** 34\
**Last updated:** [27 November 2023 13:22 UTC](https://discourse.nodered.org/t/how-to-reverse-a-value/83089 "2023-11-27T13:22:16Z")

</div>

I have a soil moisture sensor that gives me values from 2850 (dry) to 1250 (in water). I would like to convert these into percentage values, i.e. 0-100%. My problem is that I can only convert from small to large with th…

---

## [Send File Through WhatsApp](https://discourse.nodered.org/t/send-file-through-whatsapp/83216)

<div class="topic-metadata">

**Author:** [@Mohamed\_1711](https://discourse.nodered.org/u/Mohamed_1711)\
**Replies:** 6\
**Last updated:** [27 November 2023 13:18 UTC](https://discourse.nodered.org/t/send-file-through-whatsapp/83216 "2023-11-27T13:18:15Z")

</div>

Can I send File through WhatsApp Using Any Module ???

---

## [Remove "maximum number of catches"](https://discourse.nodered.org/t/remove-maximum-number-of-catches/83187)

<div class="topic-metadata">

**Author:** [@mrark](https://discourse.nodered.org/u/mrark)\
**Replies:** 15\
**Last updated:** [27 November 2023 10:01 UTC](https://discourse.nodered.org/t/remove-maximum-number-of-catches/83187 "2023-11-27T10:01:14Z")

</div>

Good evening everyone. I'm working on a flow to create a bot to retrieve a lot of datas from a website: it loops a http request via the nbrowser node, and each time it retrieves the data by doing a few steps. For reason…

---

## [Message sent once but received twice](https://discourse.nodered.org/t/message-sent-once-but-received-twice/82653)

<div class="topic-metadata">

**Author:** [@omrid](https://discourse.nodered.org/u/omrid)\
**Replies:** 12\
**Last updated:** [26 November 2023 22:24 UTC](https://discourse.nodered.org/t/message-sent-once-but-received-twice/82653 "2023-11-26T22:24:25Z")

</div>

I'm using ui-template nodes in my Node-red dashboards, which receive messages from other nodes. my message handling is as follows: \<script type="text/javascript"\> var $scope = this.scope; (function(scope) { $scope.…

---

## [How to replace number by variable in payload\[6\]](https://discourse.nodered.org/t/how-to-replace-number-by-variable-in-payload-6/83207)

<div class="topic-metadata">

**Author:** [@jhoepffner](https://discourse.nodered.org/u/jhoepffner)\
**Replies:** 2\
**Last updated:** [26 November 2023 21:33 UTC](https://discourse.nodered.org/t/how-to-replace-number-by-variable-in-payload-6/83207 "2023-11-26T21:33:37Z")

</div>

Hello, I want to select various part of a list using global variable. I have a global variable named 'Cue' How can I replace the 6 in Payload\[6\] by the value of Cue? I have tried a function node with: var count = gl…

---

## [How to adjust volume on RasPi](https://discourse.nodered.org/t/how-to-adjust-volume-on-raspi/83165)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 16\
**Last updated:** [26 November 2023 21:27 UTC](https://discourse.nodered.org/t/how-to-adjust-volume-on-raspi/83165 "2023-11-26T21:27:10Z")

</div>

(Sort of from the other thread but new question) I have since discovered that a lot of the problem was the BLUE TOOTH part of the speaker. Got a 3.5mm cable and it works now a lot better than if using BT. The speaker …

---

## [How can I send "chunked" http responses?](https://discourse.nodered.org/t/how-can-i-send-chunked-http-responses/83204)

<div class="topic-metadata">

**Author:** [@Stwissel](https://discourse.nodered.org/u/Stwissel)\
**Replies:** 0\
**Last updated:** [26 November 2023 18:57 UTC](https://discourse.nodered.org/t/how-can-i-send-chunked-http-responses/83204 "2023-11-26T18:57:34Z")

</div>

I have a node returning multiple JSON objects from a query in sequence. I want to trigger that query from a http node: http-in -\> my node -\> http response. The http response node it set to a header property "transfer-e…

[Previous page](https://discourse.nodered.org/latest.md?no_subcategories=false&page=268)

[Next page](https://discourse.nodered.org/latest.md?no_subcategories=false&page=270)
