|  Developer
Updated on May 9, 2022

hub.firmware.update

  • Starts hub update procedure to specified version

NOTE: for H2 prefer using hub.software.update.plan and hub.software.update.execute commands instead

Edit
BroadcastsDescription
hub.firmware.update.progressUpdating progress information

Required: call method register or field serial Permissions:

Edit
				
					{
    "method": "hub.firmware.update",
    "id": "_ID_",
    "params": {
        "version": "0.34.45",
        "type": "partial",
        "source": "nma-qa.ezlo.com"
    }
}				
			
Filed Description
version Any existing version of firmware (optional for H2, if not specified, update to latest version)
type (optional) partial (valid only for H2, default for H2 if upgrade) or image (default for Atom32; default for H2 if downgrade)
source (optional) Web server for downloading firmware (if not specified, H2 will update from provisioned source, or previously used source if any)
Edit

First reply by json-RPC protocol means that command successfully received by hub

				
					{
    "error": null,
    "id": "_ID_",
    "result": {}
}				
			

UI should process hub.firmware.update.progress for update process visualizing

Firmware version description: OpenWRT based device FreeRTOS based device