Ankündigung

Einklappen
Keine Ankündigung bisher.

Linknx.xml ?

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #16
    Die Sperre für die Balkontüren würd ich mit einer Sperre direkt im Jalousieaktor machen. Wenn deine Logik mal aussteigt, stehst Du sonst vor verschlossener Tür. Wohl dem, der dann ein Handy mit Visu dabei hat......
    just my 2 cents

    Kommentar


      #17
      Zitat von knxtester Beitrag anzeigen
      <condition type="object" id="B" value="on" trigger="true" />
      </condition>
      das ist der Reed-Kontakt
      Zitat von knxtester Beitrag anzeigen
      ... ob man auch Unterconditionen programmieren kann? Sozusagen
      - Condition Sunset.
      --- Alle Stores vor Fenstern fahren runter.
      --- Untercondition für jede Balkontür
      ----- Bei geschlossener Tür fährt der Store runter.
      Geht das?
      Es gehen pro conditions-container mehrere conditions
      und darauf folgt dann die action-list mit den verschiedenen actions.

      Jedes Fenster braucht wohl eine einzelne rule, denke ich.
      Grüsse Bodo
      Fragen gehören ins Forum, und nicht in mein Postfach;
      EibPC-Fan; Wiregate-Fan; Timberwolf-Fan mit 30x 1-Wire Sensoren;

      Kommentar


        #18
        hi,

        gibt's da nicht dass conditional in der actionlist?

        Aus eigener Erfahrung: Mach den Reed als Sperrobject. die Logik kannst ja für die rolladen nehmen, aber ich würde sicher stellen dass die nicht fahren wenn die Türen offen sind.
        ich hab mich so schon ausgesperrt, ohne Handy und Schlüssel

        Gruß

        Kommentar


          #19
          Zitat von vlamers Beitrag anzeigen
          gibt's da nicht dass conditional in der actionlist?
          Hoi

          Echt, da gibt's was?
          Hmmm hab' ich's nie benutzt, weil ich's nicht vestanden hab?
          Oder umgekehrt? Oder ist das neu?
          Grüsse Bodo
          Fragen gehören ins Forum, und nicht in mein Postfach;
          EibPC-Fan; Wiregate-Fan; Timberwolf-Fan mit 30x 1-Wire Sensoren;

          Kommentar


            #20
            ich hab es seit der 30er Version im wiki entdeckt.
            ich hab damals auch nur kurz getestet. mir ist nicht eingefallen für was ich dass brauchen könnt

            Gruß

            Kommentar


              #21
              HI nochmal,
              wenn ich ein Sperrobjekt verwende, sperrt das dann nicht auch das absichtliche Hochfahren? Das wäre für eine Befreiungsaktion von aussen
              nicht wirklich hilfreich.
              Da ich hier sowieso eine zeitgesteuerte Verschattung zur Nacht hin programmiere, würde diese bei abgestürztem Rechner sowieso nicht funktionieren.
              Das Hochfahren soll immer funktionieren.
              Die Sperre will ich nur beim Runterfahren einbauen.

              Ich habe das condition in action mal hier angehängt - hat das einer am Laufen (Codesnip wäre super).

              Den TRIGGER habe ich auch noch nicht voll verstanden. Wann genau muss ich den verwenden?


              conditional

              One condition child elements that is evaluated when the action is executed.
              One or more action child elements to execute if condition above is true.

              Example

              <action type="conditional">
              -<condition type="object" id="alarm_email_enabled" value="on" />
              -<action type="send-email" to="help@example.com" subject="Foreign contaminant">Intrusion in your shrubbery!</action>
              </action>

              The condition doesn't allow use of trigger attribute because the evaluation is triggered by the action execution.
              If parameter delay is added to the <action type="conditional"> tag, the condition will be evaluated after the delay has elapsed.

              Kommentar


                #22
                Ja dass stimmt aber kannst du nicht im aktor einstellen was der machen soll wenn dass sperrobject ausgelöst wird? Z.b dass er dann selbstständig hoch fährt? Bei einer befreiungs aktion, dürfte innen keiner sein der den rolladen auffährt!?

                Hab die rolladen über plugins im WG. Aber so wie du dass oben hast müsste dass ja gehen in der acrionlist.

                Also nur als beispiel:
                Code:
                <rule id="rolladen_reed">
                <condition type="object" id="Tag" trigger="true" value="off"/>
                <actionlist>
                <action type="conditional">
                <condition type="object" id="reedA" trigger="true" value="on"/>
                <action type="set-value" id="rolladen_xyA" value="off"/>
                </action>
                < action type="conditional">
                <condition type="object" id="reedB" trigger="true" value="on"/>
                <action type="set-value" id="rolladen_xyB" value="off"/>
                </action>
                </actionlist>
                </rule>
                Sollte so funktionieren, ist aber ungetestet...

                Gesendet von meinem A500 mit Tapatalk 2

                Kommentar


                  #23
                  Der Code ist schon nicht schlecht. Das ist genau mein Ansatz!

                  Nur der Trigger darf in der Untercondition nicht drin sein (laut Spezifikation).

                  Genau das hatte bei mir nochmal die Frage nach dem Trigger aufgeworfen. Wie funktioniert er genau? Wie und wo ist er zu verwenden?
                  Was macht das Ding?

                  Kommentar


                    #24
                    UPS sorry. copy&paste Fehler.
                    Hab ich auch noch nie verstanden, da man den trigger im condition teil immer braucht. im conditional nicht. und wenn er nicht angegeben wird, wird er als false angenommen? Der Sinn des ganzen erschließt sich mir auch nicht.

                    Gruß

                    Kommentar


                      #25
                      Hi,

                      Trigger ist eigentlich ganz einfach... und auch nur für einen "condition"-Ausdruck sinnvoll.

                      Wenn man eine Bedingung formuliert, die aus mehreren Unterbedingungen besteht, kommt man ganz schnell zu dem Wunsch, dass nicht jeder Zweig der Bedingung auch zum Überprüfen der Gesamtbedingung führt.

                      Mal ein Beispiel: Beim betreten des Grundstücks das Außenlicht abhängig vom Sonnenstand einschalten (ich weiß, man würde es in Abhängigkeit von der Helligkeit schalten, ist nur ein Beispiel):
                      Code:
                      [FONT=Consolas][SIZE=2][COLOR=#0000ff]
                      [/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]<[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515]rule [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000]id[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]=[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]LichtWindfang[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]>[/COLOR][/SIZE][/FONT]
                      [SIZE=2][FONT=Consolas][COLOR=#0000ff]<[/COLOR][/FONT][/SIZE][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515]condition [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000]type[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]=[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]and[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]>[/COLOR][/SIZE][/FONT]
                      [SIZE=2][FONT=Consolas][COLOR=#0000ff]  <[/COLOR][/FONT][/SIZE][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515]condition [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000]type[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]=[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]" [/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000]id[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]=[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]BWMAussen[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]" [/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000]value[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]=[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]1[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]" [/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000]trigger[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]=[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]/>[/COLOR][/SIZE][/FONT]
                      [SIZE=2][FONT=Consolas][COLOR=#0000ff]  <[/COLOR][/FONT][/SIZE][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515]condition [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000]type[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]=[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]" [/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000]id[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]=[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]IstTag[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]" [/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000]value[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]=[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]0[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]/>[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]      [FONT=Consolas][SIZE=2][COLOR=#0000ff]
                      [/COLOR][/SIZE][/FONT]</[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515]condition[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]>[/COLOR][/SIZE][/FONT]
                      [SIZE=2][FONT=Consolas][COLOR=#0000ff]<[/COLOR][/FONT][/SIZE][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515]actionlist [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000]type[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]=[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]if-true[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]>[/COLOR][/SIZE][/FONT]
                      [SIZE=2][FONT=Consolas][COLOR=#0000ff]  <[/COLOR][/FONT][/SIZE][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515]action [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000]type[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]=[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]set-value[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]" [/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000]id[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]=[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]AussenlichtWindfang[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]" [/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000][FONT=Consolas][SIZE=2][COLOR=#ff0000]value[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]=[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]1[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][FONT=Consolas][SIZE=2][COLOR=#000000]"[/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]/>[/COLOR][/SIZE][/FONT]
                      [SIZE=2][FONT=Consolas][COLOR=#0000ff]</[/COLOR][/FONT][/SIZE][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515]actionlist[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]>[/COLOR][/SIZE][/FONT]
                      [SIZE=2][FONT=Consolas][COLOR=#0000ff]</[/COLOR][/FONT][/SIZE][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515][FONT=Consolas][SIZE=2][COLOR=#a31515]rule[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff][FONT=Consolas][SIZE=2][COLOR=#0000ff]>[/COLOR][/SIZE][/FONT]
                      [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT]
                      Hier sieht man den Unterschied: Wenn der BWMAussen auslöst, dann wird geschaut, ob auch IstTag=0 ist (also Nacht). Wenn aber IstTag sich ändert (von 1 auf 0), dann interessiert das die Regel nicht! Sie wird nicht evaluiert! Der Wechsel von Tag zu Nacht TRIGGERt diese Bedingung nicht!

                      Deswegen ist in einfachen Conditions der Trigger immer notwendig, bei komplexeren kann man normalerweise den immer auf true setzen (im obigen Falle würde dann die Bedingung nach Sonnenuntergang auch nochmal getriggert, da aber der BWMAussen nicht 1 ist, würde das Licht trotzdem ausbleiben). Manchmal macht es sinn, Trigger bewusst zu setzen, damit z.B. nur ein Ast einer UND-Bedingung überhaupt zur Überprüfung der Bedingung führt, ist aber eher selten...

                      Und in einer conditional-action ist der Trigger nicht erlaubt bzw. nicht notwendig, da die ganze Condition immer ausgewertet wird, wenn die Action getriggert wird.

                      Hoffe, ich habe alle Klarheiten beseitigt,
                      Gruß, Waldemar
                      OpenKNX www.openknx.de

                      Kommentar


                        #26
                        Ahh
                        Nu habs sogar ich kapiert

                        Danke!

                        Gruß

                        ***censored***

                        Kommentar


                          #27
                          Zitat von vlamers Beitrag anzeigen
                          Ahh
                          Nu habs sogar ich kapiert
                          Hoi

                          Und sogar ich
                          Grüsse Bodo
                          Fragen gehören ins Forum, und nicht in mein Postfach;
                          EibPC-Fan; Wiregate-Fan; Timberwolf-Fan mit 30x 1-Wire Sensoren;

                          Kommentar


                            #28
                            Hi,
                            ich habe das Ding nun gelöst.

                            Store_EG_down_go ist für mich ein Trigger, den ich per Zeitsteuerung setzte und am Ende der rule zurücksetzte.
                            Es werden dann 2 Stores gefahren. Einer immer und einer nur, wenn der zugehörige Kontakt geschlossen ist.

                            Hier ein Stück Code.

                            Code:
                            <object id="BE1P13"  gad="8/1/25"  type="1.001">AL_BE_HWR_Balkontuer_Garten</object>
                            <object id="AJ2P6L"  gad="3/1/66"  type="1.001" init="persist">Store_HWR1_Tuer_pos_lang</object>
                            
                                <rule id="Store_EG_down">
                                    <condition type="object" id="Store_EG_down_go" value="on" trigger="true" />
                                  <actionlist>
                                   <!-- HWR -->
                                    <action type="conditional">
                                       <condition type="object" id="BE1P13" value="on"/>
                                       <action type="set-value" id="AJ2P6L" value="on" />
                                    </action>
                                    <action type="set-value" id="AJ2P5L" value="on" />
                            
                                    <action type="set-value" id="Store_EG_down_go" value="off" />
                                  </actionlist>
                                </rule>

                            Kommentar


                              #29
                              Hallo,
                              ich bekomme das mit der linknx.xml nicht zum laufen.
                              Beim Versuch mit einer minimal linknx.xml passiert nichts.
                              Es sollte das Licht mit der Gruppenadresse 4/0/21 eingeschaltet werden.


                              Code:
                              <?xml version="1.0" ?>
                              <config>
                              <objects>
                                <!-- Licht -->
                                  <object id="l1" gad="4/0/21" type="1.001">Licht 1</object>
                                 </objects>
                                <rules>
                                  <rule id="start">
                                    <condition type="or">
                                      <condition type="object" id="l1" value="on" trigger="true"/>
                                   </condition>
                                    <actionlist>
                                      <action type="set-value" id="l1" value="on" />
                                  
                                    </actionlist>
                                  </rule>
                                 </rules>
                              <services>
                                  <knxconnection url="ip:192.168.1.193" />
                                  <xmlserver type="inet" port="1012" />
                                  <exceptiondays>
                                  </exceptiondays>
                              </services>
                              </config>
                              Woran kann es liegen?
                              Gruß Marko

                              Kommentar


                                #30
                                Hoi Marko

                                Du hast ein "or" drin und keine zweite Bedingung.
                                Und die Rule ist: wenn id='11' on dann id='11' on
                                Nicht sehr clever...
                                Grüsse Bodo
                                Fragen gehören ins Forum, und nicht in mein Postfach;
                                EibPC-Fan; Wiregate-Fan; Timberwolf-Fan mit 30x 1-Wire Sensoren;

                                Kommentar

                                Lädt...
                                X