Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added additional sensor and config info
  • Loading branch information
tiaanv authored Jan 19, 2021
1 parent 815124b commit 27da4bf
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,24 @@
[![BuyMeCoffee][buymecoffeebadge]][buymecoffee]

This is a simple component to integrate with the [Eskom Loadshedding API](https://loadshedding.eskom.co.za/LoadShedding) and provide [loadshedding](https://en.wikipedia.org/wiki/South_African_energy_crisis)-related status information.
Forked from [swartjean/ha-eskom-loadshedding](swartjean/ha-eskom-loadshedding)

This integration exposes a sensor for the current stage of loadshedding.
This integration exposes a sensor for the current stage of loadshedding. It also calculates the loadshedding shedule for COCT, and can provide a sensor indicating if the selected Area is currently in loadshedding, as well as when the next loadshedding slot for the selected area will be. this depends of course on the current loadshedding stage.

**This component will set up the following platforms.**

Platform | Description
-- | --
`sensor` | Show loadshedding status information.

**This component will create the following sensors.**

Sensor | Description
-- | --
`sensor.eskom_loadshedding_stage` | Show Current Loadshedding Stage from Eskom API (Numeric).
`sensor.eskom_loadshedding_load_shedding_active` | Is the configured Area currently in loadshedding (True/False).
`sensor.eskom_loadshedding_next_load_shedding` | When the next scheduled loadshedding for the area will take place (DateTime).

## Installation

1. Using the tool of choice open the directory (folder) for your HA configuration (where you find `configuration.yaml`).
Expand All @@ -30,6 +39,11 @@ Platform | Description

## Configuration is done in the UI

1. Configure the Scan Period (update frequency in seconds). Default is 900s.
2. Configure the Area as per COCT map.

NOTE: Long refresh rates kan delay the change of the sensor, as the current implementation does not run on ZERO hour, and refresh times are dependent on startup time. This generally is not an issue in practice. It just seems erratic if you are monitoring the sensor(s).

<!---->

[buymecoffee]: https://www.buymeacoffee.com/swartjean
Expand Down

0 comments on commit 27da4bf

Please sign in to comment.