Skip to content

GetAutoTime ​

Status VerifiedOpcode35TypeRead

Reads the clock with its auto-update flag: date, time, format, and whether the controller sets its own time.

Parameters ​

None.

Reply ​

Opcode1035

GetAutoTimeRsp

nametypeunit
yearint
monthint
dayint
formatbool
hourint
minuteint
amPmstring
autoUpdateTimebool

Example ​

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

Request XML ​

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

Response XML ​

xml
<?xml version="1.0" encoding="UTF-8" ?>
<Response xmlns="http://nextgen.hayward.com/api">
  <Name>GetAutoTimeRsp</Name>
  <Parameters>
    <Parameter name="Year" dataType="int">2026</Parameter>
    <Parameter name="Month" dataType="int">8</Parameter>
    <Parameter name="Day" dataType="int">25</Parameter>
    <Parameter name="Format" dataType="bool">0</Parameter>
    <Parameter name="Hour" dataType="int">2</Parameter>
    <Parameter name="Minute" dataType="int">18</Parameter>
    <Parameter name="AM_PM" dataType="string">PM</Parameter>
    <Parameter name="AutoUpdateTime" dataType="bool">1</Parameter>
  </Parameters>
</Response>

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