# Latest

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

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

**Page:** 259

---

## [TCP in Node Red Docker Container](https://discourse.nodered.org/t/tcp-in-node-red-docker-container/83966)

<div class="topic-metadata">

**Author:** [@jmcauliffe](https://discourse.nodered.org/u/jmcauliffe)\
**Replies:** 3\
**Last updated:** [22 December 2023 19:51 UTC](https://discourse.nodered.org/t/tcp-in-node-red-docker-container/83966 "2023-12-22T19:51:48Z")

</div>

Hello, I have node red running in a docker container on a raspberry pi and I am trying to send commands over TCP/IP using the TCP I/O node to another computer on my network that runs a server. However, because the docke…

---

## [Default label of function node](https://discourse.nodered.org/t/default-label-of-function-node/83967)

<div class="topic-metadata">

**Author:** [@GammaKappa](https://discourse.nodered.org/u/GammaKappa)\
**Replies:** 4\
**Last updated:** [22 December 2023 19:32 UTC](https://discourse.nodered.org/t/default-label-of-function-node/83967 "2023-12-22T19:32:25Z")

</div>

When I drag a new function node on the work space it is labeled "function 2". Why does it have an index '2' ?

---

## [M5Stack Voltmeter](https://discourse.nodered.org/t/m5stack-voltmeter/83730)

<div class="topic-metadata">

**Author:** [@LA9KY](https://discourse.nodered.org/u/LA9KY)\
**Replies:** 22\
**Last updated:** [22 December 2023 18:19 UTC](https://discourse.nodered.org/t/m5stack-voltmeter/83730 "2023-12-22T18:19:48Z")

</div>

Hi, new to the forum, have a few flows running with easy basic tasks. Now I am trying to find a way to read dc voltage using M5Stack Voltmeter based on ADS1115 on i2c. I can not get any of the nodes to read values fro…

---

## [Calling one function node from another function node](https://discourse.nodered.org/t/calling-one-function-node-from-another-function-node/83958)

<div class="topic-metadata">

**Author:** [@magnusso](https://discourse.nodered.org/u/magnusso)\
**Replies:** 6\
**Last updated:** [22 December 2023 17:52 UTC](https://discourse.nodered.org/t/calling-one-function-node-from-another-function-node/83958 "2023-12-22T17:52:02Z")

</div>

To simplify flows, I would like to call a function node f2 and send a message from f2, from function node f1. What is your opinion of the following solution? \[ { "id": "e0daef4e151b606a", "type": "in…

---

## [Setup Decimal/Hex to binary for buffer-parser](https://discourse.nodered.org/t/setup-decimal-hex-to-binary-for-buffer-parser/83933)

<div class="topic-metadata">

**Author:** [@JohnnyPicnic](https://discourse.nodered.org/u/JohnnyPicnic)\
**Replies:** 8\
**Last updated:** [22 December 2023 17:27 UTC](https://discourse.nodered.org/t/setup-decimal-hex-to-binary-for-buffer-parser/83933 "2023-12-22T17:27:33Z")

</div>

I'm having trouble converting a single decimal to binary and then parsing it with buffer-parser. Let say I have decimal number 256. I'm converting that to a binary string and then into a buffer. var payload = msg.paylo…

---

## [Missing 'Manage Pallet' option, was working just fine](https://discourse.nodered.org/t/missing-manage-pallet-option-was-working-just-fine/83960)

<div class="topic-metadata">

**Author:** [@dougle03](https://discourse.nodered.org/u/dougle03)\
**Replies:** 5\
**Last updated:** [22 December 2023 17:26 UTC](https://discourse.nodered.org/t/missing-manage-pallet-option-was-working-just-fine/83960 "2023-12-22T17:26:31Z")

</div>

Evening all, Odd problem this evening. Pallet manager is missing and so are any non-native nodes like the Home Assistant suit. Was working just fine and no recent changes. Have NR running in docker on a Rpi4 running B…

---

## [So trick to reference exported enum?](https://discourse.nodered.org/t/so-trick-to-reference-exported-enum/83644)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 13\
**Last updated:** [22 December 2023 17:20 UTC](https://discourse.nodered.org/t/so-trick-to-reference-exported-enum/83644 "2023-12-22T17:20:19Z")

</div>

So trick to reference exported enum? How do you reference an exported enum? const { LGTV } = require('lgtv-ip-control'); const TV = new LGTV('x.x.x.x', 'xx:xx:xx:xx:xx:xx', XXXXXXXX'); Object.keys(Keys).forEach(key =\> …

---

## [Simulate the best production sequence with the shortest time](https://discourse.nodered.org/t/simulate-the-best-production-sequence-with-the-shortest-time/83961)

<div class="topic-metadata">

**Author:** [@Manu77](https://discourse.nodered.org/u/Manu77)\
**Replies:** 0\
**Last updated:** [22 December 2023 16:58 UTC](https://discourse.nodered.org/t/simulate-the-best-production-sequence-with-the-shortest-time/83961 "2023-12-22T16:58:37Z")

</div>

Hello, we would like to design equipment with a Robot that can perform several operations. we have several machines with different times, is there a node that allows various simulations to be carried out based on time ,…

---

## [Can't install any node running node-red in with docker compose](https://discourse.nodered.org/t/cant-install-any-node-running-node-red-in-with-docker-compose/83789)

<div class="topic-metadata">

**Author:** [@AxelRHD](https://discourse.nodered.org/u/AxelRHD)\
**Replies:** 16\
**Last updated:** [22 December 2023 14:15 UTC](https://discourse.nodered.org/t/cant-install-any-node-running-node-red-in-with-docker-compose/83789 "2023-12-22T14:15:01Z")

</div>

Hi. I just installed node-red with the following docker compose configuration: version: '3' services: mosquitto: image: eclipse-mosquitto container\_name: mosquitto restart: unless-stopped volum…

---

## [UI-List \[feature Request\] do not show menu button if empty](https://discourse.nodered.org/t/ui-list-feature-request-do-not-show-menu-button-if-empty/83957)

<div class="topic-metadata">

**Author:** [@novski](https://discourse.nodered.org/u/novski)\
**Replies:** 0\
**Last updated:** [22 December 2023 13:01 UTC](https://discourse.nodered.org/t/ui-list-feature-request-do-not-show-menu-button-if-empty/83957 "2023-12-22T13:01:03Z")

</div>

Would it be fusible to let the menu button in UI-List items not appear if no payload.menu item is present? I have a List where some items would not need any menu and some do. When I select the action type "Menu" in the…

---

## [File lister: path in variable](https://discourse.nodered.org/t/file-lister-path-in-variable/83926)

<div class="topic-metadata">

**Author:** [@Medestrac](https://discourse.nodered.org/u/Medestrac)\
**Replies:** 12\
**Last updated:** [22 December 2023 12:47 UTC](https://discourse.nodered.org/t/file-lister-path-in-variable/83926 "2023-12-22T12:47:47Z")

</div>

Hi, I need to check if a file already exist in a folder. I use "file-lister" from node-red-contrib-fs, and it works well, but only if I give it the folder, for example: Start Folder = C:/Users/me/flows/ This folder is…

---

## [Opcua has high latency when subscribing to large amounts of data](https://discourse.nodered.org/t/opcua-has-high-latency-when-subscribing-to-large-amounts-of-data/83953)

<div class="topic-metadata">

**Author:** [@xpxiong](https://discourse.nodered.org/u/xpxiong)\
**Replies:** 0\
**Last updated:** [22 December 2023 11:32 UTC](https://discourse.nodered.org/t/opcua-has-high-latency-when-subscribing-to-large-amounts-of-data/83953 "2023-12-22T11:32:01Z")

</div>

I subscribed to more than 400 data using the opcua-client node, but by the time the data returned, it had already occurred for more than ten seconds

---

## [Tuya node keeps killing my dashboard](https://discourse.nodered.org/t/tuya-node-keeps-killing-my-dashboard/83941)

<div class="topic-metadata">

**Author:** [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Replies:** 0\
**Last updated:** [22 December 2023 02:19 UTC](https://discourse.nodered.org/t/tuya-node-keeps-killing-my-dashboard/83941 "2023-12-22T02:19:54Z")

</div>

Hello I have a TUYA node connecting to a switch. Sometimes the switch doesn't connect and when it keeps trying to re-connect, it kills my dashboard repeatedly Is there a way to stop this from happening?

---

## [Something very weird is happening to my messages enroute](https://discourse.nodered.org/t/something-very-weird-is-happening-to-my-messages-enroute/83940)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 10\
**Last updated:** [21 December 2023 23:24 UTC](https://discourse.nodered.org/t/something-very-weird-is-happening-to-my-messages-enroute/83940 "2023-12-21T23:24:13Z")

</div>

Folks, this is as convoluted as it gets. NR 3.0.2 RasPi Buster pi@TelePi:~ $ node -v v14.18.1 pi@TelePi:~ $ Yes, I am a bit of a subflow adict. I also have a node resend last message installed for the exact reason…

---

## [Bug in function editor (Cannot redeclare block-scoped variable)](https://discourse.nodered.org/t/bug-in-function-editor-cannot-redeclare-block-scoped-variable/83937)

<div class="topic-metadata">

**Author:** [@Mike-FUT](https://discourse.nodered.org/u/Mike-FUT)\
**Replies:** 24\
**Last updated:** [21 December 2023 21:57 UTC](https://discourse.nodered.org/t/bug-in-function-editor-cannot-redeclare-block-scoped-variable/83937 "2023-12-21T21:57:27Z")

</div>

Hi All, I'm surprised I didn't find anyone else to report this bug: When using constants or variables in a function node with the same name both at the "On Start" and "On Message" section the editor throws an error mes…

---

## [Problem with change nodes out of nowhere earlier today](https://discourse.nodered.org/t/problem-with-change-nodes-out-of-nowhere-earlier-today/83932)

<div class="topic-metadata">

**Author:** [@Dyslexicbloke](https://discourse.nodered.org/u/Dyslexicbloke)\
**Replies:** 16\
**Last updated:** [21 December 2023 21:21 UTC](https://discourse.nodered.org/t/problem-with-change-nodes-out-of-nowhere-earlier-today/83932 "2023-12-21T21:21:40Z")

</div>

This has been working just fine for well over 8 months... had a power cut earlier today and now many if not all change nodes with this type of function returning a value are failing and spitting out either Undefined …

---

## [Tuya devices and MQTT](https://discourse.nodered.org/t/tuya-devices-and-mqtt/83867)

<div class="topic-metadata">

**Author:** [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Replies:** 4\
**Last updated:** [21 December 2023 20:08 UTC](https://discourse.nodered.org/t/tuya-devices-and-mqtt/83867 "2023-12-21T20:08:11Z")

</div>

Hello I have a few WIFI switches on my nodered system. They all communicate using node-red-contrib-tuya-local and it's working fine. Just wondering, is there a way to communicate with them directly using an MQTT node? …

---

## [How to add a hourly, daily and weekly time stamp to this flow?](https://discourse.nodered.org/t/how-to-add-a-hourly-daily-and-weekly-time-stamp-to-this-flow/83841)

<div class="topic-metadata">

**Author:** [@marky](https://discourse.nodered.org/u/marky)\
**Replies:** 3\
**Last updated:** [21 December 2023 19:10 UTC](https://discourse.nodered.org/t/how-to-add-a-hourly-daily-and-weekly-time-stamp-to-this-flow/83841 "2023-12-21T19:10:45Z")

</div>

Hey everyone, I'm trying to add a hourly, daily and a weekly timestamp to my power monitor so I can add a graphic in the UI. How can i solve this? my code that I now use is: \[ { "id": "42d1b955dcf41c8b", …

---

## ["nrgpio python command not running" error](https://discourse.nodered.org/t/nrgpio-python-command-not-running-error/83388)

<div class="topic-metadata">

**Author:** [@ebastler](https://discourse.nodered.org/u/ebastler)\
**Replies:** 24\
**Last updated:** [21 December 2023 17:04 UTC](https://discourse.nodered.org/t/nrgpio-python-command-not-running-error/83388 "2023-12-21T17:04:13Z")

</div>

Hi! After not being able to solve this issue with a lot of Google, I decided to ask for help here. But first things first, the system: Rpi 2B Latest Raspberry OS Lite (installed today) did a full apt-get update && apt…

---

## [Deploy nodered with ansible + systemd](https://discourse.nodered.org/t/deploy-nodered-with-ansible-systemd/67987)

<div class="topic-metadata">

**Author:** [@mellerbeck](https://discourse.nodered.org/u/mellerbeck)\
**Replies:** 6\
**Last updated:** [21 December 2023 16:12 UTC](https://discourse.nodered.org/t/deploy-nodered-with-ansible-systemd/67987 "2023-12-21T16:12:26Z")

</div>

---

## [Subtract two separate message values](https://discourse.nodered.org/t/subtract-two-separate-message-values/83930)

<div class="topic-metadata">

**Author:** [@bceyresy](https://discourse.nodered.org/u/bceyresy)\
**Replies:** 6\
**Last updated:** [21 December 2023 16:11 UTC](https://discourse.nodered.org/t/subtract-two-separate-message-values/83930 "2023-12-21T16:11:56Z")

</div>

I have 2 Sources of MQTT data coming in, i need a function that deducts them from each other. The issue is there is a slight delay between messages coming in, so i dont get the output.

---

## [Convert True False to 1 / 0](https://discourse.nodered.org/t/convert-true-false-to-1-0/83886)

<div class="topic-metadata">

**Author:** [@bceyresy](https://discourse.nodered.org/u/bceyresy)\
**Replies:** 4\
**Last updated:** [21 December 2023 15:32 UTC](https://discourse.nodered.org/t/convert-true-false-to-1-0/83886 "2023-12-21T15:32:08Z")

</div>

Hi, I just need a simple way to convert a true or false to 1 or 0 from a payload message . Any help would be much appreciated :pray:

---

## [Formatting numbers the Right Way](https://discourse.nodered.org/t/formatting-numbers-the-right-way/83928)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 0\
**Last updated:** [21 December 2023 15:31 UTC](https://discourse.nodered.org/t/formatting-numbers-the-right-way/83928 "2023-12-21T15:31:56Z")

</div>

Node.JS and modern browsers all support the INTL library natively. That library has lots of features for formatting things to a locale specific format including dates and numbers. So here is a cheeky little JavaScript f…

---

## [Even if the node is already downloaded, it will not be displayed in the palette](https://discourse.nodered.org/t/even-if-the-node-is-already-downloaded-it-will-not-be-displayed-in-the-palette/83919)

<div class="topic-metadata">

**Author:** [@Node7189](https://discourse.nodered.org/u/Node7189)\
**Replies:** 1\
**Last updated:** [21 December 2023 14:05 UTC](https://discourse.nodered.org/t/even-if-the-node-is-already-downloaded-it-will-not-be-displayed-in-the-palette/83919 "2023-12-21T14:05:56Z")

</div>

A long time ago, when I uninstalled a certain node, I directly deleted the node's folder. I then re-downloaded it, but it doesn't show up in the palette. The log says the download was successful. When I check the re-do…

---

## [About reading files using node-red-contrib-sftpco](https://discourse.nodered.org/t/about-reading-files-using-node-red-contrib-sftpco/83915)

<div class="topic-metadata">

**Author:** [@Node7189](https://discourse.nodered.org/u/Node7189)\
**Replies:** 5\
**Last updated:** [21 December 2023 13:52 UTC](https://discourse.nodered.org/t/about-reading-files-using-node-red-contrib-sftpco/83915 "2023-12-21T13:52:49Z")

</div>

About node-red-contrib-sftpco When reading a file using the Get method It will be read as UTF-8. Is there no way to change the character code? Also, enter the host, username and password on this node. Is it possible…

---

## [Customize UI-Form Inputs](https://discourse.nodered.org/t/customize-ui-form-inputs/83910)

<div class="topic-metadata">

**Author:** [@Schlitz](https://discourse.nodered.org/u/Schlitz)\
**Replies:** 1\
**Last updated:** [21 December 2023 11:52 UTC](https://discourse.nodered.org/t/customize-ui-form-inputs/83910 "2023-12-21T11:52:26Z")

</div>

Hello everyone, I would like to automatically convert numbers that I enter in a UI\_Form Node to a special format. I am currently entering different numbers in defined fields in the UI\_Form Node: Some numbers such as…

---

## [How to add new flows to a running Node-RED instance with the admin API](https://discourse.nodered.org/t/how-to-add-new-flows-to-a-running-node-red-instance-with-the-admin-api/83858)

<div class="topic-metadata">

**Author:** [@markoz](https://discourse.nodered.org/u/markoz)\
**Replies:** 4\
**Last updated:** [21 December 2023 11:38 UTC](https://discourse.nodered.org/t/how-to-add-new-flows-to-a-running-node-red-instance-with-the-admin-api/83858 "2023-12-21T11:38:26Z")

</div>

I'm trying to use the Admin API to add flows to a running Node-RED instance. The flow files are downloaded/exported with the build in Node-RED editor. I've tried using the POST /flows and it works adding the first flow,…

---

## [\[SOLVED\] Issue : display AM/PM time instead of 24hours](https://discourse.nodered.org/t/solved-issue-display-am-pm-time-instead-of-24hours/11947)

<div class="topic-metadata">

**Author:** [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Replies:** 34\
**Last updated:** [21 December 2023 10:54 UTC](https://discourse.nodered.org/t/solved-issue-display-am-pm-time-instead-of-24hours/11947 "2023-12-21T10:54:47Z")

</div>

i use this node to display endTime of the sun in Dashboard : node-red-contrib-sunpos Run on a RPI, This is the result : on top : the endTime in US format on bottom (for information) : the time in a chart in FR forma…

---

## [Slack Bolt Node](https://discourse.nodered.org/t/slack-bolt-node/83908)

<div class="topic-metadata">

**Author:** [@fishme](https://discourse.nodered.org/u/fishme)\
**Replies:** 1\
**Last updated:** [21 December 2023 10:06 UTC](https://discourse.nodered.org/t/slack-bolt-node/83908 "2023-12-21T10:06:55Z")

</div>

Want to share my first public Node-red node. This Slack integration is based on Slack Bolt, it is a framework from Slack. Unfortunately the existing Slack nodes are not complete or old and deprecated. Last point was a …

---

## [Flow studio with logo](https://discourse.nodered.org/t/flow-studio-with-logo/83901)

<div class="topic-metadata">

**Author:** [@Shah](https://discourse.nodered.org/u/Shah)\
**Replies:** 1\
**Last updated:** [21 December 2023 06:51 UTC](https://discourse.nodered.org/t/flow-studio-with-logo/83901 "2023-12-21T06:51:07Z")

</div>

Hi team, I would like to request you confirm below possibility. Flow studio with customize logo. Flow studio with customize colors. If possible, Please share me related article. Thank you.

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

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