Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lennon101/3663ba930c7c97c6fc7b2f8ecf93bec5 to your computer and use it in GitHub Desktop.
Save lennon101/3663ba930c7c97c6fc7b2f8ecf93bec5 to your computer and use it in GitHub Desktop.
Home Asssistant wind sensor card with wind vane and satellite view

image

Steps

  1. Take a screenshot of the satellite view of your house (or location of the weather station) and save to the following directory of your HA config: `config/www/'
  2. replace <file.jpg> in the config below with the name of your image
  3. You'll need to install the compass-card
  4. win :)
type: vertical-stack
title: Wind Speed & Direction
cards:
  - square: false
    columns: 2
    type: grid
    cards:
      - type: vertical-stack
        cards:
          - type: custom:mushroom-entity-card
            entity: sensor.ecowitt_windspeedkph
            icon: mdi:weather-windy
            name: Speed
            icon_color: yellow
          - type: custom:mushroom-entity-card
            entity: sensor.ecowitt_winddir
            icon: mdi:compass
            name: Direction
            icon_color: light-blue
          - type: custom:mushroom-entity-card
            entity: sensor.daily_mean_wind_speed
            name: Avg Speed
            icon: mdi:weather-windy-variant
      - type: vertical-stack
        cards:
          - type: custom:mushroom-entity-card
            entity: sensor.ecowitt_windgustkph
            icon: mdi:chart-sankey
            name: Wind Speed
            icon_color: pink
          - type: custom:mushroom-entity-card
            entity: sensor.ecowitt_maxdailygust
            icon: mdi:wind-power-outline
            name: Max Gust
            icon_color: purple
  - type: custom:compass-card
    indicator_sensors:
      - sensor: sensor.ecowitt_winddir
        indicator:
          type: arrow_inward
    value_sensors:
      - sensor: sensor.ecowitt_windspeedkph
    compass:
      circle:
        background_image: /local/<file.jpg>
        background_opacity: 0.5
      north:
        show: true
      east:
        show: true
      west:
        show: true
      south:
        show: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment