I need to create a conditional loop, turning ON/OFF output device until to reach specific condition, (input value). I was considering python script to do so. My problem is the loop starts on continuous process and never stops. The system does note recognize the condition to stop.
Thank with your help, here is where I am with Python:
- Code: Select all
venmarstatus=indigo.variable.updateValue(95594510, value='activation')
while venmarstatus<>"min échange":
indigo.iodevice.setBinaryOutput(480710969, 0,True)
indigo.iodevice.setBinaryOutput(480710969, 0,False)
if indigo.devices[637045073].binaryInputs[0]==1:
venmarstatus=indigo.variable.updateValue(95594510, value='min échange')
break