# Latest

**URL:** https://discourse.nodered.org/latest.md?page=1345

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

**Page:** 1346

---

## [Get property name in custom validator](https://discourse.nodered.org/t/get-property-name-in-custom-validator/4940)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 2\
**Last updated:** [17 November 2018 06:07 UTC](https://discourse.nodered.org/t/get-property-name-in-custom-validator/4940 "2018-11-17T06:07:08Z")

</div>

Hi folks, When developing a node, you can apply your own custom validators to validate the node properties. RED.nodes.registerType('myType',{ defaults: { myProperty: {value:'', validate:function(v) { …

---

## [Nodered + Telegram Bot as web proxy?](https://discourse.nodered.org/t/nodered-telegram-bot-as-web-proxy/4926)

<div class="topic-metadata">

**Author:** [@cjmaverickforever](https://discourse.nodered.org/u/cjmaverickforever)\
**Replies:** 4\
**Last updated:** [17 November 2018 01:00 UTC](https://discourse.nodered.org/t/nodered-telegram-bot-as-web-proxy/4926 "2018-11-17T01:00:44Z")

</div>

I have node-red running on an RPi in my local network. None of my devices are accessible from the outside (no port forwarding at all) I have a Telegram bot that i use to instruct my node-red to pull data from other devi…

---

## [Xiaomi gateway light sensor](https://discourse.nodered.org/t/xiaomi-gateway-light-sensor/4920)

<div class="topic-metadata">

**Author:** [@Erbachm](https://discourse.nodered.org/u/Erbachm)\
**Replies:** 3\
**Last updated:** [16 November 2018 23:20 UTC](https://discourse.nodered.org/t/xiaomi-gateway-light-sensor/4920 "2018-11-16T23:20:04Z")

</div>

Hi All, Just wondering if there is any way to read light sensor information from the Xiaomi gateway. I can see in the app that it's possible to create scenes using the gateway "is dark" status but I'm not sure how to ge…

---

## [TCP node - TLS/SSL - XML](https://discourse.nodered.org/t/tcp-node-tls-ssl-xml/4938)

<div class="topic-metadata">

**Author:** [@Frank](https://discourse.nodered.org/u/Frank)\
**Replies:** 0\
**Last updated:** [16 November 2018 21:54 UTC](https://discourse.nodered.org/t/tcp-node-tls-ssl-xml/4938 "2018-11-16T21:54:26Z")

</div>

Hi all, in our company we have develop a XML TCP server (Interface) with TLS/SSL. For any month I have realized a XML connection with the TCP node and now I will upgrade the XML connection via TCP but I can't find a sol…

---

## [Node-red-contrib-openaq](https://discourse.nodered.org/t/node-red-contrib-openaq/4935)

<div class="topic-metadata">

**Author:** [@tverilytt](https://discourse.nodered.org/u/tverilytt)\
**Replies:** 0\
**Last updated:** [16 November 2018 18:13 UTC](https://discourse.nodered.org/t/node-red-contrib-openaq/4935 "2018-11-16T18:13:33Z")

</div>

node-red-contrib-openaq uses the OpenAQ API to access open air quality data. A live sample can be found here

---

## [Json object save to mysql Error ER\_PARSE\_ERROR](https://discourse.nodered.org/t/json-object-save-to-mysql-error-er-parse-error/4918)

<div class="topic-metadata">

**Author:** [@junoprima](https://discourse.nodered.org/u/junoprima)\
**Replies:** 9\
**Last updated:** [16 November 2018 09:50 UTC](https://discourse.nodered.org/t/json-object-save-to-mysql-error-er-parse-error/4918 "2018-11-16T09:50:56Z")

</div>

Hello i have a problem i need to save data from json object and save to mysql my code like this for example var newMSG = msg.payload; timestamp = newMSG.rx.gwrx\[0\].time.split(' '); date = { payload: timestamp\[0\]}; tim…

---

## ["Lost Connection to server" on Ubuntu](https://discourse.nodered.org/t/lost-connection-to-server-on-ubuntu/4860)

<div class="topic-metadata">

**Author:** [@coster](https://discourse.nodered.org/u/coster)\
**Replies:** 16\
**Last updated:** [16 November 2018 06:13 UTC](https://discourse.nodered.org/t/lost-connection-to-server-on-ubuntu/4860 "2018-11-16T06:13:33Z")

</div>

Hallo, installed node-red on a fresh ubuntu 18.04 system: sudo npm install -g --unsafe-perm node-red after starting it, I got the error: "Lost connection to server, reconnecting in ..." In Javascript console: red.m…

---

## [Help publishing a flow](https://discourse.nodered.org/t/help-publishing-a-flow/4864)

<div class="topic-metadata">

**Author:** [@ampherion](https://discourse.nodered.org/u/ampherion)\
**Replies:** 3\
**Last updated:** [15 November 2018 22:57 UTC](https://discourse.nodered.org/t/help-publishing-a-flow/4864 "2018-11-15T22:57:37Z")

</div>

I'm having an issue publishing a new flow. When I click on the the "create flow" button I get a spinning wheel icon for 2 seconds or so and then no other feedback. The flow doesn't publish to my gist or appear in the l…

---

## [Problem using ng-change directive with Dashboard Template](https://discourse.nodered.org/t/problem-using-ng-change-directive-with-dashboard-template/2143)

<div class="topic-metadata">

**Author:** [@Yago\_1979](https://discourse.nodered.org/u/Yago_1979)\
**Replies:** 3\
**Last updated:** [15 November 2018 20:53 UTC](https://discourse.nodered.org/t/problem-using-ng-change-directive-with-dashboard-template/2143 "2018-11-15T20:53:06Z")

</div>

Hello everyone, I am new to this forum and to using the dashboard template node. I have a flow where some input texts are populated from a message object that contains some arrays. This is working nice, but I need these …

---

## [Node-red helm chart](https://discourse.nodered.org/t/node-red-helm-chart/3784)

<div class="topic-metadata">

**Author:** [@billimek](https://discourse.nodered.org/u/billimek)\
**Replies:** 4\
**Last updated:** [15 November 2018 21:02 UTC](https://discourse.nodered.org/t/node-red-helm-chart/3784 "2018-11-15T21:02:56Z")

</div>

I've created a kubernetes 'helm chart' for node-red based on the official node-red docker image, and intend to submit for inclusion to the official charts repo. Any feedback or suggestions for this chart would be most we…

---

## [Unable to install node-red-admin](https://discourse.nodered.org/t/unable-to-install-node-red-admin/4845)

<div class="topic-metadata">

**Author:** [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Replies:** 2\
**Last updated:** [15 November 2018 18:55 UTC](https://discourse.nodered.org/t/unable-to-install-node-red-admin/4845 "2018-11-15T18:55:36Z")

</div>

I am trying to npm install -g node-red-admin but getting many errors and warnings. I am trying to install so I can run node-red-admin hash-pw Console log below: node-red-admin error.txt (2.8 KB)

---

## [Feature request: Show side nav on larger displays option](https://discourse.nodered.org/t/feature-request-show-side-nav-on-larger-displays-option/4821)

<div class="topic-metadata">

**Author:** [@svefro](https://discourse.nodered.org/u/svefro)\
**Replies:** 9\
**Last updated:** [15 November 2018 18:42 UTC](https://discourse.nodered.org/t/feature-request-show-side-nav-on-larger-displays-option/4821 "2018-11-15T18:42:02Z")

</div>

When using node-red-dashboard as a frontend for my house on a tablet it would be nice to be able to always show the side nav when there is room on the screen. Like the first sample here https://material.angularjs.org/la…

---

## [Angular Js text font](https://discourse.nodered.org/t/angular-js-text-font/4562)

<div class="topic-metadata">

**Author:** [@cpaolojo](https://discourse.nodered.org/u/cpaolojo)\
**Replies:** 1\
**Last updated:** [15 November 2018 18:39 UTC](https://discourse.nodered.org/t/angular-js-text-font/4562 "2018-11-15T18:39:29Z")

</div>

hi all. just a brief and probably question. is there a list of text font available in angular js? is it possible adding new text font?if yes,how? thanks a lot Paolo

---

## [\[ANNOUNCE\] node-red-contrib-random-event-generator](https://discourse.nodered.org/t/announce-node-red-contrib-random-event-generator/4849)

<div class="topic-metadata">

**Author:** [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Replies:** 4\
**Last updated:** [14 November 2018 00:27 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-random-event-generator/4849 "2018-11-14T00:27:45Z")

</div>

I have uploaded a new node to npm, node-red-contrib-random-event-generator. From the README: This node generates events (messages) at intervals drawn from a random distribution. By default, an exponential distribution …

---

## [Flow context question](https://discourse.nodered.org/t/flow-context-question/4909)

<div class="topic-metadata">

**Author:** [@JayDickson](https://discourse.nodered.org/u/JayDickson)\
**Replies:** 2\
**Last updated:** [15 November 2018 18:21 UTC](https://discourse.nodered.org/t/flow-context-question/4909 "2018-11-15T18:21:05Z")

</div>

Is it possible to get the contents of a flow context entry without hard-coding the name? For example: In one function I am doing a flow.set(name, {fields}); to populate a long list of flow variables with an object contai…

---

## [Projects: problem pushing to multiple remotes](https://discourse.nodered.org/t/projects-problem-pushing-to-multiple-remotes/4898)

<div class="topic-metadata">

**Author:** [@nlecaude](https://discourse.nodered.org/u/nlecaude)\
**Replies:** 5\
**Last updated:** [15 November 2018 16:31 UTC](https://discourse.nodered.org/t/projects-problem-pushing-to-multiple-remotes/4898 "2018-11-15T16:31:04Z")

</div>

I'm testing the projects feature and can't seem to do what I want: I'm cloning a private repo from BitBucket that is setup with a read-only deploy key. The goal is to pull via ssh (no password required) and push via ht…

---

## [Controlling NeoPixels](https://discourse.nodered.org/t/controlling-neopixels/4560)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 19\
**Last updated:** [15 November 2018 15:38 UTC](https://discourse.nodered.org/t/controlling-neopixels/4560 "2018-11-15T15:38:28Z")

</div>

Controlling NeoPixels I've just finished writing an instruction sheet, for my IoT students, on how to control NeoPixel strips. Note: This exercise uses a WeMos D1 Mini, Node-RED and MQTT (mosquitto) and of course a Neo…

---

## [How to get active flow configuration via admin api](https://discourse.nodered.org/t/how-to-get-active-flow-configuration-via-admin-api/4893)

<div class="topic-metadata">

**Author:** [@AtomicSpider](https://discourse.nodered.org/u/AtomicSpider)\
**Replies:** 1\
**Last updated:** [15 November 2018 11:17 UTC](https://discourse.nodered.org/t/how-to-get-active-flow-configuration-via-admin-api/4893 "2018-11-15T11:17:48Z")

</div>

Hi, I can access the unsaved flow configuration by clicking on Menu\>export\>clipboard How can I access the same via admin apis? I tried using /flow/:id and /flows but that only gives deployed flows.

---

## [Node red and thingsboard](https://discourse.nodered.org/t/node-red-and-thingsboard/4890)

<div class="topic-metadata">

**Author:** [@hanno1234](https://discourse.nodered.org/u/hanno1234)\
**Replies:** 0\
**Last updated:** [15 November 2018 10:30 UTC](https://discourse.nodered.org/t/node-red-and-thingsboard/4890 "2018-11-15T10:30:37Z")

</div>

hi everyone, i am currently busy with a project where i read data from a PLC with node. but the problem is i have to be able to access the node red dashboard over the internet(which i decided against), instead i tried us…

---

## [New node released: node-red-contrib-notification-center](https://discourse.nodered.org/t/new-node-released-node-red-contrib-notification-center/4884)

<div class="topic-metadata">

**Author:** [@myplacedk](https://discourse.nodered.org/u/myplacedk)\
**Replies:** 0\
**Last updated:** [15 November 2018 09:24 UTC](https://discourse.nodered.org/t/new-node-released-node-red-contrib-notification-center/4884 "2018-11-15T09:24:13Z")

</div>

node-red-contrib-notification-center A single place to send all notifications through, so they can all be handled in a consistent way.

---

## [Node-red-contrib-knx install problem](https://discourse.nodered.org/t/node-red-contrib-knx-install-problem/4740)

<div class="topic-metadata">

**Author:** [@mkauli](https://discourse.nodered.org/u/mkauli)\
**Replies:** 5\
**Last updated:** [15 November 2018 08:35 UTC](https://discourse.nodered.org/t/node-red-contrib-knx-install-problem/4740 "2018-11-15T08:35:09Z")

</div>

Hi, I try to install node-red-contrib-knx on a raspberry PI3 - when executing the following command in the folder "pi@RaspHarmon:~/.node-red " I get an error message: Command: "npm install node-red-contrib-knxjs" Outp…

---

## [Count timer lamp](https://discourse.nodered.org/t/count-timer-lamp/4877)

<div class="topic-metadata">

**Author:** [@ifix](https://discourse.nodered.org/u/ifix)\
**Replies:** 2\
**Last updated:** [15 November 2018 07:42 UTC](https://discourse.nodered.org/t/count-timer-lamp/4877 "2018-11-15T07:42:43Z")

</div>

hello i want count time of power on of my pump. and i want reset. i use function count. i have the problem for trasform second in format HH:MM:SS and reset count thanks \[{"id":"df04f0a9.f712d","type":"tab","label":…

---

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

<div class="topic-metadata">

**Author:** [@Flixm](https://discourse.nodered.org/u/Flixm)\
**Replies:** 3\
**Last updated:** [14 November 2018 22:19 UTC](https://discourse.nodered.org/t/how-to-add-a-topic-to-the-msg-payload/4880 "2018-11-14T22:19:38Z")

</div>

Hi, i want to change a incoming message (msg.payload) into a msg. payload AND a Topic. I´m a newby ... so please give me an easy solution Thanks in advance This is an example for my actually node situation: \[{"id":"…

---

## [Convert a Buffer into a JavascriptObject](https://discourse.nodered.org/t/convert-a-buffer-into-a-javascriptobject/4879)

<div class="topic-metadata">

**Author:** [@dubaleeiro](https://discourse.nodered.org/u/dubaleeiro)\
**Replies:** 2\
**Last updated:** [14 November 2018 22:17 UTC](https://discourse.nodered.org/t/convert-a-buffer-into-a-javascriptobject/4879 "2018-11-14T22:17:02Z")

</div>

Hello, I am trying to convert the following buffer out of an sensor into a Javascript Object withou any success... Can anyone plz help me? I am trying to convert the raw data throught the following code: var XDK\_str =…

---

## [How to install a Amazon Dash Button node?](https://discourse.nodered.org/t/how-to-install-a-amazon-dash-button-node/4761)

<div class="topic-metadata">

**Author:** [@Flixm](https://discourse.nodered.org/u/Flixm)\
**Replies:** 11\
**Last updated:** [14 November 2018 21:00 UTC](https://discourse.nodered.org/t/how-to-install-a-amazon-dash-button-node/4761 "2018-11-14T21:00:00Z")

</div>

hi, the whole evening i tried to install one of the two dash-button nodes. The problem is that on both available nodes i need to install other things before which won´t work ... first is: npm -g install node-red-contr…

---

## [Installing on win 2012 server R2](https://discourse.nodered.org/t/installing-on-win-2012-server-r2/4585)

<div class="topic-metadata">

**Author:** [@rmh](https://discourse.nodered.org/u/rmh)\
**Replies:** 8\
**Last updated:** [14 November 2018 18:34 UTC](https://discourse.nodered.org/t/installing-on-win-2012-server-r2/4585 "2018-11-14T18:34:47Z")

</div>

Struggling with this... What I want to have is node-red working behind iis via iisnode, basically the same setup as one installs on azure, but this is on a standalone (public) server. What I have done so far: Installe…

---

## [Extract value from payload](https://discourse.nodered.org/t/extract-value-from-payload/4804)

<div class="topic-metadata">

**Author:** [@pentadom](https://discourse.nodered.org/u/pentadom)\
**Replies:** 11\
**Last updated:** [14 November 2018 16:09 UTC](https://discourse.nodered.org/t/extract-value-from-payload/4804 "2018-11-14T16:09:46Z")

</div>

Hello, I'm receiving a payload with the next format: I want to extract the value read on the channel A sensor (Bytes 3, 4 and 5) and convert into a decimal value as explains in the example (in my case the type os sen…

---

## [Example for Bayeux protocol for long-polling streaming api](https://discourse.nodered.org/t/example-for-bayeux-protocol-for-long-polling-streaming-api/4873)

<div class="topic-metadata">

**Author:** [@rladd](https://discourse.nodered.org/u/rladd)\
**Replies:** 0\
**Last updated:** [14 November 2018 16:06 UTC](https://discourse.nodered.org/t/example-for-bayeux-protocol-for-long-polling-streaming-api/4873 "2018-11-14T16:06:43Z")

</div>

I'm wondering if there are any good examples on making a custom node to handle subscribing to a realtime api channel. What happens is this: first you send a post request with your user/pass authentication to a handshak…

---

## [MysqlDBNode reuses the same connection for all access](https://discourse.nodered.org/t/mysqldbnode-reuses-the-same-connection-for-all-access/4856)

<div class="topic-metadata">

**Author:** [@svrist](https://discourse.nodered.org/u/svrist)\
**Replies:** 2\
**Last updated:** [14 November 2018 15:59 UTC](https://discourse.nodered.org/t/mysqldbnode-reuses-the-same-connection-for-all-access/4856 "2018-11-14T15:59:30Z")

</div>

We have a node-red flow with multiple API endpoints GET /api/this, GET /api/that etc. that all access the database. Most often simple "SELECT something FROM table" We observed that if one of those endpoints did a query …

---

## [Help with dashboard crashing](https://discourse.nodered.org/t/help-with-dashboard-crashing/3345)

<div class="topic-metadata">

**Author:** [@genepool](https://discourse.nodered.org/u/genepool)\
**Replies:** 19\
**Last updated:** [14 November 2018 13:58 UTC](https://discourse.nodered.org/t/help-with-dashboard-crashing/3345 "2018-11-14T13:58:16Z")

</div>

I am running Node-Red (v.0.19.4) with Node.js (v8.12) on a Raspberry Pi 3. After about a day the dashboard will not load or load with very minimal data, like just the logo in the top right corner. I get a lot of "failed …

[Previous page](https://discourse.nodered.org/latest.md?page=1344)

[Next page](https://discourse.nodered.org/latest.md?page=1346)
