This guide describes the sequence of actions required to send commands from the Wialon system to physical devices registered on the flespi platform, including the creation of devices in flespi (hereinafter flespi devices).
- Create a device in flespi. To do this, open the Devices tab in the Telematics Hub, click on the button in the lower right corner of the screen, fill in the required fields, and click Save.
- Create a channel to receive data in flespi: open the Channels tab, click on the buttonin the lower right corner of the screen, fill in the name and protocol_id fields (the protocol corresponds to the type of the physical device), and click Save.
- Point the physical device (tracker) to the channel address (IP and port).
Create a stream to redirect data. To do this, open the Streams tab, and click flespi gateway device) fields, activate the ident option.. Fill in the сonfiguration and uri (address of the
IP varies depending on the data centre.
- Assign the flespi device created in step 1 to the stream. To do this, go to the Devices tab and click on the line with the flespi device to open the settings window. Next, on the Streams tab, clickand select the required stream.
- Copy a token on the flespi platform (the Tokens tab).
- In Wialon, paste the copied token into the Token field on the Security tab of the top account settings.
- Create a unit in Wialon. The device type should be the one indicated in the Device type field in step 1. It should be marked as flespi in brackets.
- Create a new command in the unit properties in Wialon.
When creating the command, you can configure its parameters in the flespi form. In this way, you will not have to do it manually every time before sending the command to the unit.
- Send the command to the unit from the Monitoring tab.
- If the parameters of the command were not configured in its settings, specify them in this step.
To calibrate a fuel tank for an analogue FLS (fuel level sensor), follow the steps below.
- Empty the tank completely. Make sure the vehicle accumulator is charged and will not go flat in a couple of hours.
- Cut the FLS to the necessary length and install it into the tank.
- Enable data transmission for the necessary input (for example, Ain1). It is recommended to set a frequent data transmission (like once in 10 seconds, for example).
- Draw a grid for your future calibration table. There will be two columns – Liters and Volts, and so many rows as parts you divide your tank into (+ O liters row). Write the beginning time of the operation.
- Divide the volume of your tank into 10-30 parts. Pour portions of fuel and each time write the current fuel level in the tank into your calibration table. Wait 2-3 minutes after each new portion. Continue till the tank is full. As a result, the first column of your table (Liters) will be filled in.
After that follow the instruction on setting calculation table in Wialon.
This guide describes the way of obtaining data from CMSV6 in Wialon with the example of video transmission. This process includes creating and configuring a unit and a command with a video request. Other types of commands are enumerated at the end of this document.
For correct video transmission in Wialon, it is required to set up a proxy server on the side of CMSV6 and configure it so that the data is transferred via HTTPS connection.
- Create a unit. In the Device type field on the General tab, select CMSV6 Gateway. Enter the unique identification number of the device indicated in CMSV6.
- Go to the device configuration by clicking on the icon.
- Fill in the required fields in the open dialog box.
▪ CMSV6 Web Host. The IP address or domain name from the URL of the CMSV6 website. In case of using a secure connection, you should specify the protocol (for example, or ).
▪ CMSV6 Web Port. The port from the URL of the CMSV6 website, if any. You can also indicate the host and port in the CMSV6 Web Host field. In this case, you should not fill in the CMSV6 Web Port field.
▪ CMSV6 Account. Name of the CMSV6 account.
▪ CMSV6 Password. Password of the CMSV6 account (twice).
▪ Prefer Flash Player for Live Stream. The option is enabled by default. Disable it if you want to use HLS instead of RTMP.
▪ CMSV6 Timezone in minutes. The difference between the time zone of the device and GMT+0 in minutes, if they differ. For example, if the time zone of the device is GMT +3, you should type 180 (without the plus sign) in the field. The device as well as the CMSV6 and Wialon accounts should have the same time zones.
- Click ОК.
- On the Commands tab of the unit properties, create a command of the Request Live Stream (request_live_stream) type with the name RequestLiveStream#1. Such name (spelled in one word) is required to send the command automatically by clicking on the icon on the Monitoring tab. Commands with other names can only be sent manually.
- In the Channel field, select Virtual.
- Deactivate the Without parameters option and indicate the numbers of the required channels without spaces and separating them by commas. For certain devices, numbering can start from 0.
- Save the changes.
- To start video transmission, click on the iconin the unit list on the Monitoring tab. The option is available only after the unit sends at least one message with coordinates.
Other command types
The data sent by the device, such as photo and video files, is stored on the CMSV6 server. Only links to these files are sent to Wialon. To get access to them, you should create a command of the corresponding type in the unit properties.
When this command is sent, video recordings are uploaded from the device to the CMSV6 server. If there is no connection to the device, the query execution is postponed until the device is connected to the server. To see if the video is uploaded to the CMSV6 server, execute a get_video_records_info command.
This command allows you to query information about the video that is stored in the device or on the CMSV6 servers. You can select the location of the data in the properties of the command.
Besides, you can query messages from units for the required interval (the Data messages type, show parameters as raw data). The iconwill be displayed in the Media column of the resulting table. Click on it to view the found photo and video files.
The messages with media files contain the following parameters:
- video uri: the link for playing the video;
- loc: the file location (loc=2 indicates that the file is stored on the CMSV6 storage server);
- cha_n: the number of the video channel.
This command allows you to query the last GPS location.
Using this command, you can query a photograph from the camera in real time.
The command allows you to query the telematic data of the unit for the indicated period (similarly to the import of messages in Wialon).
This guide describes how to prepare a JC100 or JC200 device and to configure a unit which uses this device in order to receive photos and videos. After configuring the unit, you can also execute other commands described in the Other available commands section of the guide.
The JC100 and JC200 devices can only transfer files in real time, that is, it is impossible to receive files from the memory of these devices.
- Download the appropriate firmware for the device in Gurtam forum and install it according to the guide which is also available there.
- Create a unit. On the Advanced tab, specify the unit name, device type and unique ID. For JC200 devices, choose the JC100 type.
- On the Commands tab of the unit properties, create a command to tell the device the address for downloading photo and video files. Select the Send custom message type for the command. In the Channel field, select TCP.
- Uncheck the Without parameters option and type in the Message field the IP address and the port of the server indicated in the General tab of the unit properties.
Use the following format: HSERVICE,http://:/. For example, HSERVICE://126.96.36.199:21607/.
- Click OK.
- Make sure that the unit is online (a green icon is displayed opposite the unit name in the work list of the Monitoring tab) and click on the icon to send the command.
- In the list of available commands, select the one created at step 3 (HSERVER). Click OK.
- In the Chat with Drivers window, you will see a message about sending the command successfully.
- On the Commands tab of the unit properties, create a command to download photo or video file. To do this, select the Send custom message (custom_msg) type. In the Channel field, select TCP.
- Uncheck the Without parameters option. In the Message field, select one of the available options.
- Video,in,Ns: to request a video from the internal camera, where N is the duration of the video (not more than 20 s). For example, Video,in,10s.
- Video,out,Ns: to request a video from the external camera, where N is the duration of the video (not more than 20 s). For example, Video,out,10s.
- Picture,in: to request a photo from the internal camera.
- Picture,out: to request a photo from the external camera.
- Click ОК.
- Make sure that the unit is online and click on the iconto send the created command.
- In the list, select the command you need (Video_OUT_10S) and click OK.
- In the Chat with Drivers window, you will see a message about sending a command to download a file.
- After downloading is complete, a red indicator is displayed near the icon Media option).in the bottom panel. Click on it to open the file. You can also cick on the icon opposite the unit name in the work list (the
Other available commands
Before creating a command, you should prepare the device and configure a unit in Wialon (steps 1 — 8 of the guide). The text of the command should be typed in the Message field when creating the command (see steps 9—10 of the guide).
To stream video, some additional configuration of the unit is required. To do this, fill in the fields described below in the Device configuration window of the unit properties (iconin the General tab).
RMTP server. Here you should specify the IP and the RTMP port of the server which is set by the user.
Camera aliases. Indicate the unique ID of the unit as the ID of the camera.
The following commands are used to manage the video streaming:
- RMTP,ON,IN: enable video streaming from the internal camera;
- RMTP,ON,OUT: enable video streaming from the external camera;
- RMTP,OFF: disable video streaming.
To watch the video streaming, click on the iconin the work list of the Monitoring tab.
It is impossible to stream video from two cameras at the same time.
This guide describes how to prepare a device manufactured by Teltonika and to configure a unit which uses this device so that the Eco Driving application can work with this unit. The guide is suitable for all devices of the FMB, C, M, U lines, except for the FMC640, FMM640, FMB640 models.
- Configure the 258 parameter (Eco Driving Maximum) in the device.
- Open the Sensors tab of the unit properties in Wialon.
- Create a custom Accel_MAX sensor. In the Parameter field, specify the following formula:
- Create a Brk_MAX sensor. In the Parameter field, specify the following formula:
- Create a Crn_MAX sensor. In the Parameter field, specify the following formula:
- Open the Eco driving tab and add custom criteria for the created sensors.
- The Acceleration criterion for the Accel_MAX sensor.
- The Braking criterion for the Brk_MAX sensor.
The Cornering criterion for the Crn_MAX sensor.
To calculate the acceleration when assessing the driving quality using the io_258 parameter, select the Eco Driving parameters method.
Now you can track the driving quality of the unit in the Eco Driving application.