Giter VIP home page Giter VIP logo

ha-yandexweather's Introduction

version_badge

Yandex weather data provider for Home Assistant

This custom integration is providing weather component and set of sensors based on data from yandex weather service.

Important

Currently Yandex have blocked free tarif for new users, check #104 for meore details, so new users can't obtain personal API key to get weather data via API. Stay tuned.

Installation

HACS

hacs_badge HACS Action Validate with hassfest

  1. Go to HACS
  2. Start typing "Yandex weather" in search field
  3. Press "Download" button
  4. Restart Home Assistant

Manual

  1. Download yandex_weather.zip from the latest release
  2. Unpack to custom_components folder (it should look like custom_components/yandex_weather/<files>)
  3. Restart Home Assistant

Configuration

  1. Go to Yandex developer page
  2. Add Weather API with "Test tariff" (3000 requests for 30 days for free)
  3. Switch to "Weather for web-site tariff" (50 requests per day for free). It may require up to 30 minutes for activating key.
  4. Save API key
  5. Go to Home Assistant settings
    • Integrations
    • Add
    • Start typing "Yandex weather" (clean browser cache if nothing found)
    • Add integration
    • Put API key into API key field

Usage

Weather

  • added_in_version_badge attribute forecast icons with Yandex forecast weather state images (check #78 for details)
  • added_in_version_badge pressure, wind speed and other unit may be customized
  • added_in_version_badge forecast data is available for next two periods (morning/day/evening/night)

attributes

  • entity_picture:
    • added_in_version_badge native Yandex.Weather .svg picture for weather condition
    • added_in_version_badge picture based on one of selected source (see #30 for details):

Sensors

Most sensors are disabled by default to not overload system.

  • added_in_version_badge data update time -- when weather data was updated (at Yandex side).
  • added_in_version_badge original_condition -- native Yandex.Weather condition. Because Yandex weather conditions is richer than Home Assistant, some different Yandex.Weather conditions is mapped to same Home Assistant. This sensor will keep original condition.
  • added_in_version_badge pressure_mmhg -- pressure in mmHg units. Home Asistant is prefer Pa as pressure units, but mmHg is more familiar for some countries. This sensor is enabled by default.
  • added_in_version_badge minimal_forecast_temperature -- minimal temperature for all forecast periods.

Events

added_in_version_badge integration will fire events on weather condition changes. This events may be used for triggering automatizations.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.