setSiteTimeZone
Set a site's timezone, including required region and scenario fields, so schedules and logs match local time. Remember DST is a separate setting; check it to avoid off-by-one hour issues.
Instructions
Set the site timezone, handling the region and scenario fields the controller requires alongside it. IMPORTANT: on firmware tested, the timezone alone does NOT make schedules observe daylight saving. Omada keeps DST as a separate site setting (site.dst.enable, with manual recurring start/end rules) which is off by default, so a controller runs on standard offset year-round and a "06:00" schedule fires at 07:00 wall-clock during summer time. Check site.dst via getSiteSettings, and treat a schedule's notInDst flag as confirmation. Requires OMADA_WEB_USERNAME/OMADA_WEB_PASSWORD.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | ||
| timeZone | Yes | IANA timezone, e.g. "Europe/London" or "America/New_York" |