# Latest

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

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

**Page:** 1105

---

## [Dashboard pie chart to show Raspberry pi GPIO history](https://discourse.nodered.org/t/dashboard-pie-chart-to-show-raspberry-pi-gpio-history/25666)

<div class="topic-metadata">

**Author:** [@leeg77](https://discourse.nodered.org/u/leeg77)\
**Replies:** 12\
**Last updated:** [28 April 2020 23:08 UTC](https://discourse.nodered.org/t/dashboard-pie-chart-to-show-raspberry-pi-gpio-history/25666 "2020-04-28T23:08:12Z")

</div>

I am trying to add to a dashboard to show a pie chart detailing how long a raspberry pi GPIO pin has been high or low during the past hour. Here is my current flow: But at the moment all I am getting is a pie chart t…

---

## [Dashboard slider color](https://discourse.nodered.org/t/dashboard-slider-color/25092)

<div class="topic-metadata">

**Author:** [@samux](https://discourse.nodered.org/u/samux)\
**Replies:** 2\
**Last updated:** [28 April 2020 20:22 UTC](https://discourse.nodered.org/t/dashboard-slider-color/25092 "2020-04-28T20:22:23Z")

</div>

Hi trying to set slider color to gray and green dynamically. How is it done?

---

## [How to get the summary of nodes used in node-red?](https://discourse.nodered.org/t/how-to-get-the-summary-of-nodes-used-in-node-red/2985)

<div class="topic-metadata">

**Author:** [@nithinbandaru1](https://discourse.nodered.org/u/nithinbandaru1)\
**Replies:** 8\
**Last updated:** [28 April 2020 20:21 UTC](https://discourse.nodered.org/t/how-to-get-the-summary-of-nodes-used-in-node-red/2985 "2020-04-28T20:21:31Z")

</div>

Hi, I saw in one of your posts posting summary of nodes used(Showing number of them are used). Then I got curious how to do that because I am doing stream analytics using node-red with MQTT and data is coming form OPC. …

---

## [How Enable CORS in Node Red deployed on IBM Cloud (bluemix)](https://discourse.nodered.org/t/how-enable-cors-in-node-red-deployed-on-ibm-cloud-bluemix/25701)

<div class="topic-metadata">

**Author:** [@KenioCarvalho](https://discourse.nodered.org/u/KenioCarvalho)\
**Replies:** 0\
**Last updated:** [28 April 2020 19:46 UTC](https://discourse.nodered.org/t/how-enable-cors-in-node-red-deployed-on-ibm-cloud-bluemix/25701 "2020-04-28T19:46:36Z")

</div>

I create an API using Node-red and i can read the data using Post Man from my computer. Using a browser app i try to call the API but i get an error about CORS. How can i enable CORS on Node-Red when it it is deployed …

---

## [Deploy requires more than one attempt](https://discourse.nodered.org/t/deploy-requires-more-than-one-attempt/12208)

<div class="topic-metadata">

**Author:** [@athome](https://discourse.nodered.org/u/athome)\
**Replies:** 21\
**Last updated:** [28 April 2020 16:28 UTC](https://discourse.nodered.org/t/deploy-requires-more-than-one-attempt/12208 "2020-04-28T16:28:48Z")

</div>

I can't put my finger on exactly when this condition started happening. Sometime in the last two weeks or so. When I click deploy, about 75% of the time, the first try fails and I have to click deploy again. I experien…

---

## [Node-red influxdb invalid boolean](https://discourse.nodered.org/t/node-red-influxdb-invalid-boolean/8059)

<div class="topic-metadata">

**Author:** [@Findre](https://discourse.nodered.org/u/Findre)\
**Replies:** 17\
**Last updated:** [28 April 2020 16:27 UTC](https://discourse.nodered.org/t/node-red-influxdb-invalid-boolean/8059 "2020-04-28T16:27:51Z")

</div>

Hello guys, I'm new to node-red and influxdb and mqtt so bear with me. So I'm trying to send a Json object to an influxdb database I created but when I try to send the object to influxdb I get the following error: Error…

---

## [Can I use NodeRed for robust web applications?](https://discourse.nodered.org/t/can-i-use-nodered-for-robust-web-applications/25658)

<div class="topic-metadata">

**Author:** [@CarlosJong](https://discourse.nodered.org/u/CarlosJong)\
**Replies:** 7\
**Last updated:** [28 April 2020 16:16 UTC](https://discourse.nodered.org/t/can-i-use-nodered-for-robust-web-applications/25658 "2020-04-28T16:16:46Z")

</div>

Hello everyone, I have a software house and I am studying technologies and forms of development, to accelerate and improve the production of our software. I came across the idea of NodeRed (Visual programming) with a ve…

---

## [Compatible Light Switch For Node-Red](https://discourse.nodered.org/t/compatible-light-switch-for-node-red/13024)

<div class="topic-metadata">

**Author:** [@seth350](https://discourse.nodered.org/u/seth350)\
**Replies:** 23\
**Last updated:** [28 April 2020 15:57 UTC](https://discourse.nodered.org/t/compatible-light-switch-for-node-red/13024 "2020-04-28T15:57:41Z")

</div>

It seems there is an absolute plethora of different WiFi light switches out there. I would like to install one or many to control some outdoor lights at my home using node-red. What are you guys using for switches and no…

---

## [Node Red Power on state](https://discourse.nodered.org/t/node-red-power-on-state/25648)

<div class="topic-metadata">

**Author:** [@Vlak](https://discourse.nodered.org/u/Vlak)\
**Replies:** 6\
**Last updated:** [28 April 2020 14:06 UTC](https://discourse.nodered.org/t/node-red-power-on-state/25648 "2020-04-28T14:06:44Z")

</div>

Dear folks, when I restart Node Red or restart my Pi running Node Red under Home Assitant, some switch changes state. From on to off. I have noticed that there is tugging at a restart, How can I ensure that the status …

---

## [Adding \`output\` function to buttons designed in \`template\` node](https://discourse.nodered.org/t/adding-output-function-to-buttons-designed-in-template-node/25591)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 71\
**Last updated:** [28 April 2020 13:38 UTC](https://discourse.nodered.org/t/adding-output-function-to-buttons-designed-in-template-node/25591 "2020-04-28T13:38:35Z")

</div>

This is a bit of a continuation of my CSS thread. This one. Given that we have the button design understood now, we not add a but of code so when the button is pressed an output is generated. This is the code from whi…

---

## [Duplicated the payload twice at once](https://discourse.nodered.org/t/duplicated-the-payload-twice-at-once/25661)

<div class="topic-metadata">

**Author:** [@Ahd](https://discourse.nodered.org/u/Ahd)\
**Replies:** 13\
**Last updated:** [28 April 2020 13:09 UTC](https://discourse.nodered.org/t/duplicated-the-payload-twice-at-once/25661 "2020-04-28T13:09:56Z")

</div>

Hi I am stuck with the flow that shown below, its read from DB and then does checking process by using If statement, then displays the output. The problem is that it's duplicated the message payload each time injected …

---

## [Node-red-contrib-opc-da Help](https://discourse.nodered.org/t/node-red-contrib-opc-da-help/25676)

<div class="topic-metadata">

**Author:** [@Henjoe](https://discourse.nodered.org/u/Henjoe)\
**Replies:** 2\
**Last updated:** [28 April 2020 13:08 UTC](https://discourse.nodered.org/t/node-red-contrib-opc-da-help/25676 "2020-04-28T13:08:07Z")

</div>

Dear node-red Experts, Does anybody uses this node? I am having trouble using it. It makes my node-red server crash. I have MatrikonOPC Simulation installed on my local computer where node-red also residing on it. So …

---

## [Responsive Dashboard](https://discourse.nodered.org/t/responsive-dashboard/25638)

<div class="topic-metadata">

**Author:** [@eduardoluiztodero](https://discourse.nodered.org/u/eduardoluiztodero)\
**Replies:** 14\
**Last updated:** [28 April 2020 12:34 UTC](https://discourse.nodered.org/t/responsive-dashboard/25638 "2020-04-28T12:34:25Z")

</div>

Hello guys, I'm making a panel to show my data .. how can this be responsive on the phone or tablet?

---

## [Email In \> Screenshot of email \> Discord message?](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609)

<div class="topic-metadata">

**Author:** [@anonuknow](https://discourse.nodered.org/u/anonuknow)\
**Replies:** 9\
**Last updated:** [28 April 2020 12:42 UTC](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609 "2020-04-28T12:42:51Z")

</div>

Is there any way to do this ?

---

## [Memory of nodered app not coming down](https://discourse.nodered.org/t/memory-of-nodered-app-not-coming-down/25286)

<div class="topic-metadata">

**Author:** [@SiddharthJoshi](https://discourse.nodered.org/u/SiddharthJoshi)\
**Replies:** 4\
**Last updated:** [28 April 2020 11:59 UTC](https://discourse.nodered.org/t/memory-of-nodered-app-not-coming-down/25286 "2020-04-28T11:59:34Z")

</div>

We are facing memory issues with one of our nodered apps. Background: we have 2 nodejs apps that are running in PCF. app1 (interface app) receives external data in json format from external system. This app fetches the…

---

## [Hide Tab problem](https://discourse.nodered.org/t/hide-tab-problem/25603)

<div class="topic-metadata">

**Author:** [@iungo](https://discourse.nodered.org/u/iungo)\
**Replies:** 4\
**Last updated:** [28 April 2020 11:56 UTC](https://discourse.nodered.org/t/hide-tab-problem/25603 "2020-04-28T11:56:45Z")

</div>

After hiding tab by sending command to ui-control node, I don't see this tab in side menu this is fine. Also I don't have an access to this tab via sending a command to ui-control node (like {"tab":"tab"}), this is also…

---

## [Should node-red nodes use HTTP request() or got()?](https://discourse.nodered.org/t/should-node-red-nodes-use-http-request-or-got/25392)

<div class="topic-metadata">

**Author:** [@johnwalicki](https://discourse.nodered.org/u/johnwalicki)\
**Replies:** 4\
**Last updated:** [28 April 2020 10:47 UTC](https://discourse.nodered.org/t/should-node-red-nodes-use-http-request-or-got/25392 "2020-04-28T10:47:26Z")

</div>

In the few Node-RED nodes that I've created that wrap an API, I've been using request to make HTTP request calls. I wonder if I should switch the nodes to use got ? Or axios? I converted one of my node-red packages f…

---

## [Dashboard palette installation Error](https://discourse.nodered.org/t/dashboard-palette-installation-error/25674)

<div class="topic-metadata">

**Author:** [@Amit55341](https://discourse.nodered.org/u/Amit55341)\
**Replies:** 4\
**Last updated:** [28 April 2020 10:39 UTC](https://discourse.nodered.org/t/dashboard-palette-installation-error/25674 "2020-04-28T10:39:29Z")

</div>

Hi Team I'm getting error when I'm trying to install on mabook air.

---

## [Show Camera Image on Dashboard](https://discourse.nodered.org/t/show-camera-image-on-dashboard/1499)

<div class="topic-metadata">

**Author:** [@bk1989](https://discourse.nodered.org/u/bk1989)\
**Replies:** 26\
**Last updated:** [28 April 2020 10:37 UTC](https://discourse.nodered.org/t/show-camera-image-on-dashboard/1499 "2020-04-28T10:37:33Z")

</div>

So I'm trying to show the image of a raspberry pi cam on the dashboard. Till now I managed to to create a button, which creates a photo when clicked. The image than is shown on the dashboard. The problem here is, that I …

---

## [Automatic resize the dashboard depending on device](https://discourse.nodered.org/t/automatic-resize-the-dashboard-depending-on-device/25573)

<div class="topic-metadata">

**Author:** [@calcioscacchi](https://discourse.nodered.org/u/calcioscacchi)\
**Replies:** 10\
**Last updated:** [28 April 2020 09:55 UTC](https://discourse.nodered.org/t/automatic-resize-the-dashboard-depending-on-device/25573 "2020-04-28T09:55:17Z")

</div>

Hi there:) I'm using a node red template wich contains a link to a grafana dashboard. Whta i'm trying to reach is an automatic resizing of my dashboard, due to fit perfectly (or as goog as is possible) in mobile phones…

---

## [Add dynamically data to node configuration](https://discourse.nodered.org/t/add-dynamically-data-to-node-configuration/25624)

<div class="topic-metadata">

**Author:** [@edoardottt](https://discourse.nodered.org/u/edoardottt)\
**Replies:** 11\
**Last updated:** [28 April 2020 09:54 UTC](https://discourse.nodered.org/t/add-dynamically-data-to-node-configuration/25624 "2020-04-28T09:54:42Z")

</div>

I have a custom node, which in the config file has code like this: \<div class="form-row"\> \<label for="node-input-stuff"\>\<i class="icon-tag"\>\</i\> Stuff\</label\> \<select id="node-input-stuff"\> …

---

## [Solar Frontier Turbo inverter in Domoticz via MQTT](https://discourse.nodered.org/t/solar-frontier-turbo-inverter-in-domoticz-via-mqtt/25667)

<div class="topic-metadata">

**Author:** [@opwierde](https://discourse.nodered.org/u/opwierde)\
**Replies:** 0\
**Last updated:** [28 April 2020 08:48 UTC](https://discourse.nodered.org/t/solar-frontier-turbo-inverter-in-domoticz-via-mqtt/25667 "2020-04-28T08:48:20Z")

</div>

I finished the flow that reads out my solar frontier inverter directly and writes the power and energy counters to Domoticz. I did it to avoid using the Solar Frontier web portal that kept losing connection to my invert…

---

## [Catch msg.payload and transfer it to Data on the next node](https://discourse.nodered.org/t/catch-msg-payload-and-transfer-it-to-data-on-the-next-node/25663)

<div class="topic-metadata">

**Author:** [@daniel1411](https://discourse.nodered.org/u/daniel1411)\
**Replies:** 14\
**Last updated:** [28 April 2020 08:28 UTC](https://discourse.nodered.org/t/catch-msg-payload-and-transfer-it-to-data-on-the-next-node/25663 "2020-04-28T08:28:36Z")

</div>

Hi How to catch msg.payload and transfer it as parameter to Data on the next node?

---

## [Garage door and motion sensor working together](https://discourse.nodered.org/t/garage-door-and-motion-sensor-working-together/25616)

<div class="topic-metadata">

**Author:** [@spider7611](https://discourse.nodered.org/u/spider7611)\
**Replies:** 4\
**Last updated:** [28 April 2020 07:38 UTC](https://discourse.nodered.org/t/garage-door-and-motion-sensor-working-together/25616 "2020-04-28T07:38:35Z")

</div>

Hi, Have a problem what I don't know how to resolve. So I have a garage door with contact sensor Open/Close state. Near this door have a motion sensor. My problem is that the motion sensor see that the garage door is…

---

## [Using moment in function node](https://discourse.nodered.org/t/using-moment-in-function-node/25651)

<div class="topic-metadata">

**Author:** [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Replies:** 6\
**Last updated:** [28 April 2020 06:54 UTC](https://discourse.nodered.org/t/using-moment-in-function-node/25651 "2020-04-28T06:54:18Z")

</div>

Hi All, I wanted to use moment in a function node. I stumbled upon this issue which appears rather old. I tried using the tip to add the moments to the functionGlobalContext but did not work. I did not get the error du…

---

## [Struggling to add headers to CSV file](https://discourse.nodered.org/t/struggling-to-add-headers-to-csv-file/25607)

<div class="topic-metadata">

**Author:** [@WImpie](https://discourse.nodered.org/u/WImpie)\
**Replies:** 10\
**Last updated:** [28 April 2020 06:48 UTC](https://discourse.nodered.org/t/struggling-to-add-headers-to-csv-file/25607 "2020-04-28T06:48:34Z")

</div>

So i have been struggling with this problem a few days now and actually started to ignore it but i want it to work correctly. Adding headers to CSV file and then add the payload. Here is the flow: (a plc payload goes in…

---

## [Counting and output on the Dashboard](https://discourse.nodered.org/t/counting-and-output-on-the-dashboard/25600)

<div class="topic-metadata">

**Author:** [@MoMo](https://discourse.nodered.org/u/MoMo)\
**Replies:** 7\
**Last updated:** [28 April 2020 06:21 UTC](https://discourse.nodered.org/t/counting-and-output-on-the-dashboard/25600 "2020-04-28T06:21:35Z")

</div>

Hello, I am not yet very familiar with Node-Red and need your help for a project for university. A parking server should be programmed and the number of occupied parking slots should increase or decrease by manual inpu…

---

## [Struggling with switch state feedback](https://discourse.nodered.org/t/struggling-with-switch-state-feedback/25443)

<div class="topic-metadata">

**Author:** [@mattk](https://discourse.nodered.org/u/mattk)\
**Replies:** 7\
**Last updated:** [28 April 2020 03:47 UTC](https://discourse.nodered.org/t/struggling-with-switch-state-feedback/25443 "2020-04-28T03:47:46Z")

</div>

Hi, I have a tasmota flashed switch that I have successfully connected to node-red via mqtt, and am able to turn switch off/on via node-red UI. Mosquitto and Node-red are both hosted on the same local pi. Node red versi…

---

## [Chart Node in dashboard](https://discourse.nodered.org/t/chart-node-in-dashboard/25606)

<div class="topic-metadata">

**Author:** [@jan-k](https://discourse.nodered.org/u/jan-k)\
**Replies:** 2\
**Last updated:** [28 April 2020 02:10 UTC](https://discourse.nodered.org/t/chart-node-in-dashboard/25606 "2020-04-28T02:10:00Z")

</div>

Greetings everyone, I want to make a simple line chart to show some data based on month. But I found that the x axis is base on the timestamp. I also noticed it can be change by a Moment.js time formatted string. But I …

---

## [Restore Switch State after Node-RED restart](https://discourse.nodered.org/t/restore-switch-state-after-node-red-restart/16608)

<div class="topic-metadata">

**Author:** [@nicedevil](https://discourse.nodered.org/u/nicedevil)\
**Replies:** 11\
**Last updated:** [27 April 2020 23:08 UTC](https://discourse.nodered.org/t/restore-switch-state-after-node-red-restart/16608 "2020-04-27T23:08:09Z")

</div>

Hey guys, I have a switch that is "on" or "off" and sends this payload to a global variable. If I restart my Node-RED (docker container) the button is often in the wrong state (off) because the persistent nodes for this…

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

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