Skip to content

System Commands

Initiates a delayed device reboot.

POST /api/cmd/reboot/

Request Parameters:

FieldTypeDescription
rebootSecintegerDelay before reboot, from 0 to 180 seconds.

Example Request:

{
"rebootSec": 3
}

Sets the device time immediately.

POST /api/cmd/time/set/

Request Parameters:

FieldTypeDescription
timestringTime in ISO 8601 format relative to UTC0.

Example Request:

{
"time": "2025-05-15T16:50:27"
}

Immediately synchronizes device time with NTP servers specified in settings.

POST /api/cmd/time/sync/

Example Request:

{}

Clears the in-memory task list and rereads task files from the memory card.

Check memTaskfiles state for compilation or runtime errors.

POST /api/cmd/tasks/reread/

Example Request:

{}

Sends an activation request via WireGuard interface. Supported only with active WireGuard connection.

POST /api/activation/

Request Parameters:

FieldTypeDescription
activationobjectActivation data object.
infrastructureNamestringInfrastructure name.
infrastructureShortUrlstringShort URL to infrastructure site.
domainstringServer address used for activation.
endpointIdstringUnique device identifier.
endpointNamestringDevice name.
propertyIdstringOrganization identifier.
propertyNamestringOrganization name.
pinstring8-digit device PIN code.
hasBonusesEurstringBonus amount on organization account.
activeTillstring / nullActivation expiration date (ISO 8601, UTC), or null to reset activation.
supportEmailstringSupport service email.

Saves cloud registration data to the default settings.

This request is intended for one-time use during device production. Newly programmed devices do not have cloud server connection links filled in. After the registration links and other registration data are saved, the device no longer accepts this request.

POST /api/register/

Request Parameters:

FieldTypeDescription
manufacturerNamestring / nullManufacturer name used for registration.
labelNamestring / nullRegistered device model name.
skustring / nullRegistration model code.
labelLinkstring / nullCloud server device link.
modbusServerstring / nullCloud Modbus TCP callback server address and port.
discoveryServerUrlstring / nullWireGuard configuration server URL and authorization request base URL.
vpnStaticConfigobject / nullStatic WireGuard connection configuration, if used.
endpointstringWireGuard server address and port.
endpointPublicKeystringPublic key of the WireGuard server.
deviceIpAddressstringDevice address in the VPN.
allowedIpsarrayVPN allowed IP ranges.
persistentKeepaliveintegerMaximum idle period between WireGuard packets.
pinCodestring / nullUnique cloud product code, up to 18 characters, or null if unsaved.

Example Request:

{
"manufacturerName": "Overvis Ltd.",
"labelName": "MC251",
"sku": "mc251",
"labelLink": "https://c.overvis.com/ABCDEFGH",
"modbusServer": "modbus.overvis.com:20502",
"discoveryServerUrl": "http://ocp.overvis.com/api/wg/",
"vpnStaticConfig": {
"endpoint": "ocp.overvis.com:31080",
"endpointPublicKey": "vutsrqponmlkjihgfedcbaUTSRQPONMLKJIHGFEDCBA=",
"deviceIpAddress": "10.0.0.3/16",
"allowedIps": ["10.0.0.0/16"],
"persistentKeepalive": 30
},
"pinCode": "ABCDEFGH"
}

Response:

Empty JSON upon successful command execution.

{}