Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autopilot Aircon Unit #6

Open
tehfonz opened this issue Dec 8, 2023 · 5 comments
Open

Autopilot Aircon Unit #6

tehfonz opened this issue Dec 8, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request under consideration Thinking about it, no guarantee of implementation

Comments

@tehfonz
Copy link

tehfonz commented Dec 8, 2023

Would love to build in an enhancement to turn the aircon unit itself on/off depending on the following:
If all targeted zones are within their target temperature range - Turn AirCon Off unless AirCon has been ON Less Than x minutes (using Number Input Helper).
If any of the targeted zones go outside of target temp range - Turn AirCon ON unless AirCon has been OFF Less Than y minutes (using Number Input Helper).
I should have added, all of this is triggered by or controlled by a Toggle to tell the app to control the AirCon unit as well as zones.
Basically want to avoid the situation where the aircon turns on / off rapidly, killing motor or something else.
Hope this is doable.
Cheers,
_Fonz

@dgaust dgaust added the enhancement New feature or request label Dec 13, 2023
@dgaust dgaust self-assigned this Dec 13, 2023
@dgaust dgaust added the under consideration Thinking about it, no guarantee of implementation label Dec 13, 2023
@dgaust
Copy link
Owner

dgaust commented Dec 13, 2023

No guarantees, but I can look into it. I've specifically not included that functionality as I always wanted manual control as the baseline, but can look at how it might work.

@tehfonz
Copy link
Author

tehfonz commented Dec 13, 2023

Totally understand, might constitute a complete rewrite.

@dgaust
Copy link
Owner

dgaust commented Feb 28, 2024

So I've started some work on this, at this stage it will only turn the air conditioner on and set it to heat or cool mode when a temperature sensor passes a particular threshold (as the balancing aspect of the controller should manage the in zone temp correct).

Bascially you set a temp sensor that you want to trigger the action, then a temp you want it to trigger on (both upper and lower) in the apps.yaml

trigger_temp_sensor: sensor.living_room_temperature
trigger_temp_upper: 27
trigger_temp_lower: 18

Once the temp of this sensor exceeds (or drops below) the triggers it will check to see if the airconditioner is off, and if it is it will turn it on and set the mode to either heating or cooling.

It's fairly dumb at the moment, in that it will happen even if no-one is home (I will probably add presence detection or some other method of sanity), but you can try it using the code from this branch https://github.com/dgaust/smarterzones/tree/auto_control

@tehfonz
Copy link
Author

tehfonz commented Apr 1, 2024

Thanks so much for adding this. I will add the branch to my HA, however we don't really use the air-con much during the colder months, and if we do it's all manual with just a quick 10-20 min run.
Really appreciate the effort!

@dgaust
Copy link
Owner

dgaust commented Jun 13, 2024

There were a few issues with the previous version, I have made changes to the code and tested a little more extensively. A couple of additional settings are required in the apps.yaml section, but that has also been updated in this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request under consideration Thinking about it, no guarantee of implementation
Projects
None yet
Development

No branches or pull requests

2 participants