# General

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

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

**Page:** 926

---

## [Zwave dimmer brightness](https://discourse.nodered.org/t/zwave-dimmer-brightness/6247)

<div class="topic-metadata">

**Author:** [@TurboTronix](https://discourse.nodered.org/u/TurboTronix)\
**Replies:** 1\
**Last updated:** [31 December 2018 07:29 UTC](https://discourse.nodered.org/t/zwave-dimmer-brightness/6247 "2018-12-31T07:29:39Z")

</div>

I was able to turn my zwave dimmer on and off but I can't figure out how to dim the lights. Is there a simple sample that shows how to do so?

---

## [Stock pattern screener](https://discourse.nodered.org/t/stock-pattern-screener/6240)

<div class="topic-metadata">

**Author:** [@Napadude](https://discourse.nodered.org/u/Napadude)\
**Replies:** 3\
**Last updated:** [31 December 2018 01:30 UTC](https://discourse.nodered.org/t/stock-pattern-screener/6240 "2018-12-31T01:30:54Z")

</div>

Is there anyway to be able to find certain stock chart patters? I would like to be able to scan all stocks to find a specific pattern or say volume spikes ect. Not sure if it’s possible or not. Thanks !!!

---

## [Node-RED RPi Automated Backup to Email](https://discourse.nodered.org/t/node-red-rpi-automated-backup-to-email/6231)

<div class="topic-metadata">

**Author:** [@Leroxy](https://discourse.nodered.org/u/Leroxy)\
**Replies:** 9\
**Last updated:** [30 December 2018 21:25 UTC](https://discourse.nodered.org/t/node-red-rpi-automated-backup-to-email/6231 "2018-12-30T21:25:27Z")

</div>

Hi all, This would be my first post on the forum and I am trying to gather my knowledge by taking bits and pieces of the forum and internet. After installing Node-RED (The Script by Peter Scargill) on a Raspberry Pi an…

---

## [Stop flow after final node executes set number of times](https://discourse.nodered.org/t/stop-flow-after-final-node-executes-set-number-of-times/6238)

<div class="topic-metadata">

**Author:** [@bgbaker](https://discourse.nodered.org/u/bgbaker)\
**Replies:** 1\
**Last updated:** [30 December 2018 20:30 UTC](https://discourse.nodered.org/t/stop-flow-after-final-node-executes-set-number-of-times/6238 "2018-12-30T20:30:34Z")

</div>

Hi everyone. Very new to Node-Red and I am mainly using it for home automation with HA. I have created a flow that checks connectivity using advanced ping and after 3 failures it needs to execute a python script whic…

---

## [Logic in circuits when using GPIO](https://discourse.nodered.org/t/logic-in-circuits-when-using-gpio/6184)

<div class="topic-metadata">

**Author:** [@debouttek](https://discourse.nodered.org/u/debouttek)\
**Replies:** 2\
**Last updated:** [30 December 2018 17:19 UTC](https://discourse.nodered.org/t/logic-in-circuits-when-using-gpio/6184 "2018-12-30T17:19:06Z")

</div>

Hi A question from a noob. In Node-Red I have 3 circuits for controlling a pump. Position 1, 2, 3 and stop. I do this via a relay card with 8 relays that are controlled by push buttons in the dashboard and connected via…

---

## [Node-Red Install RPI issues](https://discourse.nodered.org/t/node-red-install-rpi-issues/6120)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 23\
**Last updated:** [30 December 2018 12:52 UTC](https://discourse.nodered.org/t/node-red-install-rpi-issues/6120 "2018-12-30T12:52:45Z")

</div>

Ok, I give up.. I've had people saying there's a problem with "the script" and Node-Red. Turns out NPN 8 can be an issue (my working clones use npm 6.41) - so I used "the script" myself and sure enough... I even manuall…

---

## [Can't instal SQLite on node-red](https://discourse.nodered.org/t/cant-instal-sqlite-on-node-red/5966)

<div class="topic-metadata">

**Author:** [@PicoPi](https://discourse.nodered.org/u/PicoPi)\
**Replies:** 8\
**Last updated:** [30 December 2018 04:32 UTC](https://discourse.nodered.org/t/cant-instal-sqlite-on-node-red/5966 "2018-12-30T04:32:01Z")

</div>

My Node-red is working fine on my RPI2, but I can't install SQLite! Here is what I do and what I get. pi@RPI2:~/.node-red $ sudo npm install node-red-node-sqlite npm WARN node-red-project@0.0.1 No repository field. n…

---

## [How to concat a buffer](https://discourse.nodered.org/t/how-to-concat-a-buffer/5516)

<div class="topic-metadata">

**Author:** [@aargollo](https://discourse.nodered.org/u/aargollo)\
**Replies:** 20\
**Last updated:** [29 December 2018 17:53 UTC](https://discourse.nodered.org/t/how-to-concat-a-buffer/5516 "2018-12-29T17:53:58Z")

</div>

Hi Guys, I would like to concat a buffer but i got the follow error: I injecting in the function the follow buffer: \["0x01","0x80","0x49","0x02","0x10","0x02","0x13","0xbc","0x22","0x02","0x10","0x54","0x03"\] Blockqu…

---

## [Receive data from web](https://discourse.nodered.org/t/receive-data-from-web/6217)

<div class="topic-metadata">

**Author:** [@tobiasselin](https://discourse.nodered.org/u/tobiasselin)\
**Replies:** 4\
**Last updated:** [29 December 2018 14:22 UTC](https://discourse.nodered.org/t/receive-data-from-web/6217 "2018-12-29T14:22:37Z")

</div>

I would like to set up a Node Red flow as a server to receive data from an app called Overland GPS. In the app you put a url with authentication etc to which the data is sent. My Node Red instance is externally reachable…

---

## [Tips for managing node ports with docker](https://discourse.nodered.org/t/tips-for-managing-node-ports-with-docker/6204)

<div class="topic-metadata">

**Author:** [@dougcooper](https://discourse.nodered.org/u/dougcooper)\
**Replies:** 4\
**Last updated:** [29 December 2018 02:28 UTC](https://discourse.nodered.org/t/tips-for-managing-node-ports-with-docker/6204 "2018-12-29T02:28:34Z")

</div>

I've been using nodered directly on ubuntu but recently decided to migrate my services to docker. I just realized that with nodered in a docker container I'm losing flexibility in node management if a new node brings in …

---

## [Help with send MQTT with a short lived JWT](https://discourse.nodered.org/t/help-with-send-mqtt-with-a-short-lived-jwt/6211)

<div class="topic-metadata">

**Author:** [@riplatt](https://discourse.nodered.org/u/riplatt)\
**Replies:** 2\
**Last updated:** [29 December 2018 02:02 UTC](https://discourse.nodered.org/t/help-with-send-mqtt-with-a-short-lived-jwt/6211 "2018-12-29T02:02:43Z")

</div>

Hi, I'm try to write a flow that send MQTT data using a short lived JWT? The problem I running into is that the standard MQTT connection node has a static user and password and I need to change it every-time the JWT ex…

---

## [Node module update issue](https://discourse.nodered.org/t/node-module-update-issue/2799)

<div class="topic-metadata">

**Author:** [@waqaslam](https://discourse.nodered.org/u/waqaslam)\
**Replies:** 42\
**Last updated:** [28 December 2018 21:23 UTC](https://discourse.nodered.org/t/node-module-update-issue/2799 "2018-12-28T21:23:16Z")

</div>

Hi I'm trying to update node-red-node-email from Node-red's manage pallete section, but it throws error that the module is not installed locally. So after reading forums I found out that I need to see where my module i…

---

## [Error: bind EADDRNOTAVAIL 192.168.48.99:50086](https://discourse.nodered.org/t/error-bind-eaddrnotavail-192-168-48-99-50086/6138)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 2\
**Last updated:** [28 December 2018 21:03 UTC](https://discourse.nodered.org/t/error-bind-eaddrnotavail-192-168-48-99-50086/6138 "2018-12-28T21:03:04Z")

</div>

Very odd, I just noticed that my Node-RED crashed after running since the 22nd (see attached log) I wasn't even using NR at the time. The last time I did a deploy was about 27 hours before this happened. 192.168.48.99 i…

---

## [Execute Node-RED from HTML link?](https://discourse.nodered.org/t/execute-node-red-from-html-link/6208)

<div class="topic-metadata">

**Author:** [@OctavioMasomenos](https://discourse.nodered.org/u/OctavioMasomenos)\
**Replies:** 2\
**Last updated:** [28 December 2018 20:34 UTC](https://discourse.nodered.org/t/execute-node-red-from-html-link/6208 "2018-12-28T20:34:10Z")

</div>

Can a Node-RED command/sequence/flow (as it would be seen on the Dashboard) be executed from an HTML link? If so, where do you get the URL to create the link?

---

## [Where is the palette manager?](https://discourse.nodered.org/t/where-is-the-palette-manager/6172)

<div class="topic-metadata">

**Author:** [@jjrivasescola](https://discourse.nodered.org/u/jjrivasescola)\
**Replies:** 6\
**Last updated:** [28 December 2018 11:56 UTC](https://discourse.nodered.org/t/where-is-the-palette-manager/6172 "2018-12-28T11:56:05Z")

</div>

Hello, I´m new at the forum, I'm starting with Node red and I,ve seen there are ways to install nodes. That is going to settings then click on palette but on my window it doesn't appear the option palette (see picture …

---

## [Get notified when I don t receive mqtt messages anymore](https://discourse.nodered.org/t/get-notified-when-i-don-t-receive-mqtt-messages-anymore/6165)

<div class="topic-metadata">

**Author:** [@lucianv](https://discourse.nodered.org/u/lucianv)\
**Replies:** 2\
**Last updated:** [27 December 2018 22:48 UTC](https://discourse.nodered.org/t/get-notified-when-i-don-t-receive-mqtt-messages-anymore/6165 "2018-12-27T22:48:19Z")

</div>

Hi, I am working on a flow where I am connected to a mqtt topic and receive values of a sensor. Everything works fine but if sensor stop sending new values, then nodered display last value received forever. I want to do…

---

## [\[Solved\] JSONata - summarise by group (like GROUP BY) & pass through other key pairs](https://discourse.nodered.org/t/solved-jsonata-summarise-by-group-like-group-by-pass-through-other-key-pairs/6162)

<div class="topic-metadata">

**Author:** [@IoTPlay](https://discourse.nodered.org/u/IoTPlay)\
**Replies:** 2\
**Last updated:** [27 December 2018 21:59 UTC](https://discourse.nodered.org/t/solved-jsonata-summarise-by-group-like-group-by-pass-through-other-key-pairs/6162 "2018-12-27T21:59:52Z")

</div>

I want to summarise data of a key pair, for grouping based on TWO other json key pairs. And, I want to pass through variables for use further down in the flow. This is the json array & objects I receive in msg.payload: …

---

## [(Solved) JSONata - variable to determine correct entry of an Array](https://discourse.nodered.org/t/solved-jsonata-variable-to-determine-correct-entry-of-an-array/6000)

<div class="topic-metadata">

**Author:** [@IoTPlay](https://discourse.nodered.org/u/IoTPlay)\
**Replies:** 2\
**Last updated:** [27 December 2018 20:35 UTC](https://discourse.nodered.org/t/solved-jsonata-variable-to-determine-correct-entry-of-an-array/6000 "2018-12-27T20:35:14Z")

</div>

Hi, I have an array of objects, with an array ValTypeCat in ea. object, as follows: \[{"thing\_id":"a1", "val":0, "ValTypeCat":\[Off, On\]}, {"thing\_id":"a2", "val":1, "ValTypeCat":\[Off, On\]}\] Then, with a Change node, I …

---

## [Access msg.payload in node properties](https://discourse.nodered.org/t/access-msg-payload-in-node-properties/6173)

<div class="topic-metadata">

**Author:** [@Ansvas](https://discourse.nodered.org/u/Ansvas)\
**Replies:** 3\
**Last updated:** [27 December 2018 18:24 UTC](https://discourse.nodered.org/t/access-msg-payload-in-node-properties/6173 "2018-12-27T18:24:45Z")

</div>

Hello, I am new to node-red. so i don't know i am asking the right question or not. I have a function node which returns msg.payload(contain location of my sqlite db). Now i want to access this msg.payload object in sql…

---

## [Function node: 'use strict'](https://discourse.nodered.org/t/function-node-use-strict/6152)

<div class="topic-metadata">

**Author:** [@Sineos](https://discourse.nodered.org/u/Sineos)\
**Replies:** 4\
**Last updated:** [27 December 2018 15:55 UTC](https://discourse.nodered.org/t/function-node-use-strict/6152 "2018-12-27T15:55:29Z")

</div>

Does it make sense / is it recommended to put a use strict on top of a function node? When doing so, I get a lot of warnings because of not defined variables like msg, flow etc.

---

## [How can I get feedback from MQTT](https://discourse.nodered.org/t/how-can-i-get-feedback-from-mqtt/6130)

<div class="topic-metadata">

**Author:** [@onire77](https://discourse.nodered.org/u/onire77)\
**Replies:** 8\
**Last updated:** [27 December 2018 14:15 UTC](https://discourse.nodered.org/t/how-can-i-get-feedback-from-mqtt/6130 "2018-12-27T14:15:51Z")

</div>

Hi, I'm creating my first project. I want to control the start of my boiler. The system is very simple, an ESP32 reads the temperature and sends it once a minute to mosquito on a raspberry, node-red reads the temperatur…

---

## [How can I make faster sqlite db](https://discourse.nodered.org/t/how-can-i-make-faster-sqlite-db/6159)

<div class="topic-metadata">

**Author:** [@wtrk](https://discourse.nodered.org/u/wtrk)\
**Replies:** 10\
**Last updated:** [27 December 2018 14:10 UTC](https://discourse.nodered.org/t/how-can-i-make-faster-sqlite-db/6159 "2018-12-27T14:10:09Z")

</div>

Hey guys. We done our project and using sqlite db. But it is very slow to getting data from DB. just 17mb data takes more than 2 minutes. Is that normal or any configuration for sqlite to be faster ? Thanks for oyour ad…

---

## [Node-Red and DAC](https://discourse.nodered.org/t/node-red-and-dac/6146)

<div class="topic-metadata">

**Author:** [@MurrayR](https://discourse.nodered.org/u/MurrayR)\
**Replies:** 2\
**Last updated:** [27 December 2018 09:13 UTC](https://discourse.nodered.org/t/node-red-and-dac/6146 "2018-12-27T09:13:03Z")

</div>

I would like to control my water heater element with a power controller. The controller requires 0-5V DC to control the element output. I was hoping to use a Click analog output module (ADAC Click) atop my raspberry Pi …

---

## [How to do a simple sum of two msgs which are arrays](https://discourse.nodered.org/t/how-to-do-a-simple-sum-of-two-msgs-which-are-arrays/5675)

<div class="topic-metadata">

**Author:** [@elchmo](https://discourse.nodered.org/u/elchmo)\
**Replies:** 7\
**Last updated:** [27 December 2018 02:52 UTC](https://discourse.nodered.org/t/how-to-do-a-simple-sum-of-two-msgs-which-are-arrays/5675 "2018-12-27T02:52:40Z")

</div>

Hello, I'm still stuck with this topic where I want to sum up two arrays from different msgs. I want to create a new array in the debug mode from those 2 msgs: array a + array b = array c; \[1, 2, 3, 4\] + \[4, 3, 2, …

---

## [Should I be worried? (Message noticed while editing a flow)](https://discourse.nodered.org/t/should-i-be-worried-message-noticed-while-editing-a-flow/6119)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 10\
**Last updated:** [26 December 2018 19:08 UTC](https://discourse.nodered.org/t/should-i-be-worried-message-noticed-while-editing-a-flow/6119 "2018-12-26T19:08:15Z")

</div>

Sorry folks, but this has me a bit stumped. Your flow credentials file is encrypted using a system-generated key. If the system-generated key is lost for any reason, your credentials file will not be recoverable, you w…

---

## [Cannot subscribe to mqtt topics on api.emitter.io server](https://discourse.nodered.org/t/cannot-subscribe-to-mqtt-topics-on-api-emitter-io-server/6117)

<div class="topic-metadata">

**Author:** [@ejcmiddl](https://discourse.nodered.org/u/ejcmiddl)\
**Replies:** 11\
**Last updated:** [26 December 2018 16:40 UTC](https://discourse.nodered.org/t/cannot-subscribe-to-mqtt-topics-on-api-emitter-io-server/6117 "2018-12-26T16:40:23Z")

</div>

I have created a simple flow which contains two sequences. One to send text to a specific mqtt topic on the mqtt://api.emitter.io:8080 server. Another which subscribes to this topic in a more generic way using the syntax…

---

## [Audio buffer to chart/graph](https://discourse.nodered.org/t/audio-buffer-to-chart-graph/6137)

<div class="topic-metadata">

**Author:** [@audacity](https://discourse.nodered.org/u/audacity)\
**Replies:** 4\
**Last updated:** [26 December 2018 13:22 UTC](https://discourse.nodered.org/t/audio-buffer-to-chart-graph/6137 "2018-12-26T13:22:27Z")

</div>

I'm new to using node-red and I've been working on an audio monitoring using nodemcu, mqtt and node-red and have been wondering if its possible to graph the audio (think spectogram) using the buffer that I receive from t…

---

## [Context retention not seeming to work](https://discourse.nodered.org/t/context-retention-not-seeming-to-work/6132)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 6\
**Last updated:** [26 December 2018 11:02 UTC](https://discourse.nodered.org/t/context-retention-not-seeming-to-work/6132 "2018-12-26T11:02:48Z")

</div>

(Give me a gun and let me end this stupidity!) I don't really get what is going on here. I've got used to the code: (example) var j = context.get('name') || 0; Assign j the value of the context 'name', and if there i…

---

## [Uninstall HA Modules](https://discourse.nodered.org/t/uninstall-ha-modules/6126)

<div class="topic-metadata">

**Author:** [@sarogersz](https://discourse.nodered.org/u/sarogersz)\
**Replies:** 1\
**Last updated:** [26 December 2018 09:54 UTC](https://discourse.nodered.org/t/uninstall-ha-modules/6126 "2018-12-26T09:54:40Z")

</div>

I have some errors that are occurring (seemingly) from HA Integration: "Change HA Variable" node is outputting "Invalid access token or password". In context of trying to deal with this I decided I don't need HA module…

---

## [Send data to Weather Underground](https://discourse.nodered.org/t/send-data-to-weather-underground/539)

<div class="topic-metadata">

**Author:** [@mr-varga](https://discourse.nodered.org/u/mr-varga)\
**Replies:** 8\
**Last updated:** [26 December 2018 10:01 UTC](https://discourse.nodered.org/t/send-data-to-weather-underground/539 "2018-12-26T10:01:40Z")

</div>

Dear all, i have a weather station and this send the data over mqtt to my HomeAssistant server who store this in InfluxDB. I catch this data in Node-Red and with functions I create a global variable with all this data. …

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

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