All Projects → r-renato → ha-climacell-weather

r-renato / ha-climacell-weather

Licence: MIT License
Climacell weather provider integration is a custom component for Home Assistant. The climacell platform uses the Climacell API as a source for meteorological data for your location.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ha-climacell-weather

ad-alexatalkingclock
Alexa (or other Smart Speakers) tell you the time without asking every hour. Please ⭐️if you like my app :)
Stars: ✭ 30 (-26.83%)
Mutual labels:  home-assistant, hacs
ha-config-ataraxis
My Home Assistant Configs. If you like what you see, please ⭐️my repo. It would encourage me a lot 🤘
Stars: ✭ 146 (+256.1%)
Mutual labels:  home-assistant, hacs
hass-hue-icons
Additional vector icons for home assistant to model Philips Hue bulbs and fixtures.
Stars: ✭ 161 (+292.68%)
Mutual labels:  home-assistant, hacs
homeassistant ecowitt
Ecowitt Weather Station integration for homeassistant
Stars: ✭ 90 (+119.51%)
Mutual labels:  home-assistant, hacs
home-assistant-sun-card
Home assistant sun card based on Google weather design
Stars: ✭ 279 (+580.49%)
Mutual labels:  home-assistant, hacs
lovelace-battery-entity-row
Show battery states or attributes with dynamic icon on entity rows in Home Assistant's Lovelace UI
Stars: ✭ 49 (+19.51%)
Mutual labels:  home-assistant, hacs
Home-Assistant-custom-components-DPC-Alert
Italy Meteo-hydro alert and hydrogeological phenomena Civil Protection (Protezione Civile). In this custom component you can find the vigilance Bulletin and the Bulletin of national hydrogeological and hydraulic criticalities. They allow to check whether in your current location there will be criticalities/warnings related to weather-hydrogeolog…
Stars: ✭ 31 (-24.39%)
Mutual labels:  home-assistant, hacs
hass-pandora-cas
Home Assistant custom component for Pandora Car Alarm System
Stars: ✭ 15 (-63.41%)
Mutual labels:  home-assistant, hacs
WebRTC
Home Assistant custom component for viewing IP cameras RTSP stream in real time using WebRTC and MSE technology
Stars: ✭ 538 (+1212.2%)
Mutual labels:  home-assistant, hacs
hass-livebox-component
Livebox Component for Home assistant
Stars: ✭ 24 (-41.46%)
Mutual labels:  home-assistant, hacs
ha-gismeteo
Gismeteo Weather Provider for Home Assistant
Stars: ✭ 84 (+104.88%)
Mutual labels:  home-assistant, hacs
hass-shutter-card
Shutter card for Home Assistant Lovelace UI
Stars: ✭ 151 (+268.29%)
Mutual labels:  home-assistant, hacs
sensor.goveetemp bt hci
Govee Temperature/Humidity BLE Home Assistant Component
Stars: ✭ 141 (+243.9%)
Mutual labels:  home-assistant, hacs
sensor.avanza stock
Custom component to get stock data from Avanza for Home Assistant
Stars: ✭ 30 (-26.83%)
Mutual labels:  home-assistant, hacs
linak-desk-card
Home Assistant Lovelace Card for controlling desks based on linak bluetooth controller.
Stars: ✭ 26 (-36.59%)
Mutual labels:  home-assistant, hacs
ynab
YNAB component for Home Assistant
Stars: ✭ 26 (-36.59%)
Mutual labels:  home-assistant, hacs
uptime-card
Minimalistic uptime card for Home Assistant Lovelace UI
Stars: ✭ 152 (+270.73%)
Mutual labels:  home-assistant, hacs
hifiberry
This is a custom component to allow control of HifiberryOS devices in Home Assistant using the audiocontrol2 REST API.
Stars: ✭ 26 (-36.59%)
Mutual labels:  home-assistant, hacs
homeassistant-powercalc
Custom component to calculate estimated power consumption of lights and other appliances
Stars: ✭ 261 (+536.59%)
Mutual labels:  home-assistant, hacs
openrgb ha
OpenRGB integration for Home Assistant
Stars: ✭ 40 (-2.44%)
Mutual labels:  home-assistant, hacs

ClimaCell weather service provider integration

... is a custom component (sensor) for Home Assistant.

Made By: @r-renato

Original Repo

The ClimaCell platform uses the ClimaCell API version 4 as a source for meteorological data for your location.

hacs_badge

License

BuyMeCoffee

To use this component you must obtain an API version 4 key. Visit the ClimaCell site to learn how to obtain one.

WARNING

In December 2020, Climacell released released version 4 of ClimaCell API and announced that version 3 will be sunset on July 1, 2021. On this date, all requests made against v3 will fail. For more details read on ClimaCell

This new component version is based on Climacell API version 4 and is not backward compatible with the previous component (based on Climacell API version 3 ). The ClimaCell API version 3 are fundamentally different from API version 4, they contains two different set of sensors. Please check the differences before use: ClimaCell Layers Overview

Migration from previous component version (based on API version 3)

To make the integration API V4 compatible it has been largely restructured. We tried to make it backward compatible regarding configuration and sensor names but there might be some corner cases where the sensor names change when upgrading.

The API version 3 authorization key don't work with the API version 4. If you use an API version 3 authorization key then you must retrieve a new authorization key, visit the ClimaCell site to learn how to obtain one.

Manual installation

  1. Using the tool of choice, open the directory (folder) of your HA configuration (there you can find configuration.yaml).
  2. If you do not have a custom_components directory (folder) there, you need to create one.
  3. In the custom_components directory (folder) create a new folder called climacell.
  4. Download all the files from this repository.
  5. Place the content of the custom_components/climacell/ directory (folder) in the new directory (folder) you created.

Configuration

To use the ClimaCell custom component you must first obtain an v4 API key.

Sensor variables

api_key
(string)(Required)
Your API key.
name
(string)(Optional)
Additional name for the sensors. PS The name of the sensor always starts with the prefix cc
Default value:
climacell
latitude
(float)(Optional)
Latitude coordinate to monitor weather of (required if longitude is specified).
Default value:
coordinates from the Home Assistant configuration
longitude
(float)(Optional)
Longitude coordinate to monitor weather of (required if latitude is specified).
Default value:
Coordinates from the Home Assistant configuration
units
(string)(Optional)
Specify the unit system. Valid options are imperial, metric.
Default value:
metric or us, based on the temperature preference in Home Assistant
timelines
(object list)(Required)
List of timeline specification. Each list item is an object with the following variables.
name
(string)(Required)
Name of timeline used for naming the sensors.
fields
(string list)(Required)
Conditions to view. These depend on the type of service, see the section below for more details.
timestep
(string)(Optional)
Step length for observations consisting of an integer value followed by 'm' for minute, 'h' for hour or 'd' for day.
Default value:
1d
forecast_observations
(integer)(Optional)
Number of timesteps for which you would like to receive forecast.
Default value:
5
scan_interval
(time)(Optional)
Minimum time interval between updates.
Default value:
5 minutes
exclude_interval
(array of object)(Optional)
Intervals excluded from the update to use to reduce the number of the API calls. Each interval consists of a pair of values and indicates the start and end of the update exclusion. In particular you can specify from 1 to 20 different ranges.
Example
exclude_interval:
 1:      # range
  - "23:30" # start
  - "06:00" # end
Default value:
None
start_time
(integer)(Optional)
Number of minutes in future (+) or past (-) from the current time to start the timeline. The availability depends on timestep and requested fields.
Default value:
0

Condition information

The available Fields and suffixes can be found in the climacell dodumentation. The old field names can still be used.

You can put the suffixes "Max", "Min", "Avg", "MaxTime" or "MinTime" at the end of the field name to get the maximum, minimum, average, time of maximum and time of minimum in the selected timestep respectively. So to get the maximum temperature you would use the field temperatureMax.

For mapped values (e.g. weatherCode) the prefix "Raw" will disable mapping.

Integration Examples

sensor:
  # Weather climatecell.co
  - platform: climacell
    api_key: !secret climacell_api_key
    name: example
    latitude: !secret gps_geo_home_lt
    longitude: !secret gps_geo_home_ln
    units: metric
    timelines:
      - name: "" #Realtime
        timestep: "1m"
        forecast_observations: 1
        fields:
          - temperatureMax
          - feels_like
          - humidity
          - wind_speed
          - wind_direction
          - wind_gust
          - pressure
          - precipitationIntensity
          - precipitation_type
          - visibility
          - cloud_cover
          - weather_condition
          - pm25
          - pm10
          - o3
          - no2
          - co
          - so2
          - epa_aqi
          - epa_health_concern
          - pollen_tree
          - pollen_weed
          - pollen_grass
          - fire_index
        update: auto
        scan_interval:
          # At least one of these must be specified:
          days: 0
          hours: 1
          minutes: 0
          seconds: 0
          milliseconds: 0
        exclude_interval:
          1:
            - "00:00"
            - "07:00"
      - name: "" #Daily
        timestep: "1d"
        forecast_observations: 5
        fields:
          - temperature
          - temperatureMin
          - temperatureMax
          - precipitationIntensityMin
          - precipitationIntensityMax
          - precipitation_probability
          - weather_condition
        scan_interval:
          # At least one of these must be specified:
          days: 0
          hours: 4
          minutes: 0
          seconds: 0
          milliseconds: 0
        exclude_interval:
          1:
            - "23:00"
            - "06:30"

The climacell custom component exposes a sensor for each monitored condition. An example of data provided by a climacell sensor is the following:

Sensor name State Sensor attributes Value
cc_temperature 13.2 attribution Powered by Climacell
unit_of_measurement C
observation_time 2020-04-30T02:40:47.390Z
friendly_name Temperature
icon mdi:thermometer
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].