# General

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

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

**Page:** 559

---

## [Increment a global variable with a change node](https://discourse.nodered.org/t/increment-a-global-variable-with-a-change-node/44893)

<div class="topic-metadata">

**Author:** [@augjoh](https://discourse.nodered.org/u/augjoh)\
**Replies:** 8\
**Last updated:** [8 May 2021 05:53 UTC](https://discourse.nodered.org/t/increment-a-global-variable-with-a-change-node/44893 "2021-05-08T05:53:39Z")

</div>

Hello, is it possible to replace a function node containing the following code, with a change node? var metric = global.get('metric'); metric++; global.set('metric', metric);

---

## [Storing latest messages by topic for a possible request](https://discourse.nodered.org/t/storing-latest-messages-by-topic-for-a-possible-request/45343)

<div class="topic-metadata">

**Author:** [@vapourlyric](https://discourse.nodered.org/u/vapourlyric)\
**Replies:** 6\
**Last updated:** [8 May 2021 05:43 UTC](https://discourse.nodered.org/t/storing-latest-messages-by-topic-for-a-possible-request/45343 "2021-05-08T05:43:25Z")

</div>

Hi everyone, I was recently searching for a solution to store latest messages by topic (or possibly any other configurable unique key) to be able to request these messages on demand. At first I was pretty confident that…

---

## [Announcement: Atlas-Scientific EZO Device Simple Read over i2c Example](https://discourse.nodered.org/t/announcement-atlas-scientific-ezo-device-simple-read-over-i2c-example/45145)

<div class="topic-metadata">

**Author:** [@SonoraTechnical](https://discourse.nodered.org/u/SonoraTechnical)\
**Replies:** 1\
**Last updated:** [7 May 2021 18:48 UTC](https://discourse.nodered.org/t/announcement-atlas-scientific-ezo-device-simple-read-over-i2c-example/45145 "2021-05-07T18:48:23Z")

</div>

Like many, initially I struggled with getting these devices communicating over i2c on NodeRED. I thought it mighe be helpful to publish an extremely basic flow for reading data, via the i2c inteface, from most of the Atl…

---

## [How to run exec on the background?](https://discourse.nodered.org/t/how-to-run-exec-on-the-background/45231)

<div class="topic-metadata">

**Author:** [@fercasjr](https://discourse.nodered.org/u/fercasjr)\
**Replies:** 17\
**Last updated:** [7 May 2021 16:23 UTC](https://discourse.nodered.org/t/how-to-run-exec-on-the-background/45231 "2021-05-07T16:23:22Z")

</div>

Hi, I made a flow that monitors a device every 30s, executing curl commands to log in and retrieve the information from a web server in another device. (I couldn't do it with an HTTP request because I never could pass th…

---

## [ECONNREFUSED error on starting Node Red](https://discourse.nodered.org/t/econnrefused-error-on-starting-node-red/45339)

<div class="topic-metadata">

**Author:** [@icare88](https://discourse.nodered.org/u/icare88)\
**Replies:** 6\
**Last updated:** [7 May 2021 16:15 UTC](https://discourse.nodered.org/t/econnrefused-error-on-starting-node-red/45339 "2021-05-07T16:15:38Z")

</div>

Hi guys, I was installing a new node when "access to server lost appeared" in the browser. Since then, I couldn't have Node Red work properly, and the following error is showing in the logs: Error: connect ECONNREFUSED …

---

## [Node-RED Virtual device instances](https://discourse.nodered.org/t/node-red-virtual-device-instances/45333)

<div class="topic-metadata">

**Author:** [@tetrived](https://discourse.nodered.org/u/tetrived)\
**Replies:** 2\
**Last updated:** [7 May 2021 15:57 UTC](https://discourse.nodered.org/t/node-red-virtual-device-instances/45333 "2021-05-07T15:57:15Z")

</div>

Hello, We are planning to simulate multiple devices to simulate load on mqtt broker. What would be the best approach ? We have came across " node-red-contrib-iot-virtual-device" node which help to generate multiple vir…

---

## [Using node red in Html](https://discourse.nodered.org/t/using-node-red-in-html/45342)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 5\
**Last updated:** [7 May 2021 15:30 UTC](https://discourse.nodered.org/t/using-node-red-in-html/45342 "2021-05-07T15:30:25Z")

</div>

Could i somehow open node red application in my own html ? Lets say i make a webpage and try to put the application inside some div or something like that

---

## [Inject first message then block](https://discourse.nodered.org/t/inject-first-message-then-block/45322)

<div class="topic-metadata">

**Author:** [@scouike](https://discourse.nodered.org/u/scouike)\
**Replies:** 16\
**Last updated:** [7 May 2021 13:26 UTC](https://discourse.nodered.org/t/inject-first-message-then-block/45322 "2021-05-07T13:26:52Z")

</div>

Hello, I use an inject node to send a message automatically at regular interval. My problem is that I want to let it passe the first message and then block (and unblock with conditions). I have the solution to block an…

---

## [Creating form then logging entry in SQL](https://discourse.nodered.org/t/creating-form-then-logging-entry-in-sql/44727)

<div class="topic-metadata">

**Author:** [@sahsha](https://discourse.nodered.org/u/sahsha)\
**Replies:** 14\
**Last updated:** [7 May 2021 13:11 UTC](https://discourse.nodered.org/t/creating-form-then-logging-entry-in-sql/44727 "2021-05-07T13:11:30Z")

</div>

Hello everyone, I'm trying to create an entry form check below, flow can anyone help on how to establish logging in SQL or is there a better way to do it. Also, my codding skill is equivalent to an infant :baby\_bottle: …

---

## [Buffer to "string"](https://discourse.nodered.org/t/buffer-to-string/45276)

<div class="topic-metadata">

**Author:** [@Archi](https://discourse.nodered.org/u/Archi)\
**Replies:** 6\
**Last updated:** [7 May 2021 13:10 UTC](https://discourse.nodered.org/t/buffer-to-string/45276 "2021-05-07T13:10:45Z")

</div>

Hi, I'm currently working on parsing my payload on node red. So to summarize I have the following payload (which is a buffer): \[70,224,0,0,1,140,0,0,0,0\] And I'm looking for a way / a function to transform it in a stri…

---

## [Connection problem to the broker](https://discourse.nodered.org/t/connection-problem-to-the-broker/45325)

<div class="topic-metadata">

**Author:** [@Yaleaura](https://discourse.nodered.org/u/Yaleaura)\
**Replies:** 0\
**Last updated:** [7 May 2021 09:30 UTC](https://discourse.nodered.org/t/connection-problem-to-the-broker/45325 "2021-05-07T09:30:19Z")

</div>

We have a lorawan system (NW + APPS) deployed with Docker on an EC2 (AWS). We installed node-red on this EC2 instance (in docker) and locally on a machine. We are unable to connect to the brocker from node-red installed …

---

## [Choose the best module for Amazon Echo - Alexa](https://discourse.nodered.org/t/choose-the-best-module-for-amazon-echo-alexa/45015)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 8\
**Last updated:** [7 May 2021 11:50 UTC](https://discourse.nodered.org/t/choose-the-best-module-for-amazon-echo-alexa/45015 "2021-05-07T11:50:55Z")

</div>

Hi mates, since now I've used node-red-contrib-amazon-echo, the author made a good work (thanks to him a lot!) but this module has some limitations and he stopped developing it. It emulates only bulbs, and recently Al…

---

## [NodeRED Docker image with TimeZone options](https://discourse.nodered.org/t/nodered-docker-image-with-timezone-options/44927)

<div class="topic-metadata">

**Author:** [@Diez66](https://discourse.nodered.org/u/Diez66)\
**Replies:** 5\
**Last updated:** [7 May 2021 11:23 UTC](https://discourse.nodered.org/t/nodered-docker-image-with-timezone-options/44927 "2021-05-07T11:23:23Z")

</div>

Hi, I have looked a lot and I have found many "How to" with no success. Small things like when you type in the line, the command is unknown in the Docker image I have. So, I used IOTStack as well as the official! Docker…

---

## [Node-red: Unable to listen on http://127.0.0.1:1880/](https://discourse.nodered.org/t/node-red-unable-to-listen-on-http-127-0-0-1-1880/45312)

<div class="topic-metadata">

**Author:** [@sterinapen](https://discourse.nodered.org/u/sterinapen)\
**Replies:** 10\
**Last updated:** [7 May 2021 07:52 UTC](https://discourse.nodered.org/t/node-red-unable-to-listen-on-http-127-0-0-1-1880/45312 "2021-05-07T07:52:27Z")

</div>

I am Getting following in my logs even though my node red is running. Can anyone help me understand why am I getting "port in use" error. My setup details: I have nginx listening on port 80 and i have proxy pass th…

---

## [Deadband (RBE) reset all topics does not work](https://discourse.nodered.org/t/deadband-rbe-reset-all-topics-does-not-work/45314)

<div class="topic-metadata">

**Author:** [@priyank](https://discourse.nodered.org/u/priyank)\
**Replies:** 3\
**Last updated:** [7 May 2021 07:41 UTC](https://discourse.nodered.org/t/deadband-rbe-reset-all-topics-does-not-work/45314 "2021-05-07T07:41:33Z")

</div>

I send a message with blank topic and reset properties (i.e. msg.topic="" and msg.reset="") Expected behavior: All topics in deadband are reset. i.e it will forget last input/output value for all topics and for the imme…

---

## [Logical operator with three variables](https://discourse.nodered.org/t/logical-operator-with-three-variables/45236)

<div class="topic-metadata">

**Author:** [@steinerma](https://discourse.nodered.org/u/steinerma)\
**Replies:** 2\
**Last updated:** [7 May 2021 05:45 UTC](https://discourse.nodered.org/t/logical-operator-with-three-variables/45236 "2021-05-07T05:45:59Z")

</div>

Hi, somehow I have an error that I can not find. I have three variables. Only when all three variables are "1", the output should be "1". The problem is that after deploy, every first time a variable is "1", the output …

---

## [NodeRed + Database](https://discourse.nodered.org/t/nodered-database/45302)

<div class="topic-metadata">

**Author:** [@WilliamSixta](https://discourse.nodered.org/u/WilliamSixta)\
**Replies:** 1\
**Last updated:** [7 May 2021 01:02 UTC](https://discourse.nodered.org/t/nodered-database/45302 "2021-05-07T01:02:13Z")

</div>

Hello NodeRed community; I am trying to develop an application where I have to send data to a database. I would like to have the database in the cloud due to "security" reasons and run NodeRed in my laptop. I have been …

---

## [Msg.payload: string - multiple outputs?](https://discourse.nodered.org/t/msg-payload-string-multiple-outputs/45293)

<div class="topic-metadata">

**Author:** [@rogg](https://discourse.nodered.org/u/rogg)\
**Replies:** 2\
**Last updated:** [6 May 2021 22:58 UTC](https://discourse.nodered.org/t/msg-payload-string-multiple-outputs/45293 "2021-05-06T22:58:46Z")

</div>

The attached screenshot is intended to show the output of a node \[bigssh node\], where I'm able to ssh to an linux machine and issues OpenStack CLI commands which returns a response in json format; however, at a certain p…

---

## [Motion detected light with overriding by ZigBee wall switch](https://discourse.nodered.org/t/motion-detected-light-with-overriding-by-zigbee-wall-switch/45299)

<div class="topic-metadata">

**Author:** [@Shalak](https://discourse.nodered.org/u/Shalak)\
**Replies:** 0\
**Last updated:** [6 May 2021 21:32 UTC](https://discourse.nodered.org/t/motion-detected-light-with-overriding-by-zigbee-wall-switch/45299 "2021-05-06T21:32:45Z")

</div>

Hi! I'm looking to automate my lights with motion sensor, but it needs to be overridable from the light switch itself (in case I want to spend more time in the room than the motion sensor timer gives). The situation lo…

---

## [PDF to Image with external node.js package](https://discourse.nodered.org/t/pdf-to-image-with-external-node-js-package/45297)

<div class="topic-metadata">

**Author:** [@gdevilliers](https://discourse.nodered.org/u/gdevilliers)\
**Replies:** 9\
**Last updated:** [6 May 2021 21:29 UTC](https://discourse.nodered.org/t/pdf-to-image-with-external-node-js-package/45297 "2021-05-06T21:29:05Z")

</div>

Hi Guys, I am trying to convert a pdf to image using the pdf-image (pdf-image - npm) package. I have installed the dependencies and modified the settings.js file accordingly. No errors during restart. The challenge I hav…

---

## [Type Error Cannot read undefined](https://discourse.nodered.org/t/type-error-cannot-read-undefined/45232)

<div class="topic-metadata">

**Author:** [@TurokenX](https://discourse.nodered.org/u/TurokenX)\
**Replies:** 13\
**Last updated:** [6 May 2021 20:52 UTC](https://discourse.nodered.org/t/type-error-cannot-read-undefined/45232 "2021-05-06T20:52:18Z")

</div>

Been working on this for a bit, started out ensuring I changed the values from my ac/dryer outputs to values that did not share similar names. I am now having an issue with my function which compares the values to engag…

---

## [Failed to install: node-red-node-sqlite](https://discourse.nodered.org/t/failed-to-install-node-red-node-sqlite/45214)

<div class="topic-metadata">

**Author:** [@r-g0](https://discourse.nodered.org/u/r-g0)\
**Replies:** 13\
**Last updated:** [6 May 2021 19:42 UTC](https://discourse.nodered.org/t/failed-to-install-node-red-node-sqlite/45214 "2021-05-06T19:42:10Z")

</div>

I tried to install node-red-node-sqlite 0.6.0, both from node-red’s manage palette, and from cmd by running this command npm i --unsafe-perm node-red-node-sqlite, but the installation is not successful, there are the fol…

---

## [Pausing the flow](https://discourse.nodered.org/t/pausing-the-flow/45281)

<div class="topic-metadata">

**Author:** [@ajocius](https://discourse.nodered.org/u/ajocius)\
**Replies:** 4\
**Last updated:** [6 May 2021 18:01 UTC](https://discourse.nodered.org/t/pausing-the-flow/45281 "2021-05-06T18:01:55Z")

</div>

I am executing flow to open/close door and need to control timing. So for example if I want to open door about 25% of total, that requires about 12 seconds. I can initiate opening of the door, then I need node to wait fo…

---

## [Get strings to new array](https://discourse.nodered.org/t/get-strings-to-new-array/45213)

<div class="topic-metadata">

**Author:** [@MAHRULEZ](https://discourse.nodered.org/u/MAHRULEZ)\
**Replies:** 8\
**Last updated:** [6 May 2021 16:25 UTC](https://discourse.nodered.org/t/get-strings-to-new-array/45213 "2021-05-06T16:25:12Z")

</div>

Hello, i tried to get product names out of an object array in a new array in a function node but i get an error and i do not know how to get it working. Can someone help me? function node: var abgelaufen = {}; var ab…

---

## [Node-Red Test/Automation Engineer Job Posting](https://discourse.nodered.org/t/node-red-test-automation-engineer-job-posting/45279)

<div class="topic-metadata">

**Author:** [@butteronadonut](https://discourse.nodered.org/u/butteronadonut)\
**Replies:** 0\
**Last updated:** [6 May 2021 16:20 UTC](https://discourse.nodered.org/t/node-red-test-automation-engineer-job-posting/45279 "2021-05-06T16:20:14Z")

</div>

Hello fellow Node-Red guru's. Let's work together! I'm currently hiring for a role in which node-red is a valued skill. So if you're looking for work or a change and would be excited to work at Aperia Technologies. We'r…

---

## [Problems with global variable](https://discourse.nodered.org/t/problems-with-global-variable/44752)

<div class="topic-metadata">

**Author:** [@Lousa](https://discourse.nodered.org/u/Lousa)\
**Replies:** 13\
**Last updated:** [6 May 2021 16:01 UTC](https://discourse.nodered.org/t/problems-with-global-variable/44752 "2021-05-06T16:01:10Z")

</div>

Hello! I am making a project that sends information to a file using a form node to get the inputs, wich in this case is some values of voltage. Later, i want to simulate the reception of other values, current values to …

---

## [Stable Node-Red release: best version to install](https://discourse.nodered.org/t/stable-node-red-release-best-version-to-install/45239)

<div class="topic-metadata">

**Author:** [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)\
**Replies:** 2\
**Last updated:** [6 May 2021 15:06 UTC](https://discourse.nodered.org/t/stable-node-red-release-best-version-to-install/45239 "2021-05-06T15:06:44Z")

</div>

Hi, It is logical to assume that the very last maintenance release of a version will be the most stable to install and use, e.g for NR v1, it is NR v1.3.x and NR v2 is NRv2.3.x? Can you select a particular version wit…

---

## [TM1637 Display on NR](https://discourse.nodered.org/t/tm1637-display-on-nr/18889)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 6\
**Last updated:** [6 May 2021 15:02 UTC](https://discourse.nodered.org/t/tm1637-display-on-nr/18889 "2021-05-06T15:02:30Z")

</div>

Anyone did something with the cheap TM1637Display display? I can find arduino libs but nothing working for linux/node red would love to use it without a arduino if possible thanks!

---

## [Attempting to Install Serial Port Node on Windows 10 fails](https://discourse.nodered.org/t/attempting-to-install-serial-port-node-on-windows-10-fails/45271)

<div class="topic-metadata">

**Author:** [@dirkvermaak](https://discourse.nodered.org/u/dirkvermaak)\
**Replies:** 4\
**Last updated:** [6 May 2021 13:43 UTC](https://discourse.nodered.org/t/attempting-to-install-serial-port-node-on-windows-10-fails/45271 "2021-05-06T13:43:16Z")

</div>

Hello, I am attempting to install node-red-node-serialport 0.14.0 on a fully up to date Windows 10 (64-bit) professional PC. I installed Node-Red yesterday and it is running fine. However the serial port installation fa…

---

## [How can I change the color of a button without changing the output?](https://discourse.nodered.org/t/how-can-i-change-the-color-of-a-button-without-changing-the-output/45225)

<div class="topic-metadata">

**Author:** [@tmollow](https://discourse.nodered.org/u/tmollow)\
**Replies:** 3\
**Last updated:** [6 May 2021 13:40 UTC](https://discourse.nodered.org/t/how-can-i-change-the-color-of-a-button-without-changing-the-output/45225 "2021-05-06T13:40:44Z")

</div>

I'm trying to implement a webradio with a Raspberry Pi, node-red and MPC, that can be controlled with a LIRC IR window control. The station selection should indicate the current station in color. I have found an exampl…

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

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