Hello, i just ask because there is a lot storage of repositories in network.
Except of repositories https://github.com/Lora-net, which are compatible as you mentioned in another topic of the forum, is any compatibility problem with corresponding repositories (ttn lora gateways repositories with raspberry and arduino-based nodes with the appropriate concentrator for example)?
Do you suggest any specific repository for not having compatibility issues with lora server and lora app server?
If anyone knows, does the configuration setup of my (rapsberry-based) gateway with IMST IC-880a SPI is compatible with the Lora Server and Lora Server API?
Or is better to use the library from Loranet, as mentioned in another topic?
Would be, an important information, to know, if anyone has try this.
@glederer007 excuse me also…as in the tittle of the project, i ask about IMST library about IC880-A SPI, created by ttn community : https://github.com/ttn-zh/ic880a-gateway/wiki.
So my question has to do about the compatibility or not, of this library, if anyone have make and use this configuration.
@nikospps You can use it, I used it myself as well. I didn’t use “remote configuration option” because it is not needed for this project. But in order to have it working, you should set global_conf.json and local_conf.json to reflect your gateway’s setup and to forward the UDP packets to the LoRa Gateway Bridge. As it uses a so called “poly packet forwarder”, you can even set it to connect to two networks: to your own LoRa Gateway Bridge (LoRa Server and LoRa App Server) and to TTN!
First of all, are you running the LoRa Gateway Bridge / Lora Server / Lora App Server combination on the same Raspberry that hosts the iC880A-SPI - LoRaWAN Concentrator?
About global_conf.json: If you look at https://docs.loraserver.io/lora-gateway-bridge/install/config/ , you will see that by default LoRa Gateway Bridge uses port 1700 with UDP protocol to communicate with the packet forwarder. That means the packet forwarder (its global_conf.json file) needs to have these values set:
I intend to run Lora Server,Lora App Server (+Mosquitto,Postgresql and Redis) to a host and
ICA-SPI-LoraWAN Concentrator + Lora Gateway Bridge to another host (a rapsberry PI).
I agree with:
but in a same named file in IC880A-SPI, i remember that,is a file with the same name (if i have not a confusion)…so my question,is if i have to change port configuration in IC880A-SPI conf file also?!?
I made whatever said to me, and i changed in configuration file of lora-gateway-bridge:
server=“tcp://IP_where_mqtt_broker_is_installed:1883”, but i can’t establish communication between loraserver and lora-gateway-bridge.
Do you believe that is better to make all lora installation (loraserver,lora-gw-bridge,lora-app-server,mqtt,postgresql,redis) in Host A and only packet-forwarder and concentrator in Raspberry PI?
Hello @nikospps, I think the best configuration is the one that Orne has highlighted in bold in https://docs.loraserver.io/overview/architecture/ (the first “base station” in the left). That is each gateway has its own lora-gateway-bridge that communicates over MQTT with a server that has loraserver and lora-app-server running on it.
Of course if you have only one gateway (built on a RPi) there is nothing against having all components on the same gateway (on the RPi).
My question:I have to install mosquitto and mosquitto clients in both in server PC (lora server and lora-app-server) and RPI 3? all this has to do with lora-gateway-bridge.toml file. I have to configure it (mqtt broker) as localhost or the ip of the pc,where mqtt broker is installed?
There is the point,that i have a confusion and try to solve it.
I will try to answer your question. I assume that you have Raspbian on the RPi 3 and Ubuntu 16.04 LTS (Linux) on the PC.
The RPi (the gateway) will have at least:
a (fully installed and running) packet forwarder
the packet forwarder needs to be pointing to the the local port where the lora-gateway-bridge is listening for UDP messages
the lora-gateway-bridge needs to connect to the MQTT broker running on the PC, for this you have to set the necessary parameters on the configuration file of the lora-gateway-bridge
there is no need to install Mosquitto or Mosquitto client on the gateway.
The (Linux) PC will need at least:
Mosquitto broker (or as Orne wrote “any MQTT broker implementing MQTT 3.1.1 should work.”).
PostgreSQL database to store persistent data, at least version 9.5 is necessary.
Redis database to store non-persistent data, at least Redis 2.6.0 is required.
You need to set up some parameters on Mosquitto, loraserver and lora-app-server, like certificates, passwords, ports, etc. There is information about this on loraserver.io, but most of it is set automatically at the initial installation.
Mosquitto client is needed if you want to test receiving or sending messages from and to end-nodes.