Interface ChargingService

  • All Implemented Interfaces:

    
    public interface ChargingService
    
                        

    Service to read and influence the charging behavior of the home power plant

    Since:

    2.0

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • readConfiguration

         abstract ChargingConfiguration readConfiguration()

        Reads the current configuration.

        The configuration contains both specification values and configured limits

        Returns:

        Current configuration

        Since:

        2.0

      • startManualCharge

         abstract Boolean startManualCharge(Integer amountWh)

        Starts a manual charging process for the battery. Attention: If there is not enough excess production, the battery is charged with mains power.

        Most home power stations only allow one manual charge per day. easy-rscp has no influence on this.

        The status of the charging process can be monitored using the readManualChargeState function.

        Parameters:
        amountWh - Amount of energy to be charged in Wh
        Returns:

        true if the start of the loading process was successful. Otherwise false

        Since:

        2.2

      • stopManualCharge

         abstract Boolean stopManualCharge()

        Stops a manual charging process.

        Returns:

        true if stopping the charging process was successful or no charging process is currently taking place. Otherwise false

        Since:

        2.2