back

/restartProfishark

This function will restart a profishark device that needs to be passed in as a parameter.

{
    "device": {
        "model": "SomeModel",
        "friendly_name": "SomeFriendlyName",
        "mac": "SomeMac"
    }
}
{
    "command": "/restartProfishark",
    "command_result": {
        "profisharks": [{
            "model": "SomeModel",
            "friendly_name": "SomeFriendlyName",
            "mac": "SomeMac",
            "model_id":"some_model_id"
        }]
    },
    "errors": false,
    "general_message": "Successfully restarted ProfiShark device"
}