[tutorial] Make Ac Thermostat With Xiaomi Ir Remote


Xingg

Members
May 26, 2018
3
3
Posted this while ago but on other forums no response, hopefully here we make good Xiaomi Smart Home community

Made automation in MiHome app that works like thermostat to control AC, to keep temperature between 25c-26c

First learn 2 commands from AC remote:
1. AC_cool (set lower than wanted temperature, mine 23c)
2. AC_off

**If making simple conditions "higher than 26 = AC_cool" and "lower than 25 = AC_off" it will run AC_cool command every 5 minutes while temp>26 so needed to make two more automations which control the two first automations like this picture:

1211.png

Now its turning AC on only once at 26c, then waits for it to cool to 25c, turn it off once, then waits till temp gets to 26c and starts cycle again.

To turn off, just turn off two automations
 
Last edited: