DE SENTI Posted January 14, 2017 Share Posted January 14, 2017 the function if is not functional. The condition is always not taken into account. EA5 - Version 2.9.0 Link to comment Share on other sites More sharing options...
knowitall Posted January 14, 2017 Share Posted January 14, 2017 So much information is the command nested properly? Link to comment Share on other sites More sharing options...
DE SENTI Posted January 14, 2017 Author Share Posted January 14, 2017 The variable is declare like a string and when I am in Agent menu the value is correct. There are the same problem with a boolean variable, his value is set to false and the condition is always passed Link to comment Share on other sites More sharing options...
NextGenAV Posted January 14, 2017 Share Posted January 14, 2017 We would need to see a screen capture of the programming script to make any sense of it. Link to comment Share on other sites More sharing options...
DE SENTI Posted January 14, 2017 Author Share Posted January 14, 2017 Link to comment Share on other sites More sharing options...
NextGenAV Posted January 14, 2017 Share Posted January 14, 2017 Ah, you need to drag the Turn on Spa to the ? so it is nested within the IF statement Link to comment Share on other sites More sharing options...
DE SENTI Posted January 14, 2017 Author Share Posted January 14, 2017 13 minutes ago, NextGenAV said: Ah, you need to drag the Turn on Spa to the ? so it is nested within the IF statement I have a scheduler condition. When it is 11H PM, if the variable (déshumidificateur) is true then I want turn on the Heat system (KNX toggle) Link to comment Share on other sites More sharing options...
sonic30101 Posted January 14, 2017 Share Posted January 14, 2017 The action needs to be nested in the IF statement and will not happen properly if it is not indented, drag the action over the IF and you will see the icon point to the right and let go Link to comment Share on other sites More sharing options...
NextGenAV Posted January 14, 2017 Share Posted January 14, 2017 OK, so do you want the statement: Turn the Spa -> Déshumidificateur on To execute when the variable Déshumidificateur is true? If so then you need to drag the Turn the Spa -> Déshumidificateur on to the question mark (?) before the IF statement until a right arrow (->) appears below the cursor. This will embed the statement within the IF Like this one: Link to comment Share on other sites More sharing options...
DE SENTI Posted January 14, 2017 Author Share Posted January 14, 2017 Thank you very much Link to comment Share on other sites More sharing options...
NextGenAV Posted January 14, 2017 Share Posted January 14, 2017 1 minute ago, DE SENTI said: Thank you very much Your welcome Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.