# General

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

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

**Page:** 351

---

## [Changing the color of table cell based on value](https://discourse.nodered.org/t/changing-the-color-of-table-cell-based-on-value/31543)

<div class="topic-metadata">

**Author:** [@vangalvin](https://discourse.nodered.org/u/vangalvin)\
**Replies:** 5\
**Last updated:** [15 July 2022 13:14 UTC](https://discourse.nodered.org/t/changing-the-color-of-table-cell-based-on-value/31543 "2022-07-15T13:14:40Z")

</div>

I have packets comming in via MQTT from several devices. msg.topic is changed to reflect the device's ID then the message is passed through the collector and only passed to the filter values have changed or another dev…

---

## [Search array, continue if string is found](https://discourse.nodered.org/t/search-array-continue-if-string-is-found/65127)

<div class="topic-metadata">

**Author:** [@network\_potato](https://discourse.nodered.org/u/network_potato)\
**Replies:** 2\
**Last updated:** [15 July 2022 12:36 UTC](https://discourse.nodered.org/t/search-array-continue-if-string-is-found/65127 "2022-07-15T12:36:27Z")

</div>

I have the following payload: { "code": 200, "message": "Request response is successful", "data": \[ { "origin\_info": { "trackinfo": \[ { …

---

## [I tried to read my Mitsubishi IQF series PLC with the MC Protocol. But I am constantly getting this timeout error](https://discourse.nodered.org/t/i-tried-to-read-my-mitsubishi-iqf-series-plc-with-the-mc-protocol-but-i-am-constantly-getting-this-timeout-error/65140)

<div class="topic-metadata">

**Author:** [@ReeseJohn](https://discourse.nodered.org/u/ReeseJohn)\
**Replies:** 3\
**Last updated:** [15 July 2022 11:18 UTC](https://discourse.nodered.org/t/i-tried-to-read-my-mitsubishi-iqf-series-plc-with-the-mc-protocol-but-i-am-constantly-getting-this-timeout-error/65140 "2022-07-15T11:18:14Z")

</div>

I am using the Node Red version of v3.0.0.

---

## [KNX Water Leakage Sensor: Convert Alternating 0|1 to Alarm Flag](https://discourse.nodered.org/t/knx-water-leakage-sensor-convert-alternating-0-1-to-alarm-flag/65100)

<div class="topic-metadata">

**Author:** [@mathias-ewald](https://discourse.nodered.org/u/mathias-ewald)\
**Replies:** 10\
**Last updated:** [15 July 2022 08:09 UTC](https://discourse.nodered.org/t/knx-water-leakage-sensor-convert-alternating-0-1-to-alarm-flag/65100 "2022-07-15T08:09:47Z")

</div>

Hi there, I have a KNX water leakage sensor that sends nothing to the group address when there is no water detected. When there's a leakage it begins sending alternating zeroes and ones to the group address. In Node-RE…

---

## [How to convert connection flow into JS logic](https://discourse.nodered.org/t/how-to-convert-connection-flow-into-js-logic/65121)

<div class="topic-metadata">

**Author:** [@Dycle](https://discourse.nodered.org/u/Dycle)\
**Replies:** 1\
**Last updated:** [15 July 2022 07:28 UTC](https://discourse.nodered.org/t/how-to-convert-connection-flow-into-js-logic/65121 "2022-07-15T07:28:15Z")

</div>

Now only JSON can be transformed,How to convert connection flow into JS logic

---

## [Saving settings as flatfiles](https://discourse.nodered.org/t/saving-settings-as-flatfiles/65075)

<div class="topic-metadata">

**Author:** [@rxdeath](https://discourse.nodered.org/u/rxdeath)\
**Replies:** 8\
**Last updated:** [15 July 2022 07:27 UTC](https://discourse.nodered.org/t/saving-settings-as-flatfiles/65075 "2022-07-15T07:27:40Z")

</div>

i have a 'recipe' i am working and i have the basic starting parameters hardcoded into a node. i want to give the client a way to do these things: \*view and then load a settings file out of a directory \*change/make n…

---

## [Can't use Node-red console commands on beaglebone black](https://discourse.nodered.org/t/cant-use-node-red-console-commands-on-beaglebone-black/64193)

<div class="topic-metadata">

**Author:** [@chappo\_2](https://discourse.nodered.org/u/chappo_2)\
**Replies:** 3\
**Last updated:** [15 July 2022 07:13 UTC](https://discourse.nodered.org/t/cant-use-node-red-console-commands-on-beaglebone-black/64193 "2022-07-15T07:13:37Z")

</div>

I am trying to use the node-red command-lines on a beaglebone black. In particualar I am doing this as I want to use generate a password hash, but from testing it, I have found that none of the other commands work either…

---

## [Replace ' with anything else for SQL](https://discourse.nodered.org/t/replace-with-anything-else-for-sql/64797)

<div class="topic-metadata">

**Author:** [@smitterer](https://discourse.nodered.org/u/smitterer)\
**Replies:** 6\
**Last updated:** [15 July 2022 06:16 UTC](https://discourse.nodered.org/t/replace-with-anything-else-for-sql/64797 "2022-07-15T06:16:53Z")

</div>

Hi, I'm getting an error when trying to import data from a csv into a MariaDB: Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use n…

---

## [Best way to monitor a remote PC](https://discourse.nodered.org/t/best-way-to-monitor-a-remote-pc/64855)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 19\
**Last updated:** [15 July 2022 04:34 UTC](https://discourse.nodered.org/t/best-way-to-monitor-a-remote-pc/64855 "2022-07-15T04:34:25Z")

</div>

There is a brand new Windows 10 PC on the other side of the world for which I'm the go-to guy when things go wrong. It would be nice if the PC was sending me it's temperature, memory usage, etc so I could spot trends be…

---

## [Sense Hat Output Node](https://discourse.nodered.org/t/sense-hat-output-node/64923)

<div class="topic-metadata">

**Author:** [@Brett](https://discourse.nodered.org/u/Brett)\
**Replies:** 8\
**Last updated:** [15 July 2022 03:33 UTC](https://discourse.nodered.org/t/sense-hat-output-node/64923 "2022-07-15T03:33:03Z")

</div>

Node Red Version = V2.2.2 Node JS Version = 16.16.0 I'm having trouble getting the "Raspberry Pi Sense HAT output node." to work consistently. The help says that "This node sends commands to the 8x8 LED display on the …

---

## [Speakerpi installation error](https://discourse.nodered.org/t/speakerpi-installation-error/65113)

<div class="topic-metadata">

**Author:** [@surmi](https://discourse.nodered.org/u/surmi)\
**Replies:** 7\
**Last updated:** [15 July 2022 00:24 UTC](https://discourse.nodered.org/t/speakerpi-installation-error/65113 "2022-07-15T00:24:23Z")

</div>

What could be the cause of the error? Hardware: Raspberry Pi 4B, 8G RAM

---

## [Any way to get list of all triggers?](https://discourse.nodered.org/t/any-way-to-get-list-of-all-triggers/65014)

<div class="topic-metadata">

**Author:** [@MyRandomThoughts](https://discourse.nodered.org/u/MyRandomThoughts)\
**Replies:** 9\
**Last updated:** [14 July 2022 20:31 UTC](https://discourse.nodered.org/t/any-way-to-get-list-of-all-triggers/65014 "2022-07-14T20:31:48Z")

</div>

I have a lot of triggers. Some just run once, others every set time interval. Is there a way of getting a list of all these triggers and showing when they fire? My initial thought would be to parse the flows.json file…

---

## [Linux command node for dates](https://discourse.nodered.org/t/linux-command-node-for-dates/65076)

<div class="topic-metadata">

**Author:** [@rxdeath](https://discourse.nodered.org/u/rxdeath)\
**Replies:** 4\
**Last updated:** [14 July 2022 20:21 UTC](https://discourse.nodered.org/t/linux-command-node-for-dates/65076 "2022-07-14T20:21:48Z")

</div>

i'm connected to a plc and am using avrdude to save firmware. i'm using a linux command node with the following syntax, and i want to add the date to the filename, so i know when the backup was made. ie:currently downl…

---

## [Tcp listener, get data from client](https://discourse.nodered.org/t/tcp-listener-get-data-from-client/65110)

<div class="topic-metadata">

**Author:** [@PiMo131](https://discourse.nodered.org/u/PiMo131)\
**Replies:** 0\
**Last updated:** [14 July 2022 19:31 UTC](https://discourse.nodered.org/t/tcp-listener-get-data-from-client/65110 "2022-07-14T19:31:13Z")

</div>

When i use a tcp our node to create a listener on a certain port. My client device is able to connect and receive data from the tcp out node. But the client device also sends data back to the TCP out node / listener. Is…

---

## [Trigger node not accepting msg.delay](https://discourse.nodered.org/t/trigger-node-not-accepting-msg-delay/65096)

<div class="topic-metadata">

**Author:** [@Jsimon003](https://discourse.nodered.org/u/Jsimon003)\
**Replies:** 5\
**Last updated:** [14 July 2022 18:24 UTC](https://discourse.nodered.org/t/trigger-node-not-accepting-msg-delay/65096 "2022-07-14T18:24:43Z")

</div>

Unsure what i'm doing wrong but i'm trying to set the delay of the trigger node to 1ms so the next message is passed through \[{"id":"f39a44549a9aa1b8","type":"tab","label":"Flow 1","disabled":false,"info":"","env":\[\]},{…

---

## [HTTP request number of nodes](https://discourse.nodered.org/t/http-request-number-of-nodes/65108)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 2\
**Last updated:** [14 July 2022 18:13 UTC](https://discourse.nodered.org/t/http-request-number-of-nodes/65108 "2022-07-14T18:13:11Z")

</div>

I have about a dozen NODEMCU's that I use for various measurements. To read them I use HTTP request. Each Nodemcu has a web page that I interrogate for the data and right now I send out a dozen requests at one time. Usua…

---

## [Input debounce and Rotary Encoder issues on Raspberry Pi](https://discourse.nodered.org/t/input-debounce-and-rotary-encoder-issues-on-raspberry-pi/64805)

<div class="topic-metadata">

**Author:** [@tymarbut](https://discourse.nodered.org/u/tymarbut)\
**Replies:** 3\
**Last updated:** [14 July 2022 17:51 UTC](https://discourse.nodered.org/t/input-debounce-and-rotary-encoder-issues-on-raspberry-pi/64805 "2022-07-14T17:51:37Z")

</div>

Hi all, I have a rotary encoder connected to my Raspberry Pi running (recently-updated) Node Red (v2.2), nodejs (v14 LTS), Raspberry Pi OS Bullseye, etc. If you haven't used a rotary encoder before, here's how it works…

---

## [Custom Baud rate doesn't work for Serial request on Node-red on Beaglebone Black](https://discourse.nodered.org/t/custom-baud-rate-doesnt-work-for-serial-request-on-node-red-on-beaglebone-black/63128)

<div class="topic-metadata">

**Author:** [@akhileshthorat](https://discourse.nodered.org/u/akhileshthorat)\
**Replies:** 1\
**Last updated:** [14 July 2022 17:37 UTC](https://discourse.nodered.org/t/custom-baud-rate-doesnt-work-for-serial-request-on-node-red-on-beaglebone-black/63128 "2022-07-14T17:37:02Z")

</div>

Hello Everyone, I have been using Beaglebone black with Node-red V1.3.5. I am using a serial node with custom baud rate 5787 bits per second. The node works for a while and then stops working. After a while, the node-re…

---

## [Store data in JSON file alongside settings.js & include with require](https://discourse.nodered.org/t/store-data-in-json-file-alongside-settings-js-include-with-require/64852)

<div class="topic-metadata">

**Author:** [@awneil](https://discourse.nodered.org/u/awneil)\
**Replies:** 9\
**Last updated:** [14 July 2022 16:20 UTC](https://discourse.nodered.org/t/store-data-in-json-file-alongside-settings-js-include-with-require/64852 "2022-07-14T16:20:01Z")

</div>

Ref this post (in a thread now locked): So how, exactly, would one go about "including a JSON file in settings.js using require" ? @kuema

---

## [Not able to Parse DINT type data using buffer parser](https://discourse.nodered.org/t/not-able-to-parse-dint-type-data-using-buffer-parser/65058)

<div class="topic-metadata">

**Author:** [@saxenaramesh](https://discourse.nodered.org/u/saxenaramesh)\
**Replies:** 2\
**Last updated:** [14 July 2022 14:39 UTC](https://discourse.nodered.org/t/not-able-to-parse-dint-type-data-using-buffer-parser/65058 "2022-07-14T14:39:03Z")

</div>

I have 2 devices connected on Modbus RS485 RTU loop. a. Device : Energy Meter : Selec make. I am reading Input Registers and Data type is FLOAT. I am able to Parse this sucessfully. b. Device : Temp Controller : Selec …

---

## [How to deliver variable value to different flow when ui-button is pressed](https://discourse.nodered.org/t/how-to-deliver-variable-value-to-different-flow-when-ui-button-is-pressed/65081)

<div class="topic-metadata">

**Author:** [@JackJackTan414](https://discourse.nodered.org/u/JackJackTan414)\
**Replies:** 7\
**Last updated:** [14 July 2022 14:12 UTC](https://discourse.nodered.org/t/how-to-deliver-variable-value-to-different-flow-when-ui-button-is-pressed/65081 "2022-07-14T14:12:47Z")

</div>

Good day Guys. The first 3 image represents that I am trying to initialise a global variable "a" to be 1 whenever i press the button. And the value represented by variable "a" will be stored as "msg.test" and to be used …

---

## [Combine payloads objects to one string](https://discourse.nodered.org/t/combine-payloads-objects-to-one-string/65094)

<div class="topic-metadata">

**Author:** [@pkjacobsen](https://discourse.nodered.org/u/pkjacobsen)\
**Replies:** 8\
**Last updated:** [14 July 2022 14:03 UTC](https://discourse.nodered.org/t/combine-payloads-objects-to-one-string/65094 "2022-07-14T14:03:33Z")

</div>

My project is to control the color of a bulb with a color picker node. The payload is on the picture. I need to alter the payload to use in a call service node like this {"rgb\_color":\[msg.payload.r,msg.payload.g,msg.p…

---

## [\[solved\] Node-red v3.0.0, PI installer script - node-red does not start after installer is finished (setting.js 'No such file or directory')](https://discourse.nodered.org/t/solved-node-red-v3-0-0-pi-installer-script-node-red-does-not-start-after-installer-is-finished-setting-js-no-such-file-or-directory/65085)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 17\
**Last updated:** [14 July 2022 12:36 UTC](https://discourse.nodered.org/t/solved-node-red-v3-0-0-pi-installer-script-node-red-does-not-start-after-installer-is-finished-setting-js-no-such-file-or-directory/65085 "2022-07-14T12:36:48Z")

</div>

TLDR: NOTE: The bash script has been fixed and now works. Just installed V3.0.0 on a Pi model 3B V1.2 and ran the 'diff' to compare the settngs.js files and get this: Just FYI : Your settings.js file is different from …

---

## [Help with converting string to hex array](https://discourse.nodered.org/t/help-with-converting-string-to-hex-array/65091)

<div class="topic-metadata">

**Author:** [@PAT](https://discourse.nodered.org/u/PAT)\
**Replies:** 5\
**Last updated:** [14 July 2022 12:21 UTC](https://discourse.nodered.org/t/help-with-converting-string-to-hex-array/65091 "2022-07-14T12:21:16Z")

</div>

Hi all please can someone help me with a conversion problem my incomming data from serial port looks like this. i have been able to break it up into the correct values and place in an array which im happy with ho…

---

## [Node-Red v3.0.0 Pi - Node-RED is not yet fully installed](https://discourse.nodered.org/t/node-red-v3-0-0-pi-node-red-is-not-yet-fully-installed/65089)

<div class="topic-metadata">

**Author:** [@pvandendool](https://discourse.nodered.org/u/pvandendool)\
**Replies:** 4\
**Last updated:** [14 July 2022 11:53 UTC](https://discourse.nodered.org/t/node-red-v3-0-0-pi-node-red-is-not-yet-fully-installed/65089 "2022-07-14T11:53:01Z")

</div>

I try to update from \[3.0.0-beta.4\] but got the following msg on my pi: Node-RED is not yet fully installed. Please re-run the install script again manually. bash \<(curl -sL https://raw.githubusercontent.com/node-re…

---

## [Locking editor, changing ui address](https://discourse.nodered.org/t/locking-editor-changing-ui-address/65078)

<div class="topic-metadata">

**Author:** [@rxdeath](https://discourse.nodered.org/u/rxdeath)\
**Replies:** 3\
**Last updated:** [14 July 2022 09:12 UTC](https://discourse.nodered.org/t/locking-editor-changing-ui-address/65078 "2022-07-14T09:12:30Z")

</div>

i've tried to find this since i'm sure others have asked, but couldn't find the magic search words: is there a (reasonably easy) way to : a. make it so the ui is just ip address like http://192.168.1.10 b. make i…

---

## [Need to assure this array comes in correct order each time](https://discourse.nodered.org/t/need-to-assure-this-array-comes-in-correct-order-each-time/65068)

<div class="topic-metadata">

**Author:** [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Replies:** 8\
**Last updated:** [14 July 2022 08:27 UTC](https://discourse.nodered.org/t/need-to-assure-this-array-comes-in-correct-order-each-time/65068 "2022-07-14T08:27:45Z")

</div>

\[ { "id": "b76bac04bae58859", "type": "tibber-data", "z": "916e1a31b235314f", "name": "", "active": true, "apiEndpointRef": "8a80f84f.0cbd98", "queryName": "get…

---

## [Tesseract - Different result between demo and node-red](https://discourse.nodered.org/t/tesseract-different-result-between-demo-and-node-red/65043)

<div class="topic-metadata">

**Author:** [@Yusseiin](https://discourse.nodered.org/u/Yusseiin)\
**Replies:** 2\
**Last updated:** [14 July 2022 05:37 UTC](https://discourse.nodered.org/t/tesseract-different-result-between-demo-and-node-red/65043 "2022-07-14T05:37:46Z")

</div>

I'm trying to make the "node-red-contrib-tesseract" working with my application. I need to get the text from a recepit. In the demo work flawless without problem even using eng language ( lang is ita ) but in node-red …

---

## [OCPP and NodeRED](https://discourse.nodered.org/t/ocpp-and-nodered/65063)

<div class="topic-metadata">

**Author:** [@01mk027](https://discourse.nodered.org/u/01mk027)\
**Replies:** 2\
**Last updated:** [13 July 2022 21:21 UTC](https://discourse.nodered.org/t/ocpp-and-nodered/65063 "2022-07-13T21:21:03Z")

</div>

Hi all; I intend to write EV charging central system. I wonder that, is NodeRED is suitable to manage and organise thousands of EV charging units? I don't know about hardware. I'll use OCPP protocol (1.5 and 1.6). Mongo…

---

## [Elastic variable indexname](https://discourse.nodered.org/t/elastic-variable-indexname/65066)

<div class="topic-metadata">

**Author:** [@Hans4711](https://discourse.nodered.org/u/Hans4711)\
**Replies:** 0\
**Last updated:** [13 July 2022 20:23 UTC](https://discourse.nodered.org/t/elastic-variable-indexname/65066 "2022-07-13T20:23:01Z")

</div>

Hi all, I'm proud to get topics from tasmotas and can store within elastic The elastic plugin provids a index name field. Right now i just use iot for index. I'd love to enhance it with monthly change of name like "io…

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

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