{% extends "base.html" %} {% set title = "My Weather Dashboard" %} {% block head %} {% endblock %} {% block content %}

My Weather Dashboard

Add Location
{% if alerts %}

Weather Alerts

{% for alert in alerts %}
{{ alert.title }}

{{ alert.message }}

{% if alert.orchid_care_advice %} Orchid Care: {{ alert.orchid_care_advice }} {% endif %}
{% endfor %}
{% endif %} {% if locations %}
{% for location in locations %}

{{ location.name }}

ZIP: {{ location.zip_code }} | {{ location.growing_type|title }}
{% set weather = weather_data.get(location.id) %} {% if weather %}
{{ "%.1f"|format(weather.temperature) }}°C
Temperature
{{ "%.0f"|format(weather.humidity) }}%
Humidity
{{ "%.1f"|format(weather.wind_speed) }} km/h
Wind Speed
{{ "%.0f"|format(weather.pressure) }} hPa
Pressure
{% if weather.vpd %}
VPD: {{ "%.2f"|format(weather.vpd) }} kPa
{% if weather.vpd < 0.8 %}Too Low{% elif weather.vpd > 1.2 %}Too High{% else %}Optimal{% endif %}
{% endif %}
{% else %}
Weather data not available
{% endif %}
{% endfor %}
{% else %}

No Locations Added Yet

Add your first location by entering your ZIP code to get personalized weather for your orchids.

Add Your First Location
{% endif %}
{% endblock %}