Skip to content

Fetch weather inforrmation from Climatempo on Home Assistant

Notifications You must be signed in to change notification settings

guieiras/home-assistant-climatempo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Assistant Climatempo component

A Weather component that fetches current weather conditions and forecast from Climatempo.

Installation

Copy repository content to your Home Assistant config/custom_components folder. You can use Samba server for instance.

Configuration

  1. Get an API key for Climatempo API. Login and create a project on https://advisor.climatempo.com.br and copy your project token.

  2. Search for your locale code using http:https://apiadvisor.climatempo.com.br/api/v1/locale/city?name=your-city&state=your-state&token=your-project-token

  3. Enable request to your locale using the following code:

curl -X PUT \
     'http:https://apiadvisor.climatempo.com.br/api-manager/user-token/your-project-token/locales' \
         -H 'Content-Type: application/x-www-form-urlencoded' \
         -d 'localeId[]=your-locale-code'
  1. Add the following code to your configuration.yaml:
weather:
  - platform: climatempo
    name: <whatever you want> (optional, default "weather")
    api_key: <your-project-token>
    locale: <your-locale-code>

About

Fetch weather inforrmation from Climatempo on Home Assistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages