# General

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

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

**Page:** 381

---

## [Switch bigger than and smaller then error](https://discourse.nodered.org/t/switch-bigger-than-and-smaller-then-error/62310)

<div class="topic-metadata">

**Author:** [@Kimovitzh](https://discourse.nodered.org/u/Kimovitzh)\
**Replies:** 9\
**Last updated:** [7 May 2022 07:02 UTC](https://discourse.nodered.org/t/switch-bigger-than-and-smaller-then-error/62310 "2022-05-07T07:02:45Z")

</div>

Hi I'm trying to do a min and max wether temp and save it in context. However, the \< and \> doesn't work for me. I have to change them to the oppesite every time I do a deploy, which seems odd. \[{"id":"b9f8c315fe1…

---

## [Group Tabs/Flows](https://discourse.nodered.org/t/group-tabs-flows/62262)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 7\
**Last updated:** [7 May 2022 06:12 UTC](https://discourse.nodered.org/t/group-tabs-flows/62262 "2022-05-07T06:12:24Z")

</div>

Guys, Wondering if anything has happened with this - the ability in the editor to group common flows together (for instance i have 6 tabs to do with Battery and Solar control in my house) all of which work fine now and …

---

## [Autostart Node-Red ends up in endless loop?](https://discourse.nodered.org/t/autostart-node-red-ends-up-in-endless-loop/62311)

<div class="topic-metadata">

**Author:** [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Replies:** 1\
**Last updated:** [6 May 2022 22:10 UTC](https://discourse.nodered.org/t/autostart-node-red-ends-up-in-endless-loop/62311 "2022-05-06T22:10:52Z")

</div>

Hi, I try to autostart Node-Red on my Windows Server 2016 Standard OS. So I created a CMD-File looking like this: If I either autostart or doubleclick the CMD-File it ends up in and endless loop: If I go to comm…

---

## [Connecting seimens s7 with sql using node red](https://discourse.nodered.org/t/connecting-seimens-s7-with-sql-using-node-red/62294)

<div class="topic-metadata">

**Author:** [@nadabnammar](https://discourse.nodered.org/u/nadabnammar)\
**Replies:** 6\
**Last updated:** [6 May 2022 22:05 UTC](https://discourse.nodered.org/t/connecting-seimens-s7-with-sql-using-node-red/62294 "2022-05-06T22:05:55Z")

</div>

hi ! i want to connect between node red and MSSM (sql ) but i didnt know how to do could you help me please ?

---

## [How to get status on publish to a MQTT Out node?](https://discourse.nodered.org/t/how-to-get-status-on-publish-to-a-mqtt-out-node/62089)

<div class="topic-metadata">

**Author:** [@GAdmiral](https://discourse.nodered.org/u/GAdmiral)\
**Replies:** 15\
**Last updated:** [6 May 2022 18:30 UTC](https://discourse.nodered.org/t/how-to-get-status-on-publish-to-a-mqtt-out-node/62089 "2022-05-06T18:30:05Z")

</div>

I'm using the mqtt out node to send messages to an MQTT broker. I would like verify the status of each publish operation. Apologies for the Python code, but this is roughly what I would do outside of Node-RED: message…

---

## [FYI - Raspberry Pi users - Starting with 2022-04-04 Bullseye no default user is created](https://discourse.nodered.org/t/fyi-raspberry-pi-users-starting-with-2022-04-04-bullseye-no-default-user-is-created/62308)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 0\
**Last updated:** [6 May 2022 18:20 UTC](https://discourse.nodered.org/t/fyi-raspberry-pi-users-starting-with-2022-04-04-bullseye-no-default-user-is-created/62308 "2022-05-06T18:20:34Z")

</div>

Anyone using a Pi and wanting to install the latest release (2022-04-04 should read An update to Raspberry Pi OS Bullseye - Raspberry Pi There is no default user created anymore. The article expains what to do and there…

---

## [Regex Invalid Regular Expression](https://discourse.nodered.org/t/regex-invalid-regular-expression/62303)

<div class="topic-metadata">

**Author:** [@Mick](https://discourse.nodered.org/u/Mick)\
**Replies:** 2\
**Last updated:** [6 May 2022 17:36 UTC](https://discourse.nodered.org/t/regex-invalid-regular-expression/62303 "2022-05-06T17:36:50Z")

</div>

I have a function I am writing to regex parse data between 2 strings. I am using a regex expression that I tested on Regex101 It seems to work well however I am getting an invalid expression error in the function …

---

## [Can we use Mustache with the UI builder](https://discourse.nodered.org/t/can-we-use-mustache-with-the-ui-builder/62273)

<div class="topic-metadata">

**Author:** [@armant](https://discourse.nodered.org/u/armant)\
**Replies:** 1\
**Last updated:** [6 May 2022 09:21 UTC](https://discourse.nodered.org/t/can-we-use-mustache-with-the-ui-builder/62273 "2022-05-06T09:21:51Z")

</div>

Hi there, A bit new too Node-Red, I'm trying to access the msg.payload in the index.html inside the UI-builder node. There's a dropdown menu at the bottom right of the UI-builder's interface. So ie: UI-builder does…

---

## [Call service attribute](https://discourse.nodered.org/t/call-service-attribute/62299)

<div class="topic-metadata">

**Author:** [@etmomoabc](https://discourse.nodered.org/u/etmomoabc)\
**Replies:** 3\
**Last updated:** [6 May 2022 16:56 UTC](https://discourse.nodered.org/t/call-service-attribute/62299 "2022-05-06T16:56:28Z")

</div>

Hi I need some help. I have connected to izone in HA but don't know how to call service , its attribute. Below is the entity and attribute is hvac\_modes . I want to call service fan\_only, or off. How can I call service…

---

## [Send command to mqtt output after a function node](https://discourse.nodered.org/t/send-command-to-mqtt-output-after-a-function-node/62302)

<div class="topic-metadata">

**Author:** [@mgfeal](https://discourse.nodered.org/u/mgfeal)\
**Replies:** 2\
**Last updated:** [6 May 2022 16:30 UTC](https://discourse.nodered.org/t/send-command-to-mqtt-output-after-a-function-node/62302 "2022-05-06T16:30:36Z")

</div>

Hi, I need to process the msg.consumototal that my function receives. I read and process the msg.consumototal value and I want to send a different mqtt command depending on the value that msg has. MQTT commands: …

---

## [Keep switch UI switch state in sync with external triggers](https://discourse.nodered.org/t/keep-switch-ui-switch-state-in-sync-with-external-triggers/62198)

<div class="topic-metadata">

**Author:** [@Tomadoggy](https://discourse.nodered.org/u/Tomadoggy)\
**Replies:** 8\
**Last updated:** [6 May 2022 15:59 UTC](https://discourse.nodered.org/t/keep-switch-ui-switch-state-in-sync-with-external-triggers/62198 "2022-05-06T15:59:42Z")

</div>

Back again...this is a continuation of a topic from over a year ago...for reference: (https://discourse.nodered.org/t/have-objects-in-msg-need-to-take-actions-based-on-one-of-the-payload-codes/37451) I stepped away fro…

---

## [Debug shows JSON but MQTT doesn't trigger](https://discourse.nodered.org/t/debug-shows-json-but-mqtt-doesnt-trigger/62295)

<div class="topic-metadata">

**Author:** [@themed00](https://discourse.nodered.org/u/themed00)\
**Replies:** 7\
**Last updated:** [6 May 2022 14:33 UTC](https://discourse.nodered.org/t/debug-shows-json-but-mqtt-doesnt-trigger/62295 "2022-05-06T14:33:35Z")

</div>

Hey, I've had a few MQTTs IN and they work great. But now, I'm sending via a online PHP Site a MQTT Message to one of my nodes. When I'm Sending an String for example "start" it works perfectly. But when I'm sending …

---

## [Join two flows to one](https://discourse.nodered.org/t/join-two-flows-to-one/62285)

<div class="topic-metadata">

**Author:** [@dick](https://discourse.nodered.org/u/dick)\
**Replies:** 5\
**Last updated:** [6 May 2022 14:26 UTC](https://discourse.nodered.org/t/join-two-flows-to-one/62285 "2022-05-06T14:26:05Z")

</div>

Hello, Is there a simple manner two combines two flows. I have flow A and flow B How to combine this to C as a combination of A and B? Dick

---

## [I cant convert HTML to PDF or Print the HTML content](https://discourse.nodered.org/t/i-cant-convert-html-to-pdf-or-print-the-html-content/62163)

<div class="topic-metadata">

**Author:** [@fireboyff](https://discourse.nodered.org/u/fireboyff)\
**Replies:** 3\
**Last updated:** [6 May 2022 10:32 UTC](https://discourse.nodered.org/t/i-cant-convert-html-to-pdf-or-print-the-html-content/62163 "2022-05-06T10:32:20Z")

</div>

Hi I've been trying to convert HTML content that is created in my flow to a PDF for days. Unfortunately, all attempts have failed. I also display this HTML content in the dashboard in a Ui\_Tamplet, it would also be eno…

---

## [Not sending an msg.payload in function node](https://discourse.nodered.org/t/not-sending-an-msg-payload-in-function-node/62266)

<div class="topic-metadata">

**Author:** [@Milanovic](https://discourse.nodered.org/u/Milanovic)\
**Replies:** 3\
**Last updated:** [6 May 2022 07:29 UTC](https://discourse.nodered.org/t/not-sending-an-msg-payload-in-function-node/62266 "2022-05-06T07:29:21Z")

</div>

I would know if it's possible to send each 90 pulses a msg.payload. So the other 89 pulses no msg.payload to the next node

---

## [Loop of an array for multiple values](https://discourse.nodered.org/t/loop-of-an-array-for-multiple-values/62234)

<div class="topic-metadata">

**Author:** [@Milanovic](https://discourse.nodered.org/u/Milanovic)\
**Replies:** 6\
**Last updated:** [6 May 2022 07:07 UTC](https://discourse.nodered.org/t/loop-of-an-array-for-multiple-values/62234 "2022-05-06T07:07:12Z")

</div>

Hello, I have an array of 90 values and know I want to calculate the avarage value of all that values. Is it possible to write it with a loop? How would you do it?

---

## [Sending data via 4g/narrowband?](https://discourse.nodered.org/t/sending-data-via-4g-narrowband/62250)

<div class="topic-metadata">

**Author:** [@Manuel\_o](https://discourse.nodered.org/u/Manuel_o)\
**Replies:** 6\
**Last updated:** [5 May 2022 19:42 UTC](https://discourse.nodered.org/t/sending-data-via-4g-narrowband/62250 "2022-05-05T19:42:47Z")

</div>

Hello friends. I am coding rn my project an love node-red! I have a general question respectively vagueness about "the way" to send my data to my webserver. It is essential that i am independently from the local networ…

---

## [How to filter a table](https://discourse.nodered.org/t/how-to-filter-a-table/62133)

<div class="topic-metadata">

**Author:** [@alexback](https://discourse.nodered.org/u/alexback)\
**Replies:** 7\
**Last updated:** [5 May 2022 17:08 UTC](https://discourse.nodered.org/t/how-to-filter-a-table/62133 "2022-05-05T17:08:01Z")

</div>

hi, i am new to mongodb and node red so I need help. let's suggest we have a full table (e.g: name, age, subject) in mongodb which is installed to pi4 and according to columns I made dropdowns that has all choices (name…

---

## [Need to see serial port data](https://discourse.nodered.org/t/need-to-see-serial-port-data/61914)

<div class="topic-metadata">

**Author:** [@dzairo](https://discourse.nodered.org/u/dzairo)\
**Replies:** 10\
**Last updated:** [5 May 2022 16:09 UTC](https://discourse.nodered.org/t/need-to-see-serial-port-data/61914 "2022-05-05T16:09:22Z")

</div>

Hi all. I need see what my ESP32 send to serial port, there are lots of lines string. is there any node to see it ? all my string are end with \\n easy solution if possible , not complicated .. any idea?

---

## [EACCES can't run ping command](https://discourse.nodered.org/t/eacces-cant-run-ping-command/62189)

<div class="topic-metadata">

**Author:** [@psalibe](https://discourse.nodered.org/u/psalibe)\
**Replies:** 5\
**Last updated:** [5 May 2022 16:04 UTC](https://discourse.nodered.org/t/eacces-cant-run-ping-command/62189 "2022-05-05T16:04:26Z")

</div>

I am newly running Node-Red v2.2.2 on Ubuntu 18.04.6 LTS running on an OnLogic Panel PC. Prior to this, Node-Red was running on the Linux side of our on-board PLC and we had no problems with ping. Since moving to the Pan…

---

## [Node-red to influxdb atlas scientific](https://discourse.nodered.org/t/node-red-to-influxdb-atlas-scientific/62114)

<div class="topic-metadata">

**Author:** [@btbr](https://discourse.nodered.org/u/btbr)\
**Replies:** 7\
**Last updated:** [5 May 2022 13:53 UTC](https://discourse.nodered.org/t/node-red-to-influxdb-atlas-scientific/62114 "2022-05-05T13:53:34Z")

</div>

Hello everyone. I am a three week in noobs so please be patient if I'm a bit slow. I have data from two Atlas Scientific sensors coming into node red through MQTT to go to Influxdb. The value field was a string, not a n…

---

## [Communicate between UI and MQTT](https://discourse.nodered.org/t/communicate-between-ui-and-mqtt/62228)

<div class="topic-metadata">

**Author:** [@emnabk\_12](https://discourse.nodered.org/u/emnabk_12)\
**Replies:** 1\
**Last updated:** [5 May 2022 13:42 UTC](https://discourse.nodered.org/t/communicate-between-ui-and-mqtt/62228 "2022-05-05T13:42:14Z")

</div>

Hello all, I want to send a payload (for exemple : true) to a uibilder node and based on that payload, I want the javascript code inside the uibuilder to read it and use a condition on it. If I have to use socket, how d…

---

## [Split single JSON payload (from MQTT) into google sheets columns](https://discourse.nodered.org/t/split-single-json-payload-from-mqtt-into-google-sheets-columns/62233)

<div class="topic-metadata">

**Author:** [@jjanderson](https://discourse.nodered.org/u/jjanderson)\
**Replies:** 1\
**Last updated:** [5 May 2022 13:16 UTC](https://discourse.nodered.org/t/split-single-json-payload-from-mqtt-into-google-sheets-columns/62233 "2022-05-05T13:16:48Z")

</div>

Hello, I am sorry for the novice question, but hoping someone can help. I receive a JSON payload over MQTT from Chirpstack. What I would like to do is place these values into a google sheets spreadsheet. So far I have…

---

## [Install Problems: inst runs ok, but node-red & node-red-pi are missing](https://discourse.nodered.org/t/install-problems-inst-runs-ok-but-node-red-node-red-pi-are-missing/62232)

<div class="topic-metadata">

**Author:** [@titus.wolf](https://discourse.nodered.org/u/titus.wolf)\
**Replies:** 0\
**Last updated:** [5 May 2022 12:01 UTC](https://discourse.nodered.org/t/install-problems-inst-runs-ok-but-node-red-node-red-pi-are-missing/62232 "2022-05-05T12:01:19Z")

</div>

I ran this cmd: bash \<(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) Output: Stop Node-RED :check\_mark: Remove old version of Node-RE…

---

## [List of flows with node](https://discourse.nodered.org/t/list-of-flows-with-node/62225)

<div class="topic-metadata">

**Author:** [@arminder.lubana](https://discourse.nodered.org/u/arminder.lubana)\
**Replies:** 1\
**Last updated:** [5 May 2022 10:41 UTC](https://discourse.nodered.org/t/list-of-flows-with-node/62225 "2022-05-05T10:41:42Z")

</div>

Hi all, Do we have any admin API method from where i can get json as response with list of all the flow configuration including nodes in it. If there is no any build in functionality then can anybody guide me how i can …

---

## [Tensorflow error](https://discourse.nodered.org/t/tensorflow-error/62197)

<div class="topic-metadata">

**Author:** [@ae2213](https://discourse.nodered.org/u/ae2213)\
**Replies:** 4\
**Last updated:** [5 May 2022 10:19 UTC](https://discourse.nodered.org/t/tensorflow-error/62197 "2022-05-05T10:19:20Z")

</div>

"TypeError: response.arrayBuffer is not a function" What should i do ?

---

## [Hidraw0 RPi3 vs RPi4](https://discourse.nodered.org/t/hidraw0-rpi3-vs-rpi4/62035)

<div class="topic-metadata">

**Author:** [@JFPP](https://discourse.nodered.org/u/JFPP)\
**Replies:** 3\
**Last updated:** [5 May 2022 10:17 UTC](https://discourse.nodered.org/t/hidraw0-rpi3-vs-rpi4/62035 "2022-05-05T10:17:34Z")

</div>

Hi there, This is my first post. I am quite new on Node-Red, Linux & Raspberry Pi and I need your support. I have an application running with a RPi3. I am building a new project with RPi4 and I want to reuse quite a fe…

---

## [Access Flow file location](https://discourse.nodered.org/t/access-flow-file-location/62167)

<div class="topic-metadata">

**Author:** [@arminder.lubana](https://discourse.nodered.org/u/arminder.lubana)\
**Replies:** 2\
**Last updated:** [5 May 2022 10:07 UTC](https://discourse.nodered.org/t/access-flow-file-location/62167 "2022-05-05T10:07:36Z")

</div>

Hi All, Can anybody guide me how i can access flow file location as variable or any other way in the flow instead of hardcoded? Thanks in advance. Arminder

---

## [How to catch "JSON parse error" Warning from HTTP request node?](https://discourse.nodered.org/t/how-to-catch-json-parse-error-warning-from-http-request-node/62149)

<div class="topic-metadata">

**Author:** [@Cyber](https://discourse.nodered.org/u/Cyber)\
**Replies:** 8\
**Last updated:** [5 May 2022 08:35 UTC](https://discourse.nodered.org/t/how-to-catch-json-parse-error-warning-from-http-request-node/62149 "2022-05-05T08:35:32Z")

</div>

Hello, Have HTTP request nodes in flows which are requesting by HTTP from ESPEasy nodes. Not all requestable things from ESPEasy reply with proper formatted json yet. So I wrote the functions which are processing the r…

---

## [Need help with node-red-contrib-mongodb4](https://discourse.nodered.org/t/need-help-with-node-red-contrib-mongodb4/62218)

<div class="topic-metadata">

**Author:** [@ekkom](https://discourse.nodered.org/u/ekkom)\
**Replies:** 1\
**Last updated:** [5 May 2022 08:28 UTC](https://discourse.nodered.org/t/need-help-with-node-red-contrib-mongodb4/62218 "2022-05-05T08:28:54Z")

</div>

I use node-red-contrib-mongodb4 and I use find operation. I want to sort and limit output. Please show me how to use sort or limit. Thanks.

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

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