MQTT Integration not working

Dear all,

Ok I found the solution by reading this post: Getting a UnconfirmedDataUp message in Live LoRaWAN frame logs but no message in Live Event Log

So to resume:

  • in chirpstack-application-server I change the public_host variable to 127.0.0.1
# Public ip:port of the application-server API.                                                                                                                                                                                                                                                                              
  #                                                                                                                                                                                                                                                                                                                            
  # This is used by ChirpStack Network Server to connect to ChirpStack Application Server. When running                                                                                                                                                                                                                        
  # ChirpStack Application Server on a different host than ChirpStack Network Server, make sure to set                                                                                                                                                                                                                         
  # this to the host:ip on which ChirpStack Network Server can reach ChirpStack Application Server.                                                                                                                                                                                                                            
  # The port must be equal to the port configured by the 'bind' flag                                                                                                                                                                                                                                                           
  # above.                                                                                                                                                                                                                                                                                                                     
  public_host="127.0.0.1:8001" 
  • sudo monit restart chirpstack-application-server
  • save the network-server again in the web-interface

And now I can see data in the application topic with mosquitto_sub -h 192.168.0.1 -t “application/#”

BR,

PiLiP