Hello everyone, @beegee
Currently I’m using semtech gateway and L072Z LRWAN1 node and I’m looking forward to use RAK7289V2. I understood the difference between WisGate and WisDM.
WisGate is use to connect gateway and node as other networks Do.
I wanted to know does WisGate provide API key to connect the server data to my own database. As other server provider give API give Ex: The things network, Loriot,etc?
If NO API, then how can i get the data from WisGate to my own system to process the data?
I got to know there’s something as inbuilt lora network server and cloud server.
Can someone guide and provide clarity on how can i get data from WisGate to my own system and clarity on inbuilt and cloud server.
I tried connecting RAKwireless multiple times but got no response.
Thank you.
Hi @Yuvi
WisGateOS2 is the OS that runs in the RAK7289v2. You can either forward the messages to an external LNS (like TTI or Loriot you mentioned) or use the built-in network server. You can enable the built-in network server in the Configuration tab of the LoRa menu (WisGate OS 2 User Manual | RAKwireless Documentation Center).
If using the built-in network server you will have to create the application and the device on the gateway itself. Then you have an MQTT API to get the data from the sensors. You have the settings for the MQTT under the “Integration Interface Parameters” section in the same tab. You might want to test first without security or credentials but remember to enable some kind of authentication before deploying the gateway.
By default, without any security enabled, you will be able to retrieve the data from the sensors using any MQTT client. I am using mosquitto_sub here as an example:
@xoseperez Thank you for the response.
I’m looking to use inbuilt server(WisGate).
As you said : By default, without any security enabled, you will be able to retrieve the data from the sensors using any MQTT client.
So if i enable security i won’t be able to forward packets from server to database?
And you also said: remember to enable some kind of authentication before deploying the gateway. So i have to enable security at last before deployment of gateway.
I’m getting little confuse as, I understood from your explanation that: If i want to transfer data from server to database using API MQTT, I have keep security disable. But before deployment i have to enable security and after security enable i won’t be able to use API MQTT?
Hi @Yuvi
Sorry, I did not explain myself. Sure you can connect to the built-in server from outside securely using MQTT over TLS, you can get the certificates from the WebUI.
I only meant it will be easier to do the first tests using plain MQTT (not over TLS). Once you have that working enable the option to require a secure connection.
Hello @xoseperez
As you previously mentioned: If using the built-in network server you will have to create the application and the device on the gateway itself. Then you have an MQTT API to get the data from the sensors.
Create the application and the device: Does this mean creating the application server?
And you also said then we have MQQT API: I don’t see API key tab into the WisGate.
Hi @Yuvi
The build-in network server in WisGateOS lets you create gateways and applications (WisGate OS 2 User Manual | RAKwireless Documentation Center). An application is a bucket for devices that share something in common (usually, but not mandatory).
Once you create an application, you can configure the MQTT access to the data from devices in the " Integration Interface Parameters" option in the configuration page (check the same documentation page linked above).
If you use the built-in network server you don’t have to use an external ChirpStack instance. The built-in network server is based on a ChirpStack version and provides an MQTT broker.
If you want to use an external network server (like a ChirpStack instance on premises or on the cloud) you can configure a packet forwarder to that server (MQTT Bridge, UDP packet forwarder or BasicStation, depending on what that server supports).
Hello @xoseperez,
I’m starting with the RAK7289 and plan to operate it initially on a third-party server like Loriot before switching to the built-in server mode. I’m familiar with Loriot and want to compare performance between external and built-in server setups. Loriot requires only the MAC address for configuration and access, which makes it straightforward to get started.
I just want to confirm if there will be any complications or resistance when configuring the gateway for use with the built-in server mode after initially setting it up with Loriot.
Thank you!
Hi @Yuvi
You will have to provision the devices again on the built-in network server and force the devices to rejoin since they will have to connect to a different network.
This will be the same for any migration between two different servers.
@xoseperez Thank you for your response.
So, is provisioning a device and forcing it to rejoin a difficult process or a smooth process?
Like as much i know in Loriot a third party server we just have to delete the configuration and the gateway gets disconnected. So if possible can you gives a process or the way to force and rejoin it.
Thank you in advance.