# Single piston VS 5 pistons

#1

1) Give a description of the problem

• I have 5 AC units in my house (not central, these are individual wall units)
• All controlled with ZXT IR devices (I can see them in ST and webcore etc)
• They all have the same setup
• But each room has different temp as X
• And I don’t want them all working the same time, so I created 5 pistons. Each room has it’s own piston
IF temp raises above X degrees
With ZXT IR garage
TURN ON
SET TO COOL
IF temp drops below X degrees
With ZXT IR garage
TURN OF

**I don’t know which way is better (maybe doesn’t even matter) **
Create 5 pistons OR single piston with 5 ACs in it?

IF temp raises above X degrees
With ZXT IR garage
TURN ON
SET TO COOL
IF temp drops below X degrees
With ZXT IR garage
TURN OF
IF temp raises above X degrees
With ZXT IR movieroom
TURN ON
SET TO COOL
IF temp drops below X degrees
With ZXT IR movieroom
TURN OF
IF temp raises above X degrees
With ZXT IR mbedroom
TURN ON
SET TO COOL
IF temp drops below X degrees
With ZXT IR mbedroom
TURN OF
IF temp raises above X degrees
With ZXT IR guestroom
TURN ON
SET TO COOL
IF temp drops below X degrees
With ZXT IR guestroom
TURN OF
IF temp raises above X degrees
With ZXT IR livingroom
TURN ON
SET TO COOL
IF temp drops below X degrees
With ZXT IR livingroom
TURN OF

Thank you all…

#2

For sanity, I’d probably do it one at at time and when it’s a level you want, then convert into a mega-piston. Of course you know the issues with mega pistons and saving them when they get into huge chunks.

#3

You might try something like this…

It is set up for 2 rooms, you can build out from there…

Define your temp sensors, ac units, and threshold for cooling in the variables and all the switch/case triggers are based off those.

Note - just make sure you move the break to the last case statement you want evaluated. It is set up to ‘fall through’ the whole list of cases, so it checks every case, not just stop at the first one that satisfies the true switch condition.