# Latest

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

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

**Page:** 498

---

## [Can anyone help me?](https://discourse.nodered.org/t/can-anyone-help-me/67829)

<div class="topic-metadata">

**Author:** [@PowerZone21](https://discourse.nodered.org/u/PowerZone21)\
**Replies:** 10\
**Last updated:** [18 September 2022 10:56 UTC](https://discourse.nodered.org/t/can-anyone-help-me/67829 "2022-09-18T10:56:38Z")

</div>

Hi! I got this message wich is a Notification message I use to push into Futurehome via MQTT { "serv": "kind-owl", "type": "evt.notification.report", "val\_t": "object", "val": { "EventName": "custom", "MessageCon…

---

## [Help for creating a bit array from a bitmap](https://discourse.nodered.org/t/help-for-creating-a-bit-array-from-a-bitmap/67876)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 0\
**Last updated:** [18 September 2022 09:51 UTC](https://discourse.nodered.org/t/help-for-creating-a-bit-array-from-a-bitmap/67876 "2022-09-18T09:51:30Z")

</div>

I am looking for some help to create a bitmap from an 1-bit bitmap. So black and white image and then convert it 0-1 array. The end result should be something like this for a simple smiley 00000 01010 00000 10001 …

---

## [Node-red-contrib-switchbot-api -- New SwitchBot API Ver 1.1](https://discourse.nodered.org/t/node-red-contrib-switchbot-api-new-switchbot-api-ver-1-1/67873)

<div class="topic-metadata">

**Author:** [@stephenn](https://discourse.nodered.org/u/stephenn)\
**Replies:** 1\
**Last updated:** [18 September 2022 09:44 UTC](https://discourse.nodered.org/t/node-red-contrib-switchbot-api-new-switchbot-api-ver-1-1/67873 "2022-09-18T09:44:25Z")

</div>

I wasn't sure how to contact maintainer directly so I am posting this here. Switchbot removed Lock Functionality from their Ver 1.0 API but added it back into newly released Ver 1.1. Version 1.1 requires both a Token …

---

## [Is there any official interface for Deploy Button can use](https://discourse.nodered.org/t/is-there-any-official-interface-for-deploy-button-can-use/67847)

<div class="topic-metadata">

**Author:** [@Sztt](https://discourse.nodered.org/u/Sztt)\
**Replies:** 3\
**Last updated:** [18 September 2022 04:00 UTC](https://discourse.nodered.org/t/is-there-any-official-interface-for-deploy-button-can-use/67847 "2022-09-18T04:00:03Z")

</div>

Node-RED version: v3.0.2 Node.js version: v16.17.0 Hi, I'm new to Node-red. I need to use the interface to call up the deployment button, so that I can use this interface to complete the deployment function rather tha…

---

## [How to pass a Regex into a function node](https://discourse.nodered.org/t/how-to-pass-a-regex-into-a-function-node/67701)

<div class="topic-metadata">

**Author:** [@IanH](https://discourse.nodered.org/u/IanH)\
**Replies:** 2\
**Last updated:** [18 September 2022 03:50 UTC](https://discourse.nodered.org/t/how-to-pass-a-regex-into-a-function-node/67701 "2022-09-18T03:50:38Z")

</div>

I am trying to finish a Function node (part of a Sub-Flow) that will also allow the elements (usually a MQTT topic) of an array to be trimmed for purpose of feeding to a ui\_chart. As these topics have many forms differe…

---

## [Using the UI Template](https://discourse.nodered.org/t/using-the-ui-template/67732)

<div class="topic-metadata">

**Author:** [@donsay](https://discourse.nodered.org/u/donsay)\
**Replies:** 2\
**Last updated:** [18 September 2022 02:01 UTC](https://discourse.nodered.org/t/using-the-ui-template/67732 "2022-09-18T02:01:42Z")

</div>

Hi! I'm a brand new NR user. I'm pretty familiar with javascript, not so much with styling html. My goal is to change the background color of a text object from a javascript function, seems like the msg.topic is a good…

---

## [Link Alexa to Node-Red](https://discourse.nodered.org/t/link-alexa-to-node-red/67855)

<div class="topic-metadata">

**Author:** [@lessi](https://discourse.nodered.org/u/lessi)\
**Replies:** 6\
**Last updated:** [17 September 2022 21:28 UTC](https://discourse.nodered.org/t/link-alexa-to-node-red/67855 "2022-09-17T21:28:13Z")

</div>

I am trying to link Amazon Alexa to Node-Red with node-red-contrib-alexa-remote2-applestrudel (GitHub - bbindreiter/node-red-contrib-alexa-remote2-applestrudel: Node-Red Nodes for interacting with Alexa) following this e…

---

## [Automated Tests with Node-RED](https://discourse.nodered.org/t/automated-tests-with-node-red/51751)

<div class="topic-metadata">

**Author:** [@rozek](https://discourse.nodered.org/u/rozek)\
**Replies:** 2\
**Last updated:** [17 September 2022 20:02 UTC](https://discourse.nodered.org/t/automated-tests-with-node-red/51751 "2022-09-17T20:02:29Z")

</div>

Services built with Node-RED should be tested like any other kind of software as well. Based on my own experiences with Node-RED, I've published a test "pattern" and the underlying flows on GitHub. Feel free to use it …

---

## [Help return array index](https://discourse.nodered.org/t/help-return-array-index/67834)

<div class="topic-metadata">

**Author:** [@agermansen](https://discourse.nodered.org/u/agermansen)\
**Replies:** 4\
**Last updated:** [17 September 2022 19:13 UTC](https://discourse.nodered.org/t/help-return-array-index/67834 "2022-09-17T19:13:13Z")

</div>

Hey all I got this fairly simple flow that takes in an array of todays energi prices and returns the minimum and maximum value, this is all well and good but i need to know when the prices are high and low, can anyone h…

---

## [Make setting an id in Post flow work](https://discourse.nodered.org/t/make-setting-an-id-in-post-flow-work/67815)

<div class="topic-metadata">

**Author:** [@guyluz11](https://discourse.nodered.org/u/guyluz11)\
**Replies:** 5\
**Last updated:** [17 September 2022 18:48 UTC](https://discourse.nodered.org/t/make-setting-an-id-in-post-flow-work/67815 "2022-09-17T18:48:36Z")

</div>

As discussed here currently setting id in post flow does not work, also mentioned in the API itself The runtime will assign a new id for the flow. If the provided flow configuration object includes an id field it wil…

---

## [Gauge Type Level - Dynamically change Unit field](https://discourse.nodered.org/t/gauge-type-level-dynamically-change-unit-field/67849)

<div class="topic-metadata">

**Author:** [@mojgithub](https://discourse.nodered.org/u/mojgithub)\
**Replies:** 6\
**Last updated:** [17 September 2022 17:59 UTC](https://discourse.nodered.org/t/gauge-type-level-dynamically-change-unit-field/67849 "2022-09-17T17:59:18Z")

</div>

HI i am trying to set this field in function before this node. Mililiters, Liters, Hectoliters or units ml, l, hl. Function: msg.unit = "test"; return msg; I have tried with: {{unit}} {{msg.unit}} msg.unit i hav…

---

## [RMS AC voltage measurement](https://discourse.nodered.org/t/rms-ac-voltage-measurement/67767)

<div class="topic-metadata">

**Author:** [@Lubotinus](https://discourse.nodered.org/u/Lubotinus)\
**Replies:** 15\
**Last updated:** [17 September 2022 16:00 UTC](https://discourse.nodered.org/t/rms-ac-voltage-measurement/67767 "2022-09-17T16:00:35Z")

</div>

I have a Raspberry Pi and MCP3008 I need to measure the RMS value of AC voltage 50Hz. Can you please tell me how this can be done software in Node-red? There is no problem with the hardware part.

---

## [OpenWeatherMap Historical API for students return "no data" when given city, country as input](https://discourse.nodered.org/t/openweathermap-historical-api-for-students-return-no-data-when-given-city-country-as-input/67851)

<div class="topic-metadata">

**Author:** [@coco\_linton](https://discourse.nodered.org/u/coco_linton)\
**Replies:** 1\
**Last updated:** [17 September 2022 14:35 UTC](https://discourse.nodered.org/t/openweathermap-historical-api-for-students-return-no-data-when-given-city-country-as-input/67851 "2022-09-17T14:35:09Z")

</div>

I am trying to get the historical weather data when city and country is given as the input. It returns the value 404000 (invalid location according to the documentation) and the message "no data" even when I copy-paste t…

---

## [Template-node error](https://discourse.nodered.org/t/template-node-error/67830)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 21\
**Last updated:** [17 September 2022 14:23 UTC](https://discourse.nodered.org/t/template-node-error/67830 "2022-09-17T14:23:47Z")

</div>

I am trying to pass the content of a global variable to an HTTP-in node In my template node I have the following: { Learning status: {{global.get("LearningStatus")}} } but it is giving error when the request is sent …

---

## [Node-Red 3 complains about me](https://discourse.nodered.org/t/node-red-3-complains-about-me/67804)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 18\
**Last updated:** [17 September 2022 13:37 UTC](https://discourse.nodered.org/t/node-red-3-complains-about-me/67804 "2022-09-17T13:37:17Z")

</div>

Hi, i installed Node-Red 3 on both of my RPi. Just on one of them Node-Red complains about my functions: for example. Every function it complains something... on the other RPi (same code) Node-Red does´t complain …

---

## [Cron plus solar events AND cron](https://discourse.nodered.org/t/cron-plus-solar-events-and-cron/67826)

<div class="topic-metadata">

**Author:** [@defconhaya](https://discourse.nodered.org/u/defconhaya)\
**Replies:** 2\
**Last updated:** [17 September 2022 12:53 UTC](https://discourse.nodered.org/t/cron-plus-solar-events-and-cron/67826 "2022-09-17T12:53:36Z")

</div>

Hi, I want to make a schedule that activates only from May to August on sunset. Is this possible using cron plus node ? Thanks.

---

## [Updated Dashboard to 3.2.0 from 3.1.6 and Graphs stopped working](https://discourse.nodered.org/t/updated-dashboard-to-3-2-0-from-3-1-6-and-graphs-stopped-working/67837)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 3\
**Last updated:** [17 September 2022 09:40 UTC](https://discourse.nodered.org/t/updated-dashboard-to-3-2-0-from-3-1-6-and-graphs-stopped-working/67837 "2022-09-17T09:40:23Z")

</div>

I updated dashboard to 3.2.0 from 3.1.6 and the so far working graphs stopped working. the error i am getting is "series not array" the debug output of the graph input shows like this what is wrong ?

---

## [Trigger API according to the input](https://discourse.nodered.org/t/trigger-api-according-to-the-input/67824)

<div class="topic-metadata">

**Author:** [@coco\_linton](https://discourse.nodered.org/u/coco_linton)\
**Replies:** 5\
**Last updated:** [17 September 2022 09:35 UTC](https://discourse.nodered.org/t/trigger-api-according-to-the-input/67824 "2022-09-17T09:35:02Z")

</div>

I'm building a weather dashboard and it has two options to get input. City/ Country name or Lattitude/ Longitude. I want to update my dashboard every 30 seconds. If City/ Country was given as input, I want to update th…

---

## [Start a system command in exec node in root mode](https://discourse.nodered.org/t/start-a-system-command-in-exec-node-in-root-mode/67839)

<div class="topic-metadata">

**Author:** [@chri-kai-in](https://discourse.nodered.org/u/chri-kai-in)\
**Replies:** 4\
**Last updated:** [17 September 2022 09:16 UTC](https://discourse.nodered.org/t/start-a-system-command-in-exec-node-in-root-mode/67839 "2022-09-17T09:16:30Z")

</div>

Hello, i was searching the forum and found some discussion about exec node and the usage of sudo but that unfortunately didn't help me with my issue: I have the need to call a command in "sudo su" or root mode within e…

---

## [Interpret MQTT object and update output according to which parameter is available](https://discourse.nodered.org/t/interpret-mqtt-object-and-update-output-according-to-which-parameter-is-available/67801)

<div class="topic-metadata">

**Author:** [@lessi](https://discourse.nodered.org/u/lessi)\
**Replies:** 6\
**Last updated:** [17 September 2022 07:15 UTC](https://discourse.nodered.org/t/interpret-mqtt-object-and-update-output-according-to-which-parameter-is-available/67801 "2022-09-17T07:15:52Z")

</div>

From one source (shelly1pmplus) I am receiving different objects on the same MQTT address: E.g. For the measured current: {"src":"shellyplus1pm-441793cfda38","dst":"shellyplus1pm-pvbalkon/events","method":"NotifyStat…

---

## [Uibuilder v2 Charting Examples](https://discourse.nodered.org/t/uibuilder-v2-charting-examples/14429)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 28\
**Last updated:** [16 September 2022 22:47 UTC](https://discourse.nodered.org/t/uibuilder-v2-charting-examples/14429 "2022-09-16T22:47:38Z")

</div>

Hi all, I had a query today regarding how to integrate vue-chartjs into uibuilder. Unfortunately, it is rather poorly documented and I didn't manage to make it work without going through a build step. However, that prom…

---

## [Named junctions?](https://discourse.nodered.org/t/named-junctions/67818)

<div class="topic-metadata">

**Author:** [@LosinIt](https://discourse.nodered.org/u/LosinIt)\
**Replies:** 2\
**Last updated:** [16 September 2022 19:48 UTC](https://discourse.nodered.org/t/named-junctions/67818 "2022-09-16T19:48:00Z")

</div>

I really like the junctions because having wires pass under nodes just messes with my mind. I think they'd be even more helpful if I could assign a name/label to them so when I mouse over them a tool-tip pops up with tha…

---

## [MQTT Sparkplug B Issue](https://discourse.nodered.org/t/mqtt-sparkplug-b-issue/67812)

<div class="topic-metadata">

**Author:** [@JhonWayne](https://discourse.nodered.org/u/JhonWayne)\
**Replies:** 2\
**Last updated:** [16 September 2022 19:26 UTC](https://discourse.nodered.org/t/mqtt-sparkplug-b-issue/67812 "2022-09-16T19:26:23Z")

</div>

Hi All, we appreciated that you can share all information about how we can use the node-red application. And following this, we have created a simple test for communicating through MQTT with two equipment but have the fo…

---

## [Node-Red Ethernet IP to control logix shows offline when tags added](https://discourse.nodered.org/t/node-red-ethernet-ip-to-control-logix-shows-offline-when-tags-added/67814)

<div class="topic-metadata">

**Author:** [@RNation0001](https://discourse.nodered.org/u/RNation0001)\
**Replies:** 1\
**Last updated:** [16 September 2022 15:47 UTC](https://discourse.nodered.org/t/node-red-ethernet-ip-to-control-logix-shows-offline-when-tags-added/67814 "2022-09-16T15:47:07Z")

</div>

Hello, first time poster here. i have node red with the ethernet ip addon installed i can add the control logix plc and it shows online but then when i go back and add a global tag that corresponds to the tag in the plc …

---

## [Join values into array in specific order to make a calculation](https://discourse.nodered.org/t/join-values-into-array-in-specific-order-to-make-a-calculation/67774)

<div class="topic-metadata">

**Author:** [@niklerus](https://discourse.nodered.org/u/niklerus)\
**Replies:** 14\
**Last updated:** [16 September 2022 15:42 UTC](https://discourse.nodered.org/t/join-values-into-array-in-specific-order-to-make-a-calculation/67774 "2022-09-16T15:42:23Z")

</div>

Trying to make a calculation in NR using Join to create an array and then do a division in a calculator node. Everything works as expected if the values (numerator and denominator) arrives in the correct order but they …

---

## [How to set env variable](https://discourse.nodered.org/t/how-to-set-env-variable/18612)

<div class="topic-metadata">

**Author:** [@DemonKing](https://discourse.nodered.org/u/DemonKing)\
**Replies:** 24\
**Last updated:** [16 September 2022 14:53 UTC](https://discourse.nodered.org/t/how-to-set-env-variable/18612 "2022-09-16T14:53:24Z")

</div>

env.get() working but env.set() is not a function like flow.set(),global.set()ext, so please find me how to set env variable

---

## [POST flow id is getting ignored](https://discourse.nodered.org/t/post-flow-id-is-getting-ignored/67811)

<div class="topic-metadata">

**Author:** [@guyluz11](https://discourse.nodered.org/u/guyluz11)\
**Replies:** 1\
**Last updated:** [16 September 2022 14:41 UTC](https://discourse.nodered.org/t/post-flow-id-is-getting-ignored/67811 "2022-09-16T14:41:48Z")

</div>

I am trying to create new flow with pre define id that I have created. But using Node-Red API setting the id in post flow it is getting ignored. To reproduce (I use Postman) create post request to http://localhost:1880…

---

## [Status of an Exec node](https://discourse.nodered.org/t/status-of-an-exec-node/67809)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 1\
**Last updated:** [16 September 2022 14:36 UTC](https://discourse.nodered.org/t/status-of-an-exec-node/67809 "2022-09-16T14:36:50Z")

</div>

Hi, I am try to get the status of an exec-node using the status-node. For some reason I can catch when the node is killed but not when it has a pid. When I start the exec node, the function attached to the status node …

---

## [Filling http request field automatically](https://discourse.nodered.org/t/filling-http-request-field-automatically/11239)

<div class="topic-metadata">

**Author:** [@DillonW](https://discourse.nodered.org/u/DillonW)\
**Replies:** 8\
**Last updated:** [16 September 2022 14:14 UTC](https://discourse.nodered.org/t/filling-http-request-field-automatically/11239 "2022-09-16T14:14:31Z")

</div>

Hi, I am using two seperate http request nodes separately to access a service's api in Node-Red. The first one requests a token used for an extra level of authentication which is returned in the debug tab. The second r…

---

## [Problem using node-red-contrib-email-actions - crashing](https://discourse.nodered.org/t/problem-using-node-red-contrib-email-actions-crashing/67595)

<div class="topic-metadata">

**Author:** [@lewi0231](https://discourse.nodered.org/u/lewi0231)\
**Replies:** 1\
**Last updated:** [16 September 2022 13:51 UTC](https://discourse.nodered.org/t/problem-using-node-red-contrib-email-actions-crashing/67595 "2022-09-16T13:51:02Z")

</div>

So, I'm wanting to receive emails and then change the folder (or label) that the email is stored in based on certain criteria (e.g., sentiment) Currently I'm able to receive emails from a test gmail account (after confi…

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

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