# Latest

**URL:** https://discourse.nodered.org/latest.md?page=573

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

**Page:** 574

---

## [Switch not working with global dictionary](https://discourse.nodered.org/t/switch-not-working-with-global-dictionary/62281)

<div class="topic-metadata">

**Author:** [@Will.Freitag](https://discourse.nodered.org/u/Will.Freitag)\
**Replies:** 4\
**Last updated:** [9 May 2022 06:47 UTC](https://discourse.nodered.org/t/switch-not-working-with-global-dictionary/62281 "2022-05-09T06:47:10Z")

</div>

I need a simple switch with 2 outputs. One for "all conditions are true" (logically AND'ed) and one "otherwise". For this to end, I create an empty dictionary on start (global scope): let watchdog\_status = global.get('…

---

## [Converting an array of bytes into a int16 to write in a modbus server(holding register)](https://discourse.nodered.org/t/converting-an-array-of-bytes-into-a-int16-to-write-in-a-modbus-server-holding-register/62370)

<div class="topic-metadata">

**Author:** [@Theodros](https://discourse.nodered.org/u/Theodros)\
**Replies:** 33\
**Last updated:** [8 May 2022 17:17 UTC](https://discourse.nodered.org/t/converting-an-array-of-bytes-into-a-int16-to-write-in-a-modbus-server-holding-register/62370 "2022-05-08T17:17:06Z")

</div>

Hello guys, I'm trying to convert an array of bytes(16bytes exactly) that I'm receiving from a function to an int16 to be able to enter it in a modbus holding register but I don't understand how to convert it. I tried …

---

## [Feasibility of implementing functional operators without javascript](https://discourse.nodered.org/t/feasibility-of-implementing-functional-operators-without-javascript/62361)

<div class="topic-metadata">

**Author:** [@cdaringe](https://discourse.nodered.org/u/cdaringe)\
**Replies:** 9\
**Last updated:** [9 May 2022 04:14 UTC](https://discourse.nodered.org/t/feasibility-of-implementing-functional-operators-without-javascript/62361 "2022-05-09T04:14:57Z")

</div>

Hey all, I want to be able to be able to do FP like operations using VPL primitives vs having to drop into JS. Example. Suppose I wanted to implement a visual version of reduce (or "fold"). Suppose I wanted to multipl…

---

## [Audio Out Issue](https://discourse.nodered.org/t/audio-out-issue/61357)

<div class="topic-metadata">

**Author:** [@jgreenmt](https://discourse.nodered.org/u/jgreenmt)\
**Replies:** 9\
**Last updated:** [9 May 2022 01:46 UTC](https://discourse.nodered.org/t/audio-out-issue/61357 "2022-05-09T01:46:30Z")

</div>

Hello, I have node red running on a Raspberry Pi and am using the Audio Out node to play wav files. There are two other Pi's that connect to the dashboard. When I was developing the code, the wav file played correctly b…

---

## [Compass gauge 2nd pointer](https://discourse.nodered.org/t/compass-gauge-2nd-pointer/62373)

<div class="topic-metadata">

**Author:** [@Nice\_to\_have](https://discourse.nodered.org/u/Nice_to_have)\
**Replies:** 3\
**Last updated:** [9 May 2022 01:35 UTC](https://discourse.nodered.org/t/compass-gauge-2nd-pointer/62373 "2022-05-09T01:35:10Z")

</div>

Hi all, I got 2 values. I got heading and I got a bearing. I'd like to show both in the same compass gauge. is there a way to get a second pointer in the compass gauge?

---

## [Bug report? \<DEPLOY\> button happenings](https://discourse.nodered.org/t/bug-report-deploy-button-happenings/62351)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 9\
**Last updated:** [8 May 2022 22:56 UTC](https://discourse.nodered.org/t/bug-report-deploy-button-happenings/62351 "2022-05-08T22:56:11Z")

</div>

Ok, here goes: NR 2.2.2 I have a debug node active. I DEACTIVATE it. Deploy button turns RED. (Fair enough) I go else where and do something else. (Deploy button - no change.) OOPS! I didn't want to do that la…

---

## [Iframe no longer works on external access (Zerotier or Nginx) but VPN ok](https://discourse.nodered.org/t/iframe-no-longer-works-on-external-access-zerotier-or-nginx-but-vpn-ok/62365)

<div class="topic-metadata">

**Author:** [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Replies:** 5\
**Last updated:** [8 May 2022 20:27 UTC](https://discourse.nodered.org/t/iframe-no-longer-works-on-external-access-zerotier-or-nginx-but-vpn-ok/62365 "2022-05-08T20:27:47Z")

</div>

Not really related to Nodered, but ... I use the iFrame function to incorporate Grafana into Nodered. Grafana is on the same machine as NR, so same IP address. Everything is OK, except when I use Zerotier or Nginx to a…

---

## [Get object params value](https://discourse.nodered.org/t/get-object-params-value/62356)

<div class="topic-metadata">

**Author:** [@azxo1](https://discourse.nodered.org/u/azxo1)\
**Replies:** 27\
**Last updated:** [8 May 2022 17:57 UTC](https://discourse.nodered.org/t/get-object-params-value/62356 "2022-05-08T17:57:14Z")

</div>

Hi! Please help! How to get any object params value?

---

## [I am new in node red, i am facing problem when addition two values . how to use function block for addition?](https://discourse.nodered.org/t/i-am-new-in-node-red-i-am-facing-problem-when-addition-two-values-how-to-use-function-block-for-addition/62348)

<div class="topic-metadata">

**Author:** [@jitesh](https://discourse.nodered.org/u/jitesh)\
**Replies:** 11\
**Last updated:** [8 May 2022 17:38 UTC](https://discourse.nodered.org/t/i-am-new-in-node-red-i-am-facing-problem-when-addition-two-values-how-to-use-function-block-for-addition/62348 "2022-05-08T17:38:59Z")

</div>

\[ { "id": "ccc1360c184b413a", "type": "tab", "label": "Flow 5", "disabled": false, "info": "" }, { "id": "27e7326f70e90168", "type": "modbus-read", …

---

## [Is nodered supposed to crash if a contrib node throws with a catch node?](https://discourse.nodered.org/t/is-nodered-supposed-to-crash-if-a-contrib-node-throws-with-a-catch-node/60699)

<div class="topic-metadata">

**Author:** [@danielo515](https://discourse.nodered.org/u/danielo515)\
**Replies:** 10\
**Last updated:** [8 May 2022 16:25 UTC](https://discourse.nodered.org/t/is-nodered-supposed-to-crash-if-a-contrib-node-throws-with-a-catch-node/60699 "2022-05-08T16:25:49Z")

</div>

Hello. Te question is simple, after updating to nodered 2.x (the latest) it is on a crash loop because a contrib node is throwing an exception. The thing is that I have a catch node attached to it, so how is this happen…

---

## [How do I find the link node my link call goes to?](https://discourse.nodered.org/t/how-do-i-find-the-link-node-my-link-call-goes-to/62368)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 3\
**Last updated:** [8 May 2022 15:46 UTC](https://discourse.nodered.org/t/how-do-i-find-the-link-node-my-link-call-goes-to/62368 "2022-05-08T15:46:50Z")

</div>

Just debugging an old flow and I've used a link call As I made this flow more than a day ago, I have no idea where the called flow is :slight\_smile: (doesn't seem to be on the same tab) What do I need to do to find …

---

## [Problem with one node not being added after the download of the palette](https://discourse.nodered.org/t/problem-with-one-node-not-being-added-after-the-download-of-the-palette/62369)

<div class="topic-metadata">

**Author:** [@Licky](https://discourse.nodered.org/u/Licky)\
**Replies:** 4\
**Last updated:** [8 May 2022 15:22 UTC](https://discourse.nodered.org/t/problem-with-one-node-not-being-added-after-the-download-of-the-palette/62369 "2022-05-08T15:22:48Z")

</div>

Hello, i'm using the node-red-contrib-web-worldmap palette since a few month, but recently i've tried to install it on another of my device, and one of the 5 nodes available is not showing : I tried to uninstall and…

---

## [NPM Maintenance score gone rogue (or maybe not)](https://discourse.nodered.org/t/npm-maintenance-score-gone-rogue-or-maybe-not/62357)

<div class="topic-metadata">

**Author:** [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Replies:** 2\
**Last updated:** [8 May 2022 14:15 UTC](https://discourse.nodered.org/t/npm-maintenance-score-gone-rogue-or-maybe-not/62357 "2022-05-08T14:15:01Z")

</div>

I noticed this morning my maintenance score went down from 100% to 83% That can't be right I thought! Decided to visit NPMjs and found that every package is set to 33% Seems something has changed or not gone to plan…

---

## [(fixed) Do not update your snmp Nodes (fixed)](https://discourse.nodered.org/t/fixed-do-not-update-your-snmp-nodes-fixed/62318)

<div class="topic-metadata">

**Author:** [@mickym2](https://discourse.nodered.org/u/mickym2)\
**Replies:** 6\
**Last updated:** [8 May 2022 13:14 UTC](https://discourse.nodered.org/t/fixed-do-not-update-your-snmp-nodes-fixed/62318 "2022-05-08T13:14:20Z")

</div>

I updated the node-red-node-snmp from version 0.0.25 to 1.0.0 and none of the snmp nodes were working. All came with an error tables, multiple OIDs - with a type error: TypeError: argument must be a Number. I only trigge…

---

## [Pac3200 Pac 2200 Sentron read 4registers \[ 64 bits\]](https://discourse.nodered.org/t/pac3200-pac-2200-sentron-read-4registers-64-bits/61591)

<div class="topic-metadata">

**Author:** [@Pierre72](https://discourse.nodered.org/u/Pierre72)\
**Replies:** 5\
**Last updated:** [8 May 2022 11:57 UTC](https://discourse.nodered.org/t/pac3200-pac-2200-sentron-read-4registers-64-bits/61591 "2022-05-08T11:57:42Z")

</div>

Hello, I'm looking for the final solution for reading the 801 offset of a Siemens Sentron PAC 2200. I saw post but closed since 2020: Pac3200 read 4registers \[ 64 bits\] and My payload is : \[16663,26345,228,12528\] …

---

## [How to stop Node-RED in my Electron application? (RED.stop() command doesn't stop anything)](https://discourse.nodered.org/t/how-to-stop-node-red-in-my-electron-application-red-stop-command-doesnt-stop-anything/62246)

<div class="topic-metadata">

**Author:** [@SebCanet](https://discourse.nodered.org/u/SebCanet)\
**Replies:** 2\
**Last updated:** [8 May 2022 11:15 UTC](https://discourse.nodered.org/t/how-to-stop-node-red-in-my-electron-application-red-stop-command-doesnt-stop-anything/62246 "2022-05-08T11:15:26Z")

</div>

Hello everyone, I am developping software to help program microcontroller boards and I want to integrate Node-RED into my Electron application to retrieve data sent by my boards. I used the example code (https://nodere…

---

## [Handling Errors of Function External Module](https://discourse.nodered.org/t/handling-errors-of-function-external-module/62029)

<div class="topic-metadata">

**Author:** [@Nasro](https://discourse.nodered.org/u/Nasro)\
**Replies:** 8\
**Last updated:** [8 May 2022 10:47 UTC](https://discourse.nodered.org/t/handling-errors-of-function-external-module/62029 "2022-05-08T10:47:04Z")

</div>

Hi i am using node-zklib package it works but if there any error NR will stop running because of Uncaught Exception my question is how can i handle all errors of this module to prevent NR form Stop ? This is a sample…

---

## [Help with tuya-smart-device node](https://discourse.nodered.org/t/help-with-tuya-smart-device-node/62324)

<div class="topic-metadata">

**Author:** [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Replies:** 7\
**Last updated:** [7 May 2022 23:43 UTC](https://discourse.nodered.org/t/help-with-tuya-smart-device-node/62324 "2022-05-07T23:43:10Z")

</div>

Hello I have a WIFI switch that I'm controlling via the tuya-smart-device node successfully. For my home automation setup, I have two independent instances of node red running on the one linux machine under two differe…

---

## [Losing global context variable](https://discourse.nodered.org/t/losing-global-context-variable/62337)

<div class="topic-metadata">

**Author:** [@demokedes](https://discourse.nodered.org/u/demokedes)\
**Replies:** 9\
**Last updated:** [7 May 2022 20:24 UTC](https://discourse.nodered.org/t/losing-global-context-variable/62337 "2022-05-07T20:24:32Z")

</div>

What can be a reason for loosing global context variables? I checked uptime....and server hasn't rebooted? How can be sure, that I will have particular values alway in global variable? I am thinking to storing it locall…

---

## [LCD 20x4 not working](https://discourse.nodered.org/t/lcd-20x4-not-working/62313)

<div class="topic-metadata">

**Author:** [@Henrys320](https://discourse.nodered.org/u/Henrys320)\
**Replies:** 3\
**Last updated:** [7 May 2022 15:44 UTC](https://discourse.nodered.org/t/lcd-20x4-not-working/62313 "2022-05-07T15:44:24Z")

</div>

I am a newbi and having trouble with lcd20x4-i2c node. The exported flow: \[ { "id": "56644a5d047f6885", "type": "tab", "label": "Flow LCD", "disabled": false, "info": "", "env": }, { "id": "31aeed2d21508759"…

---

## [OPC UA Client Node - subscription limitation](https://discourse.nodered.org/t/opc-ua-client-node-subscription-limitation/62340)

<div class="topic-metadata">

**Author:** [@learnobyte](https://discourse.nodered.org/u/learnobyte)\
**Replies:** 0\
**Last updated:** [7 May 2022 15:29 UTC](https://discourse.nodered.org/t/opc-ua-client-node-subscription-limitation/62340 "2022-05-07T15:29:33Z")

</div>

Hi all, I am using OPC UA client node to subscribe data points, Is there any limitation in terms number of client nodes. I have used 24 nodes, after that if I add nodes again, shows only subscription id, and payload, s…

---

## [From ring-buffer to string with out ","](https://discourse.nodered.org/t/from-ring-buffer-to-string-with-out/62245)

<div class="topic-metadata">

**Author:** [@dzairo](https://discourse.nodered.org/u/dzairo)\
**Replies:** 10\
**Last updated:** [7 May 2022 14:47 UTC](https://discourse.nodered.org/t/from-ring-buffer-to-string-with-out/62245 "2022-05-07T14:47:25Z")

</div>

Hi all . My Flow read data from serial port node , then sed it to ring-buffer node then can see it like Arduino serial port terminal . Here is part of my data : ,Append spreadsheet values... ,------------------------…

---

## [Node-Red "SyntaxError: Unexpected end of input" after reboot from Raspberry](https://discourse.nodered.org/t/node-red-syntaxerror-unexpected-end-of-input-after-reboot-from-raspberry/62330)

<div class="topic-metadata">

**Author:** [@divii86](https://discourse.nodered.org/u/divii86)\
**Replies:** 4\
**Last updated:** [7 May 2022 14:07 UTC](https://discourse.nodered.org/t/node-red-syntaxerror-unexpected-end-of-input-after-reboot-from-raspberry/62330 "2022-05-07T14:07:40Z")

</div>

Hello all, I am quite new to the world of Raspberry and Node Red. So far, my system has been super stable and everything went without a hitch. Now I wanted to make a backup from my SD card and for this I shut down the …

---

## [Http post not working](https://discourse.nodered.org/t/http-post-not-working/62307)

<div class="topic-metadata">

**Author:** [@azxo1](https://discourse.nodered.org/u/azxo1)\
**Replies:** 9\
**Last updated:** [7 May 2022 14:07 UTC](https://discourse.nodered.org/t/http-post-not-working/62307 "2022-05-07T14:07:28Z")

</div>

Respect to everyone! Please help below: how do I use this in a function :? msg.url = "http://192.168.5.144/cm?cmnd=cmnd/sonoff5/Power TOGGLE" return \[msg, msg.url\];

---

## [Error handling in Cloudantplus node](https://discourse.nodered.org/t/error-handling-in-cloudantplus-node/62190)

<div class="topic-metadata">

**Author:** [@hammoaj](https://discourse.nodered.org/u/hammoaj)\
**Replies:** 2\
**Last updated:** [7 May 2022 11:36 UTC](https://discourse.nodered.org/t/error-handling-in-cloudantplus-node/62190 "2022-05-07T11:36:00Z")

</div>

I'm trying to fix a problem with the Cloudantplus node where it errors and stops NR if it can't connect to the Cloudant database (incorrect URL or credentials). In the node logic I have: node.on("input", (msg, send, don…

---

## [Import flow without duplicate](https://discourse.nodered.org/t/import-flow-without-duplicate/62326)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 4\
**Last updated:** [7 May 2022 10:37 UTC](https://discourse.nodered.org/t/import-flow-without-duplicate/62326 "2022-05-07T10:37:28Z")

</div>

Sorry, but I don't understand ..... On my pc I export a flow (modified) generating one file .... Now I I would like to import this flow but in my raspberry there is the old flow that I modified on my pc. I select impo…

---

## [Switch bigger than and smaller then error](https://discourse.nodered.org/t/switch-bigger-than-and-smaller-then-error/62310)

<div class="topic-metadata">

**Author:** [@Kimovitzh](https://discourse.nodered.org/u/Kimovitzh)\
**Replies:** 9\
**Last updated:** [7 May 2022 07:02 UTC](https://discourse.nodered.org/t/switch-bigger-than-and-smaller-then-error/62310 "2022-05-07T07:02:45Z")

</div>

Hi I'm trying to do a min and max wether temp and save it in context. However, the \< and \> doesn't work for me. I have to change them to the oppesite every time I do a deploy, which seems odd. \[{"id":"b9f8c315fe1…

---

## [Group Tabs/Flows](https://discourse.nodered.org/t/group-tabs-flows/62262)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 7\
**Last updated:** [7 May 2022 06:12 UTC](https://discourse.nodered.org/t/group-tabs-flows/62262 "2022-05-07T06:12:24Z")

</div>

Guys, Wondering if anything has happened with this - the ability in the editor to group common flows together (for instance i have 6 tabs to do with Battery and Solar control in my house) all of which work fine now and …

---

## [Function Node for startTime in Time Range Node](https://discourse.nodered.org/t/function-node-for-starttime-in-time-range-node/62289)

<div class="topic-metadata">

**Author:** [@theotherd](https://discourse.nodered.org/u/theotherd)\
**Replies:** 7\
**Last updated:** [7 May 2022 00:00 UTC](https://discourse.nodered.org/t/function-node-for-starttime-in-time-range-node/62289 "2022-05-07T00:00:21Z")

</div>

I've got a temp sensor that i want to use to control electric blankets. My flow looks like the following; Flow My issues appears to be i can't get the Temp function node to output the correct output to input into th…

---

## [Autostart Node-Red ends up in endless loop?](https://discourse.nodered.org/t/autostart-node-red-ends-up-in-endless-loop/62311)

<div class="topic-metadata">

**Author:** [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Replies:** 1\
**Last updated:** [6 May 2022 22:10 UTC](https://discourse.nodered.org/t/autostart-node-red-ends-up-in-endless-loop/62311 "2022-05-06T22:10:52Z")

</div>

Hi, I try to autostart Node-Red on my Windows Server 2016 Standard OS. So I created a CMD-File looking like this: If I either autostart or doubleclick the CMD-File it ends up in and endless loop: If I go to comm…

[Previous page](https://discourse.nodered.org/latest.md?page=572)

[Next page](https://discourse.nodered.org/latest.md?page=574)
