Skip to content

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

License

Notifications You must be signed in to change notification settings

bluefoxlee/OpenCWB

 
 

Repository files navigation

Home assistant support for Opendata CWB (Taiwan Centtal 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.

Pre-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.

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. XD). Please reference to the offical documents appendix A. a. Some location name need to include the city name.

Option

  1. You could setup for the scan interval. 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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%