# Get weather time series for local range Returns weather and microclimate time series for a project within a local-time range (Leaf-style). Auth via API token in x-api-key. Endpoint: GET /api/iot/weather Version: 2.0.0 Security: apiKeyAuth ## Query parameters: - `projectId` (string, required) - `from` (string, required) Start datetime in local timezone (ISO 8601) - `to` (string, required) End datetime in local timezone (ISO 8601) - `timezone` (string, required) IANA timezone (e.g., America/Mexico_City) ## Request fields (application/json): - `projectId` (string, required) Project identifier Example: "proj_123" - `from` (string, required) Start datetime in local timezone (ISO 8601) Example: "2025-10-01T00:00:00-06:00" - `to` (string, required) End datetime in local timezone (ISO 8601) Example: "2025-10-09T23:59:59-06:00" - `timezone` (string, required) IANA timezone for interpretation of local range Example: "America/Mexico_City" ## Response 200 fields (application/json): - `status` (string) Example: "success" - `data` (array) - `data.local_time` (string) Example: "2025-10-09T10:00:00-06:00" - `data.te` (number) Temperature (°C) Example: 26.4 - `data.hr` (number) Relative humidity (%) Example: 60 - `data.wind` (number) Wind speed (m/s) Example: 3.2 - `data.vpd` (number) Vapor Pressure Deficit (kPa) Example: 1.2 ## Response 400 fields (application/json): - `status` (string) Example: "error" - `message` (string) Example: "Error message description" - `error` (string) Example: "Detailed error information" ## Response 401 fields (application/json): - `status` (string) Example: "error" - `message` (string) Example: "Error message description" - `error` (string) Example: "Detailed error information" ## Response 500 fields (application/json): - `status` (string) Example: "error" - `message` (string) Example: "Error message description" - `error` (string) Example: "Detailed error information"