Hello everyone,
I’ve recently acquired a Homey and have already set up many advanced flows. There’s one particular flow I’d like to create with the following criteria:
I have multiple Mitsubishi air conditioners in my house, currently controlled by an IR sender operating on Tuya. I want to trigger them using raw commands, which I believe I can achieve. Now, what I really want to accomplish is as follows:
In the children’s rooms, we have air conditioners. I want to trigger them by controlling the blinds. When the blinds are closed after a certain time, it signifies that the children are going to sleep. At this point, the lighting should adjust to certain settings, and the air conditioner should also be activated.
Here’s where my challenge begins: depending on the season, I want the air conditioner to either heat or cool the room. However, I want to make this determination based on variable values, rather than a simple “winter” or “summer” classification.
In each room, there is also a temperature sensor, but it naturally affects the room’s temperature when the air conditioner is on. Since I control it via Tuya, I don’t have feedback from the air conditioner.
My idea is to use an average temperature over a specific time period to decide which mode the air conditioner should operate in. But how can I best calculate and use this value?
I want the following:
- Heat the air conditioner to 18 degrees if the room temperature is expected to drop too low in the children’s room.
- Turn off the air conditioner if the temperature is expected to stay between 18 and 22 degrees in the room.
- Cool the air conditioner to 22 degrees if the room temperature is expected to go above 22 degrees in the children’s rooms.
I don’t want to control the air conditioners solely based on indoor temperature, as that would lead to constant on and off cycles.
Thank you in advance for your assistance.