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 1 points 15 hours ago

Not yet. I'm thinking about modifying it, but haven't done so. Quite yet.