As soon as you have an IP stack and the capability to do HTTP calls, you can use our HTTP API for devices. It doesn’t give you all the fancy device management and application management features but it’s really simple to use and it does the job for simple data exchange.
Follow this tutorial to connect your device with AirVantage.
Any issues ?
If you encounter any issue to set up your device, don’t hesitate to use the developer forum to benefit from the developer community experience.
The first step consists in declaring your system and your application on AirVantage.
What is a system? A system represents:
- A gateway/module which supplies the connectivity
- A SIM card which give the network access (if any)
- Some applications running in the hardware (gateway/module/ any host like micro controler or processor)
Create a new Gateway
button in the Gateway line Generic Greenhouse
)If you want to know more about how to declare an application on AirVantage and what it means, have a look at the Application Howto .
In this step, we are going to send data using the MQTT API for devices. There’s a huge choice of libraries on the web for many types of hardware and languages. Choose the one best suited to your hardware.
You can use REST API for devices as well. As soon as you have an IP stack and the capability to do HTTP calls, you can use our HTTP API for devices. It doesn’t give you all the fancy device management and application management features but it’s really simple to use and it does the job for simple the data exchange. Read the following article to learn how to use the REST API for devices to easily enable the communication with AirVantage from your embedded application.
You’re ready to implement your embedded application. Some samples are available:
Finally test your application by using this tutorial .
Once your system communicates correctly and data values are stored in AirVantage, you may want to automatize the analysis by using rules and show them in a dashboard. Have a look to this tutorial to learn how to define a rule and design your operational dashboard.
Once your system communicates correctly and data values are stored in AirVantage, you may want to automatate the analysis by using rules and show them in a dashboard. Have a look at this tutorial to learn how to define a rule and design your operational dashboard.