Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
Rules linknx via knxweb2
#1
Bonjour,

J'essaye d'écrire une règle linknx avec un bête ou sur 2 retours d'état de lumières. La règle est écrite via knxweb2 (linknxwebbox) :

Code :
<rule id="rule_state_lights_all_rdc" description="Règle état lumières rdc">
    <condition type="or">
        <condition type="object" id="state_lights_bureau" value="on"/>
        <condition type="object" id="state_lights_entrée" value="on"/>
    </condition>
    <actionlist>
        <action type="set-value" id="state_lights_all_rdc" value="on"/>
    </actionlist>
</rule>

Lorsque je lis l'objet state_lights_all_rdc à l'état d'un bouton, il ne se passe rien. Où me goure-je ? Qu'oublie-je ?

Merci de votre aide.
Répondre
#2
(05/05/2012, 08:08:05)fma38 a écrit : Lorsque je lis l'objet state_lights_all_rdc à l'état d'un bouton, il ne se passe rien. Où me goure-je ? Qu'oublie-je ?
Hi,

every condition needs at least one trigger, you probably need one for both objects.

Regards, Othmar
Répondre
#3
How and where do you define this trigger?
Répondre
#4
(05/05/2012, 11:19:24)fma38 a écrit : How and where do you define this trigger?
Well I always wrote the xml file manually by now so I'm not absolutely sure about knxweb2. With knxweb2 you should be able to activate the flag on each object after double-clicking it. Hope this helps.

Regards, Othmar
Répondre
#5
Ok, I found how to do that. Thanks!
Répondre


Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)