From f6ef43be108c6e8c656d169d800d659f20a8808c Mon Sep 17 00:00:00 2001 From: DS_Starter Date: Fri, 22 Nov 2019 22:49:42 +0000 Subject: [PATCH] 93_DbRep: new command set adminCredentials and get storedCredentials, attribute useAdminCredentials, revise commandref (Forum: #105612) git-svn-id: https://svn.fhem.de/fhem/trunk@20563 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/93_DbRep.pm | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/fhem/FHEM/93_DbRep.pm b/fhem/FHEM/93_DbRep.pm index 5b0654caf..1d06da05f 100644 --- a/fhem/FHEM/93_DbRep.pm +++ b/fhem/FHEM/93_DbRep.pm @@ -13740,8 +13740,8 @@ sub bdump {
  • userExitFn - provides an interface to execute user specific program code.
    - To activate the interfaace at first you should implement the subroutine which will be - called by the interface in your 99_myUtls.pm as shown in by the example:
    + To activate the interfaace, at first you should implement the subroutine which will be + called by the interface in your 99_myUtils.pm as shown by the example:
             sub UserFunction {
    @@ -13766,10 +13766,11 @@ sub bdump {
     							   
     							   
    - The interface works generally without and independent from Events. - If the attribute is set, after every reading generation the Regex will be evaluated. - If the evaluation was "true", set subroutine will be called. - For further processing following parameters will be forwarded to the function:

    + The interface works generally without and independent from events. + If the attribute is set, after every reading creation in the device the Regex will be + evaluated. + If the evaluation is true, the subroutine will be called. + For further processing the following parameters are forwarded to the function:

    • $name - the name of the DbRep-Device
    • @@ -16267,7 +16268,7 @@ sub bdump {
    • userExitFn - stellt eine Schnittstelle zur Ausführung eigenen Usercodes zur Verfügung.
      Um die Schnittstelle zu aktivieren, wird zunächst die aufzurufende Subroutine in - 99_myUtls.pm nach folgendem Muster erstellt:
      + 99_myUtils.pm nach folgendem Muster erstellt:
               sub UserFunction {
      @@ -16293,9 +16294,9 @@ sub bdump {
       							   

    - Grundsätzlich arbeitet die Schnittstelle OHNE Eventgenerierung bzw. benötigt zur Funktion keinen - Event. Sofern das Attribut gesetzt ist, erfolgt Die Regexprüfung NACH der Erstellung eines - Readings. Ist die Prüfung WAHR, wird die angegebene Funktion aufgerufen. + Grundsätzlich arbeitet die Schnittstelle ohne Eventgenerierung bzw. benötigt zur Funktion keinen + Event. Sofern das Attribut gesetzt ist, erfolgt Die Regexprüfung nach der Erstellung jedes + Readings im Device. Ist die Prüfung wahr, wird die angegebene Funktion aufgerufen. Zur Weiterverarbeitung werden der aufgerufenenen Funktion folgende Variablen übergeben: