> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sophiabarnes.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Análisis de riego

> Analiza las lecturas de humedad del suelo desde un notebook de Jupyter.

<a href="/mintlify-demo/v1.1/watering-analysis.ipynb" download="watering-analysis.ipynb">Descargar el notebook (.ipynb)</a>

Este notebook muestra cómo analizar las lecturas de **humedad del suelo** de tus sensores.

```python theme={null}
readings = [40, 45, 38, 47]
avg = sum(readings) / len(readings)
print(f"Average moisture: {avg}%")
```

```text Output theme={null}
Average moisture: 42.5%
```

## Próximos pasos

* Configura un disparador de humedad por debajo del 35 %
* Revisa el panel

```python theme={null}
'water now' if avg < 45 else 'ok'
```

```text Output theme={null}
'water now'
```
