Hi Michel, Thanks!
No, I have all variables as Int, I already read about the differences and I guess that was the problem...
Still learning about ISY heheh, it was a rookie mistake.
If anyone is interested in making it work with integer variables:
Variable Control 1:
BS_VC1 - [ID 001D][Parent 000B]
If
Status 'Fuga de Agua / B S-Wet' is On
Then
$sLeakBS = 9
Wait 5 seconds
Run Program 'Leak Sensor Activation' (If)
Else
Wait 10 seconds
$sLeakBS = 1
Run Program 'Leak Sensor Activation' (If)
Also, I added instructions on the Startup program to run the if part of the Variable Control 1 programs after the 5 seconds wait. While testing, I found out that the states weren't updated if a leak sensor was triggered or untriggered while the ISY was down. But the sensor state shows correctly.
Leak Startup - [ID 0012][Parent 000B][Run At Startup]
If
$iStartUp is 0
Then
Run Program 'BC2_VC2' (Then Path)
Run Program 'BC3_VC2' (Then Path)
Run Program 'BCP_VC2' (Then Path)
Run Program 'BL_VC2' (Then Path)
Run Program 'BS_VC2' (Then Path)
Run Program 'Cocina_VC2' (Then Path)
Run Program 'Lavadero_VC2' (Then Path)
Run Program 'Vestier_VC2' (Then Path)
Wait 5 seconds
$iStartUp = 1
Run Program 'BC2_VC1' (If)
Run Program 'BC3_VC1' (If)
Run Program 'BCP_VC1' (If)
Run Program 'BL_VC1' (If)
Run Program 'BS_VC1' (If)
Run Program 'Cocina_VC1' (If)
Run Program 'Lavadero_VC1' (If)
Run Program 'Vestier_VC1' (If)
Else
- No Actions - (To add one, press 'Action')