# General

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

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

**Page:** 956

---

## [Telling if an input of 0 is being sent](https://discourse.nodered.org/t/telling-if-an-input-of-0-is-being-sent/2162)

<div class="topic-metadata">

**Author:** [@acestu](https://discourse.nodered.org/u/acestu)\
**Replies:** 4\
**Last updated:** [8 August 2018 18:48 UTC](https://discourse.nodered.org/t/telling-if-an-input-of-0-is-being-sent/2162 "2018-08-08T18:48:58Z")

</div>

Hi, I have several inputs from mqtt sensors that feed gauges, in between I have a timeout node that sends 0 to the gauge if there is no input within a 20 minute period so that I can see that something is wrong, I need a…

---

## [Give output of a node based on a service call done in fixed time intervals](https://discourse.nodered.org/t/give-output-of-a-node-based-on-a-service-call-done-in-fixed-time-intervals/2157)

<div class="topic-metadata">

**Author:** [@malinthasa](https://discourse.nodered.org/u/malinthasa)\
**Replies:** 4\
**Last updated:** [8 August 2018 16:23 UTC](https://discourse.nodered.org/t/give-output-of-a-node-based-on-a-service-call-done-in-fixed-time-intervals/2157 "2018-08-08T16:23:48Z")

</div>

Hi, I have a node which has 0 inputs and 1 output. I need to use this node as a mediator which converts and forwards the response of a rest service based on a specific parameter of the response. I have to implement this…

---

## [Runtime api deploy](https://discourse.nodered.org/t/runtime-api-deploy/2090)

<div class="topic-metadata">

**Author:** [@CatalinFetoiu](https://discourse.nodered.org/u/CatalinFetoiu)\
**Replies:** 4\
**Last updated:** [8 August 2018 11:48 UTC](https://discourse.nodered.org/t/runtime-api-deploy/2090 "2018-08-08T11:48:10Z")

</div>

Hello, Is there a way to use the runtime api in order to get a callback when a flow is deployed? Or how can I know when to call getFlows() and obtain a non-null result? Thanks!

---

## [How to convert Base64 to Decimal? BUffer](https://discourse.nodered.org/t/how-to-convert-base64-to-decimal-buffer/2151)

<div class="topic-metadata">

**Author:** [@dcarva](https://discourse.nodered.org/u/dcarva)\
**Replies:** 6\
**Last updated:** [8 August 2018 11:43 UTC](https://discourse.nodered.org/t/how-to-convert-base64-to-decimal-buffer/2151 "2018-08-08T11:43:02Z")

</div>

Good morning, I'm trying to convert base64 to decimal or to show me in my dashboard the values that I want as you can see in my image. If anyone can help me it be nice.

---

## [Pallette keywords](https://discourse.nodered.org/t/pallette-keywords/570)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 4\
**Last updated:** [8 August 2018 11:02 UTC](https://discourse.nodered.org/t/pallette-keywords/570 "2018-08-08T11:02:13Z")

</div>

Hi folks, In another discussion, I was a bit surprised that the user couldn't find my node-red-contrib-interval-length node when searching in the pallette. A bit strange, since I added a rather extensive list of keywor…

---

## [SSL/TLS Configuration for Certificates with Secret Key (Password)](https://discourse.nodered.org/t/ssl-tls-configuration-for-certificates-with-secret-key-password/2155)

<div class="topic-metadata">

**Author:** [@abhinava.singh](https://discourse.nodered.org/u/abhinava.singh)\
**Replies:** 0\
**Last updated:** [8 August 2018 10:50 UTC](https://discourse.nodered.org/t/ssl-tls-configuration-for-certificates-with-secret-key-password/2155 "2018-08-08T10:50:26Z")

</div>

I've been successfully posting data on Devices ont the MQTT Gateway of SAP Cloud Platform - IoT Cockpit using Paho. Screenshots above. A Supplier-device\_certificate.pem was downloaded from the Device and it comes wit…

---

## [Node-red-node-sqlite](https://discourse.nodered.org/t/node-red-node-sqlite/2140)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 11\
**Last updated:** [8 August 2018 10:36 UTC](https://discourse.nodered.org/t/node-red-node-sqlite/2140 "2018-08-08T10:36:54Z")

</div>

On my Raspberry Pi 3, as a result of upgrades in Node Red I did this morning I've ended up with issues with SQLITE - specifically node-red-node-sqlite. I'm only using this to update 2 tables in sqlite, one flow runs eve…

---

## [Exec node - Spawn Mode](https://discourse.nodered.org/t/exec-node-spawn-mode/2147)

<div class="topic-metadata">

**Author:** [@placerda](https://discourse.nodered.org/u/placerda)\
**Replies:** 1\
**Last updated:** [8 August 2018 09:49 UTC](https://discourse.nodered.org/t/exec-node-spawn-mode/2147 "2018-08-08T09:49:02Z")

</div>

Hi all I built a simple tool to flash and test some piece of hardware. I have a button that to flash that exectutes a exec node with the "make flash" command. This exec node is in spawn mode and I write to a text box an…

---

## [Making COAP request from my Custom Node](https://discourse.nodered.org/t/making-coap-request-from-my-custom-node/2110)

<div class="topic-metadata">

**Author:** [@malinthasa](https://discourse.nodered.org/u/malinthasa)\
**Replies:** 3\
**Last updated:** [7 August 2018 14:39 UTC](https://discourse.nodered.org/t/making-coap-request-from-my-custom-node/2110 "2018-08-07T14:39:32Z")

</div>

Hi, I am creating a custom node which should be able to make a COAP request while deploying. So I need to implement that COAP request inside the javascript file of my custom node. I use "coap" npm module for this. …

---

## [Develop Android Application](https://discourse.nodered.org/t/develop-android-application/2135)

<div class="topic-metadata">

**Author:** [@hossein](https://discourse.nodered.org/u/hossein)\
**Replies:** 1\
**Last updated:** [7 August 2018 12:43 UTC](https://discourse.nodered.org/t/develop-android-application/2135 "2018-08-07T12:43:47Z")

</div>

Hi, I will develop an android application to control a device. I think I should merge the android native code and node-red output (Json file ). can any one show me an outline how I should this?

---

## [Receiving NaN when reading float registers from energy meter](https://discourse.nodered.org/t/receiving-nan-when-reading-float-registers-from-energy-meter/2118)

<div class="topic-metadata">

**Author:** [@iridiu](https://discourse.nodered.org/u/iridiu)\
**Replies:** 3\
**Last updated:** [7 August 2018 12:43 UTC](https://discourse.nodered.org/t/receiving-nan-when-reading-float-registers-from-energy-meter/2118 "2018-08-07T12:43:23Z")

</div>

Hi Node Red community, I'm trying to read some values of the energy meter (Float32) in Node-Red. Interestingly, I can read some accurate values, but they are also some of the values for which I receive "NaN". The confi…

---

## [Mssql insert statement](https://discourse.nodered.org/t/mssql-insert-statement/1990)

<div class="topic-metadata">

**Author:** [@thiren](https://discourse.nodered.org/u/thiren)\
**Replies:** 3\
**Last updated:** [6 August 2018 23:34 UTC](https://discourse.nodered.org/t/mssql-insert-statement/1990 "2018-08-06T23:34:38Z")

</div>

node-red-contrib-mssql node-red-node-mssql Hi Which above node I can use for stable DB connection request? Currently I'm going to inject around 400 insert statement in mssql. What is the best way should I do to a…

---

## [Error 217 when start Node-red on raspberry](https://discourse.nodered.org/t/error-217-when-start-node-red-on-raspberry/2097)

<div class="topic-metadata">

**Author:** [@glconceicao](https://discourse.nodered.org/u/glconceicao)\
**Replies:** 4\
**Last updated:** [6 August 2018 20:23 UTC](https://discourse.nodered.org/t/error-217-when-start-node-red-on-raspberry/2097 "2018-08-06T20:23:12Z")

</div>

i started one project with login pi, after i change login pi for other login. now the node red not got start with the actual login. follow the error log. Starting as a systemd service. nodered.service: Failed with res…

---

## [Visit node-red dashboard outside of local network](https://discourse.nodered.org/t/visit-node-red-dashboard-outside-of-local-network/2102)

<div class="topic-metadata">

**Author:** [@E.Strobel](https://discourse.nodered.org/u/E.Strobel)\
**Replies:** 4\
**Last updated:** [6 August 2018 12:28 UTC](https://discourse.nodered.org/t/visit-node-red-dashboard-outside-of-local-network/2102 "2018-08-06T12:28:00Z")

</div>

I am trying to view my node-red dashboard outside of the local network. This is coming from my Raspberry Pi 3. Would this be possible through a website like dataplicity? If so I am unsure on how to get node-red to serve …

---

## [Moving from node-red to HTML,javscript,php](https://discourse.nodered.org/t/moving-from-node-red-to-html-javscript-php/2095)

<div class="topic-metadata">

**Author:** [@avalonpb](https://discourse.nodered.org/u/avalonpb)\
**Replies:** 2\
**Last updated:** [6 August 2018 11:45 UTC](https://discourse.nodered.org/t/moving-from-node-red-to-html-javscript-php/2095 "2018-08-06T11:45:12Z")

</div>

So i enjoy node-red and the simplicity of having it work but im trying to move into 1 seamless system rather than having several portals and pages. i currently have a node-red flow that incorperates 1 mqtt node-2 change…

---

## [Feeding template node (mustache) with {{payload}}](https://discourse.nodered.org/t/feeding-template-node-mustache-with-payload/2072)

<div class="topic-metadata">

**Author:** [@MIM](https://discourse.nodered.org/u/MIM)\
**Replies:** 2\
**Last updated:** [6 August 2018 09:30 UTC](https://discourse.nodered.org/t/feeding-template-node-mustache-with-payload/2072 "2018-08-06T09:30:50Z")

</div>

Hi all, on each call of http://:1880/test the old text should be shown up onto the page utilising onload function in combination with {{payload}} as the following flow outlines as example: \[{"id":"196c09a7.6b48d6","typ…

---

## [Strange debug message. Where is it coming from?](https://discourse.nodered.org/t/strange-debug-message-where-is-it-coming-from/2058)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 8\
**Last updated:** [5 August 2018 21:33 UTC](https://discourse.nodered.org/t/strange-debug-message-where-is-it-coming-from/2058 "2018-08-05T21:33:33Z")

</div>

I imported a few nodes that had a Home Assistant node in it to help someone understand his flow. Did that, then deleted the nodes. But now, I am getting this error: Is there ANY way to determine what node could be try…

---

## [Homekit-bridged not working](https://discourse.nodered.org/t/homekit-bridged-not-working/985)

<div class="topic-metadata">

**Author:** [@martinschki](https://discourse.nodered.org/u/martinschki)\
**Replies:** 2\
**Last updated:** [5 August 2018 16:22 UTC](https://discourse.nodered.org/t/homekit-bridged-not-working/985 "2018-08-05T16:22:49Z")

</div>

Hello there, I was trying to implement the homekit-bridge node only to find out that there are several versions. It looks like the “bridged” version is the latest one but even there are two versions: Could someo…

---

## [Node Red Template Custom](https://discourse.nodered.org/t/node-red-template-custom/2069)

<div class="topic-metadata">

**Author:** [@nguyentrangiabao05](https://discourse.nodered.org/u/nguyentrangiabao05)\
**Replies:** 0\
**Last updated:** [5 August 2018 14:21 UTC](https://discourse.nodered.org/t/node-red-template-custom/2069 "2018-08-05T14:21:54Z")

</div>

Hello everyone, Is this possible to use this theme for Node-red Dashboard "AdminLTE"

---

## [Store two var in context not working](https://discourse.nodered.org/t/store-two-var-in-context-not-working/2062)

<div class="topic-metadata">

**Author:** [@tsgwiro1](https://discourse.nodered.org/u/tsgwiro1)\
**Replies:** 4\
**Last updated:** [5 August 2018 11:13 UTC](https://discourse.nodered.org/t/store-two-var-in-context-not-working/2062 "2018-08-05T11:13:54Z")

</div>

Hi I tried to store two variables in the context of a node. Unfortunately only one is stored and the other is not. Here my function: \<\<\< // define output var outval = context.get('outval')||1; // select valve var …

---

## [The node sometimes returns, sometimes not](https://discourse.nodered.org/t/the-node-sometimes-returns-sometimes-not/2053)

<div class="topic-metadata">

**Author:** [@ihsan](https://discourse.nodered.org/u/ihsan)\
**Replies:** 19\
**Last updated:** [5 August 2018 09:57 UTC](https://discourse.nodered.org/t/the-node-sometimes-returns-sometimes-not/2053 "2018-08-05T09:57:06Z")

</div>

The function node below, sometimes returns the message, and sometimes not....I couldn't find a pattern. (sometimes when I open the page at bluemix where node-red is hosted, it returns!) I am probably making a very simpl…

---

## [RBE not "working" as I thought](https://discourse.nodered.org/t/rbe-not-working-as-i-thought/2039)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 34\
**Last updated:** [5 August 2018 01:53 UTC](https://discourse.nodered.org/t/rbe-not-working-as-i-thought/2039 "2018-08-05T01:53:15Z")

</div>

This is really hard to explain quickly and/or easily. Really trying to keep it short: I can change the colour of button backgrounds depending on things happening. It is not CONSTANT. It is only when things change. I…

---

## [Temperature date from xiaomi](https://discourse.nodered.org/t/temperature-date-from-xiaomi/465)

<div class="topic-metadata">

**Author:** [@Erbachm](https://discourse.nodered.org/u/Erbachm)\
**Replies:** 8\
**Last updated:** [3 June 2018 11:29 UTC](https://discourse.nodered.org/t/temperature-date-from-xiaomi/465 "2018-06-03T11:29:51Z")

</div>

Hi All, I’m wanting to capture temperature and humidity data from a Xiaomi sensor. Here’s an example of the output filtered through a json node. {“cmd”:“report”, “model”:“sensor\_ht”, “sid”:“158d0001f4ecc4”, “short\_i…

---

## [I need to exchange ip from localhost (127.0.0.1) over network ip](https://discourse.nodered.org/t/i-need-to-exchange-ip-from-localhost-127-0-0-1-over-network-ip/2043)

<div class="topic-metadata">

**Author:** [@Sergio](https://discourse.nodered.org/u/Sergio)\
**Replies:** 8\
**Last updated:** [4 August 2018 10:38 UTC](https://discourse.nodered.org/t/i-need-to-exchange-ip-from-localhost-127-0-0-1-over-network-ip/2043 "2018-08-04T10:38:53Z")

</div>

I bought a book about arduino projects on the internet (Iot); and in a chapter asks to exchange the ip 127.0.0.1 by another, the example of the book ta by a 10.0.0.6. Where can I change this ip?

---

## [Have I killed my remote machine?](https://discourse.nodered.org/t/have-i-killed-my-remote-machine/1918)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 6\
**Last updated:** [3 August 2018 22:43 UTC](https://discourse.nodered.org/t/have-i-killed-my-remote-machine/1918 "2018-08-03T22:43:22Z")

</div>

Without wanting to sound "typical": It was working this morning, now it isn't. The RPI boots, but seems stuck with something. (See attached picture) Well, Node-red actually. But it is 80+% CPU for a LONG time. Can …

---

## [X-red script does not interpret angular code](https://discourse.nodered.org/t/x-red-script-does-not-interpret-angular-code/2029)

<div class="topic-metadata">

**Author:** [@CatalinFetoiu](https://discourse.nodered.org/u/CatalinFetoiu)\
**Replies:** 4\
**Last updated:** [3 August 2018 21:23 UTC](https://discourse.nodered.org/t/x-red-script-does-not-interpret-angular-code/2029 "2018-08-03T21:23:42Z")

</div>

Hello, I tried to use to following code for the edit dialog of a node: https://pastebin.com/raw/TzA0Hnct From the console logs I see that angular is defined but it does not expand the value of count, showing it like {{…

---

## [Can't we create a custom node with more than one inputs](https://discourse.nodered.org/t/cant-we-create-a-custom-node-with-more-than-one-inputs/2030)

<div class="topic-metadata">

**Author:** [@malinthasa](https://discourse.nodered.org/u/malinthasa)\
**Replies:** 3\
**Last updated:** [3 August 2018 19:40 UTC](https://discourse.nodered.org/t/cant-we-create-a-custom-node-with-more-than-one-inputs/2030 "2018-08-03T19:40:27Z")

</div>

Hi, I tried to create a custom node with 2 inputs. Following is the part of my HTML file where I have given 2 inputs to this node. \<script type="text/javascript"\> RED.nodes.registerType('myNode',{ category: 'my…

---

## [Using dashboard to to set delay time](https://discourse.nodered.org/t/using-dashboard-to-to-set-delay-time/879)

<div class="topic-metadata">

**Author:** [@sbpeachey](https://discourse.nodered.org/u/sbpeachey)\
**Replies:** 19\
**Last updated:** [18 June 2018 21:12 UTC](https://discourse.nodered.org/t/using-dashboard-to-to-set-delay-time/879 "2018-06-18T21:12:57Z")

</div>

Hi I have recently started using node red and I’ve got stuck.! I would like to use a drop down box to select a delay time on delay node. Is this possible? Can someone help? Thanks

---

## [WeMos D1 mini w/espeasy but no MQTT](https://discourse.nodered.org/t/wemos-d1-mini-w-espeasy-but-no-mqtt/1960)

<div class="topic-metadata">

**Author:** [@Backup](https://discourse.nodered.org/u/Backup)\
**Replies:** 70\
**Last updated:** [3 August 2018 14:34 UTC](https://discourse.nodered.org/t/wemos-d1-mini-w-espeasy-but-no-mqtt/1960 "2018-08-03T14:34:13Z")

</div>

I have a Wemos D1 mini with a DHT22 shield all setup with espeasy and I'm reading temperature/humidy in the wemos but can't get it to connect with my mosquitto broker. I have an MQTT node working in node-red and mosquit…

---

## [Sqlite Vs InfluxDB & Grafana](https://discourse.nodered.org/t/sqlite-vs-influxdb-grafana/2009)

<div class="topic-metadata">

**Author:** [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Replies:** 7\
**Last updated:** [3 August 2018 13:41 UTC](https://discourse.nodered.org/t/sqlite-vs-influxdb-grafana/2009 "2018-08-03T13:41:58Z")

</div>

Hello All I have implemented SQLite in my project, using the excellent examples from Csongor Varga My question is this is most effective way to record time series? A drawback from sqlite is the connection to grafana, …

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

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