TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Automating My Air Conditioner

38 pointsby dguoover 3 years ago

9 comments

glitchcover 3 years ago
A general note: Arbitrarily cutting and restoring power is a bad idea for a compressor. See the first answer at this link for a detailed explanation:<p><a href="https:&#x2F;&#x2F;diy.stackexchange.com&#x2F;questions&#x2F;145791&#x2F;how-bad-is-it-for-my-a-c-unit-if-i-cut-the-power-while-its-working" rel="nofollow">https:&#x2F;&#x2F;diy.stackexchange.com&#x2F;questions&#x2F;145791&#x2F;how-bad-is-it...</a><p>In a nutshell, it takes time for the refrigerant pressure to equalize. An AC with a thermostat will have a timer to prevent an immediate restart after a stop.<p>Another option is to introduce hysteresis into your control loop as the TFA author has done: Use a distinct power threshold from your off threshold. By setting the power on a couple of degrees higher than the cutoff, it will give the refrigerant pressure time to settle.<p>To the author: I agree with the other posters. Looks the AC already has a thermostat, just no automatic fan control.
评论 #28815639 未加载
评论 #28813984 未加载
评论 #28813953 未加载
评论 #28815034 未加载
评论 #28813812 未加载
ultrarunnerover 3 years ago
Mentioning it just because I didn&#x27;t see it addressed in the article: AC compressors &amp; fans can be a significant current draw. If you want to replicate this project, it&#x27;s probably worth checking the amperage ratings for whatever smart plug you use. Something intended to switch lights or a room fan may not be up for the task of repeatedly starting a compressor. Even if the AC unit only draws 15 amps (an so is fine to plug into a wall), inrush current could be an issue for an traic or SSR-based smart plug.
评论 #28814276 未加载
sxpover 3 years ago
&gt; If the temperature is above 75°F, the job turns the smart plug on. If the temperature is under 73°F, the job turns the smart plug off.<p>Would turning on&#x2F;off a high current A&#x2F;C like this have any negative consequences? Some A&#x2F;C units have a cooldown period after you turn them &quot;off&quot; via their button since they need to remove some condensation and perform other normal maintenance. Would that issue apply to cheep window A&#x2F;Cs?
评论 #28813624 未加载
评论 #28820534 未加载
snthdover 3 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;ct-Open-Source&#x2F;tuya-convert" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ct-Open-Source&#x2F;tuya-convert</a> is useful for re-flashing some widely available smartplugs without opening them up. Then you can use MQTT or HTTP.<p>Unfortunately some newer plugs are incompatible with the hack (different chipset - <a href="https:&#x2F;&#x2F;github.com&#x2F;ct-Open-Source&#x2F;tuya-convert&#x2F;issues&#x2F;484" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ct-Open-Source&#x2F;tuya-convert&#x2F;issues&#x2F;484</a> ).
cereal_consoleover 3 years ago
Check out Home Assistant. I use Home Assistant to control about 35 TP-Link Kasa devices via local control. Home Assistant supports both local and cloud control of Kasa devices.<p>I use a mix of ESPHome (using ESP8266 devices) and BLE sensors (feeding back through ESPHome ESP32 based gateways) to gather home air quality data.
评论 #28817517 未加载
sokoloffover 3 years ago
It sure looks like that thing has a thermostatic control. I’ve got similar window shaker units and they have a distinct click when the thermostat turns on or off and they do an ok job of controlling the temp in the bedrooms.
评论 #28813846 未加载
评论 #28813768 未加载
syntaxingover 3 years ago
Love the spirit of the idea and execution! I would guess the “temperature” knob ties to some sort of trigger relay downstream. You would probably be able to tie in a microcontroller of some sort to control it and maintain the process function like ramp up and cool down. But at the expense of requiring to open up that panel.
avh02over 3 years ago
In university I had an air conditioner that would turn off when the power went out (regular occurrence, few minutes), so I&#x27;d wake up sweltering or otherwise needing to get up&#x2F;interrupted in order to switch it back on (it had a cabled remote&#x2F;controller)<p>The automation was a clothes peg on the power button.
mcbishopover 3 years ago
Is anyone aware of an open-source smart plug or smart outlet with a public API? ...That doesn&#x27;t assume a big-tech integration?
评论 #28817680 未加载
评论 #28820555 未加载