MikroTik knot LR9 Gateway offline / Last seen Never (solution)

I’m running the Docker ChirpStack v4 and MikroTik knot LR9 firmware 7.12beta3.

I wanted to post my setup for the MikroTik knot LR9 using US frequencies because it took me a while to get the LR9 to show up as Online in ChirpStack even though I was getting MQTT messaging just fine.

The knot has two LORA US 915 channel plans “US 915 Sub 1” and “US 915 Sub 2”. Im using “US 915 Sub 1” for my setup.
image

First in your file chirpstack.toml set
enabled_regions=[ "us915_0", ]
Second in your file chirpstack-gateway-bridge.toml set

[integration.mqtt]
event_topic_template="us915_0/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="us915_0/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="us915_0/gateway/{{ .GatewayID }}/command/#"

AND

# Region
#
# Please refer to the LoRaWAN Regional Parameters specification
# for the complete list of common region names.
region="US915"

Third In the ChirpStack GUI I added a Gateway with the Gateway ID from the knot

The thing that finally made it all work for me was setting the above MQTT topic to “us915_0”. I thought because "region=“US915"” did not need the “_0” it was not needed in the MQTT topic and that was wrong.

My full configuration files are posted on my Github-ChirpStackV4_MikroTik_LR9_Knot.

2 Likes