All Projects → swartjean → ha-eskom-loadshedding

swartjean / ha-eskom-loadshedding

Licence: Apache-2.0 license
Fetches loadshedding data from Eskom

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ha-eskom-loadshedding

ha-zoom-automation
Custom Home Assistant component for Zoom. Tracks when you are connected to a Zoom call by default but may allow you to track more.
Stars: ✭ 47 (-2.08%)
Mutual labels:  integration, homeassistant, hacs, custom-component
home-assistant-p2000
🚒 This component tracks P2000 emergency events in The Netherlands.
Stars: ✭ 45 (-6.25%)
Mutual labels:  homeassistant, hacs, custom-component
ledfxrm
Custom Integration for Home Assistant to control a any (local/remote) LedFX-server - State: beta
Stars: ✭ 31 (-35.42%)
Mutual labels:  homeassistant, hacs, custom-component
ha-birthdays
Birthday integration for HomeAssistant
Stars: ✭ 14 (-70.83%)
Mutual labels:  integration, homeassistant, custom-component
openrgb ha
OpenRGB integration for Home Assistant
Stars: ✭ 40 (-16.67%)
Mutual labels:  homeassistant, hacs, custom-component
home-assistant-frigidaire
Custom component for the Frigidaire integration
Stars: ✭ 11 (-77.08%)
Mutual labels:  homeassistant, hacs, custom-component
ltss
Long time state storage (LTSS) custom component for Home Assistant using Timescale DB
Stars: ✭ 34 (-29.17%)
Mutual labels:  homeassistant, hacs, custom-component
panasonic smart app
Panasonic Smart App integration for Home Assistant.
Stars: ✭ 22 (-54.17%)
Mutual labels:  integration, homeassistant, hacs
container
Custom containers for various usecases
Stars: ✭ 12 (-75%)
Mutual labels:  integration, homeassistant, custom-component
DahuaVTO
Control Dahua VTO/VTH devices from Home Assistant
Stars: ✭ 98 (+104.17%)
Mutual labels:  integration, homeassistant
home assistant omnik solar
Home Assistant Omnik Solar sensor component
Stars: ✭ 15 (-68.75%)
Mutual labels:  integration, homeassistant
home-assistant-theme-outline
🎨 Home Assistant Theme: Outline
Stars: ✭ 20 (-58.33%)
Mutual labels:  homeassistant, hacs
ha-sengledapi
Home Assistant Integration for Sengled Bulbs. This is a custom component to allow control of Sengled Bulbs in Homeassistant using the unofficial Sengled API. Please note this mimics the Sengled app and therefore Sengled may cut off access at anytime.
Stars: ✭ 85 (+77.08%)
Mutual labels:  homeassistant, hacs
thermal
Thermal Vision Sensor and Camera for Home Assistant
Stars: ✭ 43 (-10.42%)
Mutual labels:  homeassistant, hacs
ytube music player
YouTube music player for homeassistant
Stars: ✭ 226 (+370.83%)
Mutual labels:  homeassistant, custom-component
home-assistant-miele
Miele integration for Home assistant
Stars: ✭ 101 (+110.42%)
Mutual labels:  homeassistant, hacs
Pyscript
Pyscript adds rich Python scripting to HASS
Stars: ✭ 219 (+356.25%)
Mutual labels:  integration, homeassistant
ESPHome-Devices
A collection of ESPHome custom components, configuration files, and custom code for my various ESP8266/ESP32 devices that integrate with Home Assistant.
Stars: ✭ 83 (+72.92%)
Mutual labels:  esp, homeassistant
custom-brand-icons
Custom brand icons for Home Assistant
Stars: ✭ 242 (+404.17%)
Mutual labels:  homeassistant, hacs
homeassistant-jlrincontrol
An integration for JLR InControl to Home Assistant
Stars: ✭ 34 (-29.17%)
Mutual labels:  homeassistant, hacs

Eskom Loadshedding Interface

GitHub Release GitHub Activity License

hacs maintainer BuyMeCoffee

This component integrates with the EskomSePush API to provide loadshedding-related status information.

An EskomSePush API key is required in order to use this integration. Please visit the EskomSePush website to sign up and view API documentation.

This component will set up the following platforms:

Platform Description
sensor Shows loadshedding status information for various areas.
calendar Shows upcoming loadshedding event and schedule information for your area.

This component will create the following entities:

Entity Description
sensor.loadshedding_api_quota The EskomSePush API quota associated with your API key.
sensor.loadshedding_national_status The current national loadshedding stage for Eskom-supplied customers.
sensor.loadshedding_cape_town_status The current loadshedding stage for City of Cape Town customers.
sensor.loadshedding_local_status The current loadshedding stage for your specific area.
calendar.loadshedding_local_events Calendar of upcoming loadshedding events for your specific area.
calendar.loadshedding_local_schedule Calendar containing the full 7-day loadshedding schedule for your specific area.

The component update period defaults to 2 hours in order to avoid excess API quota consumption. This can be edited through the integration configuration, but you are responsible for monitoring your own API usage.

The recommended way to automate actions around loadshedding events is to use calendar triggers. Below is an example of a simple automation to turn off a switch one hour before any loadshedding event in your area:

alias: Loadshedding Notification
trigger:
  - platform: calendar
    event: start
    entity_id: calendar.loadshedding_local_events
    offset: "-1:0:0"
action:
  - service: homeassistant.turn_off
    data: {}
    target:
      entity_id: switch.example_device
mode: queued

Note that by installing this integration you are using it at your own risk. Neither the creators of this integration, nor the EskomSePush team, will be held responsible for any inaccuracies or errors in the loadshedding information presented.

Installation

Note that an EskomSePush API key is required in order to use this integration

  1. Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
  2. If you do not have a custom_components directory (folder) there, you need to create it.
  3. In the custom_components directory (folder) create a new folder called eskom_loadshedding.
  4. Download all the files from the custom_components/eskom_loadshedding/ directory (folder) in this repository.
  5. Place the files you downloaded in the new directory (folder) you created.
  6. Restart Home Assistant
  7. In the HA UI go to "Settings" -> "Devices & Services", then click "+ Add Integration" and search for "Eskom Loadshedding Interface"
  8. Complete the initial configuration by entering your EskomSePush API key and selecting your loadshedding zone

Configuration is done in the UI

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