# General

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

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

**Page:** 936

---

## [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…

---

## [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…

---

## [Unable to deploy my flow with websockets](https://discourse.nodered.org/t/unable-to-deploy-my-flow-with-websockets/4803)

<div class="topic-metadata">

**Author:** [@MMeise](https://discourse.nodered.org/u/MMeise)\
**Replies:** 1\
**Last updated:** [13 November 2018 19:55 UTC](https://discourse.nodered.org/t/unable-to-deploy-my-flow-with-websockets/4803 "2018-11-13T19:55:05Z")

</div>

Hi there, I am running Node-RED 19.5 on Bluemix. Wehen creating a simple flow (or even subflow), I am able to create one or more websocket out nodes and deploy. When using my (more complex) flow, I am unable to create …

---

## [Node-Red will not run](https://discourse.nodered.org/t/node-red-will-not-run/4839)

<div class="topic-metadata">

**Author:** [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Replies:** 10\
**Last updated:** [13 November 2018 19:51 UTC](https://discourse.nodered.org/t/node-red-will-not-run/4839 "2018-11-13T19:51:41Z")

</div>

I recently was trying to fix another program and rolled back a couple updates to my PC. Now Node-Red will not run. This is what I am seeing: Any suggestions on what to do? Thanks

---

## [PING - pass in host/target address via msg?](https://discourse.nodered.org/t/ping-pass-in-host-target-address-via-msg/4818)

<div class="topic-metadata">

**Author:** [@sweetwater](https://discourse.nodered.org/u/sweetwater)\
**Replies:** 15\
**Last updated:** [13 November 2018 19:06 UTC](https://discourse.nodered.org/t/ping-pass-in-host-target-address-via-msg/4818 "2018-11-13T19:06:03Z")

</div>

Ping node: Is there any method to pass in the host ip address of the Ping target? We are hardcoding in the PING address and that works ok, but looking for a way to feed in the ip address via msg. THank you

---

## [Daily energy usage plus costs](https://discourse.nodered.org/t/daily-energy-usage-plus-costs/4648)

<div class="topic-metadata">

**Author:** [@Slayer](https://discourse.nodered.org/u/Slayer)\
**Replies:** 5\
**Last updated:** [13 November 2018 17:39 UTC](https://discourse.nodered.org/t/daily-energy-usage-plus-costs/4648 "2018-11-13T17:39:05Z")

</div>

Hi, I have a hassio running with node-red with an usb cable attached to my kamstrup 162 smart meter. This is configured in home assistant and I can see the data and display it on the ui. What I want to do is make a fu…

---

## [Inject Node: modified flow deploy vs. full deploy](https://discourse.nodered.org/t/inject-node-modified-flow-deploy-vs-full-deploy/4832)

<div class="topic-metadata">

**Author:** [@Sineos](https://discourse.nodered.org/u/Sineos)\
**Replies:** 4\
**Last updated:** [13 November 2018 18:19 UTC](https://discourse.nodered.org/t/inject-node-modified-flow-deploy-vs-full-deploy/4832 "2018-11-13T18:19:14Z")

</div>

When the inject node is set to "once" it fires upon each full deploy but it does not when deploying only the modified flow. Is there a special reason for this different behavior? Generally speaking I would very much app…

---

## [Error while adding a new flow using the API](https://discourse.nodered.org/t/error-while-adding-a-new-flow-using-the-api/4729)

<div class="topic-metadata">

**Author:** [@malinthasa](https://discourse.nodered.org/u/malinthasa)\
**Replies:** 16\
**Last updated:** [13 November 2018 14:03 UTC](https://discourse.nodered.org/t/error-while-adding-a-new-flow-using-the-api/4729 "2018-11-13T14:03:32Z")

</div>

Hi, I am trying to add a flow which has two connected nodes (nodeType1 and nodeType2). Following is my code \` var nodes = \[ { "id":"5554e61.aff8018", "labe…

---

## [Increase download size of e-mail node](https://discourse.nodered.org/t/increase-download-size-of-e-mail-node/4814)

<div class="topic-metadata">

**Author:** [@github768484](https://discourse.nodered.org/u/github768484)\
**Replies:** 2\
**Last updated:** [13 November 2018 12:59 UTC](https://discourse.nodered.org/t/increase-download-size-of-e-mail-node/4814 "2018-11-13T12:59:08Z")

</div>

Hello, Is there a way to increase the download size of the email? I'm using gmail and there is no attachment; however, the e-mail node is cutting off the message when downloading. It looks as if the msg.html is limited …

---

## [Encoding 4-byte signed value](https://discourse.nodered.org/t/encoding-4-byte-signed-value/4720)

<div class="topic-metadata">

**Author:** [@aabbas](https://discourse.nodered.org/u/aabbas)\
**Replies:** 2\
**Last updated:** [13 November 2018 11:41 UTC](https://discourse.nodered.org/t/encoding-4-byte-signed-value/4720 "2018-11-13T11:41:07Z")

</div>

Hi, I have a KNX Energy saver and I am using Node-RED to visualize the consumption. The type of msg.payload is 4-byte signed value. " 09/11/2018 à 12:43:50node: 3156fe23.2366e2knx: write : msg.payload : Object object s…

---

## [Issues after attemp to install open z-wave](https://discourse.nodered.org/t/issues-after-attemp-to-install-open-z-wave/4807)

<div class="topic-metadata">

**Author:** [@NickB](https://discourse.nodered.org/u/NickB)\
**Replies:** 4\
**Last updated:** [12 November 2018 19:00 UTC](https://discourse.nodered.org/t/issues-after-attemp-to-install-open-z-wave/4807 "2018-11-12T19:00:35Z")

</div>

Hi, I was trying to install open zwave, but after that, nothing workins anymore. I followed these instructions https://github.com/OpenZWave/node-openzwave-shared/blob/master/README-raspbian.md (and I did the easy way ) …

---

## [ERROR: Failed to open serial port /dev/ttyACM2](https://discourse.nodered.org/t/error-failed-to-open-serial-port-dev-ttyacm2/4665)

<div class="topic-metadata">

**Author:** [@florent](https://discourse.nodered.org/u/florent)\
**Replies:** 14\
**Last updated:** [12 November 2018 13:58 UTC](https://discourse.nodered.org/t/error-failed-to-open-serial-port-dev-ttyacm2/4665 "2018-11-12T13:58:00Z")

</div>

Hi, How can I change the port ttyACM2 with ttyACM1 with Linux/Stretch in command line ? Node-red doesn't want to start. Before, with ttyACM1 port (usb port), it was ok. I can see the USB ttyACM1 (lsusb /dev) and I kno…

---

## [Node red issue when inject message, the MQTT publish node disconnect](https://discourse.nodered.org/t/node-red-issue-when-inject-message-the-mqtt-publish-node-disconnect/4791)

<div class="topic-metadata">

**Author:** [@aimansaufi](https://discourse.nodered.org/u/aimansaufi)\
**Replies:** 3\
**Last updated:** [12 November 2018 12:39 UTC](https://discourse.nodered.org/t/node-red-issue-when-inject-message-the-mqtt-publish-node-disconnect/4791 "2018-11-12T12:39:21Z")

</div>

i have a issue when i'm trying inject the node, the MQTT publish node( the broker that i'm using: \[io.adafruit.com\]) will always become disconnected and the data is not been updated into the my adafruit feeds . I also …

---

## [Node-red display error](https://discourse.nodered.org/t/node-red-display-error/4795)

<div class="topic-metadata">

**Author:** [@oscoidi](https://discourse.nodered.org/u/oscoidi)\
**Replies:** 0\
**Last updated:** [12 November 2018 12:07 UTC](https://discourse.nodered.org/t/node-red-display-error/4795 "2018-11-12T12:07:30Z")

</div>

Hi, I have been trying to install node-red on Windows server 2016 but this error message appears : Even though node-red seems to work some images and icons are not shown: But the most important issue is that the node…

---

## [Import---\>Examples causing error in console](https://discourse.nodered.org/t/import-examples-causing-error-in-console/4772)

<div class="topic-metadata">

**Author:** [@jewendt](https://discourse.nodered.org/u/jewendt)\
**Replies:** 1\
**Last updated:** [12 November 2018 07:11 UTC](https://discourse.nodered.org/t/import-examples-causing-error-in-console/4772 "2018-11-12T07:11:07Z")

</div>

Recently when I try and perform and import---\> examples on any node providing example I get an error in the console. Anyone have any ideas? Here is an example I am getting from the moment node. 19.4 Node Red 8.12 Nod…

---

## [Saving Data to Google Sheets](https://discourse.nodered.org/t/saving-data-to-google-sheets/4778)

<div class="topic-metadata">

**Author:** [@JPL](https://discourse.nodered.org/u/JPL)\
**Replies:** 1\
**Last updated:** [12 November 2018 07:06 UTC](https://discourse.nodered.org/t/saving-data-to-google-sheets/4778 "2018-11-12T07:06:19Z")

</div>

Looking to save historical data to Google Sheets, but struggling to make it work. I've seen that you use to be able to use Forms to insert the data, but the newer Forms have changed so this option no longer works from wh…

---

## [Recovery procedure for flow that keeps erroring](https://discourse.nodered.org/t/recovery-procedure-for-flow-that-keeps-erroring/4776)

<div class="topic-metadata">

**Author:** [@jewendt](https://discourse.nodered.org/u/jewendt)\
**Replies:** 1\
**Last updated:** [12 November 2018 07:04 UTC](https://discourse.nodered.org/t/recovery-procedure-for-flow-that-keeps-erroring/4776 "2018-11-12T07:04:56Z")

</div>

Is there a standard recovery procedure if you accidentally cause a flow that keeps crashing the console before you can fix it and deploy again? I assume that his is why the backup flow is created but I can't seem to fig…

---

## [Error in creating CSV from json](https://discourse.nodered.org/t/error-in-creating-csv-from-json/4783)

<div class="topic-metadata">

**Author:** [@AnuragSinghChaudhary](https://discourse.nodered.org/u/AnuragSinghChaudhary)\
**Replies:** 1\
**Last updated:** [12 November 2018 07:02 UTC](https://discourse.nodered.org/t/error-in-creating-csv-from-json/4783 "2018-11-12T07:02:55Z")

</div>

I'm using 4 sensors(DHT11,MQ135,YL69,LDR) with arduino, I'm able to get the values on debug screen in json string, while creating csv, i'm getting only DHT11 values (humidity & temperature) other values are coming as 11…

---

## [Flow management and backup](https://discourse.nodered.org/t/flow-management-and-backup/4734)

<div class="topic-metadata">

**Author:** [@Sineos](https://discourse.nodered.org/u/Sineos)\
**Replies:** 6\
**Last updated:** [12 November 2018 05:47 UTC](https://discourse.nodered.org/t/flow-management-and-backup/4734 "2018-11-12T05:47:01Z")

</div>

Is there a way to: Get a flows name Export a flow's json within a flow Catch a deploy event, i.e. do something on / after each deploy? I know about the projects feature (which is great btw.) but I would like to do wit…

---

## [Upgrade of azure-iothub to 1.7.5 causes error in function node](https://discourse.nodered.org/t/upgrade-of-azure-iothub-to-1-7-5-causes-error-in-function-node/4490)

<div class="topic-metadata">

**Author:** [@beneuto](https://discourse.nodered.org/u/beneuto)\
**Replies:** 5\
**Last updated:** [12 November 2018 04:19 UTC](https://discourse.nodered.org/t/upgrade-of-azure-iothub-to-1-7-5-causes-error-in-function-node/4490 "2018-11-12T04:19:31Z")

</div>

The following minimal code works fine in a function node when using azure-iothub@1.7.4 but upgrading to 1.7.5 results in the following error: "TypeError: Callback has to be a Function" This code is minimal and almost s…

---

## [Security system rule](https://discourse.nodered.org/t/security-system-rule/4747)

<div class="topic-metadata">

**Author:** [@jjj](https://discourse.nodered.org/u/jjj)\
**Replies:** 10\
**Last updated:** [11 November 2018 21:32 UTC](https://discourse.nodered.org/t/security-system-rule/4747 "2018-11-11T21:32:23Z")

</div>

Hi, im a about to build a home security system. I have several sensors which are sending their data via MQTT to broker (exapmle:"{"RfReceived": {"Sync":15660,"Low":510,"High":1490, "Data":“123456","RfKey":"None"}} "). On…

---

## [Mqlight configuration with MQ?](https://discourse.nodered.org/t/mqlight-configuration-with-mq/4770)

<div class="topic-metadata">

**Author:** [@anwarbashir](https://discourse.nodered.org/u/anwarbashir)\
**Replies:** 0\
**Last updated:** [11 November 2018 18:17 UTC](https://discourse.nodered.org/t/mqlight-configuration-with-mq/4770 "2018-11-11T18:17:58Z")

</div>

Hi, I have installed node-red on IBM Cloud Foundry. The deployment includes installation of mqlight nodes. However CF have deprecated mqlight, but they have MQ. On MQ I have configured a queue and user. Is it possible to…

---

## [Simple sum gives wrong answer ... I am using get and set](https://discourse.nodered.org/t/simple-sum-gives-wrong-answer-i-am-using-get-and-set/4766)

<div class="topic-metadata">

**Author:** [@questuk](https://discourse.nodered.org/u/questuk)\
**Replies:** 11\
**Last updated:** [11 November 2018 15:45 UTC](https://discourse.nodered.org/t/simple-sum-gives-wrong-answer-i-am-using-get-and-set/4766 "2018-11-11T15:45:36Z")

</div>

Hi, I have been trying to work out why this doesn't work correctly, but cannot see why it is wrong ? I have a counter that increments by 1 every 5 seconds, that inputs to this function. The answer on the output should…

---

## [How to store device(Sonoff,s) status in database using node-red?](https://discourse.nodered.org/t/how-to-store-device-sonoff-s-status-in-database-using-node-red/4765)

<div class="topic-metadata">

**Author:** [@ahmad](https://discourse.nodered.org/u/ahmad)\
**Replies:** 4\
**Last updated:** [11 November 2018 13:36 UTC](https://discourse.nodered.org/t/how-to-store-device-sonoff-s-status-in-database-using-node-red/4765 "2018-11-11T13:36:48Z")

</div>

I want to store device's status e.g which device connected to mqtt or which device is sending signals(ON,OFF) to mqtt.

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

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