Solution PowerControl Limit Hour - ArveVM/MyAssistedHome GitHub Wiki

PwrCtrl Limit: (powerHourSave) - Define capacity-limit, calculate trend and adjust consumption to not overrun the capacity-limit (Might be a Norwegian speciality to limit usage within a clock-hour, with tarrif on max hourly usage throughout the month.

Functionality required:

  1. Utility meter for hourly consumption (accumulated kWh so far this hour)
  2. Lots of power-entities to be able to turn of to reduce consumption
  3. Dashboard:
    • yaml-dashboard (but you can copy dashboard-code to UI-dashboard/card

how it works:

  • Create input-number as capacity-limit,

    • and security treshold
    • sum of which will give an actionable limit
    • and a limit-level to granulate measures (Start soft then go harder if needed)
  • Calculate full hour trend, and current percentage towards trend (deducted security-treshold)

  • Create groups of power-entities to turn off (powerhoursave) to get under the target for hourly usage

  • create action to turn off first group when hourly trend get above security treshold

  • create action to turn off next group when hourly trend is above security treshold for 10minutes (or go below treshold and then above again) - and repeat

  • create action to turn off last group when power get below 80% of security treshold (to use power wanted)

  • Eva HAN Instant power usage, estimate full hour