# General

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

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

**Page:** 914

---

## [Help: current state-node - unspecified entity (hass.io)](https://discourse.nodered.org/t/help-current-state-node-unspecified-entity-hass-io/8008)

<div class="topic-metadata">

**Author:** [@folrewef](https://discourse.nodered.org/u/folrewef)\
**Replies:** 0\
**Last updated:** [15 February 2019 12:59 UTC](https://discourse.nodered.org/t/help-current-state-node-unspecified-entity-hass-io/8008 "2019-02-15T12:59:12Z")

</div>

Hi, I use node-red (add-on) with hass.io. I am truly a beginner so excuse me if I am asking for something that is trivial or for something that has already been solved. I have not been able to fins it. I want notificat…

---

## [Initialise msg.payload after deploy](https://discourse.nodered.org/t/initialise-msg-payload-after-deploy/8006)

<div class="topic-metadata">

**Author:** [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Replies:** 2\
**Last updated:** [15 February 2019 12:17 UTC](https://discourse.nodered.org/t/initialise-msg-payload-after-deploy/8006 "2019-02-15T12:17:08Z")

</div>

where did node-red save it variables? each time i deploy my project. i found that msg.payload doesn't be initialed in mytemplate? i have cleared my navigator cache, i have been search a lot wich file cantains saved varia…

---

## ['node-red' is not recognized as an internal or external command after npm install](https://discourse.nodered.org/t/node-red-is-not-recognized-as-an-internal-or-external-command-after-npm-install/7982)

<div class="topic-metadata">

**Author:** [@analog](https://discourse.nodered.org/u/analog)\
**Replies:** 1\
**Last updated:** [15 February 2019 09:32 UTC](https://discourse.nodered.org/t/node-red-is-not-recognized-as-an-internal-or-external-command-after-npm-install/7982 "2019-02-15T09:32:31Z")

</div>

Hey everyone! I've been trying to install node-red on a windows pc. After 'install -g --unsafe-perm node-red' the node-red package was downloaded under /node\_modules directory but when I tried to run 'node-red' in Node.j…

---

## [Install node-red withtout network connection](https://discourse.nodered.org/t/install-node-red-withtout-network-connection/7959)

<div class="topic-metadata">

**Author:** [@fangzhu](https://discourse.nodered.org/u/fangzhu)\
**Replies:** 2\
**Last updated:** [15 February 2019 07:17 UTC](https://discourse.nodered.org/t/install-node-red-withtout-network-connection/7959 "2019-02-15T07:17:14Z")

</div>

Is it possible to install node-red without network connection? I am using redhat with root user. After I downloaded the latest package from Release 0.19.5: Maintenance Release · node-red/node-red · GitHub, I unnzip the…

---

## [Node Red process hangs when opening Editor](https://discourse.nodered.org/t/node-red-process-hangs-when-opening-editor/7984)

<div class="topic-metadata">

**Author:** [@tsz](https://discourse.nodered.org/u/tsz)\
**Replies:** 1\
**Last updated:** [15 February 2019 06:41 UTC](https://discourse.nodered.org/t/node-red-process-hangs-when-opening-editor/7984 "2019-02-15T06:41:45Z")

</div>

Hi, After updrading Node Red to 0.19.5 opening editor app (at port 1880) makes high memory and CPU consumption and ultimately crashes the process, but with no error message. When I start it from console it just hangs an…

---

## [\[Solved\] OSX: Problem installing node-red@0.20.0 beta](https://discourse.nodered.org/t/solved-osx-problem-installing-node-red-0-20-0-beta/7956)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 3\
**Last updated:** [15 February 2019 00:07 UTC](https://discourse.nodered.org/t/solved-osx-problem-installing-node-red-0-20-0-beta/7956 "2019-02-15T00:07:30Z")

</div>

(a good deed never goes unpunished) macOS High Sierra 10.13.6 So this morning I decided to install NR 0.20.0 beta 5 (first time installing 0.20.0) to test a bug I reported back in December marked 'fixed'. So I user su…

---

## [Is it possible to set the Websocket path from a variable?](https://discourse.nodered.org/t/is-it-possible-to-set-the-websocket-path-from-a-variable/7972)

<div class="topic-metadata">

**Author:** [@HypnoToad](https://discourse.nodered.org/u/HypnoToad)\
**Replies:** 1\
**Last updated:** [14 February 2019 22:41 UTC](https://discourse.nodered.org/t/is-it-possible-to-set-the-websocket-path-from-a-variable/7972 "2019-02-14T22:41:07Z")

</div>

Hi, I'm trying to use Node-RED along with chrome remote debug, and in order to connect to chrome I need to connect to it's websocket. The only problem is that the websocket address is not fixed, it changes with each ta…

---

## [Delay and intermediate messages](https://discourse.nodered.org/t/delay-and-intermediate-messages/7970)

<div class="topic-metadata">

**Author:** [@beireken](https://discourse.nodered.org/u/beireken)\
**Replies:** 2\
**Last updated:** [14 February 2019 19:49 UTC](https://discourse.nodered.org/t/delay-and-intermediate-messages/7970 "2019-02-14T19:49:47Z")

</div>

Hello, This will be a simple one for most of you i think... I have a temperature payload that i send through a switch node to detect when it goes higher than a certain value. When it does go higher i want to trigger a…

---

## [Creating/Avoiding loops](https://discourse.nodered.org/t/creating-avoiding-loops/7913)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 2\
**Last updated:** [14 February 2019 18:58 UTC](https://discourse.nodered.org/t/creating-avoiding-loops/7913 "2019-02-14T18:58:47Z")

</div>

I need some guidance on how to keep track/change of statusses from different inputs. Example: I use a dashboard switch and homekit switch, both switch the same device. If I switch the dashboard button, I can update th…

---

## [Show if sensor is ative or inactive](https://discourse.nodered.org/t/show-if-sensor-is-ative-or-inactive/7957)

<div class="topic-metadata">

**Author:** [@smalhao](https://discourse.nodered.org/u/smalhao)\
**Replies:** 15\
**Last updated:** [14 February 2019 15:51 UTC](https://discourse.nodered.org/t/show-if-sensor-is-ative-or-inactive/7957 "2019-02-14T15:51:22Z")

</div>

I´m testing if a sensor is active or inactive, i used the trigger but not resolved my problem, i´m tried use this way but the problem to be continue: My function is programmed like this: if (typeof msg.payload === '…

---

## [Wifi and Ethernet same time in raspberry](https://discourse.nodered.org/t/wifi-and-ethernet-same-time-in-raspberry/7958)

<div class="topic-metadata">

**Author:** [@gaara7271](https://discourse.nodered.org/u/gaara7271)\
**Replies:** 1\
**Last updated:** [14 February 2019 12:07 UTC](https://discourse.nodered.org/t/wifi-and-ethernet-same-time-in-raspberry/7958 "2019-02-14T12:07:23Z")

</div>

Hi everyone, I have a raspberry pi 3, i connected internet over wifi for raspberry, but when i plug cable LAN from my PC win10 to raspberry to remote, so raspberry cannot connect internet althought still connected wifi. …

---

## [Sqlite Database is Locked](https://discourse.nodered.org/t/sqlite-database-is-locked/7829)

<div class="topic-metadata">

**Author:** [@gnome2012](https://discourse.nodered.org/u/gnome2012)\
**Replies:** 26\
**Last updated:** [14 February 2019 11:41 UTC](https://discourse.nodered.org/t/sqlite-database-is-locked/7829 "2019-02-14T11:41:46Z")

</div>

Hello, I hope for some help. My SqLite Database- File ist stored in /home/pi/. Everything is working fine working with node-red-node-sqlite 0.3.6. But when I try to write the copied (same file) to my network-Drive I ca…

---

## [Message ON/OFF in case one sensor Stop working](https://discourse.nodered.org/t/message-on-off-in-case-one-sensor-stop-working/7920)

<div class="topic-metadata">

**Author:** [@smalhao](https://discourse.nodered.org/u/smalhao)\
**Replies:** 15\
**Last updated:** [14 February 2019 11:21 UTC](https://discourse.nodered.org/t/message-on-off-in-case-one-sensor-stop-working/7920 "2019-02-14T11:21:28Z")

</div>

I have 3 sensors to send data but I need that in case any stops sending data show a message in the dashboard for example when it is active show ON and when it is inactive show OFF, the ideia is create a alert message. I…

---

## [Database not receive the data when one sensor stops](https://discourse.nodered.org/t/database-not-receive-the-data-when-one-sensor-stops/7824)

<div class="topic-metadata">

**Author:** [@smalhao](https://discourse.nodered.org/u/smalhao)\
**Replies:** 35\
**Last updated:** [14 February 2019 11:20 UTC](https://discourse.nodered.org/t/database-not-receive-the-data-when-one-sensor-stops/7824 "2019-02-14T11:20:56Z")

</div>

I have a problem in the code, that is, when the data sensor is sent, the database is not given the data of the other two sensors, the idea was when one sensor stops and the other two continue to send the data but what st…

---

## [How to add a prefix to msg.payload](https://discourse.nodered.org/t/how-to-add-a-prefix-to-msg-payload/7899)

<div class="topic-metadata">

**Author:** [@Giaitzoglou](https://discourse.nodered.org/u/Giaitzoglou)\
**Replies:** 5\
**Last updated:** [14 February 2019 05:33 UTC](https://discourse.nodered.org/t/how-to-add-a-prefix-to-msg-payload/7899 "2019-02-14T05:33:48Z")

</div>

hi i know its going to be something simple what i what is to help me with: i want to convert the number 1-255 that comes from a dashboard slider to 0:number for exmle 0:255 and then send it via mqtt ? how is that possi…

---

## [Node.warn( ) help](https://discourse.nodered.org/t/node-warn-help/3300)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 10\
**Last updated:** [13 February 2019 20:50 UTC](https://discourse.nodered.org/t/node-warn-help/3300 "2019-02-13T20:50:07Z")

</div>

Ok, node.warn("message" + variable\_name); A line of text in the debug window to the right. Not wanting to be difficult, but can I send multiple lines of text from one message? Say I want to send: (Literally) \*\* i…

---

## [Newbies forum/section?](https://discourse.nodered.org/t/newbies-forum-section/3025)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 13\
**Last updated:** [13 February 2019 16:42 UTC](https://discourse.nodered.org/t/newbies-forum-section/3025 "2019-02-13T16:42:28Z")

</div>

Nick, Wondering if it might be worthwhile breaking down the General section into a Newbies section - sort of a start here and more basic concepts questions type thing so the Gurus are not getting bogged down with basic …

---

## [Enable Node-RED to run automatically at every boot and upon crashes on UBUNTU](https://discourse.nodered.org/t/enable-node-red-to-run-automatically-at-every-boot-and-upon-crashes-on-ubuntu/7911)

<div class="topic-metadata">

**Author:** [@tramanah](https://discourse.nodered.org/u/tramanah)\
**Replies:** 8\
**Last updated:** [13 February 2019 13:55 UTC](https://discourse.nodered.org/t/enable-node-red-to-run-automatically-at-every-boot-and-upon-crashes-on-ubuntu/7911 "2019-02-13T13:55:05Z")

</div>

HI, I did the follow the instruction from website as follows: sudo wget https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/nodered.service -O /lib/systemd/system/nodered.service sudo wget h…

---

## [Obtain value of a tension value in labview through node red](https://discourse.nodered.org/t/obtain-value-of-a-tension-value-in-labview-through-node-red/7924)

<div class="topic-metadata">

**Author:** [@smalhao](https://discourse.nodered.org/u/smalhao)\
**Replies:** 7\
**Last updated:** [13 February 2019 13:41 UTC](https://discourse.nodered.org/t/obtain-value-of-a-tension-value-in-labview-through-node-red/7924 "2019-02-13T13:41:56Z")

</div>

I want to get the value of a voltage from Labview to the red node, is it possible?

---

## [Problems connecting to twitter node](https://discourse.nodered.org/t/problems-connecting-to-twitter-node/7862)

<div class="topic-metadata">

**Author:** [@faisalchishti](https://discourse.nodered.org/u/faisalchishti)\
**Replies:** 8\
**Last updated:** [13 February 2019 10:56 UTC](https://discourse.nodered.org/t/problems-connecting-to-twitter-node/7862 "2019-02-13T10:56:00Z")

</div>

I am trying to connect to twitter node and getting below error. 12 Feb 12:14:58 - \[warn\] \[twitter in:Keyword search\] stream error: Error: connect ETIMEDOUT I am connected on my office network and suspect it is the fire…

---

## [Running Flows outside Development Environment](https://discourse.nodered.org/t/running-flows-outside-development-environment/7278)

<div class="topic-metadata">

**Author:** [@kxkayser](https://discourse.nodered.org/u/kxkayser)\
**Replies:** 16\
**Last updated:** [13 February 2019 10:20 UTC](https://discourse.nodered.org/t/running-flows-outside-development-environment/7278 "2019-02-13T10:20:15Z")

</div>

Hi. I am brand new to NR and running on a Raspberry Pi. All of the tutorials I have read or watched show running flows within the development environment, usually by sending output to a Debug node. Surly the flows can…

---

## [Update MongoDB document with a child record](https://discourse.nodered.org/t/update-mongodb-document-with-a-child-record/7910)

<div class="topic-metadata">

**Author:** [@pphillips](https://discourse.nodered.org/u/pphillips)\
**Replies:** 0\
**Last updated:** [13 February 2019 05:46 UTC](https://discourse.nodered.org/t/update-mongodb-document-with-a-child-record/7910 "2019-02-13T05:46:42Z")

</div>

Hi, I am pretty new to Node-Red. I have a Mongodb with an existing record, "{ "\_id" : ObjectId("5c6227be3579f60c5431b66b"), "Title" : "Mr", "Instance" : "HQ", "FirstName" : "ppp", "LastName" : "Phillips", "Position…

---

## [Raspberry pi MAC address](https://discourse.nodered.org/t/raspberry-pi-mac-address/4439)

<div class="topic-metadata">

**Author:** [@tramanah](https://discourse.nodered.org/u/tramanah)\
**Replies:** 13\
**Last updated:** [13 February 2019 04:29 UTC](https://discourse.nodered.org/t/raspberry-pi-mac-address/4439 "2019-02-13T04:29:13Z")

</div>

Hi, May know how to get mac id of my board only. i did try use "node-red-contrib-arp" but it's dashboard palette.

---

## [Create json object in flow](https://discourse.nodered.org/t/create-json-object-in-flow/7660)

<div class="topic-metadata">

**Author:** [@tramanah](https://discourse.nodered.org/u/tramanah)\
**Replies:** 5\
**Last updated:** [13 February 2019 04:23 UTC](https://discourse.nodered.org/t/create-json-object-in-flow/7660 "2019-02-13T04:23:25Z")

</div>

Hi good day, I am trying to create object in json format, therefore i can call within flow. The issue is in context data (in flow columns its doesn't appear). i am pretty sure all parameters content data. May i know why? …

---

## [Installation woes raspbian-lite -Bluetooth-hci-socket probs](https://discourse.nodered.org/t/installation-woes-raspbian-lite-bluetooth-hci-socket-probs/7803)

<div class="topic-metadata">

**Author:** [@fil](https://discourse.nodered.org/u/fil)\
**Replies:** 8\
**Last updated:** [12 February 2019 22:40 UTC](https://discourse.nodered.org/t/installation-woes-raspbian-lite-bluetooth-hci-socket-probs/7803 "2019-02-12T22:40:24Z")

</div>

Hi I have a node-red server hosted on a Pi-0-W running a full desktop version of Raspbian stretch. Node-RED was installed and subsiquently updated following the instructions on the Node-Red.org Pi page. Now i wish to …

---

## [The best way to implement device database](https://discourse.nodered.org/t/the-best-way-to-implement-device-database/7028)

<div class="topic-metadata">

**Author:** [@aargollo](https://discourse.nodered.org/u/aargollo)\
**Replies:** 38\
**Last updated:** [12 February 2019 22:00 UTC](https://discourse.nodered.org/t/the-best-way-to-implement-device-database/7028 "2019-02-12T22:00:57Z")

</div>

Hi Guys, I´m very happy to post here! I working to building a IoT gateway, using Rpi3 and Zigbee serial interface. I Already have important parameters got from Zigbee end devices, like nwkshort address, IEEE address, EP…

---

## [One function cancels the other](https://discourse.nodered.org/t/one-function-cancels-the-other/7719)

<div class="topic-metadata">

**Author:** [@mambui](https://discourse.nodered.org/u/mambui)\
**Replies:** 13\
**Last updated:** [12 February 2019 21:45 UTC](https://discourse.nodered.org/t/one-function-cancels-the-other/7719 "2019-02-12T21:45:47Z")

</div>

Hi folks, Here is my first message on the Node-Red forum. I would like to improve my flow. I have one switch called "Buy or Sell" that push a trade into two differents functions called"Buy" and the other called "Sell".…

---

## [Problems with a few nodes fallback rebuilding utf-8-validate, serialport in Node.js v10.15.1](https://discourse.nodered.org/t/problems-with-a-few-nodes-fallback-rebuilding-utf-8-validate-serialport-in-node-js-v10-15-1/7868)

<div class="topic-metadata">

**Author:** [@hoekbrwr](https://discourse.nodered.org/u/hoekbrwr)\
**Replies:** 10\
**Last updated:** [12 February 2019 18:32 UTC](https://discourse.nodered.org/t/problems-with-a-few-nodes-fallback-rebuilding-utf-8-validate-serialport-in-node-js-v10-15-1/7868 "2019-02-12T18:32:12Z")

</div>

I am installing node-RED on a Pi3B+ and see a long message with gibberish of faults. It happens every time I get the dependency utf-8-validate and also a few others like bufferutil and serialport. I am running this with…

---

## [Cannot access to UI due to influxdb misconfiguration](https://discourse.nodered.org/t/cannot-access-to-ui-due-to-influxdb-misconfiguration/7882)

<div class="topic-metadata">

**Author:** [@mauog](https://discourse.nodered.org/u/mauog)\
**Replies:** 4\
**Last updated:** [12 February 2019 18:08 UTC](https://discourse.nodered.org/t/cannot-access-to-ui-due-to-influxdb-misconfiguration/7882 "2019-02-12T18:08:28Z")

</div>

Hello, I had to reinstall influxdb but unfortunately I forgot to update node-red-contrib-influxdb nodes so now I am not able to access to nodered UI. Looking at logs it tells: at new RequestError (/data/node\_modules/i…

---

## [Xiaomi TH sensors](https://discourse.nodered.org/t/xiaomi-th-sensors/7865)

<div class="topic-metadata">

**Author:** [@cismarine](https://discourse.nodered.org/u/cismarine)\
**Replies:** 12\
**Last updated:** [12 February 2019 11:49 UTC](https://discourse.nodered.org/t/xiaomi-th-sensors/7865 "2019-02-12T11:49:16Z")

</div>

Hi, I have quite a few temperature sensors in node and they all show different temperature to the native Xiaomi app. Humidity is spot on. TIA

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

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