Resumen
SIMA’s IoT module allows third-party hardware providers and weather station integrators to push sensor data directly into SIMA. Registered devices can report rainfall, temperature, wind, and other climatic events, which are then available to agronomists alongside field operation data. Typical use cases:- Weather station networks sending daily or hourly readings
- Soil moisture sensors reporting to SIMA campaigns
- Automatic rain gauges (pluviometers) registering daily accumulation
Concepts
The IoT module is built around three core entities:table_code_id — a numeric code that tells SIMA what kind of data is being reported.
Common table_code_id values:
| Value | Description |
|---|---|
53 | Weather station device |
56 | Weather scouting event |
57 | Weather event protocol |
62 | Weather scouting protocol result |
Paso 1 — Register a device
If you’re integrating a new sensor or station, create it first:id — you’ll use it when submitting events.
List existing devices
Paso 2 — Get climatic factors and protocols
Before submitting readings, identify the correct factor and protocol IDs for your measurement type.List climatic factors
| ID | Name |
|---|---|
1 | Lluvia (rainfall) |
| Other IDs | Temperature, wind, humidity, etc. |
List device event protocols
1, name "Lluvia", procedure: daily water accumulation recording.
List measure thresholds
Paso 3 — Submit sensor readings
Create a device event with the measured values:List device events
Weather anomalies
Weather anomalies are significant climate events (frost, hail, strong winds) that can be registered and tracked independently.List anomaly types
List anomalies
Create an anomaly
Additional IoT endpoints
| Endpoint | Description |
|---|---|
GET /api/v3/third_party/device_event_sample_groups | Sample groups list |
GET /api/v3/third_party/device_event_samples | Individual samples |
GET /api/v3/third_party/device_event_protocol_results | Protocol results |
GET /api/v3/third_party/device_event_measure_thresholds | Measure thresholds catalog |
Units for IoT measurements
For rainfall and other measurements, query the units endpoint with the appropriate category:mm for rainfall accumulation.
Frecuencia de sincronización recomendada
For automatic sensors sending readings continuously:- Push model (recommended): POST a new device event each time a reading is taken
- Pull model: use
updated_at_fromondevice_eventsto detect new readings from other systems - For daily rain gauges: one POST per day per device, at the end of the measurement period
Próximos pasos
Scouting
Combine IoT data with field observations
Sync Strategy
Efficiently sync historical device data