Todo sobre EL TIEMPO

Hay multitud de recursos en Internet para ver la predicción meteorológica. También hay un montón de opciones para integrar esta información en Home Assistant.

Tras haber evaluado distintas soluciones, te traigo mi configuración actual, bastante completa, en la que utilizo 4 tarjetas para no perderme ni un detalle.

Y en el vídeo veremos también una automatización que nos permitirá abrir el toldo cuando haga calor y el viento no sea fuerte; y cerrarlo al atardecer o si aparece alguna racha de viento.

Te dejo aquí el vídeo:

Y estos son los bloques de código que he utilizado:

TARJETA PLATINUM WEATHER

card_config_version: 8
entity_apparent_temp: sensor.aemet_temperature_feeling
entity_forecast_icon: sensor.aemet_condition
entity_forecast_max: sensor.aemet_daily_forecast_temperature
entity_forecast_min: sensor.aemet_daily_forecast_temperature_low
entity_humidity: sensor.aemet_humidity
entity_pop: sensor.aemet_rain_probability
entity_pressure: sensor.openweathermap_pressure
entity_rainfall: sensor.aemet_rain
entity_sun: sun.sun
entity_temperature: sensor.aemet_temperature
entity_update_time: sensor.aemet_station_timestamp
entity_uv_alert_summary: sensor.openweathermap_uv_index
entity_wind_bearing: sensor.aemet_wind_bearing
entity_wind_gust: sensor.aemet_wind_max_speed
entity_wind_speed: sensor.aemet_wind_speed
option_color_fire_danger: true
option_show_overview_decimals: true
option_show_overview_separator: true
option_static_icons: false
option_today_rainfall_decimals: true
option_today_temperature_decimals: true
section_order:
  - overview
  - slots
  - daily_forecast
  - extended
show_section_daily_forecast: false
show_section_extended: false
show_section_overview: true
show_section_slots: true
slot_l1: forecast_max
slot_l2: forecast_min
slot_l3: wind
slot_l4: pressure
slot_l5: remove
slot_l6: remove
slot_l7: remove
slot_l8: remove
slot_r1: pop
slot_r2: humidity
slot_r3: fire_danger
slot_r4: rainfall
slot_r5: remove
slot_r6: remove
slot_r7: remove
slot_r8: remove
text_card_title: El tiempo - AEMET
type: custom:platinum-weather-card
update_time_use_attr: false

TARJETA HOURLY WEATHER

type: custom:hourly-weather
entity: weather.aemet
name: Predicción meteorológica
num_segments: '24'
offset: '0'
icons: true
show_wind: barb-and-speed
show_precipitation_amounts: true
show_precipitation_probability: true
label_spacing: '2'

TARJETA WEATHER RADAR

type: custom:weather-radar-card
card_title: Radar meteorológico
data_source: RainViewer-Original
show_marker: false
static_map: false
show_zoom: true
square_map: false
show_recenter: true
show_playback: false
show_scale: false
show_range: false
extra_labels: false

AUTOMATIZACIÒN PARA ABRIR EL TOLDO

alias: "Toldo: abrir"
description: ""
trigger:
  - platform: template
    value_template: >-
      {{ now().strftime('%H') > as_timestamp(states('sensor.sun_next_noon'))|
      timestamp_custom('%H') }}
condition:
  - condition: numeric_state
    entity_id: sensor.aemet_wind_speed
    below: 25
    enabled: true
  - condition: numeric_state
    entity_id: sensor.aemet_temperature
    above: "25"
    enabled: true
action:
  - service: input_boolean.turn_on
    target:
      entity_id: input_boolean.toldo
    data: {}
mode: single

AUTOMATIZACIÓN PARA CERRAR EL TOLDO

alias: "Toldo: cerrar"
description: ""
trigger:
  - platform: time
    at: sensor.sun_next_setting
  - platform: numeric_state
    entity_id:
      - sensor.aemet_wind_speed
    above: 25
condition: []
action:
  - service: input_boolean.turn_off
    metadata: {}
    data: {}
    target:
      entity_id: input_boolean.toldo
mode: single
Scroll al inicio