Application Note

Access Senquip Application Notes — detailed documents explaining configuration, integration, and data setup for each supported system.

Weather Data from an API with a Senquip Device

APN0022  |  Revision 1.1  |  November 19, 2024

This note shows how to retrieve and use live weather data from a public API within a Senquip device script. It walks through setting up an HTTP GET request, parsing the returned JSON response, and dispatching weather parameters such as temperature, humidity, and wind speed to the Portal. The guide includes code examples for formatting API queries with user‑defined location settings and handling connection errors. Use cases include adjusting irrigation, ventilation, or power schedules based on external weather. The note demonstrates how Senquip devices can augment local sensor data with online context, creating more intelligent and autonomous field systems.

Access Application Note

Fill out the form below to access the full application note.