bluefoxlee / OpenCWB

Home Assistant for Opendata CWB. Get the weather forecast of the city in Taiwan.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Home assistant support for Opendata CWB (Taiwan Central Bureau). 中文版說明.

This integration is based on OpenWeatherMap (@csparpa, pyowm) to develop.

Install

You can install component with HACS custom repo: HACS > Integrations > 3 dots (upper top corner) > Custom repositories > URL: tsunglung/OpenCWB > Category: Integration

Or manually copy opencwb folder to custom_components folder in your config folder.

And do not forget to restart Home Assistant.

Reqirement

Apply a API key from Opendata CWB

  1. Browse to Opendata CWB account page.
  2. Login or register an account.
  3. Get your personal API Key.

API Key

Config

Please follow the config flow of Home Assistant

  1. With GUI. Configuration > Integration > Add Integration > OpneCWB a. If the integration didn't show up in the list please REFRESH the page. b. If the integration is still not in the list, you need to clear the browser cache.
  2. Enter API key from previous step.
  3. Enter the location name of Taiwan (in Chinese). Please reference to the official documents appendix A. a. Some location name need to include the city name. b. You could setup for scan interval for one call per hour or per day.

Buy Me A Coffee

If you think the add-on is useful for you, please consider to buy me a coffee for support my work.

Buy Me A Coffee

And for people live in Taiwan, you could use services below since Paypal might not wirk due to the goverment policy.

LINE Pay LINE Bank JKao Pay
Line Pay Line Bank JKo Pay

About

Home Assistant for Opendata CWB. Get the weather forecast of the city in Taiwan.

License:MIT License


Languages

Language:Python 100.0%