back

/setDeviceTime

This function will set the time on a ProfiShark device.

{
    "device": {
        "mac":"some_mac",
        "model":"some_model",
        "friendly_name":"some_friendly_name",
        "timing_source":"ProfisharkAPITimeSource_GPS"
    }
}
{
    "command": "/setDeviceTime",
    "command_result": {
        "profisharks":[{
                "model": "SomeModel",
                "friendly_name": "SomeFriendlyName",
                "mac": "SomeMac",
                "model_id":"some_model_id"
        }],
        "set_device_time": {
            "success": true,
            "message": "Successfully saved ProfiShark features for device some_device_name (some_device_mac)"
        }
    },
    "errors": false,
    "general_message": "Successfully restarted ProfiShark device"
}