Skip to content

GetUnits ​

Status VerifiedOpcode118TypeRead

Reads whether the panel uses metric units.

Parameters ​

None.

Reply ​

Opcode1118

GetUnitsRsp

nametypeunit
unitFormatbool

Example ​

typescript
const reply = await omni.command("GetUnits");

Request XML ​

xml
<?xml version="1.0" encoding="UTF-8"?>
<Request xmlns="http://nextgen.hayward.com/api">
  <Name>GetUnits</Name>
</Request>

Response XML ​

xml
<?xml version="1.0" encoding="UTF-8" ?>
<Response xmlns="http://nextgen.hayward.com/api">
  <Name>GetUnitsRsp</Name>
  <Parameters>
    <Parameter name="UnitFormat" dataType="bool">0</Parameter>
  </Parameters>
</Response>

This software is not produced, endorsed, or supported by Hayward Industries, Inc. “Hayward” and “OmniLogic” are trademarks of their respective owners.