Loriot
Connecting Loriot to MClimate’s LoRaWAN broker
1. Once you have created application, click on Access Tokens

2. Copy your access token

3. Go to Output and add new output

4. Click on HTTP Push and fill the fields
Target URL - https://lorawan-broker.mclimate.eu/loriot?m-token={get your M Token from MClimate Enterprite->Integrations}
Authorization header value - your access token

5. Done

Advance configuration for downlink queue flushing
This configuration step is not mandatory, it is only required if you want Mclimate Enterprise to take care of flushing your LNS (Loriot) downlink queue.
1. API Key
Go to the ACCOUNT -> API Keys section and "Generate new API key".

Copy the key as it will be hidden once you leave the page and you will need it later on.

2. HTTP Output
You need to edit the existing HTTP output (the one you created for the basic Integration setup).
Go back to APPLICATIONS - > "Your Application" -> Manage Outputs.

Click on the HTTP output (you should have one created from the previous step). Edit the fields as follow:
Name -> leave as is or change to your liking
Target URL for POSTs -> "the url of your Loriot instance" (see image below)
"Authorization" header value (Optional) -> "the API Key you created"
Custom header name (Optional) -> "m-token" (liberally the text "m-token")
Custom header value (Optional) -> "value of the m-token" (you can use the one from the previous step or create a new one)
Accept the changes and move to the next step.
3. MClimate Integration
You will need tour Loriot Application ID for this step, you can copy it over from the APPLICATION page.

Head to https://enterprise.mclimate.eu/integrations and create a Lorio integration (you need to scroll to the bottom of the page if you have many m-tokens created).

Insert the values in the field as follows:
Token -> the value of your m-token
URL -> "the url of your Loriot instance"
API Key -> "the API Key you created"
App ID -> "the ID of your Loriot Application"

Your configuration should look something like the image below.

Save the and your are done.
Last updated
Was this helpful?