# General

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

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

**Page:** 272

---

## [MQTT IN payload type detection inconsistency](https://discourse.nodered.org/t/mqtt-in-payload-type-detection-inconsistency/72796)

<div class="topic-metadata">

**Author:** [@i8beef](https://discourse.nodered.org/u/i8beef)\
**Replies:** 9\
**Last updated:** [28 December 2022 19:10 UTC](https://discourse.nodered.org/t/mqtt-in-payload-type-detection-inconsistency/72796 "2022-12-28T19:10:54Z")

</div>

MQTT IN payloads are now parsing as primitive types bool at least, assuming numerics and arrays would too but haven't tested) rather than as strings. Assuming this is due to the new "autodetect JSON payloads" it seems t…

---

## [How to enable 307 Temporary Redirect](https://discourse.nodered.org/t/how-to-enable-307-temporary-redirect/72841)

<div class="topic-metadata">

**Author:** [@GabrielGS](https://discourse.nodered.org/u/GabrielGS)\
**Replies:** 9\
**Last updated:** [28 December 2022 20:35 UTC](https://discourse.nodered.org/t/how-to-enable-307-temporary-redirect/72841 "2022-12-28T20:35:42Z")

</div>

I'm trying to perform an authentication request in an API using the POST method, but I'm getting the following error: 307 Temporary Redirect307 Temporary Redirectnginx/1.18.0 When I use Postman the problem does not happ…

---

## [Modbus 16 bit registers to Float value](https://discourse.nodered.org/t/modbus-16-bit-registers-to-float-value/72784)

<div class="topic-metadata">

**Author:** [@thutchis](https://discourse.nodered.org/u/thutchis)\
**Replies:** 4\
**Last updated:** [28 December 2022 20:14 UTC](https://discourse.nodered.org/t/modbus-16-bit-registers-to-float-value/72784 "2022-12-28T20:14:21Z")

</div>

I am NOT a javascript programmer, just trying to read a Modbus device and get a value out to inject into a data base. I have been struggling with this for hours and hours reading this forum and others. I get two 16 bit…

---

## [Function node to check multiple light switch states](https://discourse.nodered.org/t/function-node-to-check-multiple-light-switch-states/72844)

<div class="topic-metadata">

**Author:** [@ikillratz](https://discourse.nodered.org/u/ikillratz)\
**Replies:** 1\
**Last updated:** [28 December 2022 17:33 UTC](https://discourse.nodered.org/t/function-node-to-check-multiple-light-switch-states/72844 "2022-12-28T17:33:05Z")

</div>

I am not that familiar with the language for function nodes, I mainly use the other nodes to perform the functions I need without worrying about the specific syntax. What I am trying to get is a function node that gets …

---

## [How to use google APIs with OAuth 2.0?](https://discourse.nodered.org/t/how-to-use-google-apis-with-oauth-2-0/18498)

<div class="topic-metadata">

**Author:** [@janvda](https://discourse.nodered.org/u/janvda)\
**Replies:** 2\
**Last updated:** [28 December 2022 16:01 UTC](https://discourse.nodered.org/t/how-to-use-google-apis-with-oauth-2-0/18498 "2022-12-28T16:01:17Z")

</div>

I would like to use the Google APIs to add photos to one of my google photos albums. What is the best way to do this in Node-RED ? It is mainly the part related to OAuth 2.0 where I am stuck. So for me it is sufficien…

---

## [Where is uibuilder js files?](https://discourse.nodered.org/t/where-is-uibuilder-js-files/72829)

<div class="topic-metadata">

**Author:** [@miladmrm](https://discourse.nodered.org/u/miladmrm)\
**Replies:** 1\
**Last updated:** [28 December 2022 14:09 UTC](https://discourse.nodered.org/t/where-is-uibuilder-js-files/72829 "2022-12-28T14:09:36Z")

</div>

When we want to use UI Builder, we put the following two scripts in the html code: \<script src="../uibuilder/vendor/socket.io/socket.io.js"\>\</script\> \<script src="./uibuilderfe.min.js"\>\</script\> My question is, where a…

---

## [NodeRed not loading up when adding modules to the flow](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755)

<div class="topic-metadata">

**Author:** [@Vikas-Konaparthi](https://discourse.nodered.org/u/Vikas-Konaparthi)\
**Replies:** 59\
**Last updated:** [28 December 2022 13:40 UTC](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755 "2022-12-28T13:40:22Z")

</div>

I'm working on a project using NodeRed deployed with docker, I am using nginx location block to navigate to the particular container like http://localhost/project/projectId/port/? when I trigger this url first time it is…

---

## [User Activated Alarm](https://discourse.nodered.org/t/user-activated-alarm/72782)

<div class="topic-metadata">

**Author:** [@rabrish](https://discourse.nodered.org/u/rabrish)\
**Replies:** 1\
**Last updated:** [28 December 2022 13:24 UTC](https://discourse.nodered.org/t/user-activated-alarm/72782 "2022-12-28T13:24:08Z")

</div>

Hello everyone! I have a LoRaWAN Door/Window sensor which I could successfully integrated into NR (on RPi) through TTN and MQTT. I have an LED and text on my dashboard which shows whether the door is open or close. Now…

---

## [Function node behaving strangely trying to set a maximum value](https://discourse.nodered.org/t/function-node-behaving-strangely-trying-to-set-a-maximum-value/72824)

<div class="topic-metadata">

**Author:** [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Replies:** 4\
**Last updated:** [28 December 2022 13:01 UTC](https://discourse.nodered.org/t/function-node-behaving-strangely-trying-to-set-a-maximum-value/72824 "2022-12-28T13:01:14Z")

</div>

I have weather data from a http request node going into a function node. The function node splits the data to display on my dashboard. I also use the function node to set min and max temperatures (that seems to work ok) …

---

## [Writing a template node](https://discourse.nodered.org/t/writing-a-template-node/72788)

<div class="topic-metadata">

**Author:** [@jw\_te\_r](https://discourse.nodered.org/u/jw_te_r)\
**Replies:** 2\
**Last updated:** [28 December 2022 11:44 UTC](https://discourse.nodered.org/t/writing-a-template-node/72788 "2022-12-28T11:44:29Z")

</div>

Hi all, In my project I receive sensor data via MQTT. I'm trying to send some measurements to InfluxDB, and to do that I need to write a template. So far, I've come up with this: \[{"id":"710a3f50523457d9","type":"mqtt i…

---

## [Get data from InfluxDB and add to current counter + save again in Database](https://discourse.nodered.org/t/get-data-from-influxdb-and-add-to-current-counter-save-again-in-database/72528)

<div class="topic-metadata">

**Author:** [@stefan2210](https://discourse.nodered.org/u/stefan2210)\
**Replies:** 9\
**Last updated:** [28 December 2022 12:37 UTC](https://discourse.nodered.org/t/get-data-from-influxdb-and-add-to-current-counter-save-again-in-database/72528 "2022-12-28T12:37:29Z")

</div>

Again I need some help. I hope it will be easy for you. I want to monitor a small PV-plant. Now I am so far, that I can get allso the current datas (energy, power). Actually my plan is to store also the total energy pr…

---

## [How to enhance 'websocket in' with basic authorization header?](https://discourse.nodered.org/t/how-to-enhance-websocket-in-with-basic-authorization-header/67199)

<div class="topic-metadata">

**Author:** [@b0denl0s](https://discourse.nodered.org/u/b0denl0s)\
**Replies:** 12\
**Last updated:** [28 December 2022 11:17 UTC](https://discourse.nodered.org/t/how-to-enhance-websocket-in-with-basic-authorization-header/67199 "2022-12-28T11:17:05Z")

</div>

Hi, my local smart home system has some "special requirement" on how to connect to their websocket: (...) you require a websocket implementation that: Supports providing headers to the connection request. https://deve…

---

## [Help with \`node-status\` message format](https://discourse.nodered.org/t/help-with-node-status-message-format/72751)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 3\
**Last updated:** [28 December 2022 08:56 UTC](https://discourse.nodered.org/t/help-with-node-status-message-format/72751 "2022-12-28T08:56:32Z")

</div>

I am writing a subflow and it will have a status. (If only it was that easy) Basically I have a status node (and change node) to make the payload reflect the message which will control the status. On-line will give a …

---

## [Access the object](https://discourse.nodered.org/t/access-the-object/72799)

<div class="topic-metadata">

**Author:** [@Jhankhana](https://discourse.nodered.org/u/Jhankhana)\
**Replies:** 22\
**Last updated:** [28 December 2022 08:49 UTC](https://discourse.nodered.org/t/access-the-object/72799 "2022-12-28T08:49:30Z")

</div>

Hello! I am getting array of the objects at the output. I am able to access elements of zero but unable to access member of the object. I am trying to get minvalue and maxvalue from that object. Please help me with thi…

---

## [Check Gmail via API](https://discourse.nodered.org/t/check-gmail-via-api/72800)

<div class="topic-metadata">

**Author:** [@yedd](https://discourse.nodered.org/u/yedd)\
**Replies:** 0\
**Last updated:** [28 December 2022 05:51 UTC](https://discourse.nodered.org/t/check-gmail-via-api/72800 "2022-12-28T05:51:27Z")

</div>

Hey, all. I'm working on a flow to check my inbox for new emails from certain domains and notify based on that. I tried the Email node, but it hangs on fetching by IMAP since my inbox has a LOT of messages. I figured …

---

## [Problem with Postgresql node and html](https://discourse.nodered.org/t/problem-with-postgresql-node-and-html/72750)

<div class="topic-metadata">

**Author:** [@Lafayette](https://discourse.nodered.org/u/Lafayette)\
**Replies:** 2\
**Last updated:** [27 December 2022 23:09 UTC](https://discourse.nodered.org/t/problem-with-postgresql-node-and-html/72750 "2022-12-27T23:09:33Z")

</div>

Hi, I have a problem. I want to save some data in a postgresql database. In my table, I have a Text column and I use the node-red-contrib-postgresql node (last version with Nore Red uptodate) to send data from nodered t…

---

## [RTL-SDR AIS Data](https://discourse.nodered.org/t/rtl-sdr-ais-data/72729)

<div class="topic-metadata">

**Author:** [@ravi1987](https://discourse.nodered.org/u/ravi1987)\
**Replies:** 2\
**Last updated:** [27 December 2022 22:39 UTC](https://discourse.nodered.org/t/rtl-sdr-ais-data/72729 "2022-12-27T22:39:58Z")

</div>

Hi , I'm using RTL-SDR dongle I want to read that AIS data to node red can any one help.

---

## [Table overview of battery level of all sensors and devices](https://discourse.nodered.org/t/table-overview-of-battery-level-of-all-sensors-and-devices/72763)

<div class="topic-metadata">

**Author:** [@Falfango](https://discourse.nodered.org/u/Falfango)\
**Replies:** 5\
**Last updated:** [27 December 2022 21:26 UTC](https://discourse.nodered.org/t/table-overview-of-battery-level-of-all-sensors-and-devices/72763 "2022-12-27T21:26:42Z")

</div>

Hi, I want to have a table in dashobard, which shows the actual battery level of all sensors and devices. The information of the battery levels come in different times and I want to replace the previous value with the a…

---

## [Sending UDP Packets](https://discourse.nodered.org/t/sending-udp-packets/72785)

<div class="topic-metadata">

**Author:** [@FilippoTeani](https://discourse.nodered.org/u/FilippoTeani)\
**Replies:** 0\
**Last updated:** [27 December 2022 19:52 UTC](https://discourse.nodered.org/t/sending-udp-packets/72785 "2022-12-27T19:52:27Z")

</div>

Good evening everyone. In the project I'm working on I need to send UDP packets (multicast) according to the structure that is represented on page 7 of the file at the link I've put below. But after days of online resea…

---

## [Trying to control many Philips Hue using Hue Magic individually, but fail in passing the id as a json](https://discourse.nodered.org/t/trying-to-control-many-philips-hue-using-hue-magic-individually-but-fail-in-passing-the-id-as-a-json/72457)

<div class="topic-metadata">

**Author:** [@vongomben](https://discourse.nodered.org/u/vongomben)\
**Replies:** 1\
**Last updated:** [27 December 2022 18:10 UTC](https://discourse.nodered.org/t/trying-to-control-many-philips-hue-using-hue-magic-individually-but-fail-in-passing-the-id-as-a-json/72457 "2022-12-27T18:10:31Z")

</div>

Hi. I'm trying to design a control system based on Node-RED and 20 Philips Hue. I want to control them individually via JSON. From the \[documentation\](https://You can also apply settings in universal mode to a specifi…

---

## [Node Red Flow - trigger Python function in a Python script on the Raspberry Pi](https://discourse.nodered.org/t/node-red-flow-trigger-python-function-in-a-python-script-on-the-raspberry-pi/72617)

<div class="topic-metadata">

**Author:** [@staebchen0](https://discourse.nodered.org/u/staebchen0)\
**Replies:** 15\
**Last updated:** [27 December 2022 17:07 UTC](https://discourse.nodered.org/t/node-red-flow-trigger-python-function-in-a-python-script-on-the-raspberry-pi/72617 "2022-12-27T17:07:58Z")

</div>

Hi everyone, I have a python script running on the raspberry pi and I want certain code parts to only be executed if the value true comes from a Node Red Flow. Red Node is already running on the raspberry pi Does anyo…

---

## [Flexdash - Uninstall - reinstall](https://discourse.nodered.org/t/flexdash-uninstall-reinstall/72759)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 7\
**Last updated:** [27 December 2022 12:10 UTC](https://discourse.nodered.org/t/flexdash-uninstall-reinstall/72759 "2022-12-27T12:10:30Z")

</div>

How do i do a complete uninstall and reinstall of flexdash ? I have removed all the widgets from the flow in the manage pallete, i can see remove but when i click that i get an error message and the log shows only belo…

---

## [OPC UA Server security not working](https://discourse.nodered.org/t/opc-ua-server-security-not-working/72764)

<div class="topic-metadata">

**Author:** [@vali](https://discourse.nodered.org/u/vali)\
**Replies:** 0\
**Last updated:** [27 December 2022 11:17 UTC](https://discourse.nodered.org/t/opc-ua-server-security-not-working/72764 "2022-12-27T11:17:19Z")

</div>

Hello, I am using the OPC UA Server (Compact Server) and I have some issues with the security part. How can I remove the Security mode "None" ? Also, I can connect with any user and password.

---

## [Node-red-node-discovery](https://discourse.nodered.org/t/node-red-node-discovery/8413)

<div class="topic-metadata">

**Author:** [@fabnavigator](https://discourse.nodered.org/u/fabnavigator)\
**Replies:** 25\
**Last updated:** [27 December 2022 10:56 UTC](https://discourse.nodered.org/t/node-red-node-discovery/8413 "2022-12-27T10:56:46Z")

</div>

Anyone using node-red-node-discovery? I wasn't able to install it on my Debian Pi system. Got all sorts of errors I don't understand. The docs mentioned a dependency that I needed, and that installed just fine.

---

## [Extract same data from different objects](https://discourse.nodered.org/t/extract-same-data-from-different-objects/72755)

<div class="topic-metadata">

**Author:** [@Statler](https://discourse.nodered.org/u/Statler)\
**Replies:** 4\
**Last updated:** [27 December 2022 09:47 UTC](https://discourse.nodered.org/t/extract-same-data-from-different-objects/72755 "2022-12-27T09:47:42Z")

</div>

Hi all, Nodered subscribes to a topic of a Zbridge which delivers Sensor data in its message: {"ZbReceived":{"0xB342":{"Device":"0xB342","Name":"OFIC","Temperature":24.57,"Humidity":83.39,"Endpoint":1,"LinkQuality":81}…

---

## [Kostal Plenticore MODBUS LE Code to start charge from grid code](https://discourse.nodered.org/t/kostal-plenticore-modbus-le-code-to-start-charge-from-grid-code/72601)

<div class="topic-metadata">

**Author:** [@Gutein](https://discourse.nodered.org/u/Gutein)\
**Replies:** 3\
**Last updated:** [27 December 2022 08:50 UTC](https://discourse.nodered.org/t/kostal-plenticore-modbus-le-code-to-start-charge-from-grid-code/72601 "2022-12-27T08:50:59Z")

</div>

Hi there. Im trying to figure out how I can start and stop charg 5000w from grid to send a Little-endian in json and run it in Nod-Red to my BYD battery. Any suggestions? Here is a jason code that works in BE but not…

---

## [Read the contents of a folder](https://discourse.nodered.org/t/read-the-contents-of-a-folder/694)

<div class="topic-metadata">

**Author:** [@ThanosMel](https://discourse.nodered.org/u/ThanosMel)\
**Replies:** 10\
**Last updated:** [27 December 2022 07:38 UTC](https://discourse.nodered.org/t/read-the-contents-of-a-folder/694 "2022-12-27T07:38:55Z")

</div>

I have a local folder with uknown number of xml files. I want to take the xml files convert them to json and make a new folder with the json files. Is it possible with node - red. (I know how to convert xml to json)

---

## [Node red stops right after reboot and node-red "auto-start"](https://discourse.nodered.org/t/node-red-stops-right-after-reboot-and-node-red-auto-start/72625)

<div class="topic-metadata">

**Author:** [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Replies:** 23\
**Last updated:** [27 December 2022 07:29 UTC](https://discourse.nodered.org/t/node-red-stops-right-after-reboot-and-node-red-auto-start/72625 "2022-12-27T07:29:47Z")

</div>

I am trying to make a clean install of node red on a raspberry pi 3B+. Almost looks to turn out very well. Only I have a weird behavior. When I reboot the device. Then directly after node red has started it stops. When…

---

## [(on a side note) Suggestions offered when starting a new thread](https://discourse.nodered.org/t/on-a-side-note-suggestions-offered-when-starting-a-new-thread/72752)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 0\
**Last updated:** [27 December 2022 03:18 UTC](https://discourse.nodered.org/t/on-a-side-note-suggestions-offered-when-starting-a-new-thread/72752 "2022-12-27T03:18:46Z")

</div>

Ok, nothing is perfect. But some of the offerings suggested...... Just saying. When I am writing a new thread - asking for help - and I see some of the offerings it is somewhat interesting how the AI picks the threads…

---

## [Small core bug found](https://discourse.nodered.org/t/small-core-bug-found/72745)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 1\
**Last updated:** [26 December 2022 23:12 UTC](https://discourse.nodered.org/t/small-core-bug-found/72745 "2022-12-26T23:12:32Z")

</div>

GMT express deprecated res.status("200"): use res.status(200) instead at node\_modules/@node-red/nodes/core/network/21-httpin.js:328:34

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

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