back

/updateProfisharkFirmware

This function will update the input Profishark device with the input Firmware.

{
    "device":{
        "mac":"some_mac",
        "model":"some_model",
        "friendly_name":"some_friendly_name"
    }
    "firmware":{
        "firmware_name":"some_firmware_name",
        "sw_firmware_version":"some_firmware_version",
        "hw_firmware_version":"some_firmware_version"
    }
}
{
    "command": "/updateProfisharkFirmware",
    "command_result": {
        "profisharks": [{
            "model": "SomeModel",
            "friendly_name": "SomeFriendlyName",
            "mac": "SomeMac",
            "model_id":"some_model_id"
        }],
        "firmware_updates": [
            "firmware_update":{
                "start_success": false,
                "update_in_progress": true,
                "update_progress": 42,
                "update_success": true
            }
        ]
    },
    "errors": false,
    "general_message": "Successfully started firmware update"
}