# General

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

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

**Page:** 380

---

## [HTML Button for file download](https://discourse.nodered.org/t/html-button-for-file-download/62423)

<div class="topic-metadata">

**Author:** [@PedroFilipe](https://discourse.nodered.org/u/PedroFilipe)\
**Replies:** 2\
**Last updated:** [9 May 2022 20:05 UTC](https://discourse.nodered.org/t/html-button-for-file-download/62423 "2022-05-09T20:05:28Z")

</div>

Hello everyone, I have this html table that shows the records for a database in my Raspberry Pi, and i need to download a video associated with the record entry. I can download the file using the link /files/filename, b…

---

## [Timestamp to UTC time](https://discourse.nodered.org/t/timestamp-to-utc-time/62384)

<div class="topic-metadata">

**Author:** [@Olivia](https://discourse.nodered.org/u/Olivia)\
**Replies:** 4\
**Last updated:** [9 May 2022 17:04 UTC](https://discourse.nodered.org/t/timestamp-to-utc-time/62384 "2022-05-09T17:04:48Z")

</div>

Hello everyone, I have a script that makes a CSV file from my data. The time is an string of numbers (10) and i would like to see it like the UTC time (15). I tried the command .format ("YYYY-MM-DD HH:mm:ss) but it do…

---

## [‘Request time out’ when insert data to influxdb](https://discourse.nodered.org/t/request-time-out-when-insert-data-to-influxdb/62410)

<div class="topic-metadata">

**Author:** [@rolandoartha](https://discourse.nodered.org/u/rolandoartha)\
**Replies:** 4\
**Last updated:** [9 May 2022 16:03 UTC](https://discourse.nodered.org/t/request-time-out-when-insert-data-to-influxdb/62410 "2022-05-09T16:03:43Z")

</div>

Hello guys i'm trying to insert my data from sensor to influxdb, i parse the data using function like this but i always get this error

---

## [OPCUA Client Update](https://discourse.nodered.org/t/opcua-client-update/62405)

<div class="topic-metadata">

**Author:** [@Shen](https://discourse.nodered.org/u/Shen)\
**Replies:** 0\
**Last updated:** [9 May 2022 12:59 UTC](https://discourse.nodered.org/t/opcua-client-update/62405 "2022-05-09T12:59:09Z")

</div>

Hi, I updated OPCUA nodes in Node red to 0.2.275. When I used OPCUA Client node and deployed it. It started showing warning for every OPCUA client node. Before update it was fine, after update warning started populating…

---

## [Store message in persistent file system without mentioning "storeName"](https://discourse.nodered.org/t/store-message-in-persistent-file-system-without-mentioning-storename/62377)

<div class="topic-metadata">

**Author:** [@aswink](https://discourse.nodered.org/u/aswink)\
**Replies:** 2\
**Last updated:** [9 May 2022 14:51 UTC](https://discourse.nodered.org/t/store-message-in-persistent-file-system-without-mentioning-storename/62377 "2022-05-09T14:51:25Z")

</div>

Hello All, I have a requirement to maintain data in both memory and file based context(if not present in memory copy from file based context; if not present in file copy from memory based context). Generally the contex…

---

## [Failing in installing fileinject or base64 nodes](https://discourse.nodered.org/t/failing-in-installing-fileinject-or-base64-nodes/62394)

<div class="topic-metadata">

**Author:** [@vongomben](https://discourse.nodered.org/u/vongomben)\
**Replies:** 5\
**Last updated:** [9 May 2022 14:21 UTC](https://discourse.nodered.org/t/failing-in-installing-fileinject-or-base64-nodes/62394 "2022-05-09T14:21:38Z")

</div>

I'm trying to install Base64 and Fileinject node, but I have this kind of error running. I have node v18.1.0 and npm 8.0.0 on windows. Node-red just updated to version 2.1 Any help?

---

## [Not able to move a file](https://discourse.nodered.org/t/not-able-to-move-a-file/62388)

<div class="topic-metadata">

**Author:** [@milner236](https://discourse.nodered.org/u/milner236)\
**Replies:** 1\
**Last updated:** [9 May 2022 08:52 UTC](https://discourse.nodered.org/t/not-able-to-move-a-file/62388 "2022-05-09T08:52:32Z")

</div>

Hello everyone, I am struggling to move a file using node-red-contrib-fs-ops. I always find myself at the point where the file is undefined. What am I doing wrong? Path and Destination are set in the function node. …

---

## [打开Node red 为什么一直报错？(Why do I keep getting an error when I open Node red?)](https://discourse.nodered.org/t/node-red-why-do-i-keep-getting-an-error-when-i-open-node-red/62382)

<div class="topic-metadata">

**Author:** [@yangkai](https://discourse.nodered.org/u/yangkai)\
**Replies:** 1\
**Last updated:** [9 May 2022 08:16 UTC](https://discourse.nodered.org/t/node-red-why-do-i-keep-getting-an-error-when-i-open-node-red/62382 "2022-05-09T08:16:34Z")

</div>

---

## [CPU spikes while writting data to context](https://discourse.nodered.org/t/cpu-spikes-while-writting-data-to-context/62259)

<div class="topic-metadata">

**Author:** [@Aivaras1](https://discourse.nodered.org/u/Aivaras1)\
**Replies:** 10\
**Last updated:** [9 May 2022 08:15 UTC](https://discourse.nodered.org/t/cpu-spikes-while-writting-data-to-context/62259 "2022-05-09T08:15:21Z")

</div>

Hello, So I have a problem. I am making data accumulation for graph. Data is received from modbus communication. Problems occurred when I tried to accumulate data. Random CPU spikes (95-98%) Does someone has any suggest…

---

## [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…

---

## [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…

---

## [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"…

---

## [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\];

---

## [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…

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

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