Hello to everyone,
I just set-up an LPS8v2 Dragino gateway with a sensor. On that side all is working, sensor is sending data every 20’ as expected. Comes the issue with MQTT forwarder to the external broker.
Using console at Dragino level, I checked that some data can be sent to the external broker with command mosquitto_pub. I checked that subscribing to Chirpstack (v4) broker is working as well using mosquitto_sub command.
LoRaWAN Semtech UPD is set-up with following parameters:
- Service provider: Semtech/Private LoRaWAN
- Server address: 127.0.0.1
- Ports: 1700
- Gateway EUI: key provided in the box BTW the key is named GWID
As a double check I looked at chirpstack-mqtt-forwarder/configuration.html. All seems to be fine.
[logging]
level="info"
log_to_syslog=false
[backend]
enabled="semtech_udp"
[backend.semtech_udp]
bind="0.0.0.0:1700"
[mqtt]
topic_prefix="eu868"
server="tcp://127.0.0.1:1883"
username=""
password=""
ca_cert=""
tls_cert=""
tls_key=""
MQTT forwarder using user interface is set-up as such
- IP of external MQTT broker, port 1883
- Topic: lora
- user and password: empty
What I understand Chirpstack MQTT broker should connect to the external broker, but nothing is displayed at external broker level.
External broker running on an RPi, version 1.5.7. MQTT broker 3.1.1
Despite many research, including in this forum, I could find the solution to get the sensor data sent to the external broker. I hope that someone will be able to help me to sort this out.
Thank you.