Integrate HP/HC/Tempo rates at the home level for scenes and automation

Context

Today, Gladys already allows managing energy tariffs in the Energy Monitoring module, with the ability to define:

  • peak hours / off-peak hours
  • multiple time slots in a single day
  • different types of days or tariffs, for example Tempo / blue / white / red days

This is great for energy monitoring and cost calculations.

However, in my view a more global integration is missing in Gladys: the house itself does not “know” which tariff it is in at time T.

Need

The idea would be to associate an energy tariff with a house, directly in:

Settings → Houses

Somewhat on the same principle as what already exists for the alarm settings of each house.

The objective would be that Gladys can know at all times, for each house:

  • whether it is currently in peak hours
  • in off-peak hours
  • in a specific time slot
  • on a Tempo blue / white / red day
  • more generally, in the current active tariff

Why this would be useful

This would allow exploiting this information natively in scenes, without having to recreate all the logic manually with:

  • schedules
  • multiple conditions
  • special days
  • intermediate variables
  • external automations

Usage examples:

  • run certain appliances only during off-peak hours
  • block an energy-hungry scene during a red day
  • adapt an electric vehicle’s charging according to peak/off-peak/Tempo
  • trigger heating, the hot water tank or other uses depending on the actual current tariff
  • simply display in Gladys the house’s current tariff state

Functional proposal

Option 1: direct configuration at the house level

In Settings → Houses, add a section like:

Energy pricing

  • Enable tariff management for this house
  • Select the mode:
    • Peak / Off-peak (HP / HC)
    • Peak / Off-peak multi-slot (HP / HC multi-slot)
    • Tempo / colored days
    • other future model
  • Define or link the time slots and day types

Option 2: link with the Energy Monitoring meter

A probably more coherent approach would be to allow linking an energy meter to the house.

For example:

  • in the house configuration, select the associated main meter
  • Gladys retrieves from this meter the configuration already present in Energy Monitoring
  • Gladys automatically deduces the house’s current tariff

This would avoid duplicating settings already entered in the energy tariffs.

What Gladys could expose next

Once configured, Gladys could make available for each house information usable in scenes, such as:

  • current_energy_tariff
  • is_off_peak
  • is_peak
  • tempo_color
  • current_tariff_label

Or more simply provide native conditions such as:

  • If the house is currently in off-peak hours
  • If the house is currently in peak hours
  • If the house is currently on a red / white / blue day
  • If the active tariff is X

Overall benefit

I find this would be a very logical evolution, because:

  • the notion of house already exists in Gladys
  • energy tariffs also already exist
  • but the link between the two is missing to make the information actionable in scenes

This would greatly strengthen Gladys’s smart energy / intelligent automation aspect, while remaining consistent with the existing features.


In summary

I therefore propose:

  • to add tariff management linked to each house
  • ideally relying on the main meter from Energy Monitoring
  • so that Gladys knows at all times which tariff the house is in
  • and that this information is natively usable in scenes

En ce moment j’utilise HA pour gérer mes charges / décharges batteries solaire, réduire ma production solaire quand mes batteries sont pleines, charger la Tesla selon différents scénario, mettre en route des machines tout cela avec une gestion HP/HC.

Tout cela est fait dans des automations / script ultra complexe, et donc également à maintenir / modifier. De plus HA à visiblement l’air de galérer à certains moment.

Je suis persuadé que Gladys pourrait faire cela assez simplement.

Absolutely!

FYI we already have a scene action « Condition on EDF Tempo »:

We could add another condition for peak/off-peak hours

1 Like

Indeed it would be great if that were integrated by default.
At my place I already have all that and on top of that I have the balance of Tempo days :wink:



3 Likes