# General

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

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

**Page:** 939

---

## [Problem updating email node](https://discourse.nodered.org/t/problem-updating-email-node/4487)

<div class="topic-metadata">

**Author:** [@whatsupskip](https://discourse.nodered.org/u/whatsupskip)\
**Replies:** 4\
**Last updated:** [1 November 2018 22:38 UTC](https://discourse.nodered.org/t/problem-updating-email-node/4487 "2018-11-01T22:38:35Z")

</div>

I am running Node Red on a Raspberry Pi. I have read many similar scripts, but can't seem to resolve this problem using their solutions. I ran the upgrade script: bash \<(curl -sL https://raw.githubusercontent.com/nod…

---

## [Port connection and receiving a message](https://discourse.nodered.org/t/port-connection-and-receiving-a-message/4447)

<div class="topic-metadata">

**Author:** [@Gina](https://discourse.nodered.org/u/Gina)\
**Replies:** 2\
**Last updated:** [1 November 2018 22:02 UTC](https://discourse.nodered.org/t/port-connection-and-receiving-a-message/4447 "2018-11-01T22:02:01Z")

</div>

Hi, I am new to Node-red so it'll be great if someone can advice on this. I am connected to a device and i need to display the message on the sidebar after establishing a connection to the port of the device. A simple…

---

## [Interfacing Caller-ID to Node-RED](https://discourse.nodered.org/t/interfacing-caller-id-to-node-red/4441)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 4\
**Last updated:** [1 November 2018 21:58 UTC](https://discourse.nodered.org/t/interfacing-caller-id-to-node-red/4441 "2018-11-01T21:58:12Z")

</div>

A general question to see if anyone has tried to interface Caller-ID to Node-RED ??? My ISP/Telephone provider here in the UK has just rolled-out free caller-ID, so I thought I'd investigate if the information can be ca…

---

## [Upgrade Node-Red - sqldbs install error](https://discourse.nodered.org/t/upgrade-node-red-sqldbs-install-error/4481)

<div class="topic-metadata">

**Author:** [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Replies:** 8\
**Last updated:** [1 November 2018 16:59 UTC](https://discourse.nodered.org/t/upgrade-node-red-sqldbs-install-error/4481 "2018-11-01T16:59:26Z")

</div>

I just upgraded Node-Red and was able to install all the previously installed Node packages except node-red-contrib-sqldbs. The log file is attached. 2018-11-01T15\_32\_44\_994Z-debug.log.txt (272.4 KB)

---

## [ON and OFF delay timer](https://discourse.nodered.org/t/on-and-off-delay-timer/4405)

<div class="topic-metadata">

**Author:** [@cpyandy](https://discourse.nodered.org/u/cpyandy)\
**Replies:** 3\
**Last updated:** [1 November 2018 13:07 UTC](https://discourse.nodered.org/t/on-and-off-delay-timer/4405 "2018-11-01T13:07:10Z")

</div>

Hey folks, I am building an alarm system logic with dashboard ui, I am looking for ON delay function which I can delay the alarm set for 1 minutes and no delay when alarm system been switched off manually on dashboard. A…

---

## [Crypto Miner Abuse/Malware](https://discourse.nodered.org/t/crypto-miner-abuse-malware/3397)

<div class="topic-metadata">

**Author:** [@stupifier](https://discourse.nodered.org/u/stupifier)\
**Replies:** 20\
**Last updated:** [30 September 2018 12:48 UTC](https://discourse.nodered.org/t/crypto-miner-abuse-malware/3397 "2018-09-30T12:48:34Z")

</div>

Just thought I'd share a little experience I had yesterday regarding a Crypto Miner I discovered inside my Node-Red. I have Node-Red in a Docker Container and noticed my server CPU usage spiked to nearly 100% full-time. …

---

## [AND gate inputs](https://discourse.nodered.org/t/and-gate-inputs/4197)

<div class="topic-metadata">

**Author:** [@mustafa](https://discourse.nodered.org/u/mustafa)\
**Replies:** 29\
**Last updated:** [31 October 2018 21:52 UTC](https://discourse.nodered.org/t/and-gate-inputs/4197 "2018-10-31T21:52:54Z")

</div>

Hi I have this flow below and i want to put AND gate so when the output of the function (Calculate Percentage) decreased to 10 the AND gate gives output so I can run on of GPIOs of the raspberry pi. I put the AND gate …

---

## [\[SOLVED\]The dreaded "query not defined as a string" mysql](https://discourse.nodered.org/t/solved-the-dreaded-query-not-defined-as-a-string-mysql/4432)

<div class="topic-metadata">

**Author:** [@lamachine](https://discourse.nodered.org/u/lamachine)\
**Replies:** 5\
**Last updated:** [31 October 2018 16:23 UTC](https://discourse.nodered.org/t/solved-the-dreaded-query-not-defined-as-a-string-mysql/4432 "2018-10-31T16:23:54Z")

</div>

I am fighting to insert into MySQL. I tried format node without success, and have worked my way to a function node. Just for perspective, I have several hours of Node-Red experience and followed MySQL example to chart …

---

## [Array, I just do not get it right](https://discourse.nodered.org/t/array-i-just-do-not-get-it-right/4424)

<div class="topic-metadata">

**Author:** [@Aviation](https://discourse.nodered.org/u/Aviation)\
**Replies:** 9\
**Last updated:** [31 October 2018 12:07 UTC](https://discourse.nodered.org/t/array-i-just-do-not-get-it-right/4424 "2018-10-31T12:07:35Z")

</div>

Dear all, it looks like I have a misunderstanding with arrays, where I just not come across. I have the following code in a function node: var localStations = flow.get("dataStations"); localStations = ( typeof localSt…

---

## [Calling a command line Node.js file](https://discourse.nodered.org/t/calling-a-command-line-node-js-file/4437)

<div class="topic-metadata">

**Author:** [@jewendt](https://discourse.nodered.org/u/jewendt)\
**Replies:** 1\
**Last updated:** [31 October 2018 07:11 UTC](https://discourse.nodered.org/t/calling-a-command-line-node-js-file/4437 "2018-10-31T07:11:23Z")

</div>

I found some example Node.js applications that I would like to use within node red. I was successful at using the Exec node and called it via the a command like this "node "c:\\testjs\\test.js"" I keep thinking that the…

---

## [Web-push for local use?](https://discourse.nodered.org/t/web-push-for-local-use/2940)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 23\
**Last updated:** [31 October 2018 04:38 UTC](https://discourse.nodered.org/t/web-push-for-local-use/2940 "2018-10-31T04:38:21Z")

</div>

I am trying to get a system so if something happens, I get a notification. So web-push node looks possible. But I am not sure if there is a better node to do that. I don't know if there is another way, so I guess I am…

---

## [Send data to Mariadb using NodeRed ("Error: ER\_EMPTY\_QUERY: Query was empty")](https://discourse.nodered.org/t/send-data-to-mariadb-using-nodered-error-er-empty-query-query-was-empty/4356)

<div class="topic-metadata">

**Author:** [@tramanah](https://discourse.nodered.org/u/tramanah)\
**Replies:** 5\
**Last updated:** [31 October 2018 01:44 UTC](https://discourse.nodered.org/t/send-data-to-mariadb-using-nodered-error-er-empty-query-query-was-empty/4356 "2018-10-31T01:44:41Z")

</div>

Hi, i am sending data to Mariadb and its works fine using Node RED. Its pop up error in idea situation where no data been send. While the code end in else conditions the error message pop up. May I know how to over this…

---

## [Red-node Crashs](https://discourse.nodered.org/t/red-node-crashs/4387)

<div class="topic-metadata">

**Author:** [@pcpaulo](https://discourse.nodered.org/u/pcpaulo)\
**Replies:** 16\
**Last updated:** [30 October 2018 21:38 UTC](https://discourse.nodered.org/t/red-node-crashs/4387 "2018-10-30T21:38:26Z")

</div>

My Node Red crashed during this week end, and i am getting this error message: Error loading settings file: /home/pi/.node-red/settings.js ReferenceError: document is not defined at Object. (/home/pi/.node-red/setting…

---

## [Light sequence with HueMagic](https://discourse.nodered.org/t/light-sequence-with-huemagic/4318)

<div class="topic-metadata">

**Author:** [@Ben](https://discourse.nodered.org/u/Ben)\
**Replies:** 4\
**Last updated:** [30 October 2018 20:02 UTC](https://discourse.nodered.org/t/light-sequence-with-huemagic/4318 "2018-10-30T20:02:04Z")

</div>

Hi, im pretty new to Node-red, but my goal is to make a light sequence with Philips hue. The flow works fine untill delay nr 2. Both 10s delays activates almost at the same time, which messes up the sequence. Is there a…

---

## [Raspberry PI3 Nodered launch error](https://discourse.nodered.org/t/raspberry-pi3-nodered-launch-error/4393)

<div class="topic-metadata">

**Author:** [@wtrk](https://discourse.nodered.org/u/wtrk)\
**Replies:** 15\
**Last updated:** [30 October 2018 19:03 UTC](https://discourse.nodered.org/t/raspberry-pi3-nodered-launch-error/4393 "2018-10-30T19:03:51Z")

</div>

I have problem with my node-red in RPI3. Why always gives an error, The error log is 29 Oct 21:38:57 - \[info\] Starting flows TypeError: Cannot read property 'config' of null at addWidget (/home/pi/.node-red/node\_modu…

---

## [Using node-red-contrib-semaphore](https://discourse.nodered.org/t/using-node-red-contrib-semaphore/4398)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 3\
**Last updated:** [30 October 2018 14:44 UTC](https://discourse.nodered.org/t/using-node-red-contrib-semaphore/4398 "2018-10-30T14:44:19Z")

</div>

Trying not to go OT from this thread.... The node readme is very basic, and has no example flow. @Colin I'm struggling to understand how this node would work in a flow environment? Paul

---

## [Specify Cipher for MQTT](https://discourse.nodered.org/t/specify-cipher-for-mqtt/4410)

<div class="topic-metadata">

**Author:** [@m2mi](https://discourse.nodered.org/u/m2mi)\
**Replies:** 1\
**Last updated:** [30 October 2018 12:38 UTC](https://discourse.nodered.org/t/specify-cipher-for-mqtt/4410 "2018-10-30T12:38:38Z")

</div>

Is there a way to specify the preferred openssl TLS cipher in node-red? For example, TLS\_ECDHE\_RSA\_WITH\_AES\_128\_GCM\_SHA256 Thanks in advance!

---

## [Multiple instance management for template node user interfaces?](https://discourse.nodered.org/t/multiple-instance-management-for-template-node-user-interfaces/4384)

<div class="topic-metadata">

**Author:** [@vtgav](https://discourse.nodered.org/u/vtgav)\
**Replies:** 3\
**Last updated:** [30 October 2018 11:30 UTC](https://discourse.nodered.org/t/multiple-instance-management-for-template-node-user-interfaces/4384 "2018-10-30T11:30:10Z")

</div>

This may well be a stupid question, in which case apologies for wasting peoples time . . . I have a node-red app which offers out a dynamic web interface using a template node and websocket for dynamic interaction. Mult…

---

## [Develop node: button alignment](https://discourse.nodered.org/t/develop-node-button-alignment/4381)

<div class="topic-metadata">

**Author:** [@BGoll](https://discourse.nodered.org/u/BGoll)\
**Replies:** 11\
**Last updated:** [30 October 2018 06:21 UTC](https://discourse.nodered.org/t/develop-node-button-alignment/4381 "2018-10-30T06:21:50Z")

</div>

Hey everyone, I develop a custom node which connects to a sensor which is locally connected via USB. The node reads the sensor values and sends them as outputs. Now I want the user to be able to deactivate the node so n…

---

## [Perform AND function](https://discourse.nodered.org/t/perform-and-function/4371)

<div class="topic-metadata">

**Author:** [@cpyandy](https://discourse.nodered.org/u/cpyandy)\
**Replies:** 2\
**Last updated:** [30 October 2018 02:55 UTC](https://discourse.nodered.org/t/perform-and-function/4371 "2018-10-30T02:55:54Z")

</div>

Hi all, Sorry if this question is too basic for you guys, I am quite new to node red world. I have two inputs, one from mqtt with payload "1", another input from dashboard switch which I have set the ON payload to "1" …

---

## [Extending the search box](https://discourse.nodered.org/t/extending-the-search-box/4388)

<div class="topic-metadata">

**Author:** [@malinthasa](https://discourse.nodered.org/u/malinthasa)\
**Replies:** 4\
**Last updated:** [29 October 2018 21:19 UTC](https://discourse.nodered.org/t/extending-the-search-box/4388 "2018-10-29T21:19:09Z")

</div>

Hi, We can use the default search box (filter nodes) for searching installed nodes by their name. I want to extend the default search functionality to look-up nodes not only by name but also the description (other infor…

---

## [DHT Sensor error](https://discourse.nodered.org/t/dht-sensor-error/4368)

<div class="topic-metadata">

**Author:** [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Replies:** 3\
**Last updated:** [29 October 2018 08:29 UTC](https://discourse.nodered.org/t/dht-sensor-error/4368 "2018-10-29T08:29:43Z")

</div>

Can any one help with below error codes when installing DHT node for pi3. Many thanks Installation of module node-red-contrib-dht-sensor failed:" 10/28/2018, 9:14:55 PMmsg : string\[42\] "------------------------------…

---

## [Convert Decimal to Hex and split into significant bytes](https://discourse.nodered.org/t/convert-decimal-to-hex-and-split-into-significant-bytes/4271)

<div class="topic-metadata">

**Author:** [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Replies:** 5\
**Last updated:** [29 October 2018 00:07 UTC](https://discourse.nodered.org/t/convert-decimal-to-hex-and-split-into-significant-bytes/4271 "2018-10-29T00:07:20Z")

</div>

I have a situation where I need to convert a decimal number into hex and then separate into significant bytes so they can be placed into a Buffer separately. Example: I need to take an input of 300 and split the 12C in…

---

## [Node-red, Darksky, data array](https://discourse.nodered.org/t/node-red-darksky-data-array/2083)

<div class="topic-metadata">

**Author:** [@badprogrammer](https://discourse.nodered.org/u/badprogrammer)\
**Replies:** 14\
**Last updated:** [28 October 2018 23:45 UTC](https://discourse.nodered.org/t/node-red-darksky-data-array/2083 "2018-10-28T23:45:18Z")

</div>

Hi, On my project of weather I use Node-Red on Raspberry pi, I have a dashboard with many informations come from sensors, bme280, dht 22, and 18B20 temps sensors. In the same time I take informations from Darksy for for…

---

## [Homekit-bridged partially works, what am I missing here? \[UPDATE\]](https://discourse.nodered.org/t/homekit-bridged-partially-works-what-am-i-missing-here-update/4348)

<div class="topic-metadata">

**Author:** [@holly](https://discourse.nodered.org/u/holly)\
**Replies:** 6\
**Last updated:** [28 October 2018 21:55 UTC](https://discourse.nodered.org/t/homekit-bridged-partially-works-what-am-i-missing-here-update/4348 "2018-10-28T21:55:09Z")

</div>

I'm new to node-red, but I like and I'm trying to move my home automation stuff to it from Home Assistant. And so.. I installed the node-red-contrib-homekit-bridged module, and I have it working enough that I can see a…

---

## [How to send multiple properties to MQTT](https://discourse.nodered.org/t/how-to-send-multiple-properties-to-mqtt/4354)

<div class="topic-metadata">

**Author:** [@Capioka](https://discourse.nodered.org/u/Capioka)\
**Replies:** 13\
**Last updated:** [28 October 2018 17:35 UTC](https://discourse.nodered.org/t/how-to-send-multiple-properties-to-mqtt/4354 "2018-10-28T17:35:03Z")

</div>

Hello, I have a little question, how to send multiple value on one message MQTT. I have a HomeKit Block is send by MQTT, but i want to have the name of the block. I test a JOIN block but is don't no work Can you help…

---

## [Change from dashboard](https://discourse.nodered.org/t/change-from-dashboard/4351)

<div class="topic-metadata">

**Author:** [@kicken](https://discourse.nodered.org/u/kicken)\
**Replies:** 2\
**Last updated:** [28 October 2018 17:09 UTC](https://discourse.nodered.org/t/change-from-dashboard/4351 "2018-10-28T17:09:10Z")

</div>

Hello !! I would like an explanation of how to change a value from the dashboard to a node. I am working on a heating system where I have a ds18b20 sensor. I want to control a relay with a value that I can adjust from th…

---

## [NNH Noob need help ;)](https://discourse.nodered.org/t/nnh-noob-need-help/4360)

<div class="topic-metadata">

**Author:** [@root](https://discourse.nodered.org/u/root)\
**Replies:** 2\
**Last updated:** [28 October 2018 16:15 UTC](https://discourse.nodered.org/t/nnh-noob-need-help/4360 "2018-10-28T16:15:17Z")

</div>

I am using node red with iobroker. I have a problem with passing a flow to iobroker. \[error\] \[function:extractData\] Function tried to send a message of type string function:extractData: /\* returns: 1. travelDuratio…

---

## [Insert array of json data in mariadb](https://discourse.nodered.org/t/insert-array-of-json-data-in-mariadb/3776)

<div class="topic-metadata">

**Author:** [@tramanah](https://discourse.nodered.org/u/tramanah)\
**Replies:** 19\
**Last updated:** [28 October 2018 13:30 UTC](https://discourse.nodered.org/t/insert-array-of-json-data-in-mariadb/3776 "2018-10-28T13:30:32Z")

</div>

msg.topic = "Insert into mytable(DeviceId,Line,outPIN,count,Time) values (?,?,?,?,?)"; msg.payload = \[{"DeviceId": 1, "Line": 1, "outPIN": "GPIO1", "count": 15, "Time": "2018-09-23 08:14:45"}, {"DeviceId": 1, "Lin…

---

## [HomeKit Windows](https://discourse.nodered.org/t/homekit-windows/4285)

<div class="topic-metadata">

**Author:** [@Capioka](https://discourse.nodered.org/u/Capioka)\
**Replies:** 5\
**Last updated:** [28 October 2018 11:25 UTC](https://discourse.nodered.org/t/homekit-windows/4285 "2018-10-28T11:25:53Z")

</div>

Hello, i have a problem with the return of the value CurrentPosition, The value return to the module is good, but, my iPhone not actualized. The iPhone rest on open or closed et delay for take the state. This my code,…

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

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