# General

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

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

**Page:** 234

---

## [Node-RED Debug Sidebar Console Printing Colored Text](https://discourse.nodered.org/t/node-red-debug-sidebar-console-printing-colored-text/76494)

<div class="topic-metadata">

**Author:** [@aisyahshamsaimun](https://discourse.nodered.org/u/aisyahshamsaimun)\
**Replies:** 5\
**Last updated:** [14 March 2023 02:48 UTC](https://discourse.nodered.org/t/node-red-debug-sidebar-console-printing-colored-text/76494 "2023-03-14T02:48:38Z")

</div>

Hello, I am looking for a way for the Node-RED debug sidebar tab to be able to print colored text instead of in code form as shown in the picture below. These message payloads are coming from a serial connection bet…

---

## [Node Red Chart node jumps to current date/time when it should not do so](https://discourse.nodered.org/t/node-red-chart-node-jumps-to-current-date-time-when-it-should-not-do-so/76529)

<div class="topic-metadata">

**Author:** [@daled](https://discourse.nodered.org/u/daled)\
**Replies:** 1\
**Last updated:** [14 March 2023 01:44 UTC](https://discourse.nodered.org/t/node-red-chart-node-jumps-to-current-date-time-when-it-should-not-do-so/76529 "2023-03-14T01:44:31Z")

</div>

I have historical data (say a day or two of data from two weeks ago) that I want to show in a node-red time series chart. I successfully read the data in and send it to the chart node. I see the chart being generated and…

---

## [Node.error - catch](https://discourse.nodered.org/t/node-error-catch/76526)

<div class="topic-metadata">

**Author:** [@dpatel2016](https://discourse.nodered.org/u/dpatel2016)\
**Replies:** 2\
**Last updated:** [13 March 2023 23:06 UTC](https://discourse.nodered.org/t/node-error-catch/76526 "2023-03-13T23:06:54Z")

</div>

I am using a node red pccc library and it has an error that I want to read. How do I read the node.error(RED.\_("pccc.error.badvalues")) in the editor?

---

## [S7 Endpoint configuration](https://discourse.nodered.org/t/s7-endpoint-configuration/76496)

<div class="topic-metadata">

**Author:** [@ameer.ghoniem85](https://discourse.nodered.org/u/ameer.ghoniem85)\
**Replies:** 4\
**Last updated:** [13 March 2023 22:24 UTC](https://discourse.nodered.org/t/s7-endpoint-configuration/76496 "2023-03-13T22:24:04Z")

</div>

Hi there, i need to set the variables of the s7 endpoint node dynamically, i mean from out side the node i have an idea to connect to oracle database to fetch the following Data: PLC IP, Rack, Slot and also the variab…

---

## [Delete the decimals](https://discourse.nodered.org/t/delete-the-decimals/76480)

<div class="topic-metadata">

**Author:** [@MaxSchaaper](https://discourse.nodered.org/u/MaxSchaaper)\
**Replies:** 4\
**Last updated:** [13 March 2023 18:24 UTC](https://discourse.nodered.org/t/delete-the-decimals/76480 "2023-03-13T18:24:16Z")

</div>

Hello, I want to get rid of the decimals. My function node is like this: gas = parseFloat(msg.payload.svalue1); msg.payload = gas; msg.topic = "gas"; return msg; The outcome data is like: gas : msg.payload : number …

---

## [Light control via switch](https://discourse.nodered.org/t/light-control-via-switch/76351)

<div class="topic-metadata">

**Author:** [@ChrisF](https://discourse.nodered.org/u/ChrisF)\
**Replies:** 4\
**Last updated:** [13 March 2023 18:01 UTC](https://discourse.nodered.org/t/light-control-via-switch/76351 "2023-03-13T18:01:48Z")

</div>

Hello dear Node-Red Community, I would like to dim some LED strips using a philips hue button. The whole thing is connected via zigbee2mqtt. about the button: short button press = ON or OFF long button press = STEP U…

---

## [Hide Node-RED console on Windows](https://discourse.nodered.org/t/hide-node-red-console-on-windows/76293)

<div class="topic-metadata">

**Author:** [@raullink](https://discourse.nodered.org/u/raullink)\
**Replies:** 7\
**Last updated:** [13 March 2023 16:31 UTC](https://discourse.nodered.org/t/hide-node-red-console-on-windows/76293 "2023-03-13T16:31:27Z")

</div>

Hi everyone. The other topic has closed with no answer, and I am opening again because I got the same problem. I use node-red in Linux with no problem. The auto-boot using the official install script works flawless. B…

---

## [How can I make the projects on running under Docker?](https://discourse.nodered.org/t/how-can-i-make-the-projects-on-running-under-docker/76340)

<div class="topic-metadata">

**Author:** [@GoldD](https://discourse.nodered.org/u/GoldD)\
**Replies:** 3\
**Last updated:** [13 March 2023 16:05 UTC](https://discourse.nodered.org/t/how-can-i-make-the-projects-on-running-under-docker/76340 "2023-03-13T16:05:36Z")

</div>

How can I make projects in Running Node-red under Docker I aleady make projects Running Node-red on locally computer I'm sorry my Englilsh.

---

## [Backup and reset in educational context](https://discourse.nodered.org/t/backup-and-reset-in-educational-context/75189)

<div class="topic-metadata">

**Author:** [@brendonhatcher](https://discourse.nodered.org/u/brendonhatcher)\
**Replies:** 3\
**Last updated:** [13 March 2023 15:26 UTC](https://discourse.nodered.org/t/backup-and-reset-in-educational-context/75189 "2023-03-13T15:26:32Z")

</div>

Hi. I want to use Node-RED within a Code Club context to teach IoT etc. I have a number of activities with associated resources, including flows stored on each Raspberry Pi. Participants will update the flows during t…

---

## [Email to be downloaded on click of link](https://discourse.nodered.org/t/email-to-be-downloaded-on-click-of-link/76514)

<div class="topic-metadata">

**Author:** [@NeetaJ](https://discourse.nodered.org/u/NeetaJ)\
**Replies:** 0\
**Last updated:** [13 March 2023 14:13 UTC](https://discourse.nodered.org/t/email-to-be-downloaded-on-click-of-link/76514 "2023-03-13T14:13:20Z")

</div>

Hi, I am sending email to outlook id on click of a button and on successful send, i am collecting and displaying the information like Sender, Recipient, and attach the email as a link to Download. when i click on do…

---

## [Python Output - Blinking Seperate Neopixels](https://discourse.nodered.org/t/python-output-blinking-seperate-neopixels/76477)

<div class="topic-metadata">

**Author:** [@dandspach](https://discourse.nodered.org/u/dandspach)\
**Replies:** 5\
**Last updated:** [13 March 2023 12:08 UTC](https://discourse.nodered.org/t/python-output-blinking-seperate-neopixels/76477 "2023-03-13T12:08:01Z")

</div>

problem: how to code Python in Node Red output to blink separate Neopixels I have the following output to a .py file, which is run by a crontab at certain intervals. Currently, lighting works perfect and all leds are …

---

## [onChange function triggered by msgs with \_ui property](https://discourse.nodered.org/t/onchange-function-triggered-by-msgs-with-ui-property/76491)

<div class="topic-metadata">

**Author:** [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Replies:** 3\
**Last updated:** [13 March 2023 11:52 UTC](https://discourse.nodered.org/t/onchange-function-triggered-by-msgs-with-ui-property/76491 "2023-03-13T11:52:42Z")

</div>

Not sure if this is working as intended, or I am missing something ? Input messages containing a msg.\_ui property will not trigger the client libraries on-change method. As you can see in the first line there is a \_ui …

---

## [After upgrade to v3, json errors in log](https://discourse.nodered.org/t/after-upgrade-to-v3-json-errors-in-log/76464)

<div class="topic-metadata">

**Author:** [@SeRiusRod](https://discourse.nodered.org/u/SeRiusRod)\
**Replies:** 17\
**Last updated:** [13 March 2023 11:18 UTC](https://discourse.nodered.org/t/after-upgrade-to-v3-json-errors-in-log/76464 "2023-03-13T11:18:28Z")

</div>

Today I upgraded my node-red main install from v2.2.2 to v3.0.2. As I didn't have success by updating the existing install, I decided to bring up a new one. So I created a new lxc container with the new version. Edited…

---

## [Converting curl "Event Stream" to node-RED](https://discourse.nodered.org/t/converting-curl-event-stream-to-node-red/76506)

<div class="topic-metadata">

**Author:** [@lorccan](https://discourse.nodered.org/u/lorccan)\
**Replies:** 2\
**Last updated:** [13 March 2023 10:12 UTC](https://discourse.nodered.org/t/converting-curl-event-stream-to-node-red/76506 "2023-03-13T10:12:17Z")

</div>

Philips Hue has introduced a new api which includes functionality to receive an event stream ('Server-Sent-Events', or SSE). This obviates the need to poll the Hue bridge for device states. "Subscribing" to SSE can be d…

---

## [Count number of unread emails](https://discourse.nodered.org/t/count-number-of-unread-emails/76461)

<div class="topic-metadata">

**Author:** [@stephan1827](https://discourse.nodered.org/u/stephan1827)\
**Replies:** 2\
**Last updated:** [13 March 2023 08:20 UTC](https://discourse.nodered.org/t/count-number-of-unread-emails/76461 "2023-03-13T08:20:21Z")

</div>

I have a node red script that fetches emails and saves the attachment. But now I just need an output that tells if there is a new email or not. I don't need the complete payload from the email. Is there an easy way to do…

---

## [Cannot read the TheThingsNetwork data in node-red](https://discourse.nodered.org/t/cannot-read-the-thethingsnetwork-data-in-node-red/76493)

<div class="topic-metadata">

**Author:** [@henrychanflag](https://discourse.nodered.org/u/henrychanflag)\
**Replies:** 1\
**Last updated:** [13 March 2023 08:09 UTC](https://discourse.nodered.org/t/cannot-read-the-thethingsnetwork-data-in-node-red/76493 "2023-03-13T08:09:35Z")

</div>

Hi All, I’ve successfully connected my Lora node to TTN and now I can receive the node data in node-red. In my arduino code (shared folder), I just send text “{hello}” and try to decode in node-red at the debug node. At…

---

## [Node-red editor won't load](https://discourse.nodered.org/t/node-red-editor-wont-load/76484)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 8\
**Last updated:** [12 March 2023 22:30 UTC](https://discourse.nodered.org/t/node-red-editor-wont-load/76484 "2023-03-12T22:30:55Z")

</div>

Just today I am trying to load the editor. It hangs here: I've stopped and started NR. Even tried -- safe mode. Same. If I start NR, the GUI side works. (Just tested it now) But the editor just won't load. ALW…

---

## [How to format time](https://discourse.nodered.org/t/how-to-format-time/76448)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 16\
**Last updated:** [12 March 2023 22:17 UTC](https://discourse.nodered.org/t/how-to-format-time/76448 "2023-03-12T22:17:34Z")

</div>

Sorry folks, but I am a bit stuck. This is the code I have that works. let now = Date(); msg.time = now; return msg; But I am only wanting a basic time output of HH:mm:ss How would I get that - easily. I know of th…

---

## [Barcode Scanner input](https://discourse.nodered.org/t/barcode-scanner-input/16905)

<div class="topic-metadata">

**Author:** [@Henjoe](https://discourse.nodered.org/u/Henjoe)\
**Replies:** 34\
**Last updated:** [18 February 2021 16:50 UTC](https://discourse.nodered.org/t/barcode-scanner-input/16905 "2021-02-18T16:50:49Z")

</div>

Hello guys, I'm new here. I just want to ask if it possible to get input from a Barcode scanner? What node will be most appropriate to get input from a Barcode? Note that the barcode scanner is connected to a client comp…

---

## [\`flow\` object undefined when calling 'handleStatus'](https://discourse.nodered.org/t/flow-object-undefined-when-calling-handlestatus/75885)

<div class="topic-metadata">

**Author:** [@jackcarey](https://discourse.nodered.org/u/jackcarey)\
**Replies:** 3\
**Last updated:** [12 March 2023 17:19 UTC](https://discourse.nodered.org/t/flow-object-undefined-when-calling-handlestatus/75885 "2023-03-12T17:19:51Z")

</div>

Hello, I'm having trouble with some custom nodes. I've installed a few that used to work after noticing the error with a new one, but the issue persists and it seems to be upstream with some of my dependencies. When I st…

---

## [ABB ACS580 drive ➡ Elfin-EW11➡ Node Red](https://discourse.nodered.org/t/abb-acs580-drive-elfin-ew11-node-red/76459)

<div class="topic-metadata">

**Author:** [@kaimo123](https://discourse.nodered.org/u/kaimo123)\
**Replies:** 3\
**Last updated:** [12 March 2023 11:35 UTC](https://discourse.nodered.org/t/abb-acs580-drive-elfin-ew11-node-red/76459 "2023-03-12T11:35:01Z")

</div>

Hello, maybe someone can help me. The goal is to get data and control ABB ACS580 drive (pressure sensor data, start/stop motor, seeing and removing errors). Middle man is Elfin-EW11. End point is Node Red and Home assis…

---

## [Get last missed event with cron block after reboot](https://discourse.nodered.org/t/get-last-missed-event-with-cron-block-after-reboot/76301)

<div class="topic-metadata">

**Author:** [@tenti](https://discourse.nodered.org/u/tenti)\
**Replies:** 19\
**Last updated:** [12 March 2023 09:49 UTC](https://discourse.nodered.org/t/get-last-missed-event-with-cron-block-after-reboot/76301 "2023-03-12T09:49:47Z")

</div>

Hi, I've used in my project a cron-plus block. While node-red is running is all ok, but my problem is when node-red was inactive for a long period and then turn on. The cron-plus have to set a display with different mes…

---

## [Grateful to be here...Appreciation Post](https://discourse.nodered.org/t/grateful-to-be-here-appreciation-post/76453)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 1\
**Last updated:** [12 March 2023 09:15 UTC](https://discourse.nodered.org/t/grateful-to-be-here-appreciation-post/76453 "2023-03-12T09:15:54Z")

</div>

I have been with Node-red forum since almost 1 and a half year now, and have been continuously interacting with this great community and without fail ALWAYS got help. sometimes , early on, I did get irked when the answer…

---

## [Serialport and Victron Cerbo GX incompatibility](https://discourse.nodered.org/t/serialport-and-victron-cerbo-gx-incompatibility/76457)

<div class="topic-metadata">

**Author:** [@martinpalca](https://discourse.nodered.org/u/martinpalca)\
**Replies:** 4\
**Last updated:** [12 March 2023 09:15 UTC](https://discourse.nodered.org/t/serialport-and-victron-cerbo-gx-incompatibility/76457 "2023-03-12T09:15:22Z")

</div>

Hi, I appreciate that serialport library is available for Node-Red. I want Victron Cerbo GX to read data from /dev/ttyS7 (aka VE.direct1) port, where is Voltronic Axpert inverter connected. (2400bps,N,8,1). With proper …

---

## [Extract value from switch-bot reading](https://discourse.nodered.org/t/extract-value-from-switch-bot-reading/76439)

<div class="topic-metadata">

**Author:** [@matisok](https://discourse.nodered.org/u/matisok)\
**Replies:** 1\
**Last updated:** [11 March 2023 20:04 UTC](https://discourse.nodered.org/t/extract-value-from-switch-bot-reading/76439 "2023-03-11T20:04:40Z")

</div>

Hi there. I have recently grown fond of the switch-bot IoT devices - they are well made and seem to be open for node-red. I am using the node: test-switchbot-devices which reads my connected devices nicely. A call retu…

---

## [Change date/time format](https://discourse.nodered.org/t/change-date-time-format/76286)

<div class="topic-metadata">

**Author:** [@maru](https://discourse.nodered.org/u/maru)\
**Replies:** 5\
**Last updated:** [11 March 2023 17:15 UTC](https://discourse.nodered.org/t/change-date-time-format/76286 "2023-03-11T17:15:52Z")

</div>

Good morning all, I use this function node in my flow to check when my device sent the last data. var d = new Date(); var options = {year: 'numeric', month: '2-digit', day: '2-digit', hour: \`2-digit\`, minute: \`2-digit\`…

---

## [Read XML from a http stream](https://discourse.nodered.org/t/read-xml-from-a-http-stream/76430)

<div class="topic-metadata">

**Author:** [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)\
**Replies:** 2\
**Last updated:** [11 March 2023 15:13 UTC](https://discourse.nodered.org/t/read-xml-from-a-http-stream/76430 "2023-03-11T15:13:06Z")

</div>

I have a http connection that listen on status changes. It comes in an xml format. The problem is that the complete xml come in chunks. Some times it comes complete with start and end tag and sometimes it comes in two or…

---

## [Node red upgrading question](https://discourse.nodered.org/t/node-red-upgrading-question/76428)

<div class="topic-metadata">

**Author:** [@Surefire01](https://discourse.nodered.org/u/Surefire01)\
**Replies:** 9\
**Last updated:** [11 March 2023 13:35 UTC](https://discourse.nodered.org/t/node-red-upgrading-question/76428 "2023-03-11T13:35:48Z")

</div>

Chaps Following on from a previous issue I had with node red earlier this week, it was suggested that I upgrade from version 3.0.0 to the latest which seems to be 3.0.2. My current node red instance is running on my ras…

---

## [Database location](https://discourse.nodered.org/t/database-location/76237)

<div class="topic-metadata">

**Author:** [@LinkView\_Maze](https://discourse.nodered.org/u/LinkView_Maze)\
**Replies:** 8\
**Last updated:** [11 March 2023 13:31 UTC](https://discourse.nodered.org/t/database-location/76237 "2023-03-11T13:31:33Z")

</div>

Good morning, As part of the industrialization of my processes, I would like to automate the creation of flows in node red. To be more precise, I want to have an SD card with a basic stream that would allow me to make …

---

## [Accessing a local firebird database](https://discourse.nodered.org/t/accessing-a-local-firebird-database/76429)

<div class="topic-metadata">

**Author:** [@pat1](https://discourse.nodered.org/u/pat1)\
**Replies:** 0\
**Last updated:** [11 March 2023 13:28 UTC](https://discourse.nodered.org/t/accessing-a-local-firebird-database/76429 "2023-03-11T13:28:50Z")

</div>

Hi I have a Windows app using a local instance of Firebird. Firebird is not running as a server so I can't use the Firebird node What steps do I need to make to read the database in Node-Red? Everything is running on …

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

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