We've added custom command to the erm protocol
It allows you to send any command to StarLink devices connected to flespi.
For example,
To send command 23 - Request immobilizer rule #2 - use the following REST API request:
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorization: FlespiToken XXXX' -d '[{"address":{"ident":"123456789012345","type":"connection"},"name":"custom","properties":{"command":23,"payload":"2"},"ttl":86400}]' 'https://flespi.io/gw/channels/<channel_id>/commands-queue'
just replace:
XXXX - with your flespi token
123456789012345 - device ident
<channel_id> - ID of flespi erm channel
For more details read: How to send a command to the device over the channel’s connection?