Thanks to everyone trying to help.
So let me clarify what I am trying to accomplish. My wife and I are hot people, and we like our bedroom colder than the average person. We have a wall unit A/C in our bedroom in addition to the central A/C. Sometimes in the fall & spring weather, we might sometimes still use our wall unit A/C, or later in the winter open the window, when others might have put on the heat already.
Our thermostat is located in the master bedroom. So what I want to do is to put a remote sensor in one of the other bedrooms, and then be able to use a program to tell the thermostat that if the wall A/C in the master bedroom is on (using an Insteon On/off module), or if the window is open (monitored via a contact sensor) then use the sensor in the other room. Otherwise, use the thermostat’s own sensor.
In the past I have had many times that the A/C was causing the heat to go on, thus causing the A/C to work even longer, and then they were fighting each other while the rest of the bedrooms were boiling away.
Thanks again.