Wialon is a multifunctional fleet management system also used for mobile and stationary assets tracking. Both flespi and Wialon are developed by the Gurtam company. There are several use cases where flespi together with Wialon can be used together. Though, there are native ways to exchange data between these two platforms. To send data from Wialon to flespi you need to create a retranslator (of the Wialon Retranslator type) on the Wialon side and point it to the domain name:port of your flespi channel operated over Wialon Retranslator protocol.
Following is the guide on how to send data from flespi to Wialon. We assume that you already have the data coming to the flespiTelematics Hub.
1. Create a unit in Wialon
New Unit device type must be “flespi gateway”
Server address field will show where to point your flespi stream
Unique ID must be the same as the “ident” field in flespi
2. Configure stream in flespi
When in the flespi panel, navigate to Telematics hub -> Streams -> "+" to add a new stream
Configuration type — http
Domain name:port must be prefixed with http://
ident field must contain the value to be used as a unique ID in Wialon
Note: %ident% is the ident mask meaning that the messages from flespi will be sent via the stream with their original ident (IMEI). Usually, there's no need to change this parameter unless you want to distinguish the subset of devices coming from flespi. Then you can add a prefix like this "flespi-%ident%.
3. Subscribe the stream to the channel
- Once the stream is created, click on it to open settings.
- Navigate to the Channels tab (or Devices tab if you want to forward data from specific devices only).
- Click the chain links icon next to your Wialon Retranslator channel to say the stream to forward data from it.
4. Check message delivery
If you see the “Stream has sent messages” log records in the stream Toolbox, it means flespi started forwarding the data via the stream:
And you should now see your messages in Wialon system: