๐Ÿ“ฆ eifinger / hass-here-weather

Custom Home Assistant Integration for the HERE Destination Weather API

โ˜… 6 stars โ‘‚ 2 forks ๐Ÿ‘ 6 watching โš–๏ธ MIT License
hacktoberfesthacshacs-defaulthere-maps-apiherepyhome-assistanthomeassistanthomeassistant-custom-componenthomeassistant-integrationpyton
๐Ÿ“ฅ Clone https://github.com/eifinger/hass-here-weather.git
HTTPS git clone https://github.com/eifinger/hass-here-weather.git
SSH git clone git@github.com:eifinger/hass-here-weather.git
CLI gh repo clone eifinger/hass-here-weather
dependabot[bot] dependabot[bot] chore(deps-dev): bump blacken-docs from 1.13.0 to 1.14.0 (#282) e67c8c6 2 years ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ .devcontainer
๐Ÿ“ .github
๐Ÿ“ .vscode
๐Ÿ“ custom_components
๐Ÿ“ img
๐Ÿ“ tests
๐Ÿ“„ .codecov.yml
๐Ÿ“„ .codespell
๐Ÿ“„ .gitattributes
๐Ÿ“„ .gitignore
๐Ÿ“„ CHANGELOG.md
๐Ÿ“„ CONTRIBUTING.md
๐Ÿ“„ coverage.xml
๐Ÿ“„ hacs.json
๐Ÿ“„ info.md
๐Ÿ“„ LICENSE
๐Ÿ“„ mypy.ini
๐Ÿ“„ poetry.lock
๐Ÿ“„ pyproject.toml
๐Ÿ“„ README.md
๐Ÿ“„ README.md

here_weather

GitHub Release GitHub Activity License hacs HACS Installs Project Maintenance BuyMeCoffee Discord Community Forum Component to integrate with [HERE Destination Weather API]._ Weather example Sensors moonphases

Setup

You need to register for an API key here. HERE offers a Freemium Plan which includes 250,000 free Transactions per month. For the Destination Weather API, one transaction equals one request. By default HERE will deactivate your account if you exceed the free Transaction limit for the month.

Account Creation

  • When logged in, select "Projects Manager" from the top right corner
image
  • Create a new Project and select it or select an existing one (I already have my "old" one)
image
  • Under "Resources->Services" click "Link a Service"
image
  • Find "HERE Destination Weather" and click "Link"
image

Installation

  • Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
  • If you do not have a custom_components directory (folder) there, you need to create it.
  • In the custom_components directory (folder) create a new folder called here_weather.
  • Download all the files from the custom_components/here_weather/ directory (folder) in this repository.
  • Place the files you downloaded in the new directory (folder) you created.
  • Restart Home Assistant
  • In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "HERE Destination Weather"
Using your HA configuration directory (folder) as a starting point you should now also have this: ``text custom_components/here_weather/translations/en.json custom_components/here_weather/translations/de.json custom_components/here_weather/__init__.py custom_components/here_weather/config_flow.py custom_components/here_weather/const.py custom_components/here_weather/manifest.json custom_components/here_weather/sensor.py custom_components/here_weather/utils.py custom_components/here_weather/weather.py ``

Additional entities

The integration provides the following four modes:
  • Astronomy: Sunrise, Sunset and Moonphase
  • Hourly: Weather forecast in an hourly format
  • Daily: Weather forecast in a dailyformat
  • Daily Simple: Like Daily but with high/low temp, UV-index and pressure
  • Observation: Detailed precipitation for the next 24h
By default only the Daily Simple weather and sensor entities are enabled. To enable more entities go to the entities tab and enable them by hand: disabled</em>entities_img enable</em>entity_img

Contributions are welcome!

If you want to contribute to this please read the Contribution guidelines
Buy Me A Coffee