I was trying to set the ACs for a certain temperature but I couldn’t find any piston examples that fits my needs. That’s why I am sharing this.
This is a very simple piston but I thought it may help some one like me:) (newbie)
I have wall units and I am using ZXT IR sender.
I tried to write different pistons and for some reason none of them worked properly (I believe due to triggers vs conditions???) as I said I am a newbie so this piston is no where close to be perfect but it works perfectly:)))))
- The timer checks the temperature every hour (you can change it)
- Day time is different than night time.
- The range is up to you.
*30 seconds delay between the actions are spesific to my case. If the piston sends all the commands in one go, the AC misses them. So the piston has to wait around 20 seconds before sending a new command.
*It starts with TURN OFF ( just incase if someone used the remote control of the AC, it gets confused:))) So I turn the AC OFF first and start fresh.