I have a single line AS that I'm hoping for the Python equivalent:
set binary outputs of device "OccupancySw" to {true}
Thanks.
SMUSEBY wrote:I have a single line AS that I'm hoping for the Python equivalent:
set binary outputs of device "OccupancySw" to {true}
Thanks.
SMUSEBY wrote:I could not find how to set the value to 'true' on the Wiki. - only how to read the value.
indigo.iodevice.setBinaryOutput(123, index=2, value=True)
SMUSEBY wrote:all I can find for Indigo is 'get binary outputs status' , and no way to set the values.
What I want to do is test for the value, and if True, make it false, and if False, make it True. Does Indigo have the means to do that?
Set Binary Output
Set the state of the specified binary output.
SMUSEBY wrote:If there is an alternative way with Indigo, that would be better.
Users browsing this forum: No registered users and 2 guests