Small clarification needed on CS Gateway mesh

Alright. It works now. Looks like I accidentally damaged SPI traces on the pcb, so concentrator was not getting reset on startup via reset pin. Stupid reason, I am ashamed :slight_smile: I assembled another one and both test gateways are working fine now.
Many thanks to the team who worked on this feature!

  1. Border gateway shows up in Gateways sention as online
  2. Relay gateway (no internet) shows up in Gateway Mesh

I have small problem now. I selected the “Ignore direct uplinks” to test the Relay gateway, but I still see uplinks on the Border gateway. How I can test it indoors, I have all my nodes and test GWs in one room…

Did you check the uplink in the Events tab for the device? If it is a relayed packet, you’ll see your Relay Gateway ID in the metadata for the border gateway

Many thanks @John_A
I can see the relay ID in some of the uplinks, while others are from the Border gateway itself (without relay). So "Ignore direct uplinks” did not quite work in my case. But I can survive with that, as long I can distinguish the relay uplink from the decoded data itself.

Btw, in Relay Gateways, if often shows up as Offline, but in reality is is up and running. Is it same for you? Maybe because I changed the “Name” column?

image

It does show offline for a short period if you change the name in Chirpstack /Gateway Mesh/Relay Gateways.
I haven’t seen an issue with the border gateway transmitting direct uplinks if you tell it to ignore them though. Maybe do uci show to see whether the parameter set correctly?

yes I noticed that if I give it a custom name, it shows as “not seen yet” or something like this, and then after some time it appears online. But this time it has been showing offline for several days.
Perhaps there is an option to purge the Relay gateway registry manually?

For the uplink ignore on border GW, I have disabled and enabled it back again, let’s see if that helps.

1 Like

gents, so I guess my last concern on this topic would be: Is it possible to reset the Relay ID table manually? because I still see the Relay GW offline, but in reality it is online and I am receiving uplinks from there.

image

Did you try increasing the stats interval?

thanks for the hint. I just increased it, lets see.
Btw, this “Last Seen” depends on some GW heartbeat packets or also the actual uplinks from Node? Because f.eg I have my FieldTest device sending uplinks every 10s, but still Relay showed as “Offline”

It depends on the frequency of the Stats payload, hence Stats interval. Make sure your gateway is actually sending a Stats payload. This originates from the gateway itself.

@bconway is the Stats payload configurable from anywhere? I remember in early version of ChirpStack, there was Gateway Profiles and I saw something like this there. But in current one (v4.9.0) I do not see it. I also don’t see it on the GW UI (OpenWRT Luci) side as well…

It should be, but it is gateway-specific. On my MultiTech AP units, it’s in the web UI and defaults to 30 or 60 seconds (I increase it to 900).

Unfortunately relay still shows as offline, even though I see the uplinks from Border Gateway.

I suspect it it due to time offset on the relay GW. Let’s see if that will help. I will update time.

ok. looks it was time sync issue. When I restarted the relay gateway and connected Ethernet to it, it came back as online in the GUI

I wonder if I can use the option shown below to use the GPS time (since I will not have any network connectivity)? My gateway has ZOE- M8Q GPS chip

Just one question about the architecture of the current system, on which i will update this mesh function.

Old gateway config

  1. Chirpstack is installed on server
  2. Gateway, has udp/mqtt forwarder configured

New setup is it possible?

  1. Chirpstack still on server GCP /AWS.
  2. Border gateway with mesh and forwarder. (No need for chirpstack here)
  3. Relay mesh gateway just chirpstack-gateway-mesh installed (With chirpstack os)
    Will i be able to still add mesh in this way?

Hello @brocaar @Liam_Philipp

Thank you for making this forum.

So i was able to run IN865 on mesh the relay gateway shows but i had to change these.
in this file /etc/chirpstack-gateway-mesh/region_eu868.toml

channels = [
865400000,
865600000,
865800000,
866000000,
866200000,
866400000,
866600000,
866800000,
]

and setup the first three here

image

Now the problem is i am unable to see relay packets only, on gateway
image

It is showing all the packets. and unable to see relay id here.
However relay is live
image

Same thing when i try with eu868 everything works on that frq. please let me know what needs to be changed in order to make in865 with gateway mesh working.