Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Introduction

VIrtual Devices emulate real device behaviour. They generate raw messages that are identical to real devices. Virtual Devices are helpful for testing HTTP and RabbitMQ integration without having to physically occupy and vacate sensors. There is no need to have a base station to use virtual devices.

Getting started

To start using virtual devices go to the Virtual devices.

It is available from the main menu under Device Management > Virtual Devices.

Click the + button to add a new Virtual Device.

There are three fields in the create form:

  1. Firmware - firmware version that will be used for this virtual device.

  2. Number of devices - number of devices to be created.

  3. Active/Inactive - when active, messages will be processed normally and incidents will be created.

Fill in the form and click Add.

After creating a device, it has to be positioned using SPlace.

Click the + button in the position column to position the device. This will open the SPlace Web page.

Select Zone and Group to bind the virtual device to. Zones and Groups can be created from the same form by giving them a name. Note that the Device ID is automatically filled in. Click Bind to select a position on the map.

You can use search to find a location, drag the map to adjust the pin’s position and use arrows for finer position adjustments

Once you position the pin on the map click OK to finalize.

Sending Messages

Once Virtual Devices are created and positioned, you can start sending messages.

Click on the Send Messages button to confgure the sending form.

Virtual Devices can send four types of messages:

  1. Heartbeat
    This messages are sent every 3 hours and are necessary for the Device Monitoring system to track the device’s health status. Heartbeat messages are enabled by deafult.

  2. Occupancy Status Change

  3. Calibration (on-demand)

  4. User Registration (on-demand) - test Tag authorization functionality

You can view raw messages sent by a device, by clicking View Messages button on the device’s row. This will redirect you to the Raw Messages page filtered by the device id.

You can delete a virtual device by clicking delete.

  • No labels