# Latest

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

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

**Page:** 430

---

## [Node-Red Ridiculously Slow](https://discourse.nodered.org/t/node-red-ridiculously-slow/72903)

<div class="topic-metadata">

**Author:** [@psalibe](https://discourse.nodered.org/u/psalibe)\
**Replies:** 4\
**Last updated:** [29 December 2022 16:36 UTC](https://discourse.nodered.org/t/node-red-ridiculously-slow/72903 "2022-12-29T16:36:36Z")

</div>

Hi All, We have a rather large Node-Red flow that does a variety of tasks but they are all pretty simple. Node-Red is running on our HMI which is running Ubuntu. It pulls data in from an OPC database on the PLC, parses …

---

## [Need some advice?](https://discourse.nodered.org/t/need-some-advice/72905)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 1\
**Last updated:** [29 December 2022 16:11 UTC](https://discourse.nodered.org/t/need-some-advice/72905 "2022-12-29T16:11:43Z")

</div>

I want to build a simple Dashboard that will allow the user to input run length time and stop length times. All times will be in munits. Example the run length time might be 165 minutes, stop length time could be 45 mi…

---

## [Is there a way to create tabs inside the editor?](https://discourse.nodered.org/t/is-there-a-way-to-create-tabs-inside-the-editor/72863)

<div class="topic-metadata">

**Author:** [@syedhannan](https://discourse.nodered.org/u/syedhannan)\
**Replies:** 13\
**Last updated:** [29 December 2022 15:36 UTC](https://discourse.nodered.org/t/is-there-a-way-to-create-tabs-inside-the-editor/72863 "2022-12-29T15:36:17Z")

</div>

I have a list of text fields which I want to keep under separate tabs depending on the category. I wanted to know if it is possible to create tabs inside the editor so that I can place the text fields in appropriate cat…

---

## [Node node-red-contrib-events](https://discourse.nodered.org/t/node-node-red-contrib-events/72741)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 8\
**Last updated:** [29 December 2022 12:22 UTC](https://discourse.nodered.org/t/node-node-red-contrib-events/72741 "2022-12-29T12:22:52Z")

</div>

Hi, I have a problem with this node ... Does not always works; Do you use it without problems?

---

## [Sort of Token Bucket](https://discourse.nodered.org/t/sort-of-token-bucket/72818)

<div class="topic-metadata">

**Author:** [@spady7](https://discourse.nodered.org/u/spady7)\
**Replies:** 11\
**Last updated:** [29 December 2022 13:23 UTC](https://discourse.nodered.org/t/sort-of-token-bucket/72818 "2022-12-29T13:23:53Z")

</div>

Hi, I'm looking for help with a somewhat particular request that I can't find a solution to. I have a nodered flow that manages me a relay (on/off) based on different conditions. List the conditions: if the % of a bat…

---

## [Drop incoming messages after first message reac](https://discourse.nodered.org/t/drop-incoming-messages-after-first-message-reac/72846)

<div class="topic-metadata">

**Author:** [@magnusso](https://discourse.nodered.org/u/magnusso)\
**Replies:** 2\
**Last updated:** [29 December 2022 12:59 UTC](https://discourse.nodered.org/t/drop-incoming-messages-after-first-message-reac/72846 "2022-12-29T12:59:29Z")

</div>

Is there some straightforward way to allow only the first message and drop subsequent messages and continue doing so until the first message has reached the end of the flow, and then repeat the same. In this particular …

---

## [Downloading a csv from a link in a website](https://discourse.nodered.org/t/downloading-a-csv-from-a-link-in-a-website/72872)

<div class="topic-metadata">

**Author:** [@little\_rich](https://discourse.nodered.org/u/little_rich)\
**Replies:** 10\
**Last updated:** [29 December 2022 12:47 UTC](https://discourse.nodered.org/t/downloading-a-csv-from-a-link-in-a-website/72872 "2022-12-29T12:47:21Z")

</div>

Hi, I would like to download a csv file from a website once per day and save it to the local node-red file system as a csv file. (renaming the file would be nice but not crucial) I do not know which node to use. I have…

---

## [Substring() in function node does not slice](https://discourse.nodered.org/t/substring-in-function-node-does-not-slice/72886)

<div class="topic-metadata">

**Author:** [@ozett](https://discourse.nodered.org/u/ozett)\
**Replies:** 3\
**Last updated:** [29 December 2022 12:45 UTC](https://discourse.nodered.org/t/substring-in-function-node-does-not-slice/72886 "2022-12-29T12:45:32Z")

</div>

first of all, i am no coder, but fiddling longtime with node-red. now i want a part of a string in a function-node, but get crazy results. to my impression substring() and substr() and slice() should cut out a part of…

---

## [Automate Hue Lights Whilst On Vacation](https://discourse.nodered.org/t/automate-hue-lights-whilst-on-vacation/72728)

<div class="topic-metadata">

**Author:** [@dgulliver](https://discourse.nodered.org/u/dgulliver)\
**Replies:** 4\
**Last updated:** [29 December 2022 11:48 UTC](https://discourse.nodered.org/t/automate-hue-lights-whilst-on-vacation/72728 "2022-12-29T11:48:31Z")

</div>

Hi, I’m running node red in docker along with HA. What I’m looking to do is turn a kitchen light on and off randomly between a certain time, this so it looks like someone is occasionally using the kitchen. For example…

---

## [How to get timezone UTC+7 in node-red](https://discourse.nodered.org/t/how-to-get-timezone-utc-7-in-node-red/72866)

<div class="topic-metadata">

**Author:** [@hyena](https://discourse.nodered.org/u/hyena)\
**Replies:** 8\
**Last updated:** [29 December 2022 11:47 UTC](https://discourse.nodered.org/t/how-to-get-timezone-utc-7-in-node-red/72866 "2022-12-29T11:47:01Z")

</div>

i want to get timezone UTC+7, but in my node-red have timezone UTC how i do timezone UTC+7 in node-red program?

---

## [Node Creation oneditprepare](https://discourse.nodered.org/t/node-creation-oneditprepare/72840)

<div class="topic-metadata">

**Author:** [@Flachmann](https://discourse.nodered.org/u/Flachmann)\
**Replies:** 4\
**Last updated:** [29 December 2022 11:43 UTC](https://discourse.nodered.org/t/node-creation-oneditprepare/72840 "2022-12-29T11:43:50Z")

</div>

Hi, I used the first node example from the Node-RED documentation to wrote a first little node. Thanks for that easy to understand example anyway. I enhanced the example to not only use msg.payload as input, but a confi…

---

## [How to focus on entered letter in select tag inside editor?](https://discourse.nodered.org/t/how-to-focus-on-entered-letter-in-select-tag-inside-editor/72862)

<div class="topic-metadata">

**Author:** [@syedhannan](https://discourse.nodered.org/u/syedhannan)\
**Replies:** 5\
**Last updated:** [29 December 2022 11:04 UTC](https://discourse.nodered.org/t/how-to-focus-on-entered-letter-in-select-tag-inside-editor/72862 "2022-12-29T11:04:02Z")

</div>

I am listing time zones inside my select tag in editor. Is there any way by which I can type from keyboard and create a focus on that particular option?

---

## [Can not find the reason for "Missing ENV var CONFIG\_PATH"](https://discourse.nodered.org/t/can-not-find-the-reason-for-missing-env-var-config-path/72837)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 4\
**Last updated:** [29 December 2022 10:20 UTC](https://discourse.nodered.org/t/can-not-find-the-reason-for-missing-env-var-config-path/72837 "2022-12-29T10:20:48Z")

</div>

Hiho, I ve no idea why I get this error message on startup: Missing ENV var CONFIG\_PATH The forum topics did not help me on that. Thx 4 help! 2022-12-28 16:25:55 28 Dec 16:25:55 - \[info\] Node.js version: v18.7.0 20…

---

## [Countdown timer in ui](https://discourse.nodered.org/t/countdown-timer-in-ui/70131)

<div class="topic-metadata">

**Author:** [@ompl](https://discourse.nodered.org/u/ompl)\
**Replies:** 2\
**Last updated:** [29 December 2022 10:21 UTC](https://discourse.nodered.org/t/countdown-timer-in-ui/70131 "2022-12-29T10:21:46Z")

</div>

Hello, Im writing program for paintball game controller program. The main problem what i met to create time countdown timer in minutes and seconds with possibility to pause and after continue. Everything must be in ui, a…

---

## [Animation - Color is not getting changed](https://discourse.nodered.org/t/animation-color-is-not-getting-changed/72584)

<div class="topic-metadata">

**Author:** [@Talkatoo](https://discourse.nodered.org/u/Talkatoo)\
**Replies:** 4\
**Last updated:** [29 December 2022 09:49 UTC](https://discourse.nodered.org/t/animation-color-is-not-getting-changed/72584 "2022-12-29T09:49:47Z")

</div>

Hi NodeRed Forum I am new to Node Red. I am working to created IoT dashboard for my Industrial hydraulic automation project. I can able to crate animation for Vector image of hydraulic component but not able to change t…

---

## [Node red - write a function and call it from a function](https://discourse.nodered.org/t/node-red-write-a-function-and-call-it-from-a-function/72773)

<div class="topic-metadata">

**Author:** [@ronyn77](https://discourse.nodered.org/u/ronyn77)\
**Replies:** 13\
**Last updated:** [29 December 2022 09:41 UTC](https://discourse.nodered.org/t/node-red-write-a-function-and-call-it-from-a-function/72773 "2022-12-29T09:41:33Z")

</div>

Hello, I am learning node red and I need help to optimize a flow that I have created. This is the flow : Node red project - Pastebin.com To make this flow work, you need additionally to import : node-red-contrib-zigbe…

---

## [How can I use a function from .js file in the oneditprepare function?](https://discourse.nodered.org/t/how-can-i-use-a-function-from-js-file-in-the-oneditprepare-function/72753)

<div class="topic-metadata">

**Author:** [@syedhannan](https://discourse.nodered.org/u/syedhannan)\
**Replies:** 16\
**Last updated:** [29 December 2022 07:58 UTC](https://discourse.nodered.org/t/how-can-i-use-a-function-from-js-file-in-the-oneditprepare-function/72753 "2022-12-29T07:58:02Z")

</div>

I have a function which is from a package basic-ftp which allows me to read the list of files in the specified ftp server. I am able to successfully get the output in console of the list of files from my .js file. But I…

---

## [Bit fields and bitwise operations](https://discourse.nodered.org/t/bit-fields-and-bitwise-operations/72809)

<div class="topic-metadata">

**Author:** [@Graefe](https://discourse.nodered.org/u/Graefe)\
**Replies:** 2\
**Last updated:** [29 December 2022 03:26 UTC](https://discourse.nodered.org/t/bit-fields-and-bitwise-operations/72809 "2022-12-29T03:26:33Z")

</div>

I would like to represent the status (open/close) of multiple windows for further use (e.g. alarm system). My idea was to put the status of all devices in one bit field. A bit field seems to be very handy, especially if …

---

## [MQTT is driving me crazy. How to format messages - again, sorry](https://discourse.nodered.org/t/mqtt-is-driving-me-crazy-how-to-format-messages-again-sorry/72858)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 15\
**Last updated:** [29 December 2022 03:23 UTC](https://discourse.nodered.org/t/mqtt-is-driving-me-crazy-how-to-format-messages-again-sorry/72858 "2022-12-29T03:23:06Z")

</div>

(This is not enjoyable for me as it clearly shows how bad I am at remembering things.) Cutting to it: I want to send a complex message over MQTT. I want to send the payload and state. The actual message is HUGE. …

---

## [Using css field in dashboard widget](https://discourse.nodered.org/t/using-css-field-in-dashboard-widget/72743)

<div class="topic-metadata">

**Author:** [@tcr000](https://discourse.nodered.org/u/tcr000)\
**Replies:** 6\
**Last updated:** [29 December 2022 03:13 UTC](https://discourse.nodered.org/t/using-css-field-in-dashboard-widget/72743 "2022-12-29T03:13:55Z")

</div>

I am looking for a simple example of using the \</\> Class field in dashboard widgets with a custom class entry. For example, create a class to set font size and bold and then reference that class in a widget instance? Th…

---

## [\`function\` node not showing errors in edit mode](https://discourse.nodered.org/t/function-node-not-showing-errors-in-edit-mode/72853)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [29 December 2022 00:11 UTC](https://discourse.nodered.org/t/function-node-not-showing-errors-in-edit-mode/72853 "2022-12-29T00:11:48Z")

</div>

(I seem to be a glutton for punishment.) Ok, there is a difference with NR versions between machines. I'll cop that. But this just confuses me. I have 3 main machines that are usually online. I am not good at writin…

---

## [Regex in a node - "TypeError: msg.payload\[0\].match is not a function"](https://discourse.nodered.org/t/regex-in-a-node-typeerror-msg-payload-0-match-is-not-a-function/72367)

<div class="topic-metadata">

**Author:** [@itcouldbeL](https://discourse.nodered.org/u/itcouldbeL)\
**Replies:** 13\
**Last updated:** [28 December 2022 23:49 UTC](https://discourse.nodered.org/t/regex-in-a-node-typeerror-msg-payload-0-match-is-not-a-function/72367 "2022-12-28T23:49:59Z")

</div>

Hi all, I'm going crazy with this one. I already have a function setup and working using the .match in function node with zero issues (See Below:) const channel\_no\_regex = /(?\<=\\()\[A-Z\]\[0-9\]\[^)\]\*(?=\\))/gm; const channe…

---

## [Trigger node - send payload & topic](https://discourse.nodered.org/t/trigger-node-send-payload-topic/72650)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 5\
**Last updated:** [28 December 2022 22:20 UTC](https://discourse.nodered.org/t/trigger-node-send-payload-topic/72650 "2022-12-28T22:20:45Z")

</div>

I have a flow controlling a light which I control via Google Home voice commands, to MQTT, to a tasmota remote device. If I tell google to switch the device on, it sends; {"payload":"on","topic":"cmnd/sonoff2/POWER"} t…

---

## [Format Buffer to HexString in function node](https://discourse.nodered.org/t/format-buffer-to-hexstring-in-function-node/72795)

<div class="topic-metadata">

**Author:** [@lopikamper](https://discourse.nodered.org/u/lopikamper)\
**Replies:** 2\
**Last updated:** [28 December 2022 22:16 UTC](https://discourse.nodered.org/t/format-buffer-to-hexstring-in-function-node/72795 "2022-12-28T22:16:00Z")

</div>

Hi all, I need to do a rather simple task. I would like to format this Buffer: var char = Buffer.from(\[0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xef\]) in a function node (or any other way) as a HexString: var …

---

## [I want to filter out a tag from the code of a page](https://discourse.nodered.org/t/i-want-to-filter-out-a-tag-from-the-code-of-a-page/72836)

<div class="topic-metadata">

**Author:** [@tamasvar](https://discourse.nodered.org/u/tamasvar)\
**Replies:** 6\
**Last updated:** [28 December 2022 22:02 UTC](https://discourse.nodered.org/t/i-want-to-filter-out-a-tag-from-the-code-of-a-page/72836 "2022-12-28T22:02:18Z")

</div>

I am querying the complete html code of the youtube video and I want to get the src link of the video as shown here:

---

## [MQTT IN payload type detection inconsistency](https://discourse.nodered.org/t/mqtt-in-payload-type-detection-inconsistency/72796)

<div class="topic-metadata">

**Author:** [@i8beef](https://discourse.nodered.org/u/i8beef)\
**Replies:** 9\
**Last updated:** [28 December 2022 19:10 UTC](https://discourse.nodered.org/t/mqtt-in-payload-type-detection-inconsistency/72796 "2022-12-28T19:10:54Z")

</div>

MQTT IN payloads are now parsing as primitive types bool at least, assuming numerics and arrays would too but haven't tested) rather than as strings. Assuming this is due to the new "autodetect JSON payloads" it seems t…

---

## [How to enable 307 Temporary Redirect](https://discourse.nodered.org/t/how-to-enable-307-temporary-redirect/72841)

<div class="topic-metadata">

**Author:** [@GabrielGS](https://discourse.nodered.org/u/GabrielGS)\
**Replies:** 9\
**Last updated:** [28 December 2022 20:35 UTC](https://discourse.nodered.org/t/how-to-enable-307-temporary-redirect/72841 "2022-12-28T20:35:42Z")

</div>

I'm trying to perform an authentication request in an API using the POST method, but I'm getting the following error: 307 Temporary Redirect307 Temporary Redirectnginx/1.18.0 When I use Postman the problem does not happ…

---

## [Modbus 16 bit registers to Float value](https://discourse.nodered.org/t/modbus-16-bit-registers-to-float-value/72784)

<div class="topic-metadata">

**Author:** [@thutchis](https://discourse.nodered.org/u/thutchis)\
**Replies:** 4\
**Last updated:** [28 December 2022 20:14 UTC](https://discourse.nodered.org/t/modbus-16-bit-registers-to-float-value/72784 "2022-12-28T20:14:21Z")

</div>

I am NOT a javascript programmer, just trying to read a Modbus device and get a value out to inject into a data base. I have been struggling with this for hours and hours reading this forum and others. I get two 16 bit…

---

## [Something for Friday afternoon - Dashboard Layout editor](https://discourse.nodered.org/t/something-for-friday-afternoon-dashboard-layout-editor/12957)

<div class="topic-metadata">

**Author:** [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Replies:** 4\
**Last updated:** [28 December 2022 20:07 UTC](https://discourse.nodered.org/t/something-for-friday-afternoon-dashboard-layout-editor/12957 "2022-12-28T20:07:47Z")

</div>

Thanks to our friends at Hitachi a contribution to add a layout editor to the Dashboard has now been merged into master on github - as 2.16.0-beta. Currently this adds a new layout button to each tab layer in the Dashboa…

---

## [Flogger - the advanced logging node!](https://discourse.nodered.org/t/flogger-the-advanced-logging-node/12382)

<div class="topic-metadata">

**Author:** [@x375993](https://discourse.nodered.org/u/x375993)\
**Replies:** 54\
**Last updated:** [3 June 2022 19:56 UTC](https://discourse.nodered.org/t/flogger-the-advanced-logging-node/12382 "2022-06-03T19:56:31Z")

</div>

Hi there, If anyone is interested I created an advanced logging module for Node-RED. Often the debug window gets too crowded if you want do log many different things at the same time. With my newly created node you can …

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

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