MQTT Application Integration Chirpstack V4

Hi,

We have connected a Dragino LoRaWan Gateway with Chirpstack v.4 and we can see the data in the platform.

Now we want to send this data to a mosquitto MQTT Broker we have.

When I go to the integration tab of the application and click on the MQTT integration I get a cert error, I have tried to get the certification running in the configuration but nothing seems to work.

image

After this we tried using our broker instead of the mosquitto of Chirpstack but seems that is going to give a lot of problems.

So the question would be how to integrate our MQTT Broker with Chirpstack so we can receive the Data coming from our devices via the Gateway.

Sorry if I didn’t explain correctly but I don’t really understand what is happening here. Will provide any necessary information.

Thanks.

Hi!
Did you try this one: Mosquitto TLS configuration - ChirpStack open-source LoRaWAN® Network Server documentation ?

I’m having similar issues, running the RPI version:
chirpstack-gateway-os-full-raspberrypi3-20230322153826.rootfs.wic.gz

Long time TTN user, new to ChirpStack.

I see device data in application events but never see an MQTT stream…
Below is data from application events:
I do see MQTT gateway streams…

where can I look???
thanks…

deduplicationId:"8efe6a55-7180-4e19-bc98-082de81f4b84"
time:"2023-07-09T01:48:29.062081568+00:00"
tenantId:"52f14cd4-c6f1-4fbd-8f87-4025e1d49242"
tenantName:"ChirpStack"
applicationId:"62d62d13-0850-42c3-8125-e0d8ad8d185b"
applicationName:"LHT65n"
deviceProfileId:"d63c76ea-d728-4b8f-a85d-473f1239b1c6"
deviceProfileName:"LHT65"
deviceName:"LHT65n"
devEui:"a8404175e1872060"
tags:
devAddr:"012b76ba"
adr:true
dr:3
fCnt:10
fPort:2
confirmed:false
data:"zCYKrgIIAn//f/8="
BatV:3.11
Bat_status:3
Hum_SHT:52
TempC_SHT:27.34
gatewayId:"0016c001f112203c"
uplinkId:4057505132
rssi:-112
snr:7.5
channel:7
rfChain:1
latitude:32.98471902801648
longitude:-117.17890977859497
context:"HJGPlw=="

        region_config_id:"us915_1"
        region_common_name:"US915"
        crcStatus:"CRC_OK"

frequency:905300000
bandwidth:125000
spreadingFactor:7
codeRate:"CR_4_5

Your json is correct and having sensor data such as BatV, Temp… for the node.

Btw, why did you switch from TTN to ChirpStack?

Yes, and I can’t get that to work.
I’m using the Docker example of the documentation, giving volumes with the directory where i create the certifications.
First the hostname was incorrect and I swapped it to Mosquitto.
Now i’m getting Bad protocol errors for seemingly no reason.
If anyone has the configuration i need to change apart from what is already in that link I would appreciate it, since I feel like I am missing something from my setup being in docker-compose.

Thanks.

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