# Latest

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

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

**Page:** 917

---

## [LIFX Switch Relay Control](https://discourse.nodered.org/t/lifx-switch-relay-control/37592)

<div class="topic-metadata">

**Author:** [@bkdfkup](https://discourse.nodered.org/u/bkdfkup)\
**Replies:** 1\
**Last updated:** [8 January 2021 06:44 UTC](https://discourse.nodered.org/t/lifx-switch-relay-control/37592 "2021-01-08T06:44:12Z")

</div>

Hi all! I have just expanded my LIFX lighting to include the new LIFX Switch, to allow the control of "dumb" lighting via the built in 240v relays. The switch works great, and via the node-red-contrib-lifx-api node col…

---

## [Node-red-contrib-s7 node not working in simatic IOT2040](https://discourse.nodered.org/t/node-red-contrib-s7-node-not-working-in-simatic-iot2040/36846)

<div class="topic-metadata">

**Author:** [@SukantaBagani](https://discourse.nodered.org/u/SukantaBagani)\
**Replies:** 9\
**Last updated:** [8 January 2021 01:40 UTC](https://discourse.nodered.org/t/node-red-contrib-s7-node-not-working-in-simatic-iot2040/36846 "2021-01-08T01:40:40Z")

</div>

I am trying to establish a connection between node red and s7 1200. The node red is running on Simatic IOT 2040 the image version/OS version I am using for the IOT 2040 is 2.6.1. I have changed the ethernet port setting…

---

## [More an O/S question, but I would like to ask here](https://discourse.nodered.org/t/more-an-o-s-question-but-i-would-like-to-ask-here/38763)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 0\
**Last updated:** [8 January 2021 00:12 UTC](https://discourse.nodered.org/t/more-an-o-s-question-but-i-would-like-to-ask-here/38763 "2021-01-08T00:12:03Z")

</div>

I have a RasPi and a USB stick plugged into it for logging. A 128 MG stick. (Yeah: old) I have fs-ops installed and I run a command daily to indicate the used/available space on the stick. Today the machine has been …

---

## [How to use node-red-contrib-winston-papertrail?](https://discourse.nodered.org/t/how-to-use-node-red-contrib-winston-papertrail/38762)

<div class="topic-metadata">

**Author:** [@bird](https://discourse.nodered.org/u/bird)\
**Replies:** 0\
**Last updated:** [8 January 2021 00:09 UTC](https://discourse.nodered.org/t/how-to-use-node-red-contrib-winston-papertrail/38762 "2021-01-08T00:09:30Z")

</div>

hi I would like to try this function. I want to know how to configure endpoint in paertail-log. If you have any good examples, please share. Thank you.

---

## [Time taken to set a global variable?](https://discourse.nodered.org/t/time-taken-to-set-a-global-variable/38737)

<div class="topic-metadata">

**Author:** [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Replies:** 3\
**Last updated:** [7 January 2021 23:34 UTC](https://discourse.nodered.org/t/time-taken-to-set-a-global-variable/38737 "2021-01-07T23:34:21Z")

</div>

Hi all, I have a change node which sets a global variable, the message then goes on to a function which reads that variable. It seems that the message gets to the function before the variable is set. i.e. the new value …

---

## [Temperature and epoch data from mysql and showing line chart problem](https://discourse.nodered.org/t/temperature-and-epoch-data-from-mysql-and-showing-line-chart-problem/38751)

<div class="topic-metadata">

**Author:** [@mac5562](https://discourse.nodered.org/u/mac5562)\
**Replies:** 18\
**Last updated:** [7 January 2021 22:07 UTC](https://discourse.nodered.org/t/temperature-and-epoch-data-from-mysql-and-showing-line-chart-problem/38751 "2021-01-07T22:07:57Z")

</div>

Hi I fetching temperature and date(epoch) data from mysql database and i showing that on a line chart. My problem is, on x-axis showing just the raw epoch data i unable the showind normal date. As you can see the y-ax…

---

## [On off switch loop](https://discourse.nodered.org/t/on-off-switch-loop/38540)

<div class="topic-metadata">

**Author:** [@raz](https://discourse.nodered.org/u/raz)\
**Replies:** 11\
**Last updated:** [7 January 2021 22:04 UTC](https://discourse.nodered.org/t/on-off-switch-loop/38540 "2021-01-07T22:04:37Z")

</div>

Hello. Total noob here. I want to make an automation for a fogger. -1 slider for on in hours minutes seconds -2 slider for off in hours minutes seconds i have managed to do one with no UI using trigger and delay nod…

---

## [How do I make an Alarm Table?](https://discourse.nodered.org/t/how-do-i-make-an-alarm-table/38718)

<div class="topic-metadata">

**Author:** [@traderjoe](https://discourse.nodered.org/u/traderjoe)\
**Replies:** 2\
**Last updated:** [7 January 2021 20:56 UTC](https://discourse.nodered.org/t/how-do-i-make-an-alarm-table/38718 "2021-01-07T20:56:02Z")

</div>

How do I make an alarm table like this? I have a modbus read reading a bunch of coils. Each coil is an alarm. As certain alarms become active/de-active, the messages will appear/disappear in the alarm table. Is the…

---

## [Many Arduinos on serial ports with node-red (raspberry pi 4)](https://discourse.nodered.org/t/many-arduinos-on-serial-ports-with-node-red-raspberry-pi-4/38725)

<div class="topic-metadata">

**Author:** [@niwre001](https://discourse.nodered.org/u/niwre001)\
**Replies:** 1\
**Last updated:** [7 January 2021 20:34 UTC](https://discourse.nodered.org/t/many-arduinos-on-serial-ports-with-node-red-raspberry-pi-4/38725 "2021-01-07T20:34:10Z")

</div>

Hi there, have several Ardinos in different places and would like e.g. temp values ​​on node-red to each created serial interfaces (/dev/ttyUSB0). How should I configure the serial interfaces in node-red. Kind regards …

---

## [Extract String from Text as result from http-request](https://discourse.nodered.org/t/extract-string-from-text-as-result-from-http-request/38742)

<div class="topic-metadata">

**Author:** [@Macci2008](https://discourse.nodered.org/u/Macci2008)\
**Replies:** 4\
**Last updated:** [7 January 2021 20:21 UTC](https://discourse.nodered.org/t/extract-string-from-text-as-result-from-http-request/38742 "2021-01-07T20:21:08Z")

</div>

I'm pretty new to node red and after accessing my hue devices I want to integrate a myStrom switch which delivers also a temperature value. Instead of using some palett (node-red-contrib-mystrom ) I also could adress m…

---

## [Changing layout dashboard](https://discourse.nodered.org/t/changing-layout-dashboard/38707)

<div class="topic-metadata">

**Author:** [@Ino](https://discourse.nodered.org/u/Ino)\
**Replies:** 4\
**Last updated:** [7 January 2021 19:52 UTC](https://discourse.nodered.org/t/changing-layout-dashboard/38707 "2021-01-07T19:52:31Z")

</div>

Regulary its not possible to change the size of the dasboard items in the layout editor. Sometimes I can change the size after clearing the history in the web browser, another time it works when I use the incognito wind…

---

## [Unable to Connect to Mosquitto Broker](https://discourse.nodered.org/t/unable-to-connect-to-mosquitto-broker/38736)

<div class="topic-metadata">

**Author:** [@quentinP](https://discourse.nodered.org/u/quentinP)\
**Replies:** 2\
**Last updated:** [7 January 2021 19:33 UTC](https://discourse.nodered.org/t/unable-to-connect-to-mosquitto-broker/38736 "2021-01-07T19:33:18Z")

</div>

I'm trying to connect Node-RED (which is running on an Azure Web-App) to my mosquitto broker (v.3.1.1, which is running on and Azure Virtual Machine running Ubuntu v18.04.1). I am able to pub and sub on localhost with 2 …

---

## [Remove in-use palette](https://discourse.nodered.org/t/remove-in-use-palette/38546)

<div class="topic-metadata">

**Author:** [@Jme2](https://discourse.nodered.org/u/Jme2)\
**Replies:** 2\
**Last updated:** [7 January 2021 18:05 UTC](https://discourse.nodered.org/t/remove-in-use-palette/38546 "2021-01-07T18:05:48Z")

</div>

Hey everyone, I just started using node-red on raspbian, and I wanted to remove a xiaomi palette that I used in a flow. One of nodes (13) of the palette is always in use (xiaomi-gateway-config) and I cannot remove it b…

---

## [Upload Arduino sketch binary via Node-Red usb?](https://discourse.nodered.org/t/upload-arduino-sketch-binary-via-node-red-usb/38554)

<div class="topic-metadata">

**Author:** [@m\_elias](https://discourse.nodered.org/u/m_elias)\
**Replies:** 13\
**Last updated:** [7 January 2021 17:44 UTC](https://discourse.nodered.org/t/upload-arduino-sketch-binary-via-node-red-usb/38554 "2021-01-07T17:44:21Z")

</div>

I have an Arduino Uno connected via usb to my oPi One running Node-Red 1.2.6. The Arduino runs a modified Firmata example sketch and I use node-red-node-arduino to send/receive data to/from the Arduino etc. Is it difficu…

---

## [Subflow importing, problem with link in & link out](https://discourse.nodered.org/t/subflow-importing-problem-with-link-in-link-out/38728)

<div class="topic-metadata">

**Author:** [@Tombcat](https://discourse.nodered.org/u/Tombcat)\
**Replies:** 4\
**Last updated:** [7 January 2021 17:20 UTC](https://discourse.nodered.org/t/subflow-importing-problem-with-link-in-link-out/38728 "2021-01-07T17:20:31Z")

</div>

Hello, I tried to import flow with the subflow that already exists in my flow instance by selecting option "import copy", that resulted in "link in" & "link out" were not connected to anything. As i understand this can…

---

## [Convert Flow from MySQL to PostgreSQL](https://discourse.nodered.org/t/convert-flow-from-mysql-to-postgresql/38730)

<div class="topic-metadata">

**Author:** [@Trocergian](https://discourse.nodered.org/u/Trocergian)\
**Replies:** 0\
**Last updated:** [7 January 2021 17:12 UTC](https://discourse.nodered.org/t/convert-flow-from-mysql-to-postgresql/38730 "2021-01-07T17:12:59Z")

</div>

I'm trying to convert this flow from using a MySQL database over to a PostgreSQL database and not having much luck. Full disclosure: I didn't create the MySQL flow so much as copied it from a "How to " book. I did have …

---

## [Unable to enable "Projects" in Windows V 1.2.7](https://discourse.nodered.org/t/unable-to-enable-projects-in-windows-v-1-2-7/38710)

<div class="topic-metadata">

**Author:** [@BobW](https://discourse.nodered.org/u/BobW)\
**Replies:** 5\
**Last updated:** [7 January 2021 14:17 UTC](https://discourse.nodered.org/t/unable-to-enable-projects-in-windows-v-1-2-7/38710 "2021-01-07T14:17:11Z")

</div>

I am running node red V 1.2.7 on a Windows 10 PC. I followed the instructions for editing the settings.js file to enable Projects. However, when I reboot node red and start my browser, I do not see Projects appearing …

---

## [Chart Legend showing old topics](https://discourse.nodered.org/t/chart-legend-showing-old-topics/38683)

<div class="topic-metadata">

**Author:** [@traderjoe](https://discourse.nodered.org/u/traderjoe)\
**Replies:** 8\
**Last updated:** [7 January 2021 14:01 UTC](https://discourse.nodered.org/t/chart-legend-showing-old-topics/38683 "2021-01-07T14:01:51Z")

</div>

I have 2 identical flows. And they do exactly the same thing. In fact when I take my data, even the topics are the same. I figure they won't interfere with each other since they are on different flows. I'm plotting t…

---

## [Update an individual flow configuration](https://discourse.nodered.org/t/update-an-individual-flow-configuration/38662)

<div class="topic-metadata">

**Author:** [@ridha](https://discourse.nodered.org/u/ridha)\
**Replies:** 2\
**Last updated:** [7 January 2021 13:42 UTC](https://discourse.nodered.org/t/update-an-individual-flow-configuration/38662 "2021-01-07T13:42:59Z")

</div>

Hi, I'd like to update my flow remotely using the API . my issue is how I can get the changes to put it in a request body. Thanks

---

## [Zigbee2tasmota variables and ways to extract them from msg.payload](https://discourse.nodered.org/t/zigbee2tasmota-variables-and-ways-to-extract-them-from-msg-payload/38685)

<div class="topic-metadata">

**Author:** [@gr1nch](https://discourse.nodered.org/u/gr1nch)\
**Replies:** 3\
**Last updated:** [7 January 2021 13:27 UTC](https://discourse.nodered.org/t/zigbee2tasmota-variables-and-ways-to-extract-them-from-msg-payload/38685 "2021-01-07T13:27:53Z")

</div>

Looking at the list of key/values I'm now able to extract from msg.payload via zigbee2tasmota and MQTT, I thought it might be useful to share them in jsonata format (for extraction) and for others to share theirs as well…

---

## [Adding multiple series with different axis to chart](https://discourse.nodered.org/t/adding-multiple-series-with-different-axis-to-chart/38591)

<div class="topic-metadata">

**Author:** [@Roaders](https://discourse.nodered.org/u/Roaders)\
**Replies:** 6\
**Last updated:** [7 January 2021 13:06 UTC](https://discourse.nodered.org/t/adding-multiple-series-with-different-axis-to-chart/38591 "2021-01-07T13:06:17Z")

</div>

Hi All I want to display a chart for my heating. Ideally I would like the chart to have: Current Temperature Set Temperature Heating Effort Current Temperature and set temperature can obviously share the same axis as…

---

## [Are MQTT nodes allowed in Subflows?](https://discourse.nodered.org/t/are-mqtt-nodes-allowed-in-subflows/38690)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 8\
**Last updated:** [7 January 2021 11:42 UTC](https://discourse.nodered.org/t/are-mqtt-nodes-allowed-in-subflows/38690 "2021-01-07T11:42:02Z")

</div>

Sorry, gotta ask to be sure. I'm on a bit of a binge just now and am really playing with sub-flows. I shall try it and see, but would like to be sure of my findings.

---

## [Production server with no admin login?](https://discourse.nodered.org/t/production-server-with-no-admin-login/17331)

<div class="topic-metadata">

**Author:** [@petercutting](https://discourse.nodered.org/u/petercutting)\
**Replies:** 12\
**Last updated:** [7 January 2021 10:44 UTC](https://discourse.nodered.org/t/production-server-with-no-admin-login/17331 "2021-01-07T10:44:54Z")

</div>

I am new to NR. developed a simple flow on an RPI. I want to expose it to the internet. But I need to harden my env first. Tried to lock down Admin login using npm install node-red-auth-github but that crashed. So my ne…

---

## [This is a new error which is happening a fair bit](https://discourse.nodered.org/t/this-is-a-new-error-which-is-happening-a-fair-bit/38700)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [7 January 2021 10:26 UTC](https://discourse.nodered.org/t/this-is-a-new-error-which-is-happening-a-fair-bit/38700 "2021-01-07T10:26:33Z")

</div>

This one is popping up a fair amount recently. {"message":"Error: spawn ENOMEM","source":{"id":"3ca1bd56.5515aa","type":"ping","name":"Ping","count":1},"stack":"Error: spawn ENOMEM\\n at ChildProcess.spawn (internal/c…

---

## [Trademark registration](https://discourse.nodered.org/t/trademark-registration/38704)

<div class="topic-metadata">

**Author:** [@jacks1122](https://discourse.nodered.org/u/jacks1122)\
**Replies:** 1\
**Last updated:** [7 January 2021 10:01 UTC](https://discourse.nodered.org/t/trademark-registration/38704 "2021-01-07T10:01:44Z")

</div>

How Do I Choose a Trademark Class and Description /?

---

## [How can I get the Node name and passing it to a notification](https://discourse.nodered.org/t/how-can-i-get-the-node-name-and-passing-it-to-a-notification/38668)

<div class="topic-metadata">

**Author:** [@soruam](https://discourse.nodered.org/u/soruam)\
**Replies:** 10\
**Last updated:** [7 January 2021 09:57 UTC](https://discourse.nodered.org/t/how-can-i-get-the-node-name-and-passing-it-to-a-notification/38668 "2021-01-07T09:57:18Z")

</div>

Good morning, I am new in this so be patient if I am not using the correct words. I am trying to get notification from several sensors about their battery levels. The picture below shows my flow, which it is working a…

---

## [Communication through tcp/ip to Aubobot](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125)

<div class="topic-metadata">

**Author:** [@jadelu](https://discourse.nodered.org/u/jadelu)\
**Replies:** 16\
**Last updated:** [7 January 2021 09:14 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125 "2021-01-07T09:14:35Z")

</div>

I'm currently connecting from node-red to Aubobot through tcp in node. But after I connected them, it will show an intermittent state of the connection. Does anyone encounter this before?

---

## [Help with sub-flow and status part](https://discourse.nodered.org/t/help-with-sub-flow-and-status-part/38689)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [7 January 2021 07:59 UTC](https://discourse.nodered.org/t/help-with-sub-flow-and-status-part/38689 "2021-01-07T07:59:18Z")

</div>

Yeah, sorry folks. I am seeing weird things happening. Basic flow. You will need to set global.Shutdown\_temperature to 75 for it to work. Picture of flow: Idea: inputs: "test" for testing purposes. 0 - (or low …

---

## [Checking on how to get \*context\* from a subflow](https://discourse.nodered.org/t/checking-on-how-to-get-context-from-a-subflow/38698)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [7 January 2021 07:22 UTC](https://discourse.nodered.org/t/checking-on-how-to-get-context-from-a-subflow/38698 "2021-01-07T07:22:21Z")

</div>

Sorry for asking - again. But I am stuck. In a function node. This is the code that works: var x = flow.get("$parent.name"); var y = global.get("something"); msg.payload = x + " " + y; My question is why the inconsi…

---

## [How to import Data from Django and Display on node-red?](https://discourse.nodered.org/t/how-to-import-data-from-django-and-display-on-node-red/38633)

<div class="topic-metadata">

**Author:** [@rpr](https://discourse.nodered.org/u/rpr)\
**Replies:** 3\
**Last updated:** [7 January 2021 06:10 UTC](https://discourse.nodered.org/t/how-to-import-data-from-django-and-display-on-node-red/38633 "2021-01-07T06:10:33Z")

</div>

I have a UID Database in Django(phpmyadmin). So if i give any UID in Node-red, I want to receive details like Name, Details, email, etc from Django Database(phpmyadmin) and display on Node-red Dashboard. Presently ever…

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

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