HTTP forwarding from a LORIOT application to the allMeteo® platform
How set up a LORIOT data forwarding to allMeteo® platform for your personal weather station
Prerequisite: MeteoHelix® is joined with your gateway and Loriot application is receiving data from your MeteoHelix® weather station every 10 minutes.
allMETEO® portal token setup
In your allMeteo® portal account click on Integration in the left menu. The Help tab is selected by default. Scroll down to the “Loriot” section to see what information you will need to enter in your Loriot application. In the “Authorization” field, the word “generatedtoken” following the word “Bearer” will be replaced by a token which we will generate in the following steps.
In allMeteo, Click on the API Authorization tab after selecting Integration in the left menu.
Select one or multiple device ID’s in the Unassigned column which are connected/joined with your LoraServer or Loriot application and sending data. Click the green “Add” button to generate the 24 digits token.
NOTE: Make sure to select only the device ID’s associated with the Loriot application from which you want to forward data. If you have multiple LoRa or Sigfox devices connected to different LoRa servers/applications/services, do not associate those with the token to be generated. Use a different token for each service.Copy the 24 digits token via the drop-down menu by clicking on the Action button. This will let you paste it into your Loriot application.
Loriot setup instructions follow below.
Loriot HTTP push setup
Enter the following parameters into the two fields required by LORIOT as shown in the accompanying screenshot.
Setup parameters
Target URL for POSTs: “https://gw.allmeteo.com/loriot/uplink”
Custom "Authorization" header value: "Bearer 01234567890123456789ABCD"
where the 24 digits word “01234567890123456789ABCD” should be replaced by your token as generated in the aforementioned steps for the allMeteo® platform setup
A successful posting should look like this:
2020-01-17 07:46:23.84 HTTP POSTing message successfully | "appid":0123456789,"url":"https://gw.allmeteo.com/loriot/uplink","seqno":282,"deveui":"0123456789ABCDEF","instance":"nwk-1"
Check the connection and data
Check the connection in Loriot by clicking on the already created integration and making sure it is running.
Switch back to the allMeteo® platform and under My Devices, select one of the devices to which the token was assigned and wait for data to start showing up in the Data tab or the plots. MeteoHelix® weather stations send data every 10 minutes to comply with WMO and NWS requirements and due to the bandwidth limitations of IoT wireless technologies.