# How to get data from the F8926-GW Indoor Gateway by using Node Red?

**URL:** https://discourse.nodered.org/t/how-to-get-data-from-the-f8926-gw-indoor-gateway-by-using-node-red/100602
**Category:** General
**Tags:** modbus
**Created:** [19 March 2026 09:45 UTC](https://discourse.nodered.org/t/how-to-get-data-from-the-f8926-gw-indoor-gateway-by-using-node-red/100602 "2026-03-19T09:45:03Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Champion](https://avatars.discourse-cdn.com/v4/letter/c/b9e5f3/32.png) [@Champion](https://discourse.nodered.org/u/Champion)
#### Post date: [19 March 2026 09:45 UTC](https://discourse.nodered.org/t/how-to-get-data-from-the-f8926-gw-indoor-gateway-by-using-node-red/100602/1 "2026-03-19T09:45:03Z")

</div>

I am connecting the F8926-GW to a IPC, I would like to ask is here anyone know how to use Node Red to get data from F8926-GW?

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [19 March 2026 10:21 UTC](https://discourse.nodered.org/t/how-to-get-data-from-the-f8926-gw-indoor-gateway-by-using-node-red/100602/2 "2026-03-19T10:21:48Z")

</div>

It would be helpful if you included links to where we can see what F8926-GW and IPC devices are.

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [19 March 2026 10:50 UTC](https://discourse.nodered.org/t/how-to-get-data-from-the-f8926-gw-indoor-gateway-by-using-node-red/100602/3 "2026-03-19T10:50:27Z")

</div>

A little 00go reveals that the F8926-GW is a home lorawan gateway.

Apparently it can connect to your home network either by ethernet or wifi, and it supports communication over MQTT.

@Champion, if you are unfamiliar with MQTT, it is very often used to pass messages between Node-red and other devices, so it looks like a good option for the F8926-GW..

There is a series of very good articles about it at [https://www.hivemq.com/mqtt/](https://www.hivemq.com/mqtt/).

Essentially you need a device to act as a "broker". You could use a cloud based broker service but I think you would be better to run your own broker on a device that is turned on 24/7.  
A Raspberry Pi Zero 2 for instance has plenty of power to run both Node-red and the Mosquitto broker.  
[https://randomnerdtutorials.com/how-to-install-mosquitto-broker-on-raspberry-pi/](https://randomnerdtutorials.com/how-to-install-mosquitto-broker-on-raspberry-pi/)

The F8926-GW will "publish" messages to the broker and Node-red devices on the same network can "subscribe" to receive them.

---

<div class="post-metadata">

### Author: ![Champion](https://avatars.discourse-cdn.com/v4/letter/c/b9e5f3/32.png) [@Champion](https://discourse.nodered.org/u/Champion)
#### Post date: [20 March 2026 01:07 UTC](https://discourse.nodered.org/t/how-to-get-data-from-the-f8926-gw-indoor-gateway-by-using-node-red/100602/4 "2026-03-20T01:07:48Z")

</div>

Here is the link of F8926-GW: [https://www.fourfaith.com/f8926-gw-lorawan-gateway.html](https://www.fourfaith.com/f8926-gw-lorawan-gateway.html)

I do not have the brand or model of the IPC devices but the IPC is running on Ubuntu.

---

<div class="post-metadata">

### Author: ![Champion](https://avatars.discourse-cdn.com/v4/letter/c/b9e5f3/32.png) [@Champion](https://discourse.nodered.org/u/Champion)
#### Post date: [20 March 2026 07:58 UTC](https://discourse.nodered.org/t/how-to-get-data-from-the-f8926-gw-indoor-gateway-by-using-node-red/100602/5 "2026-03-20T07:58:45Z")

</div>

Thanks for the article!

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/e/ce84266c32ba3f6213a83178f95c7073e6037116.png)  
What do I select for Output? The choices are:

1. auto detect (parsed JSON object, string or buffer
2. auto detect (string or buffer)
3. a Buffer
4. a String
5. a parsed JSON object
6. a base64 encoded string

LoRaWan Gateway output base64 data. Do we use function node to decode from base64 to alpha numeric? If yes, what do we need to have in the function node?

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [20 March 2026 08:19 UTC](https://discourse.nodered.org/t/how-to-get-data-from-the-f8926-gw-indoor-gateway-by-using-node-red/100602/6 "2026-03-20T08:19:49Z")

</div>

I would use a node created for base64 encoding

> **[Library - Node-RED](https://flows.nodered.org/search?term=base64)**

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [20 March 2026 08:48 UTC](https://discourse.nodered.org/t/how-to-get-data-from-the-f8926-gw-indoor-gateway-by-using-node-red/100602/7 "2026-03-20T08:48:43Z")

</div>

> [@Champion](#):
>
> What do I select for Output?

Try it and see. Start with option 1, which is the default I think.

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [20 March 2026 08:58 UTC](https://discourse.nodered.org/t/how-to-get-data-from-the-f8926-gw-indoor-gateway-by-using-node-red/100602/8 "2026-03-20T08:58:40Z")

</div>

> [@Champion](#):
>
> Do we use function node to decode from base64 to alpha numeric?

Since you are asking about processing the data within Node-red, I assume that you can successfully see the data coming in to Node-red, perhaps like this?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/7/4799d8d251a174a6ce8467693a6f333b078f3071.png)

Try not to jump straight to using a function node for everything in Node-red, someone else may well have already done what you want. The node-red-node-base64 node was written by the core developers and almost certainly outperforms a javascript function that you could write (there are overheads in processing a function).

---

<div class="post-metadata">

### Author: ![Champion](https://avatars.discourse-cdn.com/v4/letter/c/b9e5f3/32.png) [@Champion](https://discourse.nodered.org/u/Champion)
#### Post date: [20 March 2026 09:49 UTC](https://discourse.nodered.org/t/how-to-get-data-from-the-f8926-gw-indoor-gateway-by-using-node-red/100602/9 "2026-03-20T09:49:32Z")

</div>

Yes it is. But I want to be sure that I am connecting to the right IP Address.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/d/cdf5831be2a1798858d7ac204a689cd047b861f5.png)

I would like to know should I enter the LoRaWan gateway IP Address or the IPC itself?

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [20 March 2026 10:03 UTC](https://discourse.nodered.org/t/how-to-get-data-from-the-f8926-gw-indoor-gateway-by-using-node-red/100602/10 "2026-03-20T10:03:26Z")

</div>

MQTT is a two stage process.

The lorawan gateway **publishes** _to the MQTT broker_. It needs to know the IP address of the broker.

Node-red tells _the MQTT broker_ which message topics it wants to **subscribe** to. It too needs to know the IP address of the broker.

Have you got a broker? What application is it - Mosquitto? An online broker service? Node-red's own basic broker Aedes?

If the mqtt-in node status is "connected" as in my picture above, the subscribe part of the process is set up correctly.

---

<div class="post-metadata">

### Author: ![Champion](https://avatars.discourse-cdn.com/v4/letter/c/b9e5f3/32.png) [@Champion](https://discourse.nodered.org/u/Champion)
#### Post date: [23 March 2026 02:37 UTC](https://discourse.nodered.org/t/how-to-get-data-from-the-f8926-gw-indoor-gateway-by-using-node-red/100602/11 "2026-03-23T02:37:49Z")

</div>

1. What is the difference between using MQTT In node and Aedes MQTT broker node?

2. Which action should I choose and how I can be sure which one is the one that I should choose? Is this can find at the LoRaWan configuration page?  

3. Which QoS should I choose?  

4. What's the protocol should I choose?  

5. What is Client ID means?  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/optimized/3X/e/f/ef359b4b853699d841fb4fee12636990ccfbdf20_2_345x40.png)

Below is the LoRaWan Gateway F8926-GW configuration page, is this configure correctly to establish the connection with the Node Red?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/7/a7ab787efd1bd66539851ba1e8030ea3ae9bf243.png)

Beside the MQTT, I am establishing another project is using Modbus, the connection is TCP ethernet cable, I would like to know which type of node to get the data from the data source, is using Modbus Getter node or TCP In node?

If using Modbus Getter node:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/4/041ef0ca3d13c27229f2a13a5d3c75ca38b8d39c.png)

1. Is the Address here meaning that starting address? What should I put in the address bar here?
2. What is the Quantity means here? Is there any formula could I use?
3. The below sreenshot is showing the configuration of the server, am I configure correctly?  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/7/e7ef2a497930af6d14f72a8044aa3698394f3420.png)

If using TCP In node:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/1/712e4f55e15fa5c05ef49e70b7c1ca37975bac00.png)

1. Which Type I should choose?
2. Whats the output should I choose?  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/b/cb3ed0939bfac8e3e55e77ddf4444fe8e7f201cd.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/8/6841599527ad4cf5a3181ebed11e55b279448c5d.png)
3. What should I put in the Topic bar?  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/a/aa65f97db881dbbf04f33c5a290d548c177e2f81.png)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [21 June 2026 02:38 UTC](https://discourse.nodered.org/t/how-to-get-data-from-the-f8926-gw-indoor-gateway-by-using-node-red/100602/12 "2026-06-21T02:38:44Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
