this post was submitted on 18 May 2025
17 points (94.7% liked)

homeassistant

14239 readers
376 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 2 years ago
MODERATORS
 

So I have my AC connected to a smart plug and I'm trying to figure out what would be the best way to go about automating it.

Currently, I have it set to run every hour on the hour for 20 minutes if the time is between noon and 8 p.m. Which covers the hottest part of the day.

However, what I could do is have it run every other hour instead and have a couple of night runs along with the daytime runs.

Doing it that way would eliminate most of the 16-hour period currently that exists between the ending of one day and the beginning of the next.

Edit: Also, is there an easy way to automate every other hour using the time pattern or would I manually have to set up triggers for 2am, 4am, 6am, 8am, 10am, etc. using the fixed values?

Edit 2: looks like i can use "/2" to accomplish that

you are viewing a single comment's thread
view the rest of the comments
[–] shortwavesurfer@lemmy.zip 3 points 13 hours ago (4 children)

Unfortunately, it's got no kind of remote at all. It's a physical dial to turn it on to high low or fan high low and a physical dial to turn up or down the temperature setting.

That's why I got a smart plug for it to begin with because there were times when I would fall asleep at like 10 p.m. and wake up at 3 a.m. with the damn thing still running.

It is only a 550 watt unit, but I was not aware that hard power cycling it like that would eventually hurt it. So at least thanks for that information.

[–] CookieOfFortune@lemmy.world 1 points 45 minutes ago

Connect the dial to a stepper motor? Then you can control its position lol…

[–] anotherandrew@lemmy.mixdown.ca 2 points 5 hours ago (1 children)

Monitor the current with the smart plug. When you want to turn it off, wait for the current to drop for a few minutes (this means the compressor is off/unloaded) then power off the outlet.

Might be an idea.

[–] shortwavesurfer@lemmy.zip 1 points 1 hour ago (1 children)

I can't do that. Without doing it myself, the compressor will absolutely never turn off. Unless I manually flip the switch. There was another commenter below that said that it wasn't a problem as long as you didn't try to start it up again too quickly and I don't so that's all right

[–] anotherandrew@lemmy.mixdown.ca 1 points 1 hour ago (1 children)

I’ve never seen a window AC with mechanical knobs not cycle the compressor when it hits the temperature set by its thermostat. The fan might run 24/7 but the compressor? How could it possibly regulate temperature otherwise?

[–] shortwavesurfer@lemmy.zip 1 points 1 hour ago

Oh duh, I totally forgot about that. There is a knob to regulate the temperature, and that will kick the compressor off. Currently I just have it set to as cold as it will get and then cut power to the unit itself with the plug. It stays off for a good 40 minutes at a time, which is plenty of time to drain the pressure properly before starting up again.

[–] dgriffith@aussie.zone 3 points 10 hours ago (1 children)

It'll be fine as long as you don't try and start it up again within a few minutes of turning it off.

Pressure just needs to slowly bleed from the high pressure side to the low pressure side of the compressor before it starts again, so that it isn't initially stalled against high pressure.

[–] shortwavesurfer@lemmy.zip 1 points 1 hour ago

Okay, that's fine. I can totally do that.

[–] couch1potato@lemmy.dbzer0.com 1 points 12 hours ago

Idk how complicated the internal wiring is but maybe a solution here is a pair of shelly relays. One for the ac and one for the compressor fan. Then you could turn them on/off separately over wifi based on whatever logic you come up with.