RAK WisGateOS2
Last updated
Was this helpful?
Last updated
Was this helpful?
In order to properly create a RAK WisGateOS2 integration with MClimate Enterprise you need to configure your Application to connect Enterprise platform.
Head over to the link https://enterprise.mclimate.eu/ and log into your account. Go to the Integrations section and create a new M-token.
Make sure to copy it as you will need it together with the Keys to create the integration (image above). You can click on the box to open up a window where you need to enter the following:
M-token - the value of the M-token you just created
User - the local username for your gateway
Password - the local password for your gateway
Log into the gateway and head to the Lora -> Application section, where you can choose to edit the Application configuration, so it can connect to Enteprise.
In the Configuration window scroll down to the Integration Parameters section.
Make sure the Decode type is set to "HEX string".
Activate the "Enable HTTP/HTTPS Integration Parameters" toggle (it should be disabled by default). This will display a number of parameter field that need to be filled out.
You need to create two headers:
Header 1
Header name - m-token
Header value - the value of your M-token
Header 2
Header name - url
Header value - http://{Public IP of the Gateway, e.g. 195.74.85.64}
Make sure that the IP is exposed and accessible from outside of your LAN. We need it for sending downlinks, if you are behind a NAT check your router for the public IP (the local one would not work).
You also need to fill in the 4 URLs with the values below
Uplink data URL - https://lorawan-broker.mclimate.eu/rak
Join notification URL - https://lorawan-broker.mclimate.eu/rak-join
Ack notification URL - https://lorawan-broker.mclimate.eu/rak-ack
Device-status notification URL - https://lorawan-broker.mclimate.eu/rak-notification
Refer to the image below if in doubt.
Your integration is now created. This will allow for the proper authentication between the РАК GateWayOS2 and MClimate Enterprise platforms.
If you configured everything properly your Integration is now complete and you should be able to see data in MClimate Enterprise (provided you have registered the devices there already).