Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/diarpicu2022-commits/frontend-AgroPulse/llms.txt

Use this file to discover all available pages before exploring further.

AgroPulse provides two complementary views for understanding your historical data. Analytics renders interactive line charts for every sensor type, lets you zoom into a specific greenhouse, and exports the underlying data. Reports manages a list of scheduled email deliveries so stakeholders receive sensor summaries automatically without logging in.

Analytics

Sensor charts

The Analytics page displays one line chart per sensor type. In global mode (no greenhouse selected) three fixed charts are shown by default:
SensorUnitColor
Interior temperature°COrange
Ambient humidity%Sky blue
Soil moisture%Green
When you select a specific greenhouse, the page auto-detects all sensor types present in that greenhouse’s readings and renders a chart for each one. The full set of supported types is:
TypeLabelUnit
TEMPERATURETemperatura°C
TEMPERATURE_INTERNALTemperatura Interior°C
TEMPERATURE_EXTERNALTemperatura Exterior°C
HUMIDITYHumedad Ambiente%
SOIL_MOISTUREHumedad del Suelo%
LIGHTLuminosidadlx
CO2CO₂ppm
PRESSUREPresiónhPa
Each chart card includes a stat row showing Min, Max, Avg, and Current for the selected period.

Time range filter

Three time ranges are available from a selector bar at the top of the charts grid.
OptionCoverage
Últimas 24hPrevious 24 hours, X-axis shows HH:MM
Últimos 7 díasPrevious 7 days, X-axis shows abbreviated weekday and date
Últimos 30 díasPrevious 30 days, X-axis shows day and month

Greenhouse filter

Chip buttons above the range selector list every greenhouse in your account. Click a chip to scope all charts to that greenhouse. The Todos chip restores the global view. When two or more greenhouses exist and the global view is active, an Activity by greenhouse breakdown appears below the charts. It shows each greenhouse’s reading count, percentage share of total readings, and average temperature for the selected period. Each row has a Ver link to switch to that greenhouse’s view and a CSV shortcut to export just that greenhouse’s data.

Summary card

Below the charts, a summary card shows the total reading counts grouped by sensor category (temperature, humidity, soil, and total) for the active period and greenhouse selection.

Exporting data

CSV export

Downloads a .csv file with columns: Fecha/Hora, Tipo de Sensor, Valor, Unidad, Invernadero, and Origen. In global mode the file is named agropulse-global-YYYY-MM-DD.csv; per-greenhouse exports use the greenhouse name.

PDF report

Opens a print-preview page containing an executive summary table (Min / Max / Avg for the top four sensor types) followed by a full data table of up to 500 readings. Use the browser’s Print → Save as PDF option to save it.
Click Refrescar to reload readings from the server without changing the current filter.

Reports

The Reports page manages automated email delivery of sensor summaries. Reports are scoped to individual greenhouses — you must select a greenhouse chip before you can schedule a new delivery.

Report schedules

Each scheduled report (ReportDto) has the following fields:
FieldTypeDescription
idnumberUnique schedule identifier
typestringDelivery frequency: daily, weekly, or monthly
createdAtstringISO timestamp when the schedule was created
fileUrlstring (optional)URL of the most recently generated report file

Frequency options

Daily

Sent every day at 8:00 AM. Useful for high-intensity monitoring periods or crops with tight tolerance windows.

Weekly

Sent every Monday at 8:00 AM. A good default for most greenhouse operations.

Monthly

Sent on the 1st of each month at 8:00 AM. Suitable for long-term trend reviews and management summaries.

Scheduling a report

  1. Select a greenhouse chip to enable scheduling for that location.
  2. Click Agendar to open the form.
  3. Enter the recipient email address (pre-filled with your account email).
  4. Select Diario, Semanal, or Mensual.
  5. Click Agendar to confirm. The new entry appears in the list immediately.

Managing existing schedules

Each schedule card shows the recipient email, frequency label, and linked greenhouse. From the card you can:
  • Enviar — Trigger an immediate one-off delivery to that address via POST /api/reports/send-email.
  • Delete (trash icon) — Remove the schedule from the local list with an animated exit. The entry is removed from the localStorage cache immediately.

On-demand CSV download

Click Descargar ahora at any time to generate and download a fresh daily CSV for all greenhouses without creating a recurring schedule.
Schedule data is cached in localStorage under the key agropulse_reports_v1 so the list loads instantly on revisit even before the server responds.

Build docs developers (and LLMs) love