This component is an addition to the EPEX Spot integration.
EPEX Spot Sensor add one or more binary sensors which can be configured to turn on at the cheapest or most expensive time interval of the day. The length of the time interval can be configured, as well as whether the interval shall be used contiguously or intermittently.
If you like this component, please give it a star on github.
-
Ensure that HACS is installed.
-
Open HACS, then select
Integrations
. -
Select ⋮ and then
Custom repositories
. -
Set
Repository
to https://github.com/mampfes/ha_epex_spot_sensor
andCategory
to Integration. -
Install EPEX Spot Sensor integration via HACS:
If the button doesn't work: Open
HACS
>Integrations
>Explore & Download Repositories
and select integrationEPEX Spot Sensor
. -
Add helper(s) provided by EPEX Spot Sensor to Home Assistant:
If the button doesn't work: Open
Settings
>Devices & services
>Helpers
>Create Helper
and selectEPEX Spot Sensor
.
In case you would like to install manually:
-
Copy the folder
custom_components/epex_spot_sensor
tocustom_components
in your Home Assistantconfig
folder. -
Add helper(s) provided by EPEX Spot Sensor to Home Assistant:
If the button doesn't work: Open
Settings
>Devices & services
>Helpers
>Create Helper
and selectEPEX Spot Sensor
.
-
Earliest Start Time
Earliest time to start the appliance. -
Latest End Time
Latest time to end the appliance. Set it to same value as earliest start time to cover 24h. If set to smaller value than earliest start time, it automatically refers to following day. -
Duration
Required duration to complete the appliance. -
Remaining Duration Entity
Optional entity which indicates the remaining duration. If entity is set, it replaces the static duration. If the state of theRemaining Duration Entity
changes betweenEarliest Start Time
andLatest End Time
, the configuredEarliest Start Time
will be ignore and the latest change time of theRemaining Duration Entity
will the used instead. -
Price Mode
Selects whether the sensor shall react on the cheapest or the most expensive prices betweenEarliest Start Time
andLatest End Time
. -
Interval Mode
Selects whether the specified duration shall be completed in a single, contiguous interval or can be split into multiple, not contiguous intervals (intermittend
).
-
Earliest Start Time
Reflects the configuredEarliest Start Time
. -
Latest End Time
Reflects the configuredLatest End Time
. -
Duration
Reflects the used value for duration, which is either the configured duration if theRemaining Duration Entity
is not set; or the state of theRemaining Duration Entity
. -
Remaining Duration Entity
Optional entity which indicates the remaining duration. If entity is set, it replaces the static duration. -
Interval Start Time Reflects the actual start time of the interval, which is either the configured
Earliest Start Time
or the latest change time of theRemaining Duration Entity
if the state of the entity changed betweenEarliest Start Time
andLatest End Time
. -
Price Mode
Reflects the configuredPrice Mode
. -
Price Mode
Reflects the configuredInterval Mode
. -
Enabled
Set totrue
if current time is betweenEarliest Start Time
andLatest End Time
. -
Data
List of calculated intervals to switch sensor on, consisting ofstart_time
,end_time
andrank
(for Interval Mode intermittend only).