Class TimeOfUseTariffTibberImpl

java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.timeofusetariff.tibber.TimeOfUseTariffTibberImpl
All Implemented Interfaces:
OpenemsComponent, TimeOfUseTariff, TimeOfUseTariffTibber

public class TimeOfUseTariffTibberImpl extends AbstractOpenemsComponent implements TimeOfUseTariff, OpenemsComponent, TimeOfUseTariffTibber
  • Field Details

  • Constructor Details

    • TimeOfUseTariffTibberImpl

      public TimeOfUseTariffTibberImpl()
  • Method Details

    • deactivate

      protected void deactivate()
      Description copied from class: AbstractOpenemsComponent
      Handles @Deactivate of implementations. Prints log output.
      Overrides:
      deactivate in class AbstractOpenemsComponent
    • getPrices

      public TimeOfUsePrices getPrices()
      Description copied from interface: TimeOfUseTariff
      Gives electricity prices; one value per 15 minutes.

      E.g. if called at 10:05, the first value stands for 10:00 to 10:15; second value for 10:15 to 10:30.

      Specified by:
      getPrices in interface TimeOfUseTariff
      Returns:
      the prices;
      invalid reference
      TimeOfUsePrices#empty(java.time.ZonedDateTime)
      if no prices are known
    • debugLog

      public String debugLog()
      Description copied from interface: OpenemsComponent
      Gets some output that is suitable for a continuous Debug log. Returns 'null' by default which causes no output.
      Specified by:
      debugLog in interface OpenemsComponent
      Returns:
      the debug log output