# General

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

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

**Page:** 168

---

## [Set ESP32 output w/o using MQTT](https://discourse.nodered.org/t/set-esp32-output-w-o-using-mqtt/82242)

<div class="topic-metadata">

**Author:** [@FlowZone](https://discourse.nodered.org/u/FlowZone)\
**Replies:** 8\
**Last updated:** [22 October 2023 14:32 UTC](https://discourse.nodered.org/t/set-esp32-output-w-o-using-mqtt/82242 "2023-10-22T14:32:12Z")

</div>

I can read ESP32 input port values directly from Node-RED "Poll State" component (connected via Raspberry Pi running Node-RED). Now I need to set a binary port of the ESP32 to high or low on certain conditions. Everywhe…

---

## [Close half-open sockets](https://discourse.nodered.org/t/close-half-open-sockets/82254)

<div class="topic-metadata">

**Author:** [@nagik](https://discourse.nodered.org/u/nagik)\
**Replies:** 1\
**Last updated:** [22 October 2023 12:27 UTC](https://discourse.nodered.org/t/close-half-open-sockets/82254 "2023-10-22T12:27:15Z")

</div>

Hi, I am fairly new to NodeRed - I would like to know how to implement the following in NodeRed: I am using a TCP Server to receive incoming connections from various devices. Since we are operating over a 'lossy netwo…

---

## [Java version - object programming](https://discourse.nodered.org/t/java-version-object-programming/82251)

<div class="topic-metadata">

**Author:** [@hacesoft](https://discourse.nodered.org/u/hacesoft)\
**Replies:** 1\
**Last updated:** [22 October 2023 10:15 UTC](https://discourse.nodered.org/t/java-version-object-programming/82251 "2023-10-22T10:15:31Z")

</div>

What version is used in NODE-RED, I wrote the object code in the function node and it gives me a bunch of errors... I don't see any errors anywhere...

---

## [Fronius-solar 1.0.4](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699)

<div class="topic-metadata">

**Author:** [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Replies:** 11\
**Last updated:** [21 October 2023 20:22 UTC](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699 "2023-10-21T20:22:40Z")

</div>

Hello I have updated “fronius-solar” to version 1.0.4 and now I receive the following error message: "TypeError: fronius.GetPowerFlowRealtimeData is not a function" Before the update it worked without any problems. Do…

---

## [Electrical water sprayer for plants?](https://discourse.nodered.org/t/electrical-water-sprayer-for-plants/82199)

<div class="topic-metadata">

**Author:** [@bradfield](https://discourse.nodered.org/u/bradfield)\
**Replies:** 3\
**Last updated:** [21 October 2023 19:58 UTC](https://discourse.nodered.org/t/electrical-water-sprayer-for-plants/82199 "2023-10-21T19:58:25Z")

</div>

Hello, I have few plants that I want to regularly spray with water during the winter. Has anyone done this ? I am especially looking for a small electrical water sprayer which is suited for this. Best Regards, Ralf

---

## [How to enter multiple input](https://discourse.nodered.org/t/how-to-enter-multiple-input/82213)

<div class="topic-metadata">

**Author:** [@hacesoft](https://discourse.nodered.org/u/hacesoft)\
**Replies:** 15\
**Last updated:** [21 October 2023 19:48 UTC](https://discourse.nodered.org/t/how-to-enter-multiple-input/82213 "2023-10-21T19:48:21Z")

</div>

Have a nice day, I can't figure out how to calculate the given value from solar chargers. I have the following code: var output1 = msg.payload\[0\]; // Performance from the first tracker var output2 = msg.payload\[1\]; // …

---

## [Node-red login for mobile apps](https://discourse.nodered.org/t/node-red-login-for-mobile-apps/81984)

<div class="topic-metadata">

**Author:** [@halukmy](https://discourse.nodered.org/u/halukmy)\
**Replies:** 11\
**Last updated:** [21 October 2023 19:35 UTC](https://discourse.nodered.org/t/node-red-login-for-mobile-apps/81984 "2023-10-21T19:35:44Z")

</div>

string apiUrl = "http://40.87.141.219:1880/ui/"; // API endpoint using (HttpClient httpClient = new HttpClient()) { string base64Credentials = Convert.ToBase64String(Encoding.ASCII.GetBytes($"{username}:{passwo…

---

## [Trouble making node-red-contrib-iiot-rpi-ads1115 2.0.5 work](https://discourse.nodered.org/t/trouble-making-node-red-contrib-iiot-rpi-ads1115-2-0-5-work/81898)

<div class="topic-metadata">

**Author:** [@HemiJeepster](https://discourse.nodered.org/u/HemiJeepster)\
**Replies:** 8\
**Last updated:** [21 October 2023 18:38 UTC](https://discourse.nodered.org/t/trouble-making-node-red-contrib-iiot-rpi-ads1115-2-0-5-work/81898 "2023-10-21T18:38:50Z")

</div>

Hi, I’m very new to using Node-red and raspberry pi, but have managed to get several sensors working. Having trouble getting this one to work. Maybe my wiring is off. Or the way I have it set up. When I loaded the exam…

---

## [How to format energy data](https://discourse.nodered.org/t/how-to-format-energy-data/82237)

<div class="topic-metadata">

**Author:** [@AleXSR700](https://discourse.nodered.org/u/AleXSR700)\
**Replies:** 29\
**Last updated:** [21 October 2023 18:29 UTC](https://discourse.nodered.org/t/how-to-format-energy-data/82237 "2023-10-21T18:29:12Z")

</div>

I have run into a small issue during my attempt to optimize even more the data that is published. I would like to create a msg property "TimeDelta" with the object parameter (e.g. "ENERGY.Power") and the values of the d…

---

## [Beginner questions on IF expressions and wildcard usage in function node](https://discourse.nodered.org/t/beginner-questions-on-if-expressions-and-wildcard-usage-in-function-node/80999)

<div class="topic-metadata">

**Author:** [@AleXSR700](https://discourse.nodered.org/u/AleXSR700)\
**Replies:** 220\
**Last updated:** [21 October 2023 13:13 UTC](https://discourse.nodered.org/t/beginner-questions-on-if-expressions-and-wildcard-usage-in-function-node/80999 "2023-10-21T13:13:27Z")

</div>

Hello everyone, I am trying to step by step build a small MQTT filter flow. I have my MQTT input all set up and can receive messages and I can "filter" using a function node with e.g. var msg = { payload: msg.payload.…

---

## [Interesting behaviour of empty Blockly node](https://discourse.nodered.org/t/interesting-behaviour-of-empty-blockly-node/82178)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 9\
**Last updated:** [21 October 2023 10:08 UTC](https://discourse.nodered.org/t/interesting-behaviour-of-empty-blockly-node/82178 "2023-10-21T10:08:59Z")

</div>

Just while I'm testing other stuff out - I created the simplest flow with nothing in the Blockly node and just on a whim - pressed the inject - and was surprised that the timestamp went thru Tried the same with empty…

---

## [Good way to handle and combine many msg from a tcp server](https://discourse.nodered.org/t/good-way-to-handle-and-combine-many-msg-from-a-tcp-server/82205)

<div class="topic-metadata">

**Author:** [@JeromeVISUALS](https://discourse.nodered.org/u/JeromeVISUALS)\
**Replies:** 8\
**Last updated:** [20 October 2023 19:55 UTC](https://discourse.nodered.org/t/good-way-to-handle-and-combine-many-msg-from-a-tcp-server/82205 "2023-10-20T19:55:49Z")

</div>

Hi there. I have a flow in which I send many requests to a TCP server, and gets many different messages back from the server, all set properly with a specific msg.topic so I can filter them correctly when they arrive. S…

---

## [Calculate how many hours fireplace burned in a day](https://discourse.nodered.org/t/calculate-how-many-hours-fireplace-burned-in-a-day/81928)

<div class="topic-metadata">

**Author:** [@richiep](https://discourse.nodered.org/u/richiep)\
**Replies:** 16\
**Last updated:** [20 October 2023 19:42 UTC](https://discourse.nodered.org/t/calculate-how-many-hours-fireplace-burned-in-a-day/81928 "2023-10-20T19:42:25Z")

</div>

Hey All, I have a Rocket Mass Heater with a thermocouple sensor. I'm trying to report how many hours per day fire is burning. Something like if the temp rises over 300 drop a timestamp. When the temp drops below 300 …

---

## [I am beginner and my company wants to learn node-red and i don't have anything where and how to start](https://discourse.nodered.org/t/i-am-beginner-and-my-company-wants-to-learn-node-red-and-i-dont-have-anything-where-and-how-to-start/82174)

<div class="topic-metadata">

**Author:** [@rootAvadhut](https://discourse.nodered.org/u/rootAvadhut)\
**Replies:** 5\
**Last updated:** [20 October 2023 19:36 UTC](https://discourse.nodered.org/t/i-am-beginner-and-my-company-wants-to-learn-node-red-and-i-dont-have-anything-where-and-how-to-start/82174 "2023-10-20T19:36:14Z")

</div>

---

## [Node-RED AWS issue](https://discourse.nodered.org/t/node-red-aws-issue/82183)

<div class="topic-metadata">

**Author:** [@steveh92](https://discourse.nodered.org/u/steveh92)\
**Replies:** 19\
**Last updated:** [20 October 2023 13:04 UTC](https://discourse.nodered.org/t/node-red-aws-issue/82183 "2023-10-20T13:04:09Z")

</div>

Installed Node-RED on an Ubuntu AWS instance, setup security groups (allow access to port 1880). Node-RED itself works fine and I can send data over the internet. But if I create a http in node and try open the page I'…

---

## [OCPP Server Url](https://discourse.nodered.org/t/ocpp-server-url/81625)

<div class="topic-metadata">

**Author:** [@ALIEN](https://discourse.nodered.org/u/ALIEN)\
**Replies:** 4\
**Last updated:** [28 September 2023 10:37 UTC](https://discourse.nodered.org/t/ocpp-server-url/81625 "2023-09-28T10:37:27Z")

</div>

Hello everyone, I would like to coonect an EVSE charge point to an OCPP server in the Node Red. This topic is quite new for me and I have no idea how to do. In EVSE side I can configure WiFi: as its evident in the p…

---

## [Dashboard (flowforge) - hierarchical display node?](https://discourse.nodered.org/t/dashboard-flowforge-hierarchical-display-node/82217)

<div class="topic-metadata">

**Author:** [@vtgav](https://discourse.nodered.org/u/vtgav)\
**Replies:** 0\
**Last updated:** [20 October 2023 10:41 UTC](https://discourse.nodered.org/t/dashboard-flowforge-hierarchical-display-node/82217 "2023-10-20T10:41:03Z")

</div>

Greetings node-red lovers, I've been searching for some sort of visual node where I can represent a dynamic hierarchy of things - in my case its for scada system where I want to list the devices connected and then be ab…

---

## [Connect to a TCP Server with special packet order](https://discourse.nodered.org/t/connect-to-a-tcp-server-with-special-packet-order/82162)

<div class="topic-metadata">

**Author:** [@FloRu](https://discourse.nodered.org/u/FloRu)\
**Replies:** 3\
**Last updated:** [20 October 2023 09:58 UTC](https://discourse.nodered.org/t/connect-to-a-tcp-server-with-special-packet-order/82162 "2023-10-20T09:58:53Z")

</div>

Hi everyone! I need to connect my Node-RED Instance to a TCP Server in a special way. The packet is described as follows: Description of the packet 4 first bytes : the magic number 0xDEC0DA6E stored in little endian (…

---

## [My Projects disabled: git command not found](https://discourse.nodered.org/t/my-projects-disabled-git-command-not-found/82185)

<div class="topic-metadata">

**Author:** [@Treekaya](https://discourse.nodered.org/u/Treekaya)\
**Replies:** 9\
**Last updated:** [20 October 2023 09:00 UTC](https://discourse.nodered.org/t/my-projects-disabled-git-command-not-found/82185 "2023-10-20T09:00:21Z")

</div>

Using Debian and installed node-red via snap. I get following output on those commands: which git: /usr/bin/git git --version: git version 2.20.1 Inside /var/snap/node-red/current/settings.js I have the part of the p…

---

## [Looking for help with a variable blink type flow](https://discourse.nodered.org/t/looking-for-help-with-a-variable-blink-type-flow/82175)

<div class="topic-metadata">

**Author:** [@omono35](https://discourse.nodered.org/u/omono35)\
**Replies:** 2\
**Last updated:** [20 October 2023 00:24 UTC](https://discourse.nodered.org/t/looking-for-help-with-a-variable-blink-type-flow/82175 "2023-10-20T00:24:04Z")

</div>

I am having trouble trying to figure out how to even get started with this. What I am trying to do is have a light turn on at an intensity set by a slider. It will stay on for a variable time set by another slider, and…

---

## [Getting next hours electric spot-price from Nordpool via nordpool-api-plus](https://discourse.nodered.org/t/getting-next-hours-electric-spot-price-from-nordpool-via-nordpool-api-plus/82198)

<div class="topic-metadata">

**Author:** [@P-solver](https://discourse.nodered.org/u/P-solver)\
**Replies:** 6\
**Last updated:** [19 October 2023 20:29 UTC](https://discourse.nodered.org/t/getting-next-hours-electric-spot-price-from-nordpool-via-nordpool-api-plus/82198 "2023-10-19T20:29:17Z")

</div>

I need to get hold of the "next hour" electric price from "nordpool-api-plus" node. I've managed to setup the "nordpool-api-plus" node so I get the array of prices for the actual days spot-prices looking as this in the …

---

## [Value from JSON extract](https://discourse.nodered.org/t/value-from-json-extract/82196)

<div class="topic-metadata">

**Author:** [@Herbert](https://discourse.nodered.org/u/Herbert)\
**Replies:** 2\
**Last updated:** [19 October 2023 19:12 UTC](https://discourse.nodered.org/t/value-from-json-extract/82196 "2023-10-19T19:12:45Z")

</div>

Hello, sorry for the question, this topic were similar as exist topics in forum, but they didn´t fit for me. I have different Cron objects with ever 2 values and I need the extract object A as number. Example A with va…

---

## [How to keep json config file for custom node and access in HTML](https://discourse.nodered.org/t/how-to-keep-json-config-file-for-custom-node-and-access-in-html/82078)

<div class="topic-metadata">

**Author:** [@Pioneerj](https://discourse.nodered.org/u/Pioneerj)\
**Replies:** 7\
**Last updated:** [19 October 2023 14:32 UTC](https://discourse.nodered.org/t/how-to-keep-json-config-file-for-custom-node-and-access-in-html/82078 "2023-10-19T14:32:31Z")

</div>

Hello All, I want to have one config file json with key:value pairs for my custom nodes. I want to access config values in my multiple custom node. so want to keep it in one file. node\_config.json: { key1: value1, …

---

## [How to achieve a simple string slice without using function node :)](https://discourse.nodered.org/t/how-to-achieve-a-simple-string-slice-without-using-function-node/82188)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 3\
**Last updated:** [19 October 2023 13:43 UTC](https://discourse.nodered.org/t/how-to-achieve-a-simple-string-slice-without-using-function-node/82188 "2023-10-19T13:43:19Z")

</div>

I'm wanting to convert 1234abcdef into abcdef i.e. remove the 1st n chars in the text where n is variable (but can be set in a config node) I tried playing with node-red-contrib-string but couldn't make it do the job…

---

## [I can't install i2c module in rasberrypi (dietpi)](https://discourse.nodered.org/t/i-cant-install-i2c-module-in-rasberrypi-dietpi/82187)

<div class="topic-metadata">

**Author:** [@Kliurka](https://discourse.nodered.org/u/Kliurka)\
**Replies:** 4\
**Last updated:** [19 October 2023 12:55 UTC](https://discourse.nodered.org/t/i-cant-install-i2c-module-in-rasberrypi-dietpi/82187 "2023-10-19T12:55:52Z")

</div>

can't install i2c module in rasberrypi (dietpi), nodered 3.1.0 error log: ----------------------------------------------------------- 2023-10-19T12:28:29.580Z Install : node-red-contrib-i2c 0.9.0 2023-10-19T12:28:29.5…

---

## [Not sure how to use nuki api node](https://discourse.nodered.org/t/not-sure-how-to-use-nuki-api-node/82181)

<div class="topic-metadata">

**Author:** [@corin.corvus](https://discourse.nodered.org/u/corin.corvus)\
**Replies:** 2\
**Last updated:** [19 October 2023 11:58 UTC](https://discourse.nodered.org/t/not-sure-how-to-use-nuki-api-node/82181 "2023-10-19T11:58:12Z")

</div>

Hi, at the moment i try to create flows with the nuki bridge Nodes. I filled out token, web token, all runned fine. On the Site are only the Variables, but no example, how i can add before. i already tried inject with…

---

## [Define dynamic flow Id](https://discourse.nodered.org/t/define-dynamic-flow-id/82148)

<div class="topic-metadata">

**Author:** [@shershah](https://discourse.nodered.org/u/shershah)\
**Replies:** 0\
**Last updated:** [18 October 2023 08:50 UTC](https://discourse.nodered.org/t/define-dynamic-flow-id/82148 "2023-10-18T08:50:02Z")

</div>

Hi All, I am facing an issue in defining custom flow Id. Only approach I could think of is to define 1 node to define flowId then use it everywhere, which I am not sure if feasible. Please let me know If Nodered provide…

---

## [How to put an big array in to sql, not a possibility that I understand how to do, when there are so many threads with info](https://discourse.nodered.org/t/how-to-put-an-big-array-in-to-sql-not-a-possibility-that-i-understand-how-to-do-when-there-are-so-many-threads-with-info/81905)

<div class="topic-metadata">

**Author:** [@axdig](https://discourse.nodered.org/u/axdig)\
**Replies:** 4\
**Last updated:** [18 October 2023 12:30 UTC](https://discourse.nodered.org/t/how-to-put-an-big-array-in-to-sql-not-a-possibility-that-i-understand-how-to-do-when-there-are-so-many-threads-with-info/81905 "2023-10-18T12:30:57Z")

</div>

This is the array, weather forcast that i want to put into a sql, i have dont have a clue how to do :slight\_smile: The data coms from here GET: https://opendata-download-metfcst.smhi.se/api/category/pmp3g/version/2/geot…

---

## [Multiple TCP servers and correct response](https://discourse.nodered.org/t/multiple-tcp-servers-and-correct-response/82130)

<div class="topic-metadata">

**Author:** [@jttjtt](https://discourse.nodered.org/u/jttjtt)\
**Replies:** 8\
**Last updated:** [18 October 2023 12:12 UTC](https://discourse.nodered.org/t/multiple-tcp-servers-and-correct-response/82130 "2023-10-18T12:12:38Z")

</div>

Hi, i want to use Node Red to configure for example two TCP servers. One will be listening on port 5000, second on port 6000, both running in one flow. I have two aplications on PC - one tries to connect to TCP port 50…

---

## [Delay node behaviour change on reset message](https://discourse.nodered.org/t/delay-node-behaviour-change-on-reset-message/82154)

<div class="topic-metadata">

**Author:** [@borpin](https://discourse.nodered.org/u/borpin)\
**Replies:** 2\
**Last updated:** [18 October 2023 11:17 UTC](https://discourse.nodered.org/t/delay-node-behaviour-change-on-reset-message/82154 "2023-10-18T11:17:43Z")

</div>

I have been using a delay node for a while to rate limit messages. On a specific event, I send a message msg.reset. I have just done an update and now when I send the reset message, that message gets sent. Is this expe…

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

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