Jump to content

General programming issue between ISY and Mobilinc


wwat

Recommended Posts

Posted

I've posted this to the Mobilinc forum but I think it could be more of a general programming question.

 

I currently have 2 programs in ISY, the first to turn off a fan and the second to turn it on. Actually there is a third program that makes it easy to toggle between the two. There is a reason I can't turn the fan on directly, I have some program logic which under certain circumstances wont allow the fan to be turned off or on. So the programs have that logic to determine whether the fan can be turned off or on which ever the case may be.

 

There are buttons in Mobilinc which allow you to run a program and will then displace the status of the program. I'd like to be able to have a single button that would always maintain a status of 'Fan On' or 'Fan Off' depending on whether the programs did infact turn the fan on or off.

 

Currently I am using the 'House Fan' program (see below) to turn it on and off but its not working as required because it doesn't always reflect the true status of whether the underlying program was executed in full or not.

 

I suspect there may be a best practice method to do this, so any direction appreciated.

 

Thanks, Wayne.

 

Program Name: House Fan - Disabled

If
       $Int_FanManualControlStatus is 0

Then
       Run Program 'FanManualControlOn' (If)

Else
       Run Program 'FanManualControlOff' (If)

 

Program Name: FanManualControlOn - Disabled

If
       Status  'HVAC - House / Venstar House / House - Fan' is Off

Then
       Set 'HVAC - House / Venstar House' Fan On
       $Int_FanManualControlStatus  = 1

Else
  - No Actions - (To add one, press 'Action')

 

Program Name: FanManualControlOff - Disabled

If
       Status  'HVAC - House / Venstar House / House - Fan' is On
   And $Int_HumidifierFanStatus is 0
   And $Int_ShowerFanStatus is 0

Then
       Set 'HVAC - House / Venstar House' Fan Auto
       $Int_FanManualControlStatus  = 0

Else
  - No Actions - (To add one, press 'Action')

Guest
This topic is now closed to further replies.

×
×
  • Create New...