You may find yourself in a situation when you need to send the telemetry data from one flespi account into another, e.g.:
-
From parent account to child account (learn more about subaccounts)
-
From dev account to prod account
-
From one user account to another user account, etc.
To address such cases we added the flespi-gateway stream and flespi-gateway channel that can be used to transfer data between different flespi accounts via HTTPS.
The process is fairly simple:
-
You will need its domain name and port in the stream configuration:

-
Create a “flespi-gateway” stream in the account you want to send data from and specify the domain name and port of the receiving “flespi gateway” channel in the configuration:

-
Subscribe the stream to the desired sources of data (channels or devices):

-
Open the Toolbox tab to see if the stream started to send messages:

-
Open the Toolbox tab for the receiving channel in the different account:

-
You should see fresh messages in the Messages pane. Now you can consume them via REST or MQTT API a usual.
Messages that reference device media files, such as images or tachograph files, carry links to the files kept in the media storage of the sending device.
Wialon Platform is powered by flespi, so the same flespi-gateway stream sends data from your own flespi account to Wialon Platform devices of the Flespi Gateway model. Wialon Platform copies each tachograph file received this way into its own storage and uses it in file lists, chronography and reports, see receiving files from flespi gateway devices.
