# General

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

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

**Page:** 167

---

## [Ewelink not working all of a sudden](https://discourse.nodered.org/t/ewelink-not-working-all-of-a-sudden/81335)

<div class="topic-metadata">

**Author:** [@Thewaver](https://discourse.nodered.org/u/Thewaver)\
**Replies:** 10\
**Last updated:** [25 October 2023 13:57 UTC](https://discourse.nodered.org/t/ewelink-not-working-all-of-a-sudden/81335 "2023-10-25T13:57:25Z")

</div>

Hi, My ewelink node/s have suddenly stopped working. I can still contolle the device from my android ewelink app but not from Node red anymore. I have checked my ewelink credentials and they are the same. Has anyone els…

---

## [Copying environment variables](https://discourse.nodered.org/t/copying-environment-variables/82255)

<div class="topic-metadata">

**Author:** [@stevegroom](https://discourse.nodered.org/u/stevegroom)\
**Replies:** 4\
**Last updated:** [25 October 2023 12:29 UTC](https://discourse.nodered.org/t/copying-environment-variables/82255 "2023-10-25T12:29:49Z")

</div>

Hello, I started to use environment variables to store config relating to a flow, I then duplicated the flow and changed its environment variables to customise the flow for a different environment. For example, I have …

---

## [Whats the best interval node?](https://discourse.nodered.org/t/whats-the-best-interval-node/82329)

<div class="topic-metadata">

**Author:** [@Josh](https://discourse.nodered.org/u/Josh)\
**Replies:** 13\
**Last updated:** [25 October 2023 12:13 UTC](https://discourse.nodered.org/t/whats-the-best-interval-node/82329 "2023-10-25T12:13:48Z")

</div>

I want a node where it should do the work of cron but should have interval functionality which cron node lacks.

---

## [Maintain sensors and TCP server mapping in Nodered](https://discourse.nodered.org/t/maintain-sensors-and-tcp-server-mapping-in-nodered/82319)

<div class="topic-metadata">

**Author:** [@shershah](https://discourse.nodered.org/u/shershah)\
**Replies:** 6\
**Last updated:** [25 October 2023 11:38 UTC](https://discourse.nodered.org/t/maintain-sensors-and-tcp-server-mapping-in-nodered/82319 "2023-10-25T11:38:54Z")

</div>

Hi All, I have different kind of sensors mapped with different tcp server. Currently I have configured all the tcp server and based on sensorId using switch block, I am communicating with TCP server. How can I make it …

---

## [Define Constant variables](https://discourse.nodered.org/t/define-constant-variables/82180)

<div class="topic-metadata">

**Author:** [@shershah](https://discourse.nodered.org/u/shershah)\
**Replies:** 9\
**Last updated:** [25 October 2023 11:28 UTC](https://discourse.nodered.org/t/define-constant-variables/82180 "2023-10-25T11:28:36Z")

</div>

Hi, How can I define Constant variables which can be used anywhere in flow, and also saves the same in DB using GET FLOW api. Example : To define Topic , constant variables can be defined to make flow dynamic, as decla…

---

## [Set array to global once a day, then get specific array by the hour](https://discourse.nodered.org/t/set-array-to-global-once-a-day-then-get-specific-array-by-the-hour/82261)

<div class="topic-metadata">

**Author:** [@P-solver](https://discourse.nodered.org/u/P-solver)\
**Replies:** 30\
**Last updated:** [25 October 2023 09:10 UTC](https://discourse.nodered.org/t/set-array-to-global-once-a-day-then-get-specific-array-by-the-hour/82261 "2023-10-25T09:10:45Z")

</div>

I'm trying to set an global array that is fetched once a day, and then I want to fetch the global array in another flow and print a specific object from the global array. This is my code right now, but I get the error "…

---

## [Buffer tcp requests](https://discourse.nodered.org/t/buffer-tcp-requests/82316)

<div class="topic-metadata">

**Author:** [@geoffatblacktusk](https://discourse.nodered.org/u/geoffatblacktusk)\
**Replies:** 2\
**Last updated:** [24 October 2023 23:36 UTC](https://discourse.nodered.org/t/buffer-tcp-requests/82316 "2023-10-24T23:36:56Z")

</div>

I have an application where I am listening for messages on tcp request nodes, the messages are delimited by \\n characters and I use this to close the connection and reopen after 100ms, ready for the next message. This h…

---

## [Entering buffer non-decimal values using change node](https://discourse.nodered.org/t/entering-buffer-non-decimal-values-using-change-node/82296)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 3\
**Last updated:** [24 October 2023 21:21 UTC](https://discourse.nodered.org/t/entering-buffer-non-decimal-values-using-change-node/82296 "2023-10-24T21:21:42Z")

</div>

During my MQTT fun project, I'm working with bit patterns so it would be nice to be able to use a change node to do this but it doesn't work (for valid reasons) I can achieve it using a function node but that's al…

---

## [Evitar falsos positivos with sensor](https://discourse.nodered.org/t/evitar-falsos-positivos-with-sensor/82286)

<div class="topic-metadata">

**Author:** [@manuugonz](https://discourse.nodered.org/u/manuugonz)\
**Replies:** 8\
**Last updated:** [24 October 2023 15:58 UTC](https://discourse.nodered.org/t/evitar-falsos-positivos-with-sensor/82286 "2023-10-24T15:58:41Z")

</div>

Hello, I am somewhat new to NODE RED; very very new indeed. I am experimenting to make automations in Home Assistant with ESPHOME. I have a proximity sensor that depending on the distance I want to activate or deactiva…

---

## [Bug in CSV node?](https://discourse.nodered.org/t/bug-in-csv-node/82297)

<div class="topic-metadata">

**Author:** [@jw\_te\_r](https://discourse.nodered.org/u/jw_te_r)\
**Replies:** 7\
**Last updated:** [24 October 2023 14:09 UTC](https://discourse.nodered.org/t/bug-in-csv-node/82297 "2023-10-24T14:09:52Z")

</div>

Hi all, I read several sensors, and put the readings into an SQL file. With one measurement every 10 minutes, I should get some 52000 records per year. I'm trying to output those readings via an SQL query to a CSV file…

---

## [How to contact node developer](https://discourse.nodered.org/t/how-to-contact-node-developer/82299)

<div class="topic-metadata">

**Author:** [@colin0031](https://discourse.nodered.org/u/colin0031)\
**Replies:** 4\
**Last updated:** [24 October 2023 13:31 UTC](https://discourse.nodered.org/t/how-to-contact-node-developer/82299 "2023-10-24T13:31:29Z")

</div>

Hello, If a node has an issue. How can I find the node developer and contact the person. In my case not always a Modbus node works well. Thanks

---

## [What shell does the exec node call?](https://discourse.nodered.org/t/what-shell-does-the-exec-node-call/82298)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 1\
**Last updated:** [24 October 2023 11:35 UTC](https://discourse.nodered.org/t/what-shell-does-the-exec-node-call/82298 "2023-10-24T11:35:29Z")

</div>

On my Raspberry pi, when I call OS commands via the exec mode, they seem to be executed in the Bash shell (which is good since /bin/sh is the slimline Dash shell). Is /bin/bash invoked explicitly or is it just whichever…

---

## [Virtual sensor for Homeassistant - Fuelio - Read from file .csv data](https://discourse.nodered.org/t/virtual-sensor-for-homeassistant-fuelio-read-from-file-csv-data/82274)

<div class="topic-metadata">

**Author:** [@ozmtox](https://discourse.nodered.org/u/ozmtox)\
**Replies:** 3\
**Last updated:** [24 October 2023 07:48 UTC](https://discourse.nodered.org/t/virtual-sensor-for-homeassistant-fuelio-read-from-file-csv-data/82274 "2023-10-24T07:48:47Z")

</div>

Hi. I have a problem with reading data from a .csv file, in short I want to use Nodred to create virtual sensors for Homeassistant from data downloaded from the fuelio.csv file Fuelio is a program - a log of vehicle re…

---

## [Duplicate Environment Variables](https://discourse.nodered.org/t/duplicate-environment-variables/82294)

<div class="topic-metadata">

**Author:** [@RobC](https://discourse.nodered.org/u/RobC)\
**Replies:** 0\
**Last updated:** [24 October 2023 07:08 UTC](https://discourse.nodered.org/t/duplicate-environment-variables/82294 "2023-10-24T07:08:49Z")

</div>

Interesting thing I found recently. NR V3.0.2 You can add duplicate environment variables to a sub flow without complaint. On some projects I have like 20 env vars and added a debug(bool) and couldn't work out why I c…

---

## [Node-red-contrib-broadlink-control](https://discourse.nodered.org/t/node-red-contrib-broadlink-control/82289)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 2\
**Last updated:** [24 October 2023 02:33 UTC](https://discourse.nodered.org/t/node-red-contrib-broadlink-control/82289 "2023-10-24T02:33:31Z")

</div>

I am trying to set up a node to control an aircon using the RM4 Mini. I have loaded the sample nodes and successfully discovered the device on my lan. So, IP, Mac address and typeid are from the discover node and I hav…

---

## [Can I pass a JSON message in a change node to a template node to be spoken?](https://discourse.nodered.org/t/can-i-pass-a-json-message-in-a-change-node-to-a-template-node-to-be-spoken/82266)

<div class="topic-metadata">

**Author:** [@nappyjim](https://discourse.nodered.org/u/nappyjim)\
**Replies:** 4\
**Last updated:** [24 October 2023 01:59 UTC](https://discourse.nodered.org/t/can-i-pass-a-json-message-in-a-change-node-to-a-template-node-to-be-spoken/82266 "2023-10-24T01:59:40Z")

</div>

I've taken out all unncessary parts of the flow, just FYI. I know its currently wrong; but I am looking for how to do it, if possible. In my change node, I would like the message it passes along to be spoken to be dyna…

---

## [Read subflow module info from within flow](https://discourse.nodered.org/t/read-subflow-module-info-from-within-flow/82241)

<div class="topic-metadata">

**Author:** [@psmtvdw](https://discourse.nodered.org/u/psmtvdw)\
**Replies:** 6\
**Last updated:** [23 October 2023 20:12 UTC](https://discourse.nodered.org/t/read-subflow-module-info-from-within-flow/82241 "2023-10-23T20:12:40Z")

</div>

Is it possible to retrieve a subflow's module properties from within a flow? I want to make an overview in a dashboard of the actual versions of the subflows.

---

## [Node-red installed http://localhost:1880/ Cannot GET](https://discourse.nodered.org/t/node-red-installed-http-localhost-1880-cannot-get/81708)

<div class="topic-metadata">

**Author:** [@Open1333](https://discourse.nodered.org/u/Open1333)\
**Replies:** 25\
**Last updated:** [23 October 2023 20:02 UTC](https://discourse.nodered.org/t/node-red-installed-http-localhost-1880-cannot-get/81708 "2023-10-23T20:02:24Z")

</div>

Hi, I just installed node-red on my PC, however when I tried to open in my browser http://localhost:1880/, I got Cannot GET error (see image). Please help.

---

## [Switch node jsonata predicate match](https://discourse.nodered.org/t/switch-node-jsonata-predicate-match/82290)

<div class="topic-metadata">

**Author:** [@stevegroom](https://discourse.nodered.org/u/stevegroom)\
**Replies:** 2\
**Last updated:** [23 October 2023 16:55 UTC](https://discourse.nodered.org/t/switch-node-jsonata-predicate-match/82290 "2023-10-23T16:55:33Z")

</div>

I am trying to get a predicate match in a switch node to look up a device\_ieee and determine the device type - in this case Hue v1 or Hue v2. msg object has been supplemented with roominfo where the device\_ieee can be l…

---

## [Dimmer for rf light](https://discourse.nodered.org/t/dimmer-for-rf-light/82291)

<div class="topic-metadata">

**Author:** [@donbrew](https://discourse.nodered.org/u/donbrew)\
**Replies:** 0\
**Last updated:** [23 October 2023 16:08 UTC](https://discourse.nodered.org/t/dimmer-for-rf-light/82291 "2023-10-23T16:08:31Z")

</div>

I have a litex wall mounted rf remote controlling my ceiling fan. It has 1 button for the light, to dim you hold the button. I have a esp8266 with a cc1101 module attached that controls the fan an turns the light on/of…

---

## [Backing up context data](https://discourse.nodered.org/t/backing-up-context-data/82260)

<div class="topic-metadata">

**Author:** [@Hunter](https://discourse.nodered.org/u/Hunter)\
**Replies:** 14\
**Last updated:** [23 October 2023 16:32 UTC](https://discourse.nodered.org/t/backing-up-context-data/82260 "2023-10-23T16:32:48Z")

</div>

Hi all, About 2 years ago, I posted the same issue; Still, I'm facing the same issue and I'm wondering if there are any new thoughts on this? Let me summarize my issue. My NodeRED feeds a Telegram system with about …

---

## [Issue accessing SSL version of node-red](https://discourse.nodered.org/t/issue-accessing-ssl-version-of-node-red/82220)

<div class="topic-metadata">

**Author:** [@steveh92](https://discourse.nodered.org/u/steveh92)\
**Replies:** 19\
**Last updated:** [23 October 2023 16:29 UTC](https://discourse.nodered.org/t/issue-accessing-ssl-version-of-node-red/82220 "2023-10-23T16:29:34Z")

</div>

SSL is installed and working on port 1880. I can access the editor and its secure. In my AWS Ubuntu server I've enabled ports to be listened by node-red so I can use 80/443. Using the http in custom ports node, setting…

---

## [Sparkfun SX1509 io expander](https://discourse.nodered.org/t/sparkfun-sx1509-io-expander/82288)

<div class="topic-metadata">

**Author:** [@FHI](https://discourse.nodered.org/u/FHI)\
**Replies:** 2\
**Last updated:** [23 October 2023 16:19 UTC](https://discourse.nodered.org/t/sparkfun-sx1509-io-expander/82288 "2023-10-23T16:19:56Z")

</div>

I have search but cant find any node red support for the SX1509 i2c module. I want to use the pwm function to expand my rpi io count and would like a simple node to set each of the pins on the module

---

## [Power Meter - KNX - node red - Modbus - PV Inverter](https://discourse.nodered.org/t/power-meter-knx-node-red-modbus-pv-inverter/82283)

<div class="topic-metadata">

**Author:** [@colalight890](https://discourse.nodered.org/u/colalight890)\
**Replies:** 4\
**Last updated:** [23 October 2023 14:54 UTC](https://discourse.nodered.org/t/power-meter-knx-node-red-modbus-pv-inverter/82283 "2023-10-23T14:54:41Z")

</div>

Halllo all, I am new to the forum and also completely inexperienced with Node red. But I hope to learn quickly. My goal is to provide the electric power values to the inverter - the inverter is the Modbus master - Nod…

---

## [Node red via portainer.io](https://discourse.nodered.org/t/node-red-via-portainer-io/82228)

<div class="topic-metadata">

**Author:** [@sn19](https://discourse.nodered.org/u/sn19)\
**Replies:** 3\
**Last updated:** [23 October 2023 13:00 UTC](https://discourse.nodered.org/t/node-red-via-portainer-io/82228 "2023-10-23T13:00:27Z")

</div>

Hello. I am trying install and run NODE RED via portainer.io. I have a PLC and the web interface for this PLC has portainer.io pre-installed in it. I would like to request for some help on how I can install NODE-RED via p…

---

## [Set a timestamp when something happens](https://discourse.nodered.org/t/set-a-timestamp-when-something-happens/82276)

<div class="topic-metadata">

**Author:** [@crashoverhead](https://discourse.nodered.org/u/crashoverhead)\
**Replies:** 4\
**Last updated:** [23 October 2023 12:26 UTC](https://discourse.nodered.org/t/set-a-timestamp-when-something-happens/82276 "2023-10-23T12:26:00Z")

</div>

Hello everyone, I'm going crazy trying to find a simple solution to set a timestamp in my flow. In practice I have a flow with inject every second and at the rising edge , from OFF to ON of a boolean, I would like to s…

---

## [HTTP Request ENETUNREACH with IPv6](https://discourse.nodered.org/t/http-request-enetunreach-with-ipv6/82186)

<div class="topic-metadata">

**Author:** [@fabio.amorim](https://discourse.nodered.org/u/fabio.amorim)\
**Replies:** 15\
**Last updated:** [23 October 2023 11:32 UTC](https://discourse.nodered.org/t/http-request-enetunreach-with-ipv6/82186 "2023-10-23T11:32:57Z")

</div>

I am going through the following situation: I am using a 4G chip that provides only IPv6, and because of this, I am unable to make any HTTP requests in Node-RED. It always returns ENETUNREACH. In the case of an IPv4 conn…

---

## [Node-RED compromise hack](https://discourse.nodered.org/t/node-red-compromise-hack/82257)

<div class="topic-metadata">

**Author:** [@meccip](https://discourse.nodered.org/u/meccip)\
**Replies:** 19\
**Last updated:** [23 October 2023 07:26 UTC](https://discourse.nodered.org/t/node-red-compromise-hack/82257 "2023-10-23T07:26:50Z")

</div>

Hello, I have this exec function appear on my flow. I delete it two times and keep appearing. Can someone help with this problem ? Thank you.

---

## [Node Red Dashboard border border line](https://discourse.nodered.org/t/node-red-dashboard-border-border-line/82211)

<div class="topic-metadata">

**Author:** [@Tomi](https://discourse.nodered.org/u/Tomi)\
**Replies:** 2\
**Last updated:** [22 October 2023 23:42 UTC](https://discourse.nodered.org/t/node-red-dashboard-border-border-line/82211 "2023-10-22T23:42:58Z")

</div>

hello I want to add a border inside the Nord Red dashboard, is there any way? I want to make it look like a picture flows.json (394.5 KB)

---

## [Can I use JSONata to access elements of a msg.payload when it's a buffer of byte?](https://discourse.nodered.org/t/can-i-use-jsonata-to-access-elements-of-a-msg-payload-when-its-a-buffer-of-byte/82250)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 15\
**Last updated:** [22 October 2023 17:02 UTC](https://discourse.nodered.org/t/can-i-use-jsonata-to-access-elements-of-a-msg-payload-when-its-a-buffer-of-byte/82250 "2023-10-22T17:02:43Z")

</div>

Google is getting me nowhere :frowning:

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

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