Skip to content

SetCoordinates ​

Status VerifiedOpcode416TypeWrite

Sets the controller's latitude and longitude, which it uses to schedule events at sunrise and sunset.

Parameters ​

nametypenotes
latitudefloat
longitudefloat

Reply ​

Acknowledged only. The controller sends no reply.

Example ​

typescript
await omni.command("SetCoordinates", {
  latitude: 0,
  longitude: 0,
});

Request XML ​

xml
<?xml version="1.0" encoding="UTF-8"?>
<Request xmlns="http://nextgen.hayward.com/api">
  <Name>SetCoordinates</Name>
  <Parameters>
    <Parameter name="latitude" dataType="float">0</Parameter>
    <Parameter name="longitude" dataType="float">0</Parameter>
  </Parameters>
</Request>

Response XML ​

None.

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