# General

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

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

**Page:** 909

---

## [Display pi sensor data to i2c lcd](https://discourse.nodered.org/t/display-pi-sensor-data-to-i2c-lcd/8571)

<div class="topic-metadata">

**Author:** [@Frankjt](https://discourse.nodered.org/u/Frankjt)\
**Replies:** 5\
**Last updated:** [4 March 2019 21:03 UTC](https://discourse.nodered.org/t/display-pi-sensor-data-to-i2c-lcd/8571 "2019-03-04T21:03:32Z")

</div>

Hi all, Sorry, for such a noob question, but I’m really stuck here. I have very little (no) programming experience prior to discovering node red last year. I’ve successfully created a few projects, the biggest control…

---

## [Serial data from arduino](https://discourse.nodered.org/t/serial-data-from-arduino/8602)

<div class="topic-metadata">

**Author:** [@mani2411](https://discourse.nodered.org/u/mani2411)\
**Replies:** 3\
**Last updated:** [4 March 2019 17:45 UTC](https://discourse.nodered.org/t/serial-data-from-arduino/8602 "2019-03-04T17:45:10Z")

</div>

hi all i interfaced arduino with raspberry pi and getting serial data on node red from serial node but i want to print sensor data on dashboard gauge My msg.payload is giving "distance:xx" i am using ultrasonic sensor…

---

## [ToneAnalyzer: "Missing a minor version parameter in the URL."](https://discourse.nodered.org/t/toneanalyzer-missing-a-minor-version-parameter-in-the-url/8540)

<div class="topic-metadata">

**Author:** [@nhar](https://discourse.nodered.org/u/nhar)\
**Replies:** 4\
**Last updated:** [4 March 2019 16:00 UTC](https://discourse.nodered.org/t/toneanalyzer-missing-a-minor-version-parameter-in-the-url/8540 "2019-03-04T16:00:36Z")

</div>

Hi, I'm new to nodered. I have a basic toneanalyzer set up with a inject \> toneanalyzer \> reponse path. I've just set up a connection between my ToneAnalyzer and my nodered instance. When I try to inject the string, I …

---

## [Pie in the Sky idea - is it possible to package a NodeRED flow for standalone use?](https://discourse.nodered.org/t/pie-in-the-sky-idea-is-it-possible-to-package-a-nodered-flow-for-standalone-use/8595)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 2\
**Last updated:** [4 March 2019 14:57 UTC](https://discourse.nodered.org/t/pie-in-the-sky-idea-is-it-possible-to-package-a-nodered-flow-for-standalone-use/8595 "2019-03-04T14:57:32Z")

</div>

i.e. code up flow as normal - then run a compiler that converts whole flow/node.js/npm stuff into standalone executable (in my use case - to run on Win10) ??? Simon

---

## [How to remove : in mac address?](https://discourse.nodered.org/t/how-to-remove-in-mac-address/8593)

<div class="topic-metadata">

**Author:** [@jycemea](https://discourse.nodered.org/u/jycemea)\
**Replies:** 2\
**Last updated:** [4 March 2019 13:36 UTC](https://discourse.nodered.org/t/how-to-remove-in-mac-address/8593 "2019-03-04T13:36:01Z")

</div>

Hi all, how to remove : from the mac: baseElements\[1\] result , as below : 58:6D:8F:49:42:4E =\> 586D8F49424E in the following code : let i; let wifiAccessPointsStrings = elements\[5\].split("&") let j; let ap = \[\]; for …

---

## [Whats wrong with my " for loop" and array selection](https://discourse.nodered.org/t/whats-wrong-with-my-for-loop-and-array-selection/8570)

<div class="topic-metadata">

**Author:** [@BastelKlaus](https://discourse.nodered.org/u/BastelKlaus)\
**Replies:** 7\
**Last updated:** [4 March 2019 12:40 UTC](https://discourse.nodered.org/t/whats-wrong-with-my-for-loop-and-array-selection/8570 "2019-03-04T12:40:09Z")

</div>

Hi i need to send several requests to my heater, end i will sort his answer to the right output. like: The heater can handel max 4-5 requests in 1 Buffer, so i have to split the requests. In my function i try to se…

---

## [Run nodes with root privileges](https://discourse.nodered.org/t/run-nodes-with-root-privileges/8575)

<div class="topic-metadata">

**Author:** [@pictux](https://discourse.nodered.org/u/pictux)\
**Replies:** 11\
**Last updated:** [4 March 2019 12:35 UTC](https://discourse.nodered.org/t/run-nodes-with-root-privileges/8575 "2019-03-04T12:35:29Z")

</div>

Hi everybody! There are nodes requiring root privileges in order to run (i.e. amazondash, sonoff server, ..). Is there a way to run those specific nodes in a "sudo" way? Thanks! Cheers

---

## [Disabled flow: how to "disable" also nodes within it](https://discourse.nodered.org/t/disabled-flow-how-to-disable-also-nodes-within-it/8574)

<div class="topic-metadata">

**Author:** [@pictux](https://discourse.nodered.org/u/pictux)\
**Replies:** 7\
**Last updated:** [4 March 2019 11:48 UTC](https://discourse.nodered.org/t/disabled-flow-how-to-disable-also-nodes-within-it/8574 "2019-03-04T11:48:04Z")

</div>

Hi guys, i have a local nodered instance used to test some nodes / flows before to move to the final hw. After the release, i usually keep those flows - disabled. But I see that the nodes within those flows are still r…

---

## [Calculate energy per heating session](https://discourse.nodered.org/t/calculate-energy-per-heating-session/8537)

<div class="topic-metadata">

**Author:** [@SaiQmon](https://discourse.nodered.org/u/SaiQmon)\
**Replies:** 4\
**Last updated:** [3 March 2019 20:01 UTC](https://discourse.nodered.org/t/calculate-energy-per-heating-session/8537 "2019-03-03T20:01:08Z")

</div>

Hi! I have boiler which is heated up by burning logs. I've just installed heat meter which I can read by RS-232, or actually meter transmits data periodically to Node-Red, such as current heating power (kW), inlet and o…

---

## [Nothing happens for click](https://discourse.nodered.org/t/nothing-happens-for-click/8494)

<div class="topic-metadata">

**Author:** [@hebergeweb](https://discourse.nodered.org/u/hebergeweb)\
**Replies:** 21\
**Last updated:** [4 March 2019 08:41 UTC](https://discourse.nodered.org/t/nothing-happens-for-click/8494 "2019-03-04T08:41:15Z")

</div>

I can not change the size of node, same problem if i click on the + element button Nothing happens

---

## [Json to influx problem](https://discourse.nodered.org/t/json-to-influx-problem/8581)

<div class="topic-metadata">

**Author:** [@cismarine](https://discourse.nodered.org/u/cismarine)\
**Replies:** 2\
**Last updated:** [4 March 2019 08:24 UTC](https://discourse.nodered.org/t/json-to-influx-problem/8581 "2019-03-04T08:24:56Z")

</div>

hi, I am pushing the following data to influxdb and not getting any values stored: {"data":{"voltage":2995,"temperature":23.22,"humidity":41.34,"pressure":964.2,"batteryLevel":80}} what can be the problem? TIA Bart

---

## [Share Variables across multiple RPi](https://discourse.nodered.org/t/share-variables-across-multiple-rpi/8538)

<div class="topic-metadata">

**Author:** [@tsdasd](https://discourse.nodered.org/u/tsdasd)\
**Replies:** 6\
**Last updated:** [3 March 2019 20:51 UTC](https://discourse.nodered.org/t/share-variables-across-multiple-rpi/8538 "2019-03-03T20:51:50Z")

</div>

What would be your ideal approach to share global variables across multiple RPi's each with one node-red instance? Would you take the approach of a MySQL database where you could write / read the variables?

---

## [Node red with raspberry pi using dht](https://discourse.nodered.org/t/node-red-with-raspberry-pi-using-dht/8563)

<div class="topic-metadata">

**Author:** [@mani2411](https://discourse.nodered.org/u/mani2411)\
**Replies:** 1\
**Last updated:** [3 March 2019 18:47 UTC](https://discourse.nodered.org/t/node-red-with-raspberry-pi-using-dht/8563 "2019-03-03T18:47:27Z")

</div>

Hi all, i linked arduino with raspberry pi and done some analog and digital controls over node red using standard firmata now i want to interface dht11 sensor with arduino and get data over node red please help me Than…

---

## [Custom Node with long drop down](https://discourse.nodered.org/t/custom-node-with-long-drop-down/8452)

<div class="topic-metadata">

**Author:** [@bertmartin](https://discourse.nodered.org/u/bertmartin)\
**Replies:** 2\
**Last updated:** [3 March 2019 16:48 UTC](https://discourse.nodered.org/t/custom-node-with-long-drop-down/8452 "2019-03-03T16:48:22Z")

</div>

I am working on a custom node that the configuration has a drop down list that is dynamically created. My issue is that the list has gotten very long and doesn’t have a way to scroll up and down - once it hits a certain…

---

## [Temperature is not stable - Multisensor ZW100](https://discourse.nodered.org/t/temperature-is-not-stable-multisensor-zw100/8347)

<div class="topic-metadata">

**Author:** [@florent](https://discourse.nodered.org/u/florent)\
**Replies:** 5\
**Last updated:** [3 March 2019 16:39 UTC](https://discourse.nodered.org/t/temperature-is-not-stable-multisensor-zw100/8347 "2019-03-03T16:39:42Z")

</div>

Hello, My temperature with my multisensor is not regular. By default it is in farenheit and I try to convert it in celsius. But, one time it give me a temperature in farenheit (so, in this case it's ok and I can conv…

---

## [Does the context.global.set affect array somehow?](https://discourse.nodered.org/t/does-the-context-global-set-affect-array-somehow/8514)

<div class="topic-metadata">

**Author:** [@Petr](https://discourse.nodered.org/u/Petr)\
**Replies:** 14\
**Last updated:** [3 March 2019 15:50 UTC](https://discourse.nodered.org/t/does-the-context-global-set-affect-array-somehow/8514 "2019-03-03T15:50:22Z")

</div>

Does the "context.global.set" affect array somehow or it is just my low knowledge of js syntax? When I declare the var dataSet using the array (first uncommented line below), my table works. When I uncomment the line …

---

## [Problem with parse a string to DateTime](https://discourse.nodered.org/t/problem-with-parse-a-string-to-datetime/8556)

<div class="topic-metadata">

**Author:** [@howl](https://discourse.nodered.org/u/howl)\
**Replies:** 5\
**Last updated:** [3 March 2019 15:33 UTC](https://discourse.nodered.org/t/problem-with-parse-a-string-to-datetime/8556 "2019-03-03T15:33:17Z")

</div>

Hello, from an application I get the date in the format "20111230T213000Z", how can I convert it in a function to a DateTime object to calculate with it etc.? var d = new Date('20111230T213000Z') does not work. Holger …

---

## [Personalize Telegram message with entity\_id name](https://discourse.nodered.org/t/personalize-telegram-message-with-entity-id-name/8453)

<div class="topic-metadata">

**Author:** [@msanchezt](https://discourse.nodered.org/u/msanchezt)\
**Replies:** 7\
**Last updated:** [3 March 2019 15:28 UTC](https://discourse.nodered.org/t/personalize-telegram-message-with-entity-id-name/8453 "2019-03-03T15:28:17Z")

</div>

Hi, I'm using Home Assistant in conjunction with NodeRed. I have the following automation in place that sends a Telegram alert every time opens a blind (I have 4 blinds in the living room). The The problem is don't kno…

---

## [In node-red how to get the file last modified timestamp](https://discourse.nodered.org/t/in-node-red-how-to-get-the-file-last-modified-timestamp/8402)

<div class="topic-metadata">

**Author:** [@VIKRAMAS](https://discourse.nodered.org/u/VIKRAMAS)\
**Replies:** 16\
**Last updated:** [3 March 2019 11:39 UTC](https://discourse.nodered.org/t/in-node-red-how-to-get-the-file-last-modified-timestamp/8402 "2019-03-03T11:39:14Z")

</div>

In node-red as watch node will be triggered for modification I'm trying to get the last file modified time, but is there any node to get the file last modified time.

---

## [Simple project, but no reset](https://discourse.nodered.org/t/simple-project-but-no-reset/8465)

<div class="topic-metadata">

**Author:** [@nodepi](https://discourse.nodered.org/u/nodepi)\
**Replies:** 7\
**Last updated:** [3 March 2019 10:54 UTC](https://discourse.nodered.org/t/simple-project-but-no-reset/8465 "2019-03-03T10:54:13Z")

</div>

Hi, my farming neighbour requested a simple flood irrigation alarm to wake him at night so he can go redirect the water, no problem I thought. But I am having major trouble testing and resetting it with the dash interfac…

---

## [In node-red how to read gpio from dell gateway 3001](https://discourse.nodered.org/t/in-node-red-how-to-read-gpio-from-dell-gateway-3001/8205)

<div class="topic-metadata">

**Author:** [@VIKRAMAS](https://discourse.nodered.org/u/VIKRAMAS)\
**Replies:** 12\
**Last updated:** [3 March 2019 10:09 UTC](https://discourse.nodered.org/t/in-node-red-how-to-read-gpio-from-dell-gateway-3001/8205 "2019-03-03T10:09:07Z")

</div>

we are integrating with dell gateway 3001 but we are not getting how to work with gpio from node-red. The operating System is ubutu core. The manual for dell gateway for using gpio is in https://www.dell.com/support/man…

---

## [How to display logs when setting Node-RED as a scheduled task on Windows](https://discourse.nodered.org/t/how-to-display-logs-when-setting-node-red-as-a-scheduled-task-on-windows/8528)

<div class="topic-metadata">

**Author:** [@thkfighter](https://discourse.nodered.org/u/thkfighter)\
**Replies:** 2\
**Last updated:** [2 March 2019 23:46 UTC](https://discourse.nodered.org/t/how-to-display-logs-when-setting-node-red-as-a-scheduled-task-on-windows/8528 "2019-03-02T23:46:49Z")

</div>

I run Node-RED on Windows 10 startup by setting it as a scheduled task, according to the documentation " Run Node-RED on Startup". Is there a way to display the log to the CLI, like PowerShell, with some command like no…

---

## [Hpe\_invalid\_header\_token](https://discourse.nodered.org/t/hpe-invalid-header-token/8414)

<div class="topic-metadata">

**Author:** [@dandres](https://discourse.nodered.org/u/dandres)\
**Replies:** 1\
**Last updated:** [2 March 2019 17:04 UTC](https://discourse.nodered.org/t/hpe-invalid-header-token/8414 "2019-03-02T17:04:31Z")

</div>

Using the node http request with method get, I get the error hpe\_invalid\_header\_token. there is a npm module called "http-parser-js" that works perfectly in node.js, but, being a patch monkey I can not implement it in n…

---

## [ReferenceError: node is not defined](https://discourse.nodered.org/t/referenceerror-node-is-not-defined/8523)

<div class="topic-metadata">

**Author:** [@Samuel](https://discourse.nodered.org/u/Samuel)\
**Replies:** 11\
**Last updated:** [2 March 2019 16:50 UTC](https://discourse.nodered.org/t/referenceerror-node-is-not-defined/8523 "2019-03-02T16:50:29Z")

</div>

hi guys, yesterday I have made a fatal mistake which broke my node red (again :frowning: ). I have copied couple of nodes between two machines running node red. unfortunately this broke node red and removing npm, node…

---

## [Prevent spamming messages from motion sensor](https://discourse.nodered.org/t/prevent-spamming-messages-from-motion-sensor/8525)

<div class="topic-metadata">

**Author:** [@NNE](https://discourse.nodered.org/u/NNE)\
**Replies:** 2\
**Last updated:** [2 March 2019 15:54 UTC](https://discourse.nodered.org/t/prevent-spamming-messages-from-motion-sensor/8525 "2019-03-02T15:54:33Z")

</div>

I have MQTT outside motion sensor that trigger speech to all Google Cast devices, this works great but I would like to limit the triggers or messages. It's enought to have a message once and if no motions are triggered f…

---

## [Is it possible to use NodeRED as functioning LAN https server?](https://discourse.nodered.org/t/is-it-possible-to-use-nodered-as-functioning-lan-https-server/8078)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 9\
**Last updated:** [2 March 2019 13:24 UTC](https://discourse.nodered.org/t/is-it-possible-to-use-nodered-as-functioning-lan-https-server/8078 "2019-03-02T13:24:13Z")

</div>

I'm currently running a python https webserver to handle requests from Scratch 3 to control GPIO pins I'm wondering if I could use NodeRED as an alternative?

---

## [Great Forum! Keep it UP](https://discourse.nodered.org/t/great-forum-keep-it-up/8518)

<div class="topic-metadata">

**Author:** [@Vince](https://discourse.nodered.org/u/Vince)\
**Replies:** 0\
**Last updated:** [2 March 2019 03:25 UTC](https://discourse.nodered.org/t/great-forum-keep-it-up/8518 "2019-03-02T03:25:48Z")

</div>

Thank you Contributors, Moderators, Admins and everyone else behind Node-Red and this forum in particular. I didnt know how good this place is until I spent couple nights trying to get some answers on hardware related q…

---

## [How do I set up Rollertrol with RFXtrx?](https://discourse.nodered.org/t/how-do-i-set-up-rollertrol-with-rfxtrx/3531)

<div class="topic-metadata">

**Author:** [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Replies:** 8\
**Last updated:** [2 March 2019 03:22 UTC](https://discourse.nodered.org/t/how-do-i-set-up-rollertrol-with-rfxtrx/3531 "2019-03-02T03:22:07Z")

</div>

I have the address for my Rollertrol setup, BLINDS\_T0/0x3939. And then of course there's the curtain number. But still I'm not really sure about the formatting. I tried this in a function node, injecting a timestamp as t…

---

## [Window object not available](https://discourse.nodered.org/t/window-object-not-available/8488)

<div class="topic-metadata">

**Author:** [@talhairfanbentley](https://discourse.nodered.org/u/talhairfanbentley)\
**Replies:** 10\
**Last updated:** [1 March 2019 17:07 UTC](https://discourse.nodered.org/t/window-object-not-available/8488 "2019-03-01T17:07:16Z")

</div>

I have developed a custom node, which is using some front end objects, 1 Mar 12:09:40 - \[warn\] \[imodel-query/imodel-query\] ReferenceError: window is not defined

---

## [Deploy node-red application on other offline machine through Jenkins](https://discourse.nodered.org/t/deploy-node-red-application-on-other-offline-machine-through-jenkins/8506)

<div class="topic-metadata">

**Author:** [@more](https://discourse.nodered.org/u/more)\
**Replies:** 1\
**Last updated:** [1 March 2019 16:57 UTC](https://discourse.nodered.org/t/deploy-node-red-application-on-other-offline-machine-through-jenkins/8506 "2019-03-01T16:57:45Z")

</div>

I wanted to know how to deploy node-red application on different environment like development and production using Jenkins. What are the extra steps if machine is offline. I am new to Node-red any help is appreciable.

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

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