Class HmConfiguration

java.lang.Object
com.hildeio.homematic.HmConfiguration

public class HmConfiguration extends Object
HomeMatic Konfigurationen
  • Field Details

    • log4Hilde

      @Autowired Log4Hilde log4Hilde
      Dependency Injection auf Log4Hilde
    • HM_CONFIG_FILE

      private static final String HM_CONFIG_FILE
      KONSTANTE fuer HomeMatic-Authentifizieurng.
      See Also:
    • JSON_API

      private static final String JSON_API
      KONSTANTE fuer Api-URL zu JSON-RPC
      See Also:
    • RFC_LOGIN

      private static final String RFC_LOGIN
      KONSTANTE fuer JSON-RPC zum Durchfuehren der Benutzeranmeldung.
      See Also:
    • RFC_LOGOUT

      private static final String RFC_LOGOUT
      KONSTANTE fuer JSON-RPC zum Beenden einer Sitzung.
      See Also:
    • RFC_INTERFACE_SET_VALUE

      private static final String RFC_INTERFACE_SET_VALUE
      KONSTANTE fuer JSON-RPC Prozedur zum setzen eines einzelnen Werts im Parameterset Values.
      See Also:
    • RFC_SYS_VAR_SET_BOOL

      private static final String RFC_SYS_VAR_SET_BOOL
      KONSTANTE fuer JSON-RPC zum Setzen des Werts einer Systemvariable vom Type bool.
      See Also:
  • Constructor Details

    • HmConfiguration

      public HmConfiguration()
  • Method Details

    • getHmConfigFile

      public FileInputStream getHmConfigFile()
      Laden der HomeMatic-Authentifizieurngsdatei.
      Returns:
      HomeMatic-Authentifizieurngsdatei
    • getHmValue

      public String getHmValue(String key) throws IOException
      Ermitteln des Wertes des uebergebenen Keys aus der Konfigdatei.
      Parameters:
      key - Key
      Returns:
      KeyValue
      Throws:
      IOException - Erforderliche Exception.
    • getUsername

      public String getUsername() throws IOException
      Ermitteln des Benutzername aus der Konfigdatei.
      Returns:
      Benutername
      Throws:
      IOException - Erforderliche Exception.
    • getPassword

      public String getPassword() throws IOException
      Ermitteln des Passworts aus der Konfigdatei.
      Returns:
      Passwort
      Throws:
      IOException - Erforderliche Exception.
    • getJsonUrl

      public String getJsonUrl() throws IOException
      Ermitteln des Pfads zur JSON-RPC.
      Returns:
      URI
      Throws:
      IOException - Erforderliche Exception.
    • getRfcLogin

      public String getRfcLogin()
      JSON-RPC zum Durchfuehren der Benutzeranmeldung
      Returns:
      JSON-RPC Prozedur
    • getRfcInterfaceSetValue

      public String getRfcInterfaceSetValue()
      JSON-RPC Prozedur zum setzen eines einzelnen Werts im Parameterset Values.
      Returns:
      JSON-RPC Prozedur
    • getRfcSysVarSetBool

      public String getRfcSysVarSetBool()
      JSON-RPC zum Setzen des Werts einer Systemvariable vom Type bool.
      Returns:
      JSON-RPC Prozedur
    • getRfcLogout

      public String getRfcLogout()
      JSON-RPC zum Beenden einer Sitzung.
      Returns:
      JSON-RPC Prozedur