# General

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

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

**Page:** 904

---

## [Error installing node-red on hassio](https://discourse.nodered.org/t/error-installing-node-red-on-hassio/9221)

<div class="topic-metadata">

**Author:** [@bwanajag](https://discourse.nodered.org/u/bwanajag)\
**Replies:** 2\
**Last updated:** [20 March 2019 09:58 UTC](https://discourse.nodered.org/t/error-installing-node-red-on-hassio/9221 "2019-03-20T09:58:37Z")

</div>

I received the following error when trying to install the node-red add-on in hassio. Not sure where to go from here. 19-03-20 08:49:18 INFO (SyncWorker\_18) \[hassio.docker.interface\] Pull image hassioaddons/node-red-arm…

---

## [Programmatically logout the user](https://discourse.nodered.org/t/programmatically-logout-the-user/9171)

<div class="topic-metadata">

**Author:** [@smrtfn](https://discourse.nodered.org/u/smrtfn)\
**Replies:** 11\
**Last updated:** [20 March 2019 09:17 UTC](https://discourse.nodered.org/t/programmatically-logout-the-user/9171 "2019-03-20T09:17:21Z")

</div>

Hi, Is it possible to logout the user programmatically in a node's code? Otherwords, is it possible to call RED.user.logout() inside a node's .js file? Thank you

---

## [Interval Function in Function flow](https://discourse.nodered.org/t/interval-function-in-function-flow/9112)

<div class="topic-metadata">

**Author:** [@junoprima](https://discourse.nodered.org/u/junoprima)\
**Replies:** 9\
**Last updated:** [20 March 2019 08:34 UTC](https://discourse.nodered.org/t/interval-function-in-function-flow/9112 "2019-03-20T08:34:32Z")

</div>

I'm having issues with having my node to start interval function , I need to start function when get data from input like my code cmd == "01" and stop function when i get cmd == "06" i try can't run Here my flow \[{"i…

---

## [Authentication for api's](https://discourse.nodered.org/t/authentication-for-apis/9216)

<div class="topic-metadata">

**Author:** [@akhilendharreddy](https://discourse.nodered.org/u/akhilendharreddy)\
**Replies:** 2\
**Last updated:** [20 March 2019 07:57 UTC](https://discourse.nodered.org/t/authentication-for-apis/9216 "2019-03-20T07:57:58Z")

</div>

Hi, I am trying to expose some endpoints (api) for this I want to add authentication, I can able to add bais auth by enabling httpNodeAuth in the settings.js file but I want to pass authorization(access\_token) in the hea…

---

## [Trigger a flow from external call (QUESTION)](https://discourse.nodered.org/t/trigger-a-flow-from-external-call-question/9128)

<div class="topic-metadata">

**Author:** [@defremont](https://discourse.nodered.org/u/defremont)\
**Replies:** 7\
**Last updated:** [20 March 2019 00:23 UTC](https://discourse.nodered.org/t/trigger-a-flow-from-external-call-question/9128 "2019-03-20T00:23:23Z")

</div>

Hello everyone, i'm new on node-red and trying to integrate this with a Hyperledger Client (that is baiscally Angular 4) and i need to send an email when the user send a transaction on hyperledger. In the docs of Hyperl…

---

## [Cookbook - Simple GET request](https://discourse.nodered.org/t/cookbook-simple-get-request/9184)

<div class="topic-metadata">

**Author:** [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Replies:** 2\
**Last updated:** [19 March 2019 17:31 UTC](https://discourse.nodered.org/t/cookbook-simple-get-request/9184 "2019-03-19T17:31:10Z")

</div>

A couple of questions about this cookbook recipe: 1- The flow does not match the picture. As a matter of fact, the flow has a bad CSS selector. As far as I can remember this was corrected at some point. I am not sure ho…

---

## [Security, add more then one user](https://discourse.nodered.org/t/security-add-more-then-one-user/9141)

<div class="topic-metadata">

**Author:** [@pvklink](https://discourse.nodered.org/u/pvklink)\
**Replies:** 6\
**Last updated:** [19 March 2019 17:14 UTC](https://discourse.nodered.org/t/security-add-more-then-one-user/9141 "2019-03-19T17:14:38Z")

</div>

Hi like to add more then one user to use the dashboard. So i edit the setting.js. It seems that only the last account/user is working, can there be only one user ? I want to have one user that i use to edit the dashbo…

---

## [Node red how to change the nodered dashboard layout fonts](https://discourse.nodered.org/t/node-red-how-to-change-the-nodered-dashboard-layout-fonts/9178)

<div class="topic-metadata">

**Author:** [@VIKRAMAS](https://discourse.nodered.org/u/VIKRAMAS)\
**Replies:** 1\
**Last updated:** [19 March 2019 14:05 UTC](https://discourse.nodered.org/t/node-red-how-to-change-the-nodered-dashboard-layout-fonts/9178 "2019-03-19T14:05:14Z")

</div>

In nodered I have used the theme-tomorrow which I have got in node red forum. But in nodered flow editor having dashboard layout font color I have to change. In the below snap I have shared it has the property --nr-db-d…

---

## [Dowgrading Node.js on raspberry](https://discourse.nodered.org/t/dowgrading-node-js-on-raspberry/8945)

<div class="topic-metadata">

**Author:** [@RobBekke](https://discourse.nodered.org/u/RobBekke)\
**Replies:** 7\
**Last updated:** [19 March 2019 12:20 UTC](https://discourse.nodered.org/t/dowgrading-node-js-on-raspberry/8945 "2019-03-19T12:20:09Z")

</div>

Hi all, I use NR 0.20 on a Raspberry pi. I would like to use the Noble Node to be able to read the Ruuvitag via BLE. According to the makers, there is an issue with the NodeJS 10 version. Is there a possibility to downg…

---

## [Connecting to MQTT](https://discourse.nodered.org/t/connecting-to-mqtt/9172)

<div class="topic-metadata">

**Author:** [@Madhumati](https://discourse.nodered.org/u/Madhumati)\
**Replies:** 2\
**Last updated:** [19 March 2019 09:37 UTC](https://discourse.nodered.org/t/connecting-to-mqtt/9172 "2019-03-19T09:37:58Z")

</div>

Hello I am trying to connect my hardware Rasppbeery PI based to MQTT client, but not connecting . I am not able to subscribe/publish to the topic ..can you please guide? Data received out & sent/published to …

---

## [Writing using file node UTF-8, encoding becomes iso-8859](https://discourse.nodered.org/t/writing-using-file-node-utf-8-encoding-becomes-iso-8859/9114)

<div class="topic-metadata">

**Author:** [@mbot](https://discourse.nodered.org/u/mbot)\
**Replies:** 3\
**Last updated:** [19 March 2019 08:44 UTC](https://discourse.nodered.org/t/writing-using-file-node-utf-8-encoding-becomes-iso-8859/9114 "2019-03-19T08:44:03Z")

</div>

I used the file node to write an XML file to disk. The XML has UTF-8 special characters like ä, however when written to file it is written as iso-8859, as shown on the linux command line : file original\_alert.xml origi…

---

## [Same event use with Node-Red](https://discourse.nodered.org/t/same-event-use-with-node-red/8952)

<div class="topic-metadata">

**Author:** [@florent](https://discourse.nodered.org/u/florent)\
**Replies:** 8\
**Last updated:** [19 March 2019 02:51 UTC](https://discourse.nodered.org/t/same-event-use-with-node-red/8952 "2019-03-19T02:51:30Z")

</div>

Hi, I have two node, one for detector of open door and another for detector of water. The probleme is that I use the same changment event. Detector of open/close door And detector of water And when i use det…

---

## [Subflows broken with 0.20.0](https://discourse.nodered.org/t/subflows-broken-with-0-20-0/9143)

<div class="topic-metadata">

**Author:** [@caralmar](https://discourse.nodered.org/u/caralmar)\
**Replies:** 8\
**Last updated:** [18 March 2019 21:15 UTC](https://discourse.nodered.org/t/subflows-broken-with-0-20-0/9143 "2019-03-18T21:15:45Z")

</div>

Hi, I have tested this with a simple "hello world" function. The datamapper is a hello world for now: the function "hello": msg.payload = "hello world"; return msg; When I hit the inject node, I see nothing in t…

---

## [Inject and MQTT input topics - using variables](https://discourse.nodered.org/t/inject-and-mqtt-input-topics-using-variables/9134)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 10\
**Last updated:** [18 March 2019 20:36 UTC](https://discourse.nodered.org/t/inject-and-mqtt-input-topics-using-variables/9134 "2019-03-18T20:36:58Z")

</div>

This is most likely a stupid question, but I have a number of devices, identical in all but name which receive input from injects and from MQTT input. Is it possible to use, say, flow variables for topics in these two, r…

---

## [MQTT connection status](https://discourse.nodered.org/t/mqtt-connection-status/9139)

<div class="topic-metadata">

**Author:** [@domcsidd](https://discourse.nodered.org/u/domcsidd)\
**Replies:** 7\
**Last updated:** [18 March 2019 18:02 UTC](https://discourse.nodered.org/t/mqtt-connection-status/9139 "2019-03-18T18:02:16Z")

</div>

Hi everyone! I have some problem with my solution. I have an esp8266 witch communicate with my node-red server. It sends a sensor's value and publish an "ALIVE" text if callback happens(if a msg arrive in a specified …

---

## [0.18.4 Projects need "git" and "ssh-keygen", OK. how?](https://discourse.nodered.org/t/0-18-4-projects-need-git-and-ssh-keygen-ok-how/160)

<div class="topic-metadata">

**Author:** [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Replies:** 6\
**Last updated:** [18 March 2019 16:55 UTC](https://discourse.nodered.org/t/0-18-4-projects-need-git-and-ssh-keygen-ok-how/160 "2019-03-18T16:55:48Z")

</div>

I’m trying to use Projects. “The feature relies on having the git and ssh-keygen command line tools available. Node-RED will check for them on start-up and let you know if they are missing.” Started node-RED and \[warn…

---

## [Post or get check](https://discourse.nodered.org/t/post-or-get-check/9088)

<div class="topic-metadata">

**Author:** [@pvklink](https://discourse.nodered.org/u/pvklink)\
**Replies:** 11\
**Last updated:** [18 March 2019 16:22 UTC](https://discourse.nodered.org/t/post-or-get-check/9088 "2019-03-18T16:22:52Z")

</div>

is there a way to check if a call is a POST or a GET ?

---

## [Nodered 0.20.2 crashes - TypeError: Converting circular structure to JSON](https://discourse.nodered.org/t/nodered-0-20-2-crashes-typeerror-converting-circular-structure-to-json/9127)

<div class="topic-metadata">

**Author:** [@snoekieboe](https://discourse.nodered.org/u/snoekieboe)\
**Replies:** 2\
**Last updated:** [18 March 2019 15:02 UTC](https://discourse.nodered.org/t/nodered-0-20-2-crashes-typeerror-converting-circular-structure-to-json/9127 "2019-03-18T15:02:17Z")

</div>

Hi, I upgraded my Node-Red install to version 0.20.2 and now it's constantly restarting or crashing with the following error: 18 Mar 14:49:50 - TypeError: Converting circular structure to JSON at JSON.stringify (\<a…

---

## [How to handle multiple http post request at once](https://discourse.nodered.org/t/how-to-handle-multiple-http-post-request-at-once/1248)

<div class="topic-metadata">

**Author:** [@sergiogama](https://discourse.nodered.org/u/sergiogama)\
**Replies:** 12\
**Last updated:** [18 March 2019 14:34 UTC](https://discourse.nodered.org/t/how-to-handle-multiple-http-post-request-at-once/1248 "2019-03-18T14:34:17Z")

</div>

Hi all, I have a flow which has a http end point (Post), that process something in the middle and send response thru http response. The problem is that the client system make many calls in one shot (node.js, using Promi…

---

## [Geograpfic map of premisses](https://discourse.nodered.org/t/geograpfic-map-of-premisses/9123)

<div class="topic-metadata">

**Author:** [@jacko91](https://discourse.nodered.org/u/jacko91)\
**Replies:** 1\
**Last updated:** [18 March 2019 13:37 UTC](https://discourse.nodered.org/t/geograpfic-map-of-premisses/9123 "2019-03-18T13:37:59Z")

</div>

Hey, I have several esp32 in my garden, which use mqtt to publish to a raspberry pi. All done using node red. I want to use a map of my garden, where i can visualize my sensors. Basically a google maps map, where the s…

---

## [How to read Byte Array from Xbee device](https://discourse.nodered.org/t/how-to-read-byte-array-from-xbee-device/9121)

<div class="topic-metadata">

**Author:** [@fredy76](https://discourse.nodered.org/u/fredy76)\
**Replies:** 0\
**Last updated:** [18 March 2019 12:40 UTC](https://discourse.nodered.org/t/how-to-read-byte-array-from-xbee-device/9121 "2019-03-18T12:40:28Z")

</div>

Hi, I am trying to read the byte array from the Xbee device but while using serial node or Wireless Device or Wireless gateway Node which is installed from ncd-red-wireless. While connecting these nodes with the debug n…

---

## [Node-Red prometheus plugins/node](https://discourse.nodered.org/t/node-red-prometheus-plugins-node/8960)

<div class="topic-metadata">

**Author:** [@Albin](https://discourse.nodered.org/u/Albin)\
**Replies:** 3\
**Last updated:** [18 March 2019 11:02 UTC](https://discourse.nodered.org/t/node-red-prometheus-plugins-node/8960 "2019-03-18T11:02:15Z")

</div>

Hi All , New to Node-Red. Can anyone please advise if there is any plugin/nodes available so that we could connect to Prometheus database. Regards, Albin

---

## [How do I get the node ID in HTML](https://discourse.nodered.org/t/how-do-i-get-the-node-id-in-html/9107)

<div class="topic-metadata">

**Author:** [@JiChen](https://discourse.nodered.org/u/JiChen)\
**Replies:** 1\
**Last updated:** [18 March 2019 08:54 UTC](https://discourse.nodered.org/t/how-do-i-get-the-node-id-in-html/9107 "2019-03-18T08:54:14Z")

</div>

How do I get the node ID in HTML

---

## [Random function problem ,need help](https://discourse.nodered.org/t/random-function-problem-need-help/8882)

<div class="topic-metadata">

**Author:** [@sana\_sabah86](https://discourse.nodered.org/u/sana_sabah86)\
**Replies:** 8\
**Last updated:** [18 March 2019 03:43 UTC](https://discourse.nodered.org/t/random-function-problem-need-help/8882 "2019-03-18T03:43:22Z")

</div>

In this node, red I want to generate random number between 0-10 and if the number is less than 5 I want to output: the ((generated number from the function )) along with string message such as” less than 5” for example :…

---

## [My first flows, thirst three work last one not](https://discourse.nodered.org/t/my-first-flows-thirst-three-work-last-one-not/9062)

<div class="topic-metadata">

**Author:** [@pvklink](https://discourse.nodered.org/u/pvklink)\
**Replies:** 7\
**Last updated:** [17 March 2019 22:21 UTC](https://discourse.nodered.org/t/my-first-flows-thirst-three-work-last-one-not/9062 "2019-03-17T22:21:42Z")

</div>

Hi, this is my first experience with nodered. I am very impressed, after two hours i got the most important functionality working! I want to use it mainly via: Google Home - IFTT - NODERED - MQTT - Domoticz Http get …

---

## [Optimize my first "Flow"](https://discourse.nodered.org/t/optimize-my-first-flow/8512)

<div class="topic-metadata">

**Author:** [@itchy2](https://discourse.nodered.org/u/itchy2)\
**Replies:** 15\
**Last updated:** [17 March 2019 22:13 UTC](https://discourse.nodered.org/t/optimize-my-first-flow/8512 "2019-03-17T22:13:28Z")

</div>

Hi all, with your help I was able to create my first node-red flow. Now I want to understand what could be made in a better way. I think there is a way to reduce the nodes in terms of data transformations after the ins…

---

## [Lost Basic-Pallete Nodes](https://discourse.nodered.org/t/lost-basic-pallete-nodes/9093)

<div class="topic-metadata">

**Author:** [@tomskidoodle](https://discourse.nodered.org/u/tomskidoodle)\
**Replies:** 6\
**Last updated:** [17 March 2019 20:10 UTC](https://discourse.nodered.org/t/lost-basic-pallete-nodes/9093 "2019-03-17T20:10:31Z")

</div>

Greetings I have 'lost' a number of basic nodes from the initial NR install set, all related to http-request etc. I do have backups and can reinstall, but that won't help me to learn either the source of the problem or…

---

## [Last time stamped value from array](https://discourse.nodered.org/t/last-time-stamped-value-from-array/9099)

<div class="topic-metadata">

**Author:** [@stibra](https://discourse.nodered.org/u/stibra)\
**Replies:** 2\
**Last updated:** [17 March 2019 19:24 UTC](https://discourse.nodered.org/t/last-time-stamped-value-from-array/9099 "2019-03-17T19:24:35Z")

</div>

Hi, I am using a exec block to fetch temperature and humidity from my verisure system. The output gives several timestamped values in return. I am only interested in the "newest / current" value. Is there some function …

---

## [Msg.payload to influxdb](https://discourse.nodered.org/t/msg-payload-to-influxdb/9066)

<div class="topic-metadata">

**Author:** [@stibra](https://discourse.nodered.org/u/stibra)\
**Replies:** 2\
**Last updated:** [17 March 2019 17:06 UTC](https://discourse.nodered.org/t/msg-payload-to-influxdb/9066 "2019-03-17T17:06:31Z")

</div>

Hi, My first node red flow here and a newbie question: I am using openweathermap to get weather data in node red. How do I parse the payload.tempc including a timestamp to InfluxDB (Already created DB). br Stian

---

## [Extract a Value](https://discourse.nodered.org/t/extract-a-value/9081)

<div class="topic-metadata">

**Author:** [@alex2](https://discourse.nodered.org/u/alex2)\
**Replies:** 4\
**Last updated:** [17 March 2019 13:38 UTC](https://discourse.nodered.org/t/extract-a-value/9081 "2019-03-17T13:38:00Z")

</div>

Hello, I have this payload (http get) How can I extract the Value for "PAC" { "Body" : { "Data" : { "DAY\_ENERGY" : { "Unit" : "Wh", "Value" : 8718 }, "DeviceStatus" : { "ErrorCode" : 0, "LEDColor" : 2, "LEDSt…

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

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