# General

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

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

**Page:** 312

---

## [Sharing of flows in general, plus as subflows](https://discourse.nodered.org/t/sharing-of-flows-in-general-plus-as-subflows/68853)

<div class="topic-metadata">

**Author:** [@bohtho](https://discourse.nodered.org/u/bohtho)\
**Replies:** 9\
**Last updated:** [11 October 2022 15:05 UTC](https://discourse.nodered.org/t/sharing-of-flows-in-general-plus-as-subflows/68853 "2022-10-11T15:05:52Z")

</div>

N8N is often compared and discussed in this forum, but what I find especially nifty about the N8N project is how shared flows look in their forum. They seem to have a simplified editor plugin that takes over the pasted J…

---

## [The requested URL was rejected. Please consult with your administrator](https://discourse.nodered.org/t/the-requested-url-was-rejected-please-consult-with-your-administrator/68816)

<div class="topic-metadata">

**Author:** [@makerstorage](https://discourse.nodered.org/u/makerstorage)\
**Replies:** 12\
**Last updated:** [11 October 2022 14:28 UTC](https://discourse.nodered.org/t/the-requested-url-was-rejected-please-consult-with-your-administrator/68816 "2022-10-11T14:28:50Z")

</div>

Hi, The requested URL was rejected. Please consult with your administrator. Your support ID is: xxxxxxxxxxxxxxxxxxxxx I am getting this response from http request node. My server is running on aws. Node-red version 2.…

---

## [Dynamic HTML scraping](https://discourse.nodered.org/t/dynamic-html-scraping/68856)

<div class="topic-metadata">

**Author:** [@thekirios](https://discourse.nodered.org/u/thekirios)\
**Replies:** 5\
**Last updated:** [11 October 2022 13:01 UTC](https://discourse.nodered.org/t/dynamic-html-scraping/68856 "2022-10-11T13:01:21Z")

</div>

Hello all, I'm really new to node-red and programming so maybe this topic could sound dumb. There is a dynamic website that publish every 5 minutes values in a table adding always a new row to it. I want to be able to e…

---

## [API call - building payload](https://discourse.nodered.org/t/api-call-building-payload/68860)

<div class="topic-metadata">

**Author:** [@stain3565](https://discourse.nodered.org/u/stain3565)\
**Replies:** 2\
**Last updated:** [11 October 2022 11:58 UTC](https://discourse.nodered.org/t/api-call-building-payload/68860 "2022-10-11T11:58:15Z")

</div>

Still learning and struggling with some basics. I am building a call to an api in a function node. I have a hardcoded version of the call, within the code, so I can prove a call works and test my building of the data qu…

---

## [Checking for string, nested states throws undefined error](https://discourse.nodered.org/t/checking-for-string-nested-states-throws-undefined-error/68841)

<div class="topic-metadata">

**Author:** [@akrea](https://discourse.nodered.org/u/akrea)\
**Replies:** 2\
**Last updated:** [11 October 2022 11:13 UTC](https://discourse.nodered.org/t/checking-for-string-nested-states-throws-undefined-error/68841 "2022-10-11T11:13:21Z")

</div>

Hi Here es what I am trying to do: I have a nested statemachine (smxstate node). Depending on the state, I need to enable disable buttons in the dashboard The (reduced) code I have is: if (msg.payload.state == "idle…

---

## [Unable to log in to apple ID using Apple Nodes](https://discourse.nodered.org/t/unable-to-log-in-to-apple-id-using-apple-nodes/68785)

<div class="topic-metadata">

**Author:** [@rmds2000](https://discourse.nodered.org/u/rmds2000)\
**Replies:** 4\
**Last updated:** [11 October 2022 09:22 UTC](https://discourse.nodered.org/t/unable-to-log-in-to-apple-id-using-apple-nodes/68785 "2022-10-11T09:22:18Z")

</div>

Hi Anyone having this problem. Since Last week Apple Node in Nodered unable to log in using Apple id. Got this error message 401 - Not authorised.

---

## [How to use msg.payload in INFLUXDB V2.4 query](https://discourse.nodered.org/t/how-to-use-msg-payload-in-influxdb-v2-4-query/68803)

<div class="topic-metadata">

**Author:** [@HomeByKasbah](https://discourse.nodered.org/u/HomeByKasbah)\
**Replies:** 9\
**Last updated:** [11 October 2022 09:12 UTC](https://discourse.nodered.org/t/how-to-use-msg-payload-in-influxdb-v2-4-query/68803 "2022-10-11T09:12:27Z")

</div>

Hello, How to introduce the msg.payload variable in an influxDB V2.4 query. I want to put it in range(start: ). \</ msg.query=\['from(bucket: "Temp")', ' |\> range(start:"msg.payload")', ' |\> filter(fn: (r) =\> r\["\_meas…

---

## [Disable flow if false](https://discourse.nodered.org/t/disable-flow-if-false/68830)

<div class="topic-metadata">

**Author:** [@niklasgisselman](https://discourse.nodered.org/u/niklasgisselman)\
**Replies:** 1\
**Last updated:** [11 October 2022 08:39 UTC](https://discourse.nodered.org/t/disable-flow-if-false/68830 "2022-10-11T08:39:27Z")

</div>

Hi! I'm trying to insert a boolean to disable a flow, but stuggling with the formatting/setup. How should I configure the current state node to just forward all data if true, else not stop the flow. Debug 1: adjustmen…

---

## [Writing a Json Message](https://discourse.nodered.org/t/writing-a-json-message/68684)

<div class="topic-metadata">

**Author:** [@Akule8](https://discourse.nodered.org/u/Akule8)\
**Replies:** 6\
**Last updated:** [11 October 2022 08:33 UTC](https://discourse.nodered.org/t/writing-a-json-message/68684 "2022-10-11T08:33:16Z")

</div>

Hey, I am new to node red and have no experience with it. So my questions are: How can I write a JSON-Message and integrate it into an insert-statement? Furthermore, how can i transfer a Message into a Postgres Database…

---

## [Sort Battery Discharge and Charge Values](https://discourse.nodered.org/t/sort-battery-discharge-and-charge-values/68806)

<div class="topic-metadata">

**Author:** [@OnewheelerSA](https://discourse.nodered.org/u/OnewheelerSA)\
**Replies:** 11\
**Last updated:** [10 October 2022 20:17 UTC](https://discourse.nodered.org/t/sort-battery-discharge-and-charge-values/68806 "2022-10-10T20:17:12Z")

</div>

I am trying to figure out how to spilt my battery charge and discharge values. The output reads currently as a positive value (Charging) or a negative value (Discharging). I want to split these outputs so I can use the…

---

## [Start (setinterval) / stop (clearinterval) depending on msg.payload](https://discourse.nodered.org/t/start-setinterval-stop-clearinterval-depending-on-msg-payload/68737)

<div class="topic-metadata">

**Author:** [@akrea](https://discourse.nodered.org/u/akrea)\
**Replies:** 7\
**Last updated:** [10 October 2022 18:21 UTC](https://discourse.nodered.org/t/start-setinterval-stop-clearinterval-depending-on-msg-payload/68737 "2022-10-10T18:21:39Z")

</div>

Hi I'm kind of lost. For serveral days now I tried to set up a setinterval/clearinterval function node. Actually I started with an smxstate node. Narrowing down the problem I ended up in a simple function node. Now I am…

---

## [Move all nodes below cursor in node-red editor to make space for adding new nodes](https://discourse.nodered.org/t/move-all-nodes-below-cursor-in-node-red-editor-to-make-space-for-adding-new-nodes/68797)

<div class="topic-metadata">

**Author:** [@janvda](https://discourse.nodered.org/u/janvda)\
**Replies:** 9\
**Last updated:** [10 October 2022 18:02 UTC](https://discourse.nodered.org/t/move-all-nodes-below-cursor-in-node-red-editor-to-make-space-for-adding-new-nodes/68797 "2022-10-10T18:02:04Z")

</div>

When extending my flows with new nodes I often have to move all nodes below it to make space for those new nodes. For this I need to zoom out so that I can select all nodes below it and then move them all at once a bit …

---

## [Read File node returns one line too many?](https://discourse.nodered.org/t/read-file-node-returns-one-line-too-many/68807)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 14\
**Last updated:** [10 October 2022 17:17 UTC](https://discourse.nodered.org/t/read-file-node-returns-one-line-too-many/68807 "2022-10-10T17:17:22Z")

</div>

I have a file (on Linux) which contains 2 lines of text, 4 words, 20 characters $ wc testdata 2 4 20 testdata $ cat testdata A line Another line Each line is terminated by \\n, there are no blank lines or spaces at th…

---

## [Requesting base64 image src data from webpage image](https://discourse.nodered.org/t/requesting-base64-image-src-data-from-webpage-image/68808)

<div class="topic-metadata">

**Author:** [@hugo-maciel](https://discourse.nodered.org/u/hugo-maciel)\
**Replies:** 4\
**Last updated:** [10 October 2022 16:13 UTC](https://discourse.nodered.org/t/requesting-base64-image-src-data-from-webpage-image/68808 "2022-10-10T16:13:23Z")

</div>

Hi there! I'm trying to use a image below from a live camera on my project. This camera is embebed on a machine that i can acess locally on : http://192.168.100.9/home.html. I tried to web scraping but I get src = " " on…

---

## [HTTP request using BasicOAuth2 with ''grant\_type'' = ''api\_key''](https://discourse.nodered.org/t/http-request-using-basicoauth2-with-grant-type-api-key/68788)

<div class="topic-metadata">

**Author:** [@zouhir](https://discourse.nodered.org/u/zouhir)\
**Replies:** 1\
**Last updated:** [10 October 2022 14:57 UTC](https://discourse.nodered.org/t/http-request-using-basicoauth2-with-grant-type-api-key/68788 "2022-10-10T14:57:37Z")

</div>

Hi, I'm basically using a basic authentication with my username & password to retrieve an access token which is for some reasons not working anymore. Can you please help me do the same using a BasicOAuth2 with ''grant\_t…

---

## [Update Flow from File System - But what about the Dependencies?](https://discourse.nodered.org/t/update-flow-from-file-system-but-what-about-the-dependencies/68675)

<div class="topic-metadata">

**Author:** [@awneil](https://discourse.nodered.org/u/awneil)\
**Replies:** 13\
**Last updated:** [10 October 2022 14:57 UTC](https://discourse.nodered.org/t/update-flow-from-file-system-but-what-about-the-dependencies/68675 "2022-10-10T14:57:21Z")

</div>

Continuing the discussion from Updating a Node-RED flow from the file system: The solution proposed in that thread does, indeed, work. But what if your new "Flow" has some extra dependencies - how would one also get t…

---

## [How to connect a Node to Nedis Zigbee gateway](https://discourse.nodered.org/t/how-to-connect-a-node-to-nedis-zigbee-gateway/68798)

<div class="topic-metadata">

**Author:** [@funhall](https://discourse.nodered.org/u/funhall)\
**Replies:** 5\
**Last updated:** [10 October 2022 14:08 UTC](https://discourse.nodered.org/t/how-to-connect-a-node-to-nedis-zigbee-gateway/68798 "2022-10-10T14:08:35Z")

</div>

Hi all I have this Nedis Zigbee gateway that i like to get info from. I hope someone can help and maybe have an example flow. BUT what Node can I use for that. https://nedis.com/en-us/product/security-safety/smart-hom…

---

## [Converting Span to Percentage / Another Span](https://discourse.nodered.org/t/converting-span-to-percentage-another-span/68789)

<div class="topic-metadata">

**Author:** [@kolbep](https://discourse.nodered.org/u/kolbep)\
**Replies:** 3\
**Last updated:** [10 October 2022 12:26 UTC](https://discourse.nodered.org/t/converting-span-to-percentage-another-span/68789 "2022-10-10T12:26:40Z")

</div>

Hi All, I dont know how to phrase this, and I am not feeling well today, so my brain is working at half speed. Anyway, I have a SR04 Ultrasonic Distance Sensor feeding into Nodered (via Tasmota) for a Water Tank. When…

---

## [How to write float data to modbus](https://discourse.nodered.org/t/how-to-write-float-data-to-modbus/68795)

<div class="topic-metadata">

**Author:** [@afafirmansyah](https://discourse.nodered.org/u/afafirmansyah)\
**Replies:** 1\
**Last updated:** [10 October 2022 12:18 UTC](https://discourse.nodered.org/t/how-to-write-float-data-to-modbus/68795 "2022-10-10T12:18:43Z")

</div>

how can i write float data from text input to modbus? \[ { "id": "fe1385c90be80fca", "type": "ui\_text\_input", "z": "46af9c65977c5ac5", "name": "k\_factor", "label": "K-Factor…

---

## [Change float value](https://discourse.nodered.org/t/change-float-value/68774)

<div class="topic-metadata">

**Author:** [@Andre009](https://discourse.nodered.org/u/Andre009)\
**Replies:** 6\
**Last updated:** [10 October 2022 07:08 UTC](https://discourse.nodered.org/t/change-float-value/68774 "2022-10-10T07:08:10Z")

</div>

Hi, i want to convert values that I read from my PV system and receive as e.g. fl\_450FF801 so that a correct value is displayed. fl\_450FF801 should become something like 0.34 kW. How can i change this values and what m…

---

## [Create msg with nested object fields](https://discourse.nodered.org/t/create-msg-with-nested-object-fields/68780)

<div class="topic-metadata">

**Author:** [@patrickm](https://discourse.nodered.org/u/patrickm)\
**Replies:** 5\
**Last updated:** [9 October 2022 22:28 UTC](https://discourse.nodered.org/t/create-msg-with-nested-object-fields/68780 "2022-10-09T22:28:25Z")

</div>

Hi, I am new to NodeRed and I'm having trouble with parsing and generating msg. I have a nested object message that I am tried to parse into a new msg. The message is coming from an MQTT In node. In the debug window …

---

## [Cast image or stream to chrome cast](https://discourse.nodered.org/t/cast-image-or-stream-to-chrome-cast/68765)

<div class="topic-metadata">

**Author:** [@funhall](https://discourse.nodered.org/u/funhall)\
**Replies:** 1\
**Last updated:** [9 October 2022 17:59 UTC](https://discourse.nodered.org/t/cast-image-or-stream-to-chrome-cast/68765 "2022-10-09T17:59:46Z")

</div>

can domeone please help me. I like to stream a image or live stream from my HIKvision camera. ut it wont work I get a client error from the cast node. and this message \[ { "id": "56eb78660c7523a3", …

---

## [JSONata problem/challenge?](https://discourse.nodered.org/t/jsonata-problem-challenge/68748)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 7\
**Last updated:** [9 October 2022 16:12 UTC](https://discourse.nodered.org/t/jsonata-problem-challenge/68748 "2022-10-09T16:12:57Z")

</div>

I am trying to combine elements from payload properties, but the more i look at it, the more confused I get :grimacing: The concept: There are rooms, rooms have devices, devices have properties. Changes on the propert…

---

## [Sum of repeated values](https://discourse.nodered.org/t/sum-of-repeated-values/68768)

<div class="topic-metadata">

**Author:** [@oliver.es](https://discourse.nodered.org/u/oliver.es)\
**Replies:** 7\
**Last updated:** [9 October 2022 16:16 UTC](https://discourse.nodered.org/t/sum-of-repeated-values/68768 "2022-10-09T16:16:01Z")

</div>

Can someone please advise how to add all "pv\_estimate" values in the incoming message together and send the sum to the output? Thanks

---

## [Is there an update to this old topic](https://discourse.nodered.org/t/is-there-an-update-to-this-old-topic/68763)

<div class="topic-metadata">

**Author:** [@bigmac5753](https://discourse.nodered.org/u/bigmac5753)\
**Replies:** 2\
**Last updated:** [9 October 2022 16:07 UTC](https://discourse.nodered.org/t/is-there-an-update-to-this-old-topic/68763 "2022-10-09T16:07:36Z")

</div>

Continuing the discussion from Manage palette upgrade notifications: Has anything changed regarding this matter? Having some sort of notification when an update is avail able would be really useful.

---

## [Sintaxis in function for downloading a MQTT downlink message to a device in TTN](https://discourse.nodered.org/t/sintaxis-in-function-for-downloading-a-mqtt-downlink-message-to-a-device-in-ttn/68759)

<div class="topic-metadata">

**Author:** [@jinvers](https://discourse.nodered.org/u/jinvers)\
**Replies:** 2\
**Last updated:** [9 October 2022 14:29 UTC](https://discourse.nodered.org/t/sintaxis-in-function-for-downloading-a-mqtt-downlink-message-to-a-device-in-ttn/68759 "2022-10-09T14:29:41Z")

</div>

Hello, For testing I have created a small TTN network using a Mikrotik wAP LoRA8 Kit gateway and an application in which I have a LoRAWAN modul that I'm controlling by AT commands. The Node Red project I am using for t…

---

## [Loop not ending](https://discourse.nodered.org/t/loop-not-ending/68753)

<div class="topic-metadata">

**Author:** [@khfischbach](https://discourse.nodered.org/u/khfischbach)\
**Replies:** 7\
**Last updated:** [9 October 2022 11:36 UTC](https://discourse.nodered.org/t/loop-not-ending/68753 "2022-10-09T11:36:15Z")

</div>

Hi, I am trying to use a conditional loop, but the loop does not end. Input payload object is: {"\_msgid":"e51e646b.aee378","payload":{"NewTotalAssociations":"2"}} The condition of the loop is: msg.payload.NewTotalAs…

---

## [Memory usage increases quickly](https://discourse.nodered.org/t/memory-usage-increases-quickly/68692)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 7\
**Last updated:** [9 October 2022 09:40 UTC](https://discourse.nodered.org/t/memory-usage-increases-quickly/68692 "2022-10-09T09:40:56Z")

</div>

Hi all I'm programming a node red code complex which contains mqtt with mosquito, some function which contains variables defined with var, I use some loops until a condition let to proceed and digital input and output co…

---

## [That rate-limit per topic problem](https://discourse.nodered.org/t/that-rate-limit-per-topic-problem/68641)

<div class="topic-metadata">

**Author:** [@strelniece](https://discourse.nodered.org/u/strelniece)\
**Replies:** 12\
**Last updated:** [9 October 2022 09:16 UTC](https://discourse.nodered.org/t/that-rate-limit-per-topic-problem/68641 "2022-10-09T09:16:23Z")

</div>

Seems like I'm not alone, but has anyone a good solution? I have a bunch of messages with different topics that I want to rate limit, per topic. But besides sending the first message, I also want it to delay each msg p…

---

## [Node-red-node-twitter: location / coordinates](https://discourse.nodered.org/t/node-red-node-twitter-location-coordinates/68730)

<div class="topic-metadata">

**Author:** [@Hunter](https://discourse.nodered.org/u/Hunter)\
**Replies:** 5\
**Last updated:** [9 October 2022 09:06 UTC](https://discourse.nodered.org/t/node-red-node-twitter-location-coordinates/68730 "2022-10-09T09:06:11Z")

</div>

Hello, It should to be possible to send location / coordinates along with a Tweet, but I didn't manage to figure this out correctly. Anyone willing to share an example which they have working? Kind regards, Peter Hun…

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

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