# General

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

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

**Page:** 244

---

## [How to fix "cannot GET /URL" error on refresh with template node](https://discourse.nodered.org/t/how-to-fix-cannot-get-url-error-on-refresh-with-template-node/74893)

<div class="topic-metadata">

**Author:** [@anilsagar](https://discourse.nodered.org/u/anilsagar)\
**Replies:** 2\
**Last updated:** [23 February 2023 01:52 UTC](https://discourse.nodered.org/t/how-to-fix-cannot-get-url-error-on-refresh-with-template-node/74893 "2023-02-23T01:52:41Z")

</div>

I have used an automated refresh of a web page within template node. Every now and then I get "cannot GET /URL" error on the automated refresh. When that happens, I have to manually refresh the page again to get page pro…

---

## [Krakul/node-red-modbus-rtu-slave writing multiple values at once](https://discourse.nodered.org/t/krakul-node-red-modbus-rtu-slave-writing-multiple-values-at-once/75609)

<div class="topic-metadata">

**Author:** [@Gh0st90](https://discourse.nodered.org/u/Gh0st90)\
**Replies:** 0\
**Last updated:** [22 February 2023 22:21 UTC](https://discourse.nodered.org/t/krakul-node-red-modbus-rtu-slave-writing-multiple-values-at-once/75609 "2023-02-22T22:21:12Z")

</div>

Hello, I have installed the krakul/node-red-modbus-rtu-slave pakage on my raspi with node-red version 3.0.2, I need to write a response on the following request. The modbus-rtu-writer in the pakage can only write one …

---

## [Install modbus-rtu-slave error](https://discourse.nodered.org/t/install-modbus-rtu-slave-error/75473)

<div class="topic-metadata">

**Author:** [@Gh0st90](https://discourse.nodered.org/u/Gh0st90)\
**Replies:** 10\
**Last updated:** [22 February 2023 22:06 UTC](https://discourse.nodered.org/t/install-modbus-rtu-slave-error/75473 "2023-02-22T22:06:04Z")

</div>

Hello Guys, i have a Problem with installing the modbus-rtu-slave pakage in node-red. When i try to Install it, i get this Error Message: 2023-02-20T12:31:56.914Z Installieren : @krakul/node-red-modbus-rtu-slave 1.0.1…

---

## [Hello, I'm having a problem with the node red, when I will inject post in http to the strapi, I get a error: RequestError: connect ECONNREFUSED localhost:1337](https://discourse.nodered.org/t/hello-im-having-a-problem-with-the-node-red-when-i-will-inject-post-in-http-to-the-strapi-i-get-a-error-requesterror-connect-econnrefused-localhost-1337/75534)

<div class="topic-metadata">

**Author:** [@kevinpetroni](https://discourse.nodered.org/u/kevinpetroni)\
**Replies:** 3\
**Last updated:** [22 February 2023 21:10 UTC](https://discourse.nodered.org/t/hello-im-having-a-problem-with-the-node-red-when-i-will-inject-post-in-http-to-the-strapi-i-get-a-error-requesterror-connect-econnrefused-localhost-1337/75534 "2023-02-22T21:10:19Z")

</div>

Hello, I'm having a problem with the node red, when I will inject post in http to the strapi, I get a error: RequestError: connect ECONNREFUSED localhost:1337. Note: I put my local ip to get, but if i put localhost I …

---

## [Strip character from text string](https://discourse.nodered.org/t/strip-character-from-text-string/75605)

<div class="topic-metadata">

**Author:** [@shel](https://discourse.nodered.org/u/shel)\
**Replies:** 5\
**Last updated:** [22 February 2023 20:07 UTC](https://discourse.nodered.org/t/strip-character-from-text-string/75605 "2023-02-22T20:07:45Z")

</div>

I get some data from a sensor that looks like I assume the little arrow in the front of the text must be some kind of carriage return? I haven't figured out how to strip that from the payload. That character is always…

---

## [Protobuf encoder returns empty buffer payload (3)](https://discourse.nodered.org/t/protobuf-encoder-returns-empty-buffer-payload-3/75517)

<div class="topic-metadata">

**Author:** [@JohnnyPicnic](https://discourse.nodered.org/u/JohnnyPicnic)\
**Replies:** 2\
**Last updated:** [22 February 2023 20:03 UTC](https://discourse.nodered.org/t/protobuf-encoder-returns-empty-buffer-payload-3/75517 "2023-02-22T20:03:50Z")

</div>

I see there are two other topics on this issue but I'm still having trouble getting my message to encode. As suggested by the first topic I tried nesting the payload inside another payload. Either way I still get an emp…

---

## [Simple presence trigger with home assistant](https://discourse.nodered.org/t/simple-presence-trigger-with-home-assistant/75530)

<div class="topic-metadata">

**Author:** [@Osiris](https://discourse.nodered.org/u/Osiris)\
**Replies:** 3\
**Last updated:** [22 February 2023 17:38 UTC](https://discourse.nodered.org/t/simple-presence-trigger-with-home-assistant/75530 "2023-02-22T17:38:08Z")

</div>

Hello, I am new to Node Red and the event driven logic, but familiar with traditional programming. As my first project, I want to do a simple presence tracker for two Home Assistant person instances, but somehow fail t…

---

## [\[Feature Request\]Help prevent crossing wires from Switch node](https://discourse.nodered.org/t/feature-request-help-prevent-crossing-wires-from-switch-node/75233)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 72\
**Last updated:** [22 February 2023 16:24 UTC](https://discourse.nodered.org/t/feature-request-help-prevent-crossing-wires-from-switch-node/75233 "2023-02-22T16:24:08Z")

</div>

I've always been hoping to see the switch node gain a few extra features but things have been very quiet with it for a while now. One issue I'd like to see resolved is some method of easily getting around this type of c…

---

## [ChatGpt and node red](https://discourse.nodered.org/t/chatgpt-and-node-red/73574)

<div class="topic-metadata">

**Author:** [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)\
**Replies:** 15\
**Last updated:** [22 February 2023 16:11 UTC](https://discourse.nodered.org/t/chatgpt-and-node-red/73574 "2023-02-22T16:11:50Z")

</div>

Hi all, ChatGpt seems to be the new hot potato around, any body had a go with ChatGpt and nodered, in particular using ChatGpt to generate nodered function code? I am just getting my head around the concept at the mome…

---

## [How to pass arguments into tcp ping node?](https://discourse.nodered.org/t/how-to-pass-arguments-into-tcp-ping-node/75583)

<div class="topic-metadata">

**Author:** [@fdu11235](https://discourse.nodered.org/u/fdu11235)\
**Replies:** 3\
**Last updated:** [22 February 2023 16:11 UTC](https://discourse.nodered.org/t/how-to-pass-arguments-into-tcp-ping-node/75583 "2023-02-22T16:11:16Z")

</div>

Hey guys, I am working with the node-red-contrib-tcp-ping package to ping some tcp nodes in my network. It works by manually setting ipaddress and port. I tried to pass those arguments using an incoming message but wasn…

---

## [How can I put a pdf file (or more) into a zip archive and send it via email?](https://discourse.nodered.org/t/how-can-i-put-a-pdf-file-or-more-into-a-zip-archive-and-send-it-via-email/75576)

<div class="topic-metadata">

**Author:** [@DidoMarchet](https://discourse.nodered.org/u/DidoMarchet)\
**Replies:** 6\
**Last updated:** [22 February 2023 15:58 UTC](https://discourse.nodered.org/t/how-can-i-put-a-pdf-file-or-more-into-a-zip-archive-and-send-it-via-email/75576 "2023-02-22T15:58:06Z")

</div>

Hi guys, I've a flow that generates a pdf and sends it as attachment via email. I would like to put this file into a zip archive using node-red-contrib-zip (node) - Node-RED and send the Zip via email (in the future wi…

---

## [How to pick a msg from a msg stream](https://discourse.nodered.org/t/how-to-pick-a-msg-from-a-msg-stream/75586)

<div class="topic-metadata">

**Author:** [@bs-eng](https://discourse.nodered.org/u/bs-eng)\
**Replies:** 2\
**Last updated:** [22 February 2023 14:34 UTC](https://discourse.nodered.org/t/how-to-pick-a-msg-from-a-msg-stream/75586 "2023-02-22T14:34:12Z")

</div>

Hi there! I got the following scenario: sensor A is delivering continuously data by means of serial interface sensor B is delivering one trigger msg every once in a while (operator hits a button) What I am trying to …

---

## [Node-red-contrib-uk-national-rail stopped working?](https://discourse.nodered.org/t/node-red-contrib-uk-national-rail-stopped-working/75579)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 6\
**Last updated:** [22 February 2023 14:30 UTC](https://discourse.nodered.org/t/node-red-contrib-uk-national-rail-stopped-working/75579 "2023-02-22T14:30:32Z")

</div>

Is anyone else having trouble with this node? I'm using it to show a departures board for my local station. The table does refresh, but the trains shown do not go from the station code requested (I think they are depart…

---

## [Struggeling with function to devide serial node response](https://discourse.nodered.org/t/struggeling-with-function-to-devide-serial-node-response/75584)

<div class="topic-metadata">

**Author:** [@DirkB](https://discourse.nodered.org/u/DirkB)\
**Replies:** 3\
**Last updated:** [22 February 2023 14:04 UTC](https://discourse.nodered.org/t/struggeling-with-function-to-devide-serial-node-response/75584 "2023-02-22T14:04:53Z")

</div>

Hello all, I am pretty much stuck with the following problem. I am querying a device via serial node which is providing me with data. But the response of the device consists of different parts. The first part is an "…

---

## [No puedo conectar Azure SQL](https://discourse.nodered.org/t/no-puedo-conectar-azure-sql/75359)

<div class="topic-metadata">

**Author:** [@sergiofernandez](https://discourse.nodered.org/u/sergiofernandez)\
**Replies:** 6\
**Last updated:** [22 February 2023 13:11 UTC](https://discourse.nodered.org/t/no-puedo-conectar-azure-sql/75359 "2023-02-22T13:11:46Z")

</div>

Buenos días , no puedo hacer la conexión entre mi node red y azure SQL ,,alguien tiene algun tips?

---

## [Setting to Global](https://discourse.nodered.org/t/setting-to-global/75577)

<div class="topic-metadata">

**Author:** [@meccip](https://discourse.nodered.org/u/meccip)\
**Replies:** 4\
**Last updated:** [22 February 2023 13:03 UTC](https://discourse.nodered.org/t/setting-to-global/75577 "2023-02-22T13:03:59Z")

</div>

Hello, If I use to many payload store to global, will affect the memory use by nodered ? Thank you.

---

## [Passing parameters to an HTTP GET request](https://discourse.nodered.org/t/passing-parameters-to-an-http-get-request/75575)

<div class="topic-metadata">

**Author:** [@milner236](https://discourse.nodered.org/u/milner236)\
**Replies:** 3\
**Last updated:** [22 February 2023 10:14 UTC](https://discourse.nodered.org/t/passing-parameters-to-an-http-get-request/75575 "2023-02-22T10:14:56Z")

</div>

Hey folks, came across something quite odd. I'm trying to run a GET request using a function node followed by an http node. I cant seem to manage to pass parameters to the request, seems like the request goes through a…

---

## [After setting up zigbe2mqtt IN node, the Node-RED immediately disconnects and crashes](https://discourse.nodered.org/t/after-setting-up-zigbe2mqtt-in-node-the-node-red-immediately-disconnects-and-crashes/75535)

<div class="topic-metadata">

**Author:** [@SparrowCZ](https://discourse.nodered.org/u/SparrowCZ)\
**Replies:** 6\
**Last updated:** [22 February 2023 10:04 UTC](https://discourse.nodered.org/t/after-setting-up-zigbe2mqtt-in-node-the-node-red-immediately-disconnects-and-crashes/75535 "2023-02-22T10:04:47Z")

</div>

Hi, I'm a complete newbie, so please be patient, simple and explaining with your answers. I have RaspberryPi 2B, latest Raspbian image, Zigbee2MQTT with mosquito broker. No security except usernames and passwords Nod…

---

## [Extract mac and raw](https://discourse.nodered.org/t/extract-mac-and-raw/75520)

<div class="topic-metadata">

**Author:** [@ankit.prasad](https://discourse.nodered.org/u/ankit.prasad)\
**Replies:** 14\
**Last updated:** [22 February 2023 09:23 UTC](https://discourse.nodered.org/t/extract-mac-and-raw/75520 "2023-02-22T09:23:21Z")

</div>

{"msg\_id":3004,"device\_info":{"device\_id":"0016","mac":"4091518a489a"},"data":\[{"type":8,"value":{"timestamp":"2023-02-21T22:15:56+05:00","type":"Unknown","mac":"bc572900a054","rssi":-36,"name":"KBPro\_290155","raw":"0201…

---

## [Socket.gaierror: \[Errno -2\] Name does not resolve - Custom DOcker COntainer](https://discourse.nodered.org/t/socket-gaierror-errno-2-name-does-not-resolve-custom-docker-container/75563)

<div class="topic-metadata">

**Author:** [@u1903101](https://discourse.nodered.org/u/u1903101)\
**Replies:** 2\
**Last updated:** [22 February 2023 09:22 UTC](https://discourse.nodered.org/t/socket-gaierror-errno-2-name-does-not-resolve-custom-docker-container/75563 "2023-02-22T09:22:19Z")

</div>

Hardware: Rasberry Pi 4 aarch64 I build a custom docker container using the following docker file which install python with pachages supabase, boto3 and paho-mqtt. FROM nodered/node-red USER root RUN apk add --upda…

---

## [Date Conversion from 2023-02-22T14:01:07+05:00 to 2023-1-22 14:34:21 (add 30min)](https://discourse.nodered.org/t/date-conversion-from-2023-02-22t1407-05-00-to-2023-1-22-1421-add-30min/75572)

<div class="topic-metadata">

**Author:** [@ankit.prasad](https://discourse.nodered.org/u/ankit.prasad)\
**Replies:** 1\
**Last updated:** [22 February 2023 09:14 UTC](https://discourse.nodered.org/t/date-conversion-from-2023-02-22t1407-05-00-to-2023-1-22-1421-add-30min/75572 "2023-02-22T09:14:31Z")

</div>

How to format date FROM 2023-02-22T14:01:07+05:00 TO 2023-1-22 14:34:21 2023-1-22 14:34:21 Convert and add minutes +30 min UTC+5:30 min

---

## [Gauge can not responsive help me!](https://discourse.nodered.org/t/gauge-can-not-responsive-help-me/75510)

<div class="topic-metadata">

**Author:** [@khunakon](https://discourse.nodered.org/u/khunakon)\
**Replies:** 6\
**Last updated:** [22 February 2023 08:19 UTC](https://discourse.nodered.org/t/gauge-can-not-responsive-help-me/75510 "2023-02-22T08:19:40Z")

</div>

First, I'm new for Node-red . I'm trying to make this gauge respondsive in real time. I was initially able to send my data to the screen, but the gauge didn't move with the numbers. The reason why I don't use ui-gauge i…

---

## [Unuasual timeStamp: "230222072038" to normal timestamp](https://discourse.nodered.org/t/unuasual-timestamp-230222072038-to-normal-timestamp/75565)

<div class="topic-metadata">

**Author:** [@Nice\_to\_have](https://discourse.nodered.org/u/Nice_to_have)\
**Replies:** 3\
**Last updated:** [22 February 2023 07:44 UTC](https://discourse.nodered.org/t/unuasual-timestamp-230222072038-to-normal-timestamp/75565 "2023-02-22T07:44:57Z")

</div>

Hi, From my smartmeter I get a string with this timestamp: 230222075216 Wich stands for YYMMDDHHMMSS. I looked at other posts on this forum, but can't realy fugure out how to turn this into a normal timestamp that I c…

---

## [Check MQTT Message exist in "File"](https://discourse.nodered.org/t/check-mqtt-message-exist-in-file/75496)

<div class="topic-metadata">

**Author:** [@nbech](https://discourse.nodered.org/u/nbech)\
**Replies:** 11\
**Last updated:** [22 February 2023 04:38 UTC](https://discourse.nodered.org/t/check-mqtt-message-exist-in-file/75496 "2023-02-22T04:38:47Z")

</div>

Im looking to take a published mqtt message and compare with a reference file to see if message payload is listed. Because my text conversions produces some false positives, Im looking to help that by taking the last h…

---

## [HTTP Request node question](https://discourse.nodered.org/t/http-request-node-question/75357)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 15\
**Last updated:** [22 February 2023 00:00 UTC](https://discourse.nodered.org/t/http-request-node-question/75357 "2023-02-22T00:00:57Z")

</div>

I am using a Node Red Alexa node that asks for me to renew my token from time to time by simply login in to 192.168.1.57:3456 (my Home Assistant IP). I would think, usually a bad sign, that a simple HTTP request node wo…

---

## [Gauge\_ui anpassen](https://discourse.nodered.org/t/gauge-ui-anpassen/75519)

<div class="topic-metadata">

**Author:** [@tuvok](https://discourse.nodered.org/u/tuvok)\
**Replies:** 1\
**Last updated:** [21 February 2023 21:28 UTC](https://discourse.nodered.org/t/gauge-ui-anpassen/75519 "2023-02-21T21:28:36Z")

</div>

Hallo Zusammen, ich hoffe ich kann hier auch in Deutsch schreiben, da mein English nicht das Weltbeste ist. Ich möchte das ui\_gauge ein wenig anpassen und zwar möchte ich folgendes: die Schrift von Units kann man die…

---

## [Problems with some nodes after disabling them from the pallet manager](https://discourse.nodered.org/t/problems-with-some-nodes-after-disabling-them-from-the-pallet-manager/75524)

<div class="topic-metadata">

**Author:** [@zhelyazko777](https://discourse.nodered.org/u/zhelyazko777)\
**Replies:** 1\
**Last updated:** [21 February 2023 20:03 UTC](https://discourse.nodered.org/t/problems-with-some-nodes-after-disabling-them-from-the-pallet-manager/75524 "2023-02-21T20:03:15Z")

</div>

Hi! I'm building my custom NodeRed nodes, but I'm facing a really strange issue while disabling and enabling some of them or some of the core nodes from the pallet manager. When I disable some node and then restart the N…

---

## [Locked out of my account](https://discourse.nodered.org/t/locked-out-of-my-account/75528)

<div class="topic-metadata">

**Author:** [@Sebas](https://discourse.nodered.org/u/Sebas)\
**Replies:** 1\
**Last updated:** [21 February 2023 19:36 UTC](https://discourse.nodered.org/t/locked-out-of-my-account/75528 "2023-02-21T19:36:08Z")

</div>

Hello I’m locked out of my account even though I reset all security parameters with the command "sudo node-red admin init" And reset with new names and new password or even no security. It locks me out? WTF?

---

## [Dynamic counter](https://discourse.nodered.org/t/dynamic-counter/75487)

<div class="topic-metadata">

**Author:** [@Flixm](https://discourse.nodered.org/u/Flixm)\
**Replies:** 6\
**Last updated:** [21 February 2023 18:24 UTC](https://discourse.nodered.org/t/dynamic-counter/75487 "2023-02-21T18:24:01Z")

</div>

Hi there, I search for a node or a function which counts from 0 - 100 in different speed depends on the distance of the last input value. For example the input range is between 0-1500 the output from 0-100. If there's …

---

## [How to proper debug custom node](https://discourse.nodered.org/t/how-to-proper-debug-custom-node/9308)

<div class="topic-metadata">

**Author:** [@Deca](https://discourse.nodered.org/u/Deca)\
**Replies:** 42\
**Last updated:** [21 February 2023 17:19 UTC](https://discourse.nodered.org/t/how-to-proper-debug-custom-node/9308 "2023-02-21T17:19:48Z")

</div>

Hi, I've created my fist custom node following the ufficial doc and so far it's fine, but is not really clear to me how to debug efficiently the node...everytime I modify something and want to test it out I need to re-i…

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

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