This section gives you a quick understanding of how to connect your device to WSO2 IoT Server as an enterprise IoT solution and start using it. For this purpose, let's use the virtual fire alarm.
The virtual fire alarm is a virtual device that mimics the functionality of a real fire alarm. Therefore, for this use case you do not need a real device. Once you start the virtual fire alarm, it will connect to the WSO2 IoT Server and push the temperature readings it collects. The device supports MQTT and XMPP communications and is configured to use MQTT by default.
The following subsections explain how you can work with the virtual fire alarm:
|Table of Contents|
Download WSO2 IoT Server
Sign into the Device Management console
Follow the instructions given below to start WSO2 IoT Server, and sign into the device management console:
Start the virtual fire alarm
Follow the steps given below to start the virtual fire alarm device:
If you are a new user, click Enroll New Device.
If you have enrolled devices before, click Add under Devices.
- Click Try to try out the Virtual Firealarm, which is listed under Virtual Device Types.
- Download the device:
- Click Download Agent to download the device agent.
Enter a preferred name for your device and click DOWNLOAD NOW.
Unzip the downloaded agent file and navigate to its location via the terminal.
Start the virtual fire alarm.
./start-device.sh --> For Linux/Mac/Solaris start-device.bat --> For Windows
Once you start your virtual fire alarm, the fire alarm emulator will pop up.
Try out the virtual fire alarm
Once you start your virtual fire alarm, you can try out the following actions:
|View device details|
Click theicon , and click Device Management. Select the virtual fire alarm device you created from your devices and view the device details, carry out operations, and monitor real-time data.
|Ring the fire alarm|
View real-time and historical data
When you adjust the temperature and humidity values in the virtual fire alarm emulator you can see the data in real-time or view historical data by following the steps given below:
Clickto monitor real-time data via the Device Details pages.
Follow the options given below to see what you can do next:
- Do you have an Android device? Try out the Android Sense device type supported by default on WSO2 IoT Server. For more information, see Android Sense.
- Want to try out more devices? Connect the devices listed below to WSO2 IoT Server and try them out.
- Need to create a new device type and connect it to WSO2 IoT Server? For more information, see the Device Manufacturer Guide.