# Latest

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

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

**Page:** 347

---

## [Custom function for timer](https://discourse.nodered.org/t/custom-function-for-timer/78395)

<div class="topic-metadata">

**Author:** [@ronyn77](https://discourse.nodered.org/u/ronyn77)\
**Replies:** 7\
**Last updated:** [13 May 2023 14:45 UTC](https://discourse.nodered.org/t/custom-function-for-timer/78395 "2023-05-13T14:45:33Z")

</div>

Hello, Please help me with this flow. I cannot understand why the function "camera state" never goes through the first output when the condition is not met. The idea is to put a timer and, when the timer is reached, tur…

---

## [Dashboard Dropdown with custom CSS](https://discourse.nodered.org/t/dashboard-dropdown-with-custom-css/78253)

<div class="topic-metadata">

**Author:** [@tonylane26](https://discourse.nodered.org/u/tonylane26)\
**Replies:** 11\
**Last updated:** [13 May 2023 13:52 UTC](https://discourse.nodered.org/t/dashboard-dropdown-with-custom-css/78253 "2023-05-13T13:52:04Z")

</div>

I like using the Dashboard widgets, but I don't always like the default appearance. I've explored several posts on this forum, which change the appearance by using custom css ...so I had a go, using the Chrome browser i…

---

## [Help with context variables and their treatment](https://discourse.nodered.org/t/help-with-context-variables-and-their-treatment/78351)

<div class="topic-metadata">

**Author:** [@RAD](https://discourse.nodered.org/u/RAD)\
**Replies:** 4\
**Last updated:** [13 May 2023 13:11 UTC](https://discourse.nodered.org/t/help-with-context-variables-and-their-treatment/78351 "2023-05-13T13:11:31Z")

</div>

Hello everyone, sorry for my English, I only speak Spanish. I am new to Node-red, and I have come across this doubt. I want to save a data in a context variable, to later recover it without modifying its saved value. …

---

## [Toogle value with a button](https://discourse.nodered.org/t/toogle-value-with-a-button/78398)

<div class="topic-metadata">

**Author:** [@Hjorth-Jensen](https://discourse.nodered.org/u/Hjorth-Jensen)\
**Replies:** 2\
**Last updated:** [13 May 2023 11:39 UTC](https://discourse.nodered.org/t/toogle-value-with-a-button/78398 "2023-05-13T11:39:08Z")

</div>

Hi all I am trying to toogle a value too control my light. I have a payload with a value 0-100, and I want a button(Ikea) to toogle the value if it over 0, then set it to 0, and if it is 0 then set it to 40. If I push …

---

## [Alexa Nodered Initialise](https://discourse.nodered.org/t/alexa-nodered-initialise/78399)

<div class="topic-metadata">

**Author:** [@Shwowak](https://discourse.nodered.org/u/Shwowak)\
**Replies:** 0\
**Last updated:** [13 May 2023 11:07 UTC](https://discourse.nodered.org/t/alexa-nodered-initialise/78399 "2023-05-13T11:07:48Z")

</div>

Ich brauche Hilfe beim einrichten von Alexa in Nodered nach dem ich Alex verbunden habe über die Proxy Methode. Nach dem ich nodered deploy will er den Vorgang wieder holen ."open 192.168.178.16:42416 in your Browser" w…

---

## [Move an object with SVG - I'm confused](https://discourse.nodered.org/t/move-an-object-with-svg-im-confused/78317)

<div class="topic-metadata">

**Author:** [@beg1nner](https://discourse.nodered.org/u/beg1nner)\
**Replies:** 7\
**Last updated:** [13 May 2023 10:31 UTC](https://discourse.nodered.org/t/move-an-object-with-svg-im-confused/78317 "2023-05-13T10:31:24Z")

</div>

Hi there, I'm confused by a big amount of tutorials and tipps. How to move an object with SVG with messages as input? This is the SVG code of my node: \<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w…

---

## [Node-red-contrib-ewelink Library isse](https://discourse.nodered.org/t/node-red-contrib-ewelink-library-isse/78345)

<div class="topic-metadata">

**Author:** [@Fahad](https://discourse.nodered.org/u/Fahad)\
**Replies:** 3\
**Last updated:** [13 May 2023 01:17 UTC](https://discourse.nodered.org/t/node-red-contrib-ewelink-library-isse/78345 "2023-05-13T01:17:10Z")

</div>

Dear All, I have been trying to connect SonOff devices with nodered but am facing issues with the installation of Library node-red-contrib-ewelink. On Manage Pallet, I am getting two options: node-red-contrib-ewelink an…

---

## [Node-red contrib-alexa and it's forks all broken?](https://discourse.nodered.org/t/node-red-contrib-alexa-and-its-forks-all-broken/78394)

<div class="topic-metadata">

**Author:** [@dhodgesnvl](https://discourse.nodered.org/u/dhodgesnvl)\
**Replies:** 1\
**Last updated:** [13 May 2023 01:10 UTC](https://discourse.nodered.org/t/node-red-contrib-alexa-and-its-forks-all-broken/78394 "2023-05-13T01:10:02Z")

</div>

Hi all I had a working node-red contrib-alexa2 working system until a few months ago. I've tried all the variants/OSs/browsers but when I go to ipaddress:3456 the page never loads. Is it broken or should I do somethin…

---

## [Creating Add Calendar Events to Local Calendar in HA Using Node Red](https://discourse.nodered.org/t/creating-add-calendar-events-to-local-calendar-in-ha-using-node-red/78392)

<div class="topic-metadata">

**Author:** [@erausch](https://discourse.nodered.org/u/erausch)\
**Replies:** 1\
**Last updated:** [12 May 2023 20:53 UTC](https://discourse.nodered.org/t/creating-add-calendar-events-to-local-calendar-in-ha-using-node-red/78392 "2023-05-12T20:53:01Z")

</div>

Hi All, I am hoping someone might be able to help me with a flow I want to implement. Here is the scenario: My garbage is normally collected every Tuesday, but if a holiday falls on a Monday, or Tuesday, garbage is co…

---

## [Help converting buffer to string encoding not matching debug output](https://discourse.nodered.org/t/help-converting-buffer-to-string-encoding-not-matching-debug-output/78388)

<div class="topic-metadata">

**Author:** [@JohnnyPicnic](https://discourse.nodered.org/u/JohnnyPicnic)\
**Replies:** 2\
**Last updated:** [12 May 2023 16:59 UTC](https://discourse.nodered.org/t/help-converting-buffer-to-string-encoding-not-matching-debug-output/78388 "2023-05-12T16:59:01Z")

</div>

I can't seem to get a buffer to convert into a string like the debug node is showing. My buffer is: \[64,242,199,249,162,6\] The desired string is: @òÇù¢ The string i'm getting is: @rGy" The buffer for the string I'…

---

## [Using variables in flow set and get](https://discourse.nodered.org/t/using-variables-in-flow-set-and-get/78387)

<div class="topic-metadata">

**Author:** [@talesmaschio](https://discourse.nodered.org/u/talesmaschio)\
**Replies:** 2\
**Last updated:** [12 May 2023 16:38 UTC](https://discourse.nodered.org/t/using-variables-in-flow-set-and-get/78387 "2023-05-12T16:38:16Z")

</div>

Hello guys, Sorry, this is probably something very well known to the more experienced but I couldn't find anything about so here I am. Is it possible to use indirect referencing to variable names in context/flow/global…

---

## [Multiple Node.js servers](https://discourse.nodered.org/t/multiple-node-js-servers/78386)

<div class="topic-metadata">

**Author:** [@xytsrm](https://discourse.nodered.org/u/xytsrm)\
**Replies:** 3\
**Last updated:** [12 May 2023 15:21 UTC](https://discourse.nodered.org/t/multiple-node-js-servers/78386 "2023-05-12T15:21:58Z")

</div>

Is is possible to run multiple Node.js servers on the same PC; each running a separate Node-Red flow?

---

## [How to get the path of nodered folder](https://discourse.nodered.org/t/how-to-get-the-path-of-nodered-folder/78362)

<div class="topic-metadata">

**Author:** [@Marchal-web](https://discourse.nodered.org/u/Marchal-web)\
**Replies:** 7\
**Last updated:** [12 May 2023 15:03 UTC](https://discourse.nodered.org/t/how-to-get-the-path-of-nodered-folder/78362 "2023-05-12T15:03:41Z")

</div>

Hello all, I would like to get the the path of where is running nodered, how I can do that ? The current path of the folder is "/home/toto/.nodered". How I can get this path in the flow? Thanks

---

## [Place images inside HTML with ui\_dashboard](https://discourse.nodered.org/t/place-images-inside-html-with-ui-dashboard/78332)

<div class="topic-metadata">

**Author:** [@luno](https://discourse.nodered.org/u/luno)\
**Replies:** 1\
**Last updated:** [12 May 2023 14:48 UTC](https://discourse.nodered.org/t/place-images-inside-html-with-ui-dashboard/78332 "2023-05-12T14:48:11Z")

</div>

i'm developing a list of people and i want to place images on the side of their names the code is something like \<table border="1"\> \<tr\> \<td\>Name\</td\> \<td\>Picture\</td\> \</tr\> \<tr\> …

---

## [Email login/password setup](https://discourse.nodered.org/t/email-login-password-setup/77213)

<div class="topic-metadata">

**Author:** [@calixtoemilio](https://discourse.nodered.org/u/calixtoemilio)\
**Replies:** 25\
**Last updated:** [12 May 2023 14:43 UTC](https://discourse.nodered.org/t/email-login-password-setup/77213 "2023-05-12T14:43:56Z")

</div>

configuring userid and password via environmental variables works fine....for a while, when they just disappear from email node. Only applying then manually (using environment format) would restart the authentication pro…

---

## [Node-Red | CEP | node-red-contrib-cep](https://discourse.nodered.org/t/node-red-cep-node-red-contrib-cep/78377)

<div class="topic-metadata">

**Author:** [@ayushmishra](https://discourse.nodered.org/u/ayushmishra)\
**Replies:** 1\
**Last updated:** [12 May 2023 11:56 UTC](https://discourse.nodered.org/t/node-red-cep-node-red-contrib-cep/78377 "2023-05-12T11:56:17Z")

</div>

I am trying to build a system to track user-journey and currently exploring the module node-red-contrib-cep for my CEP usecase. Have some question around the same. facing issue in figuring out how the pattern node works…

---

## [Install error proxy](https://discourse.nodered.org/t/install-error-proxy/78373)

<div class="topic-metadata">

**Author:** [@steve1](https://discourse.nodered.org/u/steve1)\
**Replies:** 6\
**Last updated:** [12 May 2023 11:56 UTC](https://discourse.nodered.org/t/install-error-proxy/78373 "2023-05-12T11:56:01Z")

</div>

Hi, on my ubuntu test machine, we are running node-red in a vm using win11. Later on we want to transfer the vm to another machine. Actually we can't even install node-red. I set the npm proxy for http and https. Gett…

---

## [Node-red crashes and quits when using ui-media](https://discourse.nodered.org/t/node-red-crashes-and-quits-when-using-ui-media/78313)

<div class="topic-metadata">

**Author:** [@henrychanflag](https://discourse.nodered.org/u/henrychanflag)\
**Replies:** 10\
**Last updated:** [12 May 2023 10:38 UTC](https://discourse.nodered.org/t/node-red-crashes-and-quits-when-using-ui-media/78313 "2023-05-12T10:38:17Z")

</div>

Hi, I have installed the node ui-media (1.2.0) to upload a picture to my dashboard. I follow the instructions of the node but when I try to upload the image my Node-Red crash and appear the following message: Lost conne…

---

## [Ability to change watched folder](https://discourse.nodered.org/t/ability-to-change-watched-folder/78375)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 3\
**Last updated:** [12 May 2023 10:07 UTC](https://discourse.nodered.org/t/ability-to-change-watched-folder/78375 "2023-05-12T10:07:55Z")

</div>

I've written a little flow to monitor my downloads folder and detect if a new file called anything (1).scad appears and rename it to anything.scad But it means I have to hard-code my downloads folder in the watch node …

---

## [How to merge object when modbus flex write is write success](https://discourse.nodered.org/t/how-to-merge-object-when-modbus-flex-write-is-write-success/78264)

<div class="topic-metadata">

**Author:** [@thanawit888](https://discourse.nodered.org/u/thanawit888)\
**Replies:** 3\
**Last updated:** [12 May 2023 08:23 UTC](https://discourse.nodered.org/t/how-to-merge-object-when-modbus-flex-write-is-write-success/78264 "2023-05-12T08:23:21Z")

</div>

i want to merge object when modbus flex write is write success like i write FC01 1 address , FC3 3 address when success payload is have 4 payload like I want to merge all these payloads into one payload. Is there …

---

## [Node-RED v2.2.0 appearing despite an apparent upgrade?](https://discourse.nodered.org/t/node-red-v2-2-0-appearing-despite-an-apparent-upgrade/78283)

<div class="topic-metadata">

**Author:** [@kjgre10](https://discourse.nodered.org/u/kjgre10)\
**Replies:** 6\
**Last updated:** [12 May 2023 06:15 UTC](https://discourse.nodered.org/t/node-red-v2-2-0-appearing-despite-an-apparent-upgrade/78283 "2023-05-12T06:15:49Z")

</div>

Hi there, Loving this tool so far, but have hit a snag while attempting to update. After running npm install -g --unsafe-perm node-red@3.0.2 And then running node-red I am greeted with the old v2.2.0 dashboard. …

---

## [Modbus Failure On State - Get More About It By Logging](https://discourse.nodered.org/t/modbus-failure-on-state-get-more-about-it-by-logging/78369)

<div class="topic-metadata">

**Author:** [@raspberry](https://discourse.nodered.org/u/raspberry)\
**Replies:** 0\
**Last updated:** [12 May 2023 01:27 UTC](https://discourse.nodered.org/t/modbus-failure-on-state-get-more-about-it-by-logging/78369 "2023-05-12T01:27:48Z")

</div>

Hello all, Potentially dumb question. I am having connection issues from a node-red-contrib-modbus flex read node. This is the debug warning message: \[warn\] \[modbus-flex-connector:..\] Modbus Failure On State sending Ge…

---

## [UIBuilder + low-code + yes/no form options](https://discourse.nodered.org/t/uibuilder-low-code-yes-no-form-options/78311)

<div class="topic-metadata">

**Author:** [@NickXML](https://discourse.nodered.org/u/NickXML)\
**Replies:** 4\
**Last updated:** [11 May 2023 22:55 UTC](https://discourse.nodered.org/t/uibuilder-low-code-yes-no-form-options/78311 "2023-05-11T22:55:30Z")

</div>

I'm prototyping a settings panel for an IoT project. At some point I'll hand it off to a real developer, but for now I'm kludging things together to get something up and running. I recently discovered UIBuilder and got p…

---

## [Parallel Unitid option not there in modbus flex getter node](https://discourse.nodered.org/t/parallel-unitid-option-not-there-in-modbus-flex-getter-node/78363)

<div class="topic-metadata">

**Author:** [@keshavvasudeva](https://discourse.nodered.org/u/keshavvasudeva)\
**Replies:** 1\
**Last updated:** [11 May 2023 20:05 UTC](https://discourse.nodered.org/t/parallel-unitid-option-not-there-in-modbus-flex-getter-node/78363 "2023-05-11T20:05:25Z")

</div>

In my old workflows, I used to be able to check an option for unitids in parallel in the Modbus-Flex-Getter node, however, I am not able to see that option any more. I have node.js version of 12.13. This works on my othe…

---

## [Mysql data logging](https://discourse.nodered.org/t/mysql-data-logging/78366)

<div class="topic-metadata">

**Author:** [@PRABHAKAR82](https://discourse.nodered.org/u/PRABHAKAR82)\
**Replies:** 3\
**Last updated:** [11 May 2023 18:40 UTC](https://discourse.nodered.org/t/mysql-data-logging/78366 "2023-05-11T18:40:53Z")

</div>

I have to log 5 data together in different column, I write this query but it give "ER\_PARSE\_ERROR" please help. var co = { payload: msg.payload\[0\]}; var ox = { payload: msg.payload\[1\]}; var lux = { payload: msg.paylo…

---

## [Replacement for package "request-promise"?](https://discourse.nodered.org/t/replacement-for-package-request-promise/78347)

<div class="topic-metadata">

**Author:** [@cameo69](https://discourse.nodered.org/u/cameo69)\
**Replies:** 3\
**Last updated:** [11 May 2023 18:29 UTC](https://discourse.nodered.org/t/replacement-for-package-request-promise/78347 "2023-05-11T18:29:09Z")

</div>

I am looking for a replacement of the request-promise package that is deprecated. I tried axios and it generally works, but I am not 100% happy with it, especially because I am getting a strange error that is open on the…

---

## [Authentication with OAuth2 and generating custom JWT Token](https://discourse.nodered.org/t/authentication-with-oauth2-and-generating-custom-jwt-token/78365)

<div class="topic-metadata">

**Author:** [@a\_grunt](https://discourse.nodered.org/u/a_grunt)\
**Replies:** 0\
**Last updated:** [11 May 2023 18:03 UTC](https://discourse.nodered.org/t/authentication-with-oauth2-and-generating-custom-jwt-token/78365 "2023-05-11T18:03:42Z")

</div>

Hi everyone! Is it possible to generate custom authentication token when authenticating via OAuth protocol? I tried to implement custom settings.adminAuth.authenticate() function, as suggested in this topic , but it do…

---

## [BigTimer alternative for sunrise \> sunset](https://discourse.nodered.org/t/bigtimer-alternative-for-sunrise-sunset/78360)

<div class="topic-metadata">

**Author:** [@877](https://discourse.nodered.org/u/877)\
**Replies:** 6\
**Last updated:** [11 May 2023 16:31 UTC](https://discourse.nodered.org/t/bigtimer-alternative-for-sunrise-sunset/78360 "2023-05-11T16:31:45Z")

</div>

I've used BigTimer for many years and it it very good, except I find that the sunrise / sunset times are a bit off (yes I have inputted location coordinates). I find I'm always having to adjust offsets. Are there any ot…

---

## [Parse files and process them based on creation date](https://discourse.nodered.org/t/parse-files-and-process-them-based-on-creation-date/78359)

<div class="topic-metadata">

**Author:** [@Alexandre1987](https://discourse.nodered.org/u/Alexandre1987)\
**Replies:** 1\
**Last updated:** [11 May 2023 15:31 UTC](https://discourse.nodered.org/t/parse-files-and-process-them-based-on-creation-date/78359 "2023-05-11T15:31:15Z")

</div>

Hello everybody, I have a nodered flow that allows me to grab files from an 'orders\_json' folder, convert them to csv and drop them into an 'order\_csv' folder. For technical questions I cannot empty the files deposited…

---

## [Just squares in "chart-image" .png](https://discourse.nodered.org/t/just-squares-in-chart-image-png/78337)

<div class="topic-metadata">

**Author:** [@Miguel](https://discourse.nodered.org/u/Miguel)\
**Replies:** 5\
**Last updated:** [11 May 2023 15:28 UTC](https://discourse.nodered.org/t/just-squares-in-chart-image-png/78337 "2023-05-11T15:28:05Z")

</div>

Hi all I've been struggling with a strange problem generating a chart .png with chart-image node for a while now. All text labels on all axes, values and the header are displayed as squares instead of readable text. L…

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

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