# Latest

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

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

**Page:** 1353

---

## [Downloading node issues](https://discourse.nodered.org/t/downloading-node-issues/3789)

<div class="topic-metadata">

**Author:** [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Replies:** 13\
**Last updated:** [24 October 2018 22:45 UTC](https://discourse.nodered.org/t/downloading-node-issues/3789 "2018-10-24T22:45:45Z")

</div>

Any one come across these errors before and wish to help out or guide in right direction. Greatly appreciated. Many thanks! npm ERR! Linux 4.4.105-cip15 npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "node-re…

---

## [Playing a .mp3 file directly via node-red-contrib-better-sonos](https://discourse.nodered.org/t/playing-a-mp3-file-directly-via-node-red-contrib-better-sonos/4270)

<div class="topic-metadata">

**Author:** [@nodecentral](https://discourse.nodered.org/u/nodecentral)\
**Replies:** 0\
**Last updated:** [24 October 2018 21:41 UTC](https://discourse.nodered.org/t/playing-a-mp3-file-directly-via-node-red-contrib-better-sonos/4270 "2018-10-24T21:41:26Z")

</div>

Hi, Is anyone using node-red-contrib-better-sonos , and have managed to get it to work connecting to a remotely sited mp3 file? I’ve configured the Queue node. The URI I’m using is thi, and i’ve tried others too …

---

## [Temperature With Max6675](https://discourse.nodered.org/t/temperature-with-max6675/608)

<div class="topic-metadata">

**Author:** [@MarcoGaspar](https://discourse.nodered.org/u/MarcoGaspar)\
**Replies:** 7\
**Last updated:** [24 October 2018 17:06 UTC](https://discourse.nodered.org/t/temperature-with-max6675/608 "2018-10-24T17:06:51Z")

</div>

Hello, It’s possible to have Temperature With Max6675 in node-red?

---

## [Upgrade ui\_gauge Library](https://discourse.nodered.org/t/upgrade-ui-gauge-library/4255)

<div class="topic-metadata">

**Author:** [@ohessel](https://discourse.nodered.org/u/ohessel)\
**Replies:** 3\
**Last updated:** [24 October 2018 16:04 UTC](https://discourse.nodered.org/t/upgrade-ui-gauge-library/4255 "2018-10-24T16:04:07Z")

</div>

Hi there, are you thinking of updating the underlying lib for gauges? I'm looking for the possibility to configure more than 3 sectors in the gauge. The latest https://github.com/toorshia/justgage would be from Septem…

---

## [Pi install script doesn't install npm on ubuntu 18.10](https://discourse.nodered.org/t/pi-install-script-doesnt-install-npm-on-ubuntu-18-10/4054)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 8\
**Last updated:** [24 October 2018 15:49 UTC](https://discourse.nodered.org/t/pi-install-script-doesnt-install-npm-on-ubuntu-18-10/4054 "2018-10-24T15:49:55Z")

</div>

A further problem with the pi install script on Ubuntu 18.04. I gather that the install package for node.js on the pi automatically install npm. On Ubuntu this does not seem to be the case. The result is that after in…

---

## [Bar Chart programming help](https://discourse.nodered.org/t/bar-chart-programming-help/4259)

<div class="topic-metadata">

**Author:** [@arneym](https://discourse.nodered.org/u/arneym)\
**Replies:** 4\
**Last updated:** [24 October 2018 15:03 UTC](https://discourse.nodered.org/t/bar-chart-programming-help/4259 "2018-10-24T15:03:05Z")

</div>

I am struggling to get the formatting correct for my bar chart. Sometimes, I do not have data for all 7 machines. I am having problems figuring out my loop in the function node. Here is what I have (no loop). m.labels =…

---

## [Node-red Bind data in HTML](https://discourse.nodered.org/t/node-red-bind-data-in-html/4226)

<div class="topic-metadata">

**Author:** [@tamiloli.it](https://discourse.nodered.org/u/tamiloli.it)\
**Replies:** 4\
**Last updated:** [24 October 2018 14:44 UTC](https://discourse.nodered.org/t/node-red-bind-data-in-html/4226 "2018-10-24T14:44:06Z")

</div>

Hi, I'm getting data into JSON or DB, but how can i bind my data in HTML page(Javascipt or function or Direct HTML)

---

## [Deployed API not working](https://discourse.nodered.org/t/deployed-api-not-working/4262)

<div class="topic-metadata">

**Author:** [@Venkatarun](https://discourse.nodered.org/u/Venkatarun)\
**Replies:** 0\
**Last updated:** [24 October 2018 14:01 UTC](https://discourse.nodered.org/t/deployed-api-not-working/4262 "2018-10-24T14:01:54Z")

</div>

I have created the API Flow and Successfully deployed the same. When I access the deployed API. Its return as 'Cannot GET /api/test'. If I have restarted Node-RED or Nginx, API respond as expected. Please let me know, H…

---

## [Number of decimals i function](https://discourse.nodered.org/t/number-of-decimals-i-function/4233)

<div class="topic-metadata">

**Author:** [@SKL](https://discourse.nodered.org/u/SKL)\
**Replies:** 5\
**Last updated:** [24 October 2018 13:58 UTC](https://discourse.nodered.org/t/number-of-decimals-i-function/4233 "2018-10-24T13:58:24Z")

</div>

How do i limit the number of decimals to 1 in this? msg.payload = Number(msg.payload) msg.payload = (((msg.payload)\*10)-100) return msg; My output is like this now

---

## [Using Node Red and Forever on Raspberry B+](https://discourse.nodered.org/t/using-node-red-and-forever-on-raspberry-b/4218)

<div class="topic-metadata">

**Author:** [@alcor](https://discourse.nodered.org/u/alcor)\
**Replies:** 11\
**Last updated:** [24 October 2018 12:42 UTC](https://discourse.nodered.org/t/using-node-red-and-forever-on-raspberry-b/4218 "2018-10-24T12:42:00Z")

</div>

I'm able to start Node Red on my rpi with the following command: sudo /usr/bin/node-red-pi --max-old-space-size=64 --settings .node-red\_username/settings.js -u .node-red\_username Now i'm trying to use the same command …

---

## [Node-red + Sentilo = Error](https://discourse.nodered.org/t/node-red-sentilo-error/4253)

<div class="topic-metadata">

**Author:** [@pentadom](https://discourse.nodered.org/u/pentadom)\
**Replies:** 1\
**Last updated:** [24 October 2018 10:20 UTC](https://discourse.nodered.org/t/node-red-sentilo-error/4253 "2018-10-24T10:20:38Z")

</div>

Hello, I'm trying to publish a value from node-red to a sensor I created in the Sentilo platform and when I trigger the value to the server the node-red return the next error: Some info: I'm running the Sentilo in a v…

---

## [Day Night style](https://discourse.nodered.org/t/day-night-style/4251)

<div class="topic-metadata">

**Author:** [@pa4th](https://discourse.nodered.org/u/pa4th)\
**Replies:** 0\
**Last updated:** [24 October 2018 09:28 UTC](https://discourse.nodered.org/t/day-night-style/4251 "2018-10-24T09:28:00Z")

</div>

Hello, Is there a way to make or use the light template at day and the dark template at night (bigtimer) . CSS switching by script. Thanks for any hints Thijs

---

## ["change node" Variables in key](https://discourse.nodered.org/t/change-node-variables-in-key/4248)

<div class="topic-metadata">

**Author:** [@Little](https://discourse.nodered.org/u/Little)\
**Replies:** 2\
**Last updated:** [24 October 2018 09:20 UTC](https://discourse.nodered.org/t/change-node-variables-in-key/4248 "2018-10-24T09:20:41Z")

</div>

Hello It is possible to use templates in keys? I need to dynamically add/remove values and I need to parse these values from incoming msg.payload. I know how to do this with "function node" but i want to do this in "c…

---

## [Pi install script not installing node-red-pi on ubuntu](https://discourse.nodered.org/t/pi-install-script-not-installing-node-red-pi-on-ubuntu/4053)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 4\
**Last updated:** [24 October 2018 09:20 UTC](https://discourse.nodered.org/t/pi-install-script-not-installing-node-red-pi-on-ubuntu/4053 "2018-10-24T09:20:28Z")

</div>

I have been testing the pi install script on Ubuntu 18.10 (about to be released). For some reason it hasn't installed node-red-pi into /usr/bin, though node-red-stop, start etc are there. Looking at an older system I se…

---

## [New Item From MQTT String](https://discourse.nodered.org/t/new-item-from-mqtt-string/4238)

<div class="topic-metadata">

**Author:** [@SerVian](https://discourse.nodered.org/u/SerVian)\
**Replies:** 2\
**Last updated:** [24 October 2018 05:56 UTC](https://discourse.nodered.org/t/new-item-from-mqtt-string/4238 "2018-10-24T05:56:47Z")

</div>

Hi, How can i import new interface item from mqtt in. Is there any way? I tried with this; MQTT in Message is (Just Button): \[{"id":"c4accaa0.f051c8","type":"ui\_button","z":"dee1786a.e72988","name":"","group":"adaa1…

---

## [Pushover Node Image Attachment Support](https://discourse.nodered.org/t/pushover-node-image-attachment-support/4043)

<div class="topic-metadata">

**Author:** [@damoclark](https://discourse.nodered.org/u/damoclark)\
**Replies:** 2\
**Last updated:** [24 October 2018 02:39 UTC](https://discourse.nodered.org/t/pushover-node-image-attachment-support/4043 "2018-10-24T02:39:28Z")

</div>

Pushover Node Image Attachment Support Hi Node-redders, I’m keen to add image attachment support to the built in node-red pushover node. Handy to attach a picture from a security camera that detects motion for instance…

---

## [Combine loop through 2dim-array and send to different outputs](https://discourse.nodered.org/t/combine-loop-through-2dim-array-and-send-to-different-outputs/4236)

<div class="topic-metadata">

**Author:** [@dlounge](https://discourse.nodered.org/u/dlounge)\
**Replies:** 3\
**Last updated:** [24 October 2018 01:43 UTC](https://discourse.nodered.org/t/combine-loop-through-2dim-array-and-send-to-different-outputs/4236 "2018-10-24T01:43:28Z")

</div>

Hi, I am stuck with a stupid problem in a function: I want to combine looping through the entries in a two-dimensional array with sending the value in \[x\]\[1\] to the respective output number found in \[x\]\[0\] (number of o…

---

## [Node Red Dashboard layout](https://discourse.nodered.org/t/node-red-dashboard-layout/4223)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 8\
**Last updated:** [23 October 2018 22:06 UTC](https://discourse.nodered.org/t/node-red-dashboard-layout/4223 "2018-10-23T22:06:47Z")

</div>

I'm sure I'm missing something but can anyone advise.. Dashboasrd, I have a lot of dropdown boxes to put on a page and the order in which they position on the page seems to depend on when they were last updated.. I know …

---

## [Save/Insert timestamps in MongoDB](https://discourse.nodered.org/t/save-insert-timestamps-in-mongodb/4222)

<div class="topic-metadata">

**Author:** [@GrtVHecke](https://discourse.nodered.org/u/GrtVHecke)\
**Replies:** 2\
**Last updated:** [23 October 2018 21:38 UTC](https://discourse.nodered.org/t/save-insert-timestamps-in-mongodb/4222 "2018-10-23T21:38:16Z")

</div>

I need to insert timestamps in MongoDB. I used the Mongo3 driver. I stated the object like this "ts": { "$date:: "2018-10-23T15:23:59.106Z" } But on save it says that the field may not contain a $ sign.

---

## [Different credentials for tabs](https://discourse.nodered.org/t/different-credentials-for-tabs/4227)

<div class="topic-metadata">

**Author:** [@iungo](https://discourse.nodered.org/u/iungo)\
**Replies:** 2\
**Last updated:** [23 October 2018 21:00 UTC](https://discourse.nodered.org/t/different-credentials-for-tabs/4227 "2018-10-23T21:00:26Z")

</div>

It will be amazing to have possibility add different credentials for different dashboard tabs. Dear developers, maybe you can add credentials options in the dashboard tab settings. With this option, we can add differen…

---

## [Unable to secure Node-RED](https://discourse.nodered.org/t/unable-to-secure-node-red/3966)

<div class="topic-metadata">

**Author:** [@talud08](https://discourse.nodered.org/u/talud08)\
**Replies:** 16\
**Last updated:** [23 October 2018 20:36 UTC](https://discourse.nodered.org/t/unable-to-secure-node-red/3966 "2018-10-23T20:36:02Z")

</div>

Hi, I am just starting with Node-RED and probably my question is too basic, but after hours in Internet I cannot secure my access to Node-RED page. It is Node-RED v0.19.4 and I am running it in a Raspberry Pi. I modif…

---

## [Parsing JSON to output to CSV file](https://discourse.nodered.org/t/parsing-json-to-output-to-csv-file/4198)

<div class="topic-metadata">

**Author:** [@ddubief](https://discourse.nodered.org/u/ddubief)\
**Replies:** 9\
**Last updated:** [23 October 2018 19:29 UTC](https://discourse.nodered.org/t/parsing-json-to-output-to-csv-file/4198 "2018-10-23T19:29:13Z")

</div>

I will apologize first, and take any critique! I am trying to pull API data from a mobile router, that gives me plenty of JSON formatted output on what I need. Of this data, I am parsing to capture only specific info pe…

---

## [How does configuration node change detection work](https://discourse.nodered.org/t/how-does-configuration-node-change-detection-work/4230)

<div class="topic-metadata">

**Author:** [@kuehnel](https://discourse.nodered.org/u/kuehnel)\
**Replies:** 0\
**Last updated:** [23 October 2018 17:32 UTC](https://discourse.nodered.org/t/how-does-configuration-node-change-detection-work/4230 "2018-10-23T17:32:47Z")

</div>

Hello, I'm quite new to node red developement and would be glad to get some help to this situation: My configuration node has six input fields. Each input can have a select next to it that is created / deleted dynamicly…

---

## [Node for Xiaomi curtains motor](https://discourse.nodered.org/t/node-for-xiaomi-curtains-motor/4175)

<div class="topic-metadata">

**Author:** [@aniemiec](https://discourse.nodered.org/u/aniemiec)\
**Replies:** 2\
**Last updated:** [23 October 2018 14:58 UTC](https://discourse.nodered.org/t/node-for-xiaomi-curtains-motor/4175 "2018-10-23T14:58:16Z")

</div>

Hey, is there a way to drive the Xiaomi curtains motor? Existing Xiaomi nodes does not mention it. If not, is there an easy way to rewrite Home Assistant plugin to Node Red?

---

## [Flow examples for UniFi node](https://discourse.nodered.org/t/flow-examples-for-unifi-node/2925)

<div class="topic-metadata">

**Author:** [@nodecentral](https://discourse.nodered.org/u/nodecentral)\
**Replies:** 6\
**Last updated:** [23 October 2018 14:19 UTC](https://discourse.nodered.org/t/flow-examples-for-unifi-node/2925 "2018-10-23T14:19:34Z")

</div>

Hi If anyone using the UniFi node, please could they share an example flow Many thanks

---

## [How to use msg.payload as an index in a change node?](https://discourse.nodered.org/t/how-to-use-msg-payload-as-an-index-in-a-change-node/4215)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 2\
**Last updated:** [23 October 2018 13:20 UTC](https://discourse.nodered.org/t/how-to-use-msg-payload-as-an-index-in-a-change-node/4215 "2018-10-23T13:20:24Z")

</div>

(This is a hallowen project) In an change node, I've built a flow object 'flow.wolf' that is an array I then pick a random number between 0 and 2 using the random node so msg.payload now contains a number 0, 1 or 2. …

---

## [OPC UA Client Browse Action has no attributes](https://discourse.nodered.org/t/opc-ua-client-browse-action-has-no-attributes/4214)

<div class="topic-metadata">

**Author:** [@savan](https://discourse.nodered.org/u/savan)\
**Replies:** 1\
**Last updated:** [23 October 2018 11:27 UTC](https://discourse.nodered.org/t/opc-ua-client-browse-action-has-no-attributes/4214 "2018-10-23T11:27:17Z")

</div>

Dear Sir, Currently i am dealing with IIoT OPCUA using Node-Red. i wan t Here i have go through Entire workflow IIoT based OPC UA and i am not be able to use Browse Action because it didn't showing any attributes relat…

---

## [Time scheduled on/off automation request](https://discourse.nodered.org/t/time-scheduled-on-off-automation-request/4188)

<div class="topic-metadata">

**Author:** [@hamidasim](https://discourse.nodered.org/u/hamidasim)\
**Replies:** 3\
**Last updated:** [23 October 2018 08:18 UTC](https://discourse.nodered.org/t/time-scheduled-on-off-automation-request/4188 "2018-10-23T08:18:32Z")

</div>

Hello there, I have some computer fans and I would like to run these via some kind of on/off interval mode. for example, for all week, between 7:00 am and 12:00 pm fans are "off", between 12:00 pm and 7:00 pm fans are…

---

## [Admin API execution when authentication type is strategy](https://discourse.nodered.org/t/admin-api-execution-when-authentication-type-is-strategy/4202)

<div class="topic-metadata">

**Author:** [@dheerajjoshim](https://discourse.nodered.org/u/dheerajjoshim)\
**Replies:** 0\
**Last updated:** [23 October 2018 06:16 UTC](https://discourse.nodered.org/t/admin-api-execution-when-authentication-type-is-strategy/4202 "2018-10-23T06:16:14Z")

</div>

I am using keycloak for Node-RED authentication. Since I am using admin auth type strategy admin api /auth/token gives 404 cannot post error If I use admin auth type password then everything works fine. I want to exec…

---

## [Creating Dynamic To-Do List?](https://discourse.nodered.org/t/creating-dynamic-to-do-list/3825)

<div class="topic-metadata">

**Author:** [@seth350](https://discourse.nodered.org/u/seth350)\
**Replies:** 7\
**Last updated:** [22 October 2018 20:49 UTC](https://discourse.nodered.org/t/creating-dynamic-to-do-list/3825 "2018-10-22T20:49:38Z")

</div>

I am working on something similar to a To-Do list. In all aspects, it is exactly the same function. Except for one thing. A user is not physically adding new tasks with an input box and an Add button. Likewise, the user …

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

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