frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Turning a Dumb AC Unit Smart (Without Losing My Security Deposit)

https://prilik.com/blog/post/automating-ac-nyc/
30•austinallegro•1h ago

Comments

effnorwood•55m ago
Hey Siri, can I afford a home loan?
clickety_clack•49m ago
You’ll need to unlock your iPhone for that.
effnorwood•28m ago
Always a latch. That's key.
scottlamb•54m ago
> The rest of this blog post is a walkthrough of a software engineer’s approach to home automation and building custom hardware, and let me tell you: both the final product, and the journey to get there, are hella jank.

IMHO it's not that bad? With the disclaimer that I'm also a software engineer who dabbles very very lightly with electronics and has no mechanical engineering expertise. But the overall approach of doing this by stepper motor seems quite defensible given the security deposit constraint. The only part that seems really janky to me is that it's not physically held in place that well as noted in this paragraph:

> Ultimately, the biggest issue is that binder clips and cardboard aren’t quite as robust of a mounting mechanism as I’d hoped they’d be… and over time, the stepper motor tends to “sag” a bit, resulting in a bit too much friction between the motor, the coupler, and the underlying knob, causing the mechanism to stall out until someone manually goes and reseats it…

Involving MQTT and HA can sometimes get frustrating too; having your AC not working properly if there's a problem on a Linux machine can suck. If this becomes a problem in practice, iirc ESPHome also has a thermostat component, and temperature sensors are really cheap and easy to wire in, so you could do it all on the microcontroller pretty easily in a low-code way. But if this part is working, no need to mess with it.

Reason077•36m ago
Instead of attaching the motor bracket with a binder clip, consider sticking it down with some sort of removable adhesive?

3M command strips should be very strong/secure, while also allowing for adjustment and will detach without residue when the time comes.

itslennysfault•29m ago
I'd cut a block of wood to fit snuggly to the left of the knob, wedge it in place and screw the stepper in to that.

.....or just screw into the AC unit somewhere discrete and hope no one notices.

ethnt•32m ago
I was in a similar situation with my apartment PTAC unit, but mine has thermostat terminals — I would not be surprised if this one does too. I was able to hook up an Ecobee thermostat, with the downside being that it's way more expensive than OP's solution.
newhotelowner•51s ago
30 years old PTAC has wired thermostat terminals. But I dolike OPs solution.
post_break•30m ago
Assuming running a dual hose inverter portable AC isn't against the lease agreement it would probably pay for itself based on the power usage. Pretty neat hack regardless.
chem83•27m ago
It's insane to me that some new construction buildings still use PTACs. Having used too many of those, this was a deal-breaker last time I was in the market for an apartment. Such a New York thing, just like how you cannot have a balcony on the 2nd floor, or how you won't find those sink garbage disposal grinders in any kitchen. But cross the Hudson toward NJ, and my understanding is that they're common. It's a combination of hyper-local regulations and economic incentives that date from god-knows-when and make American cities very unique in their quirks.
a-dub•27m ago
that's a fun project. i'd be a little concerned about the servos failing to fully switch the switches or placing wear on them, maybe a dangerous failure mode where it is switched into and left in an in-between state unattended that could lead to a fire hazard.

you can buy smart outlets with the correct connector, just look for 20A versions. (honeywell, at a minimum, sells one).

https://prod-edam.honeywell.com/content/dam/honeywell-edam/h...

EvanAnderson•24m ago
The lack of feedback from the AC unit makes using a switched outlet potentially problematic. You really need to know the state of the compressor cycling before you go mucking with turning it on and off. (At least this was the case with the refrigeration compressors I am familiar with from my youth.) A current sensor could provide feedback but that goes beyond a regular smart switch.
EvanAnderson•26m ago
The "couple a stepper motor to a shaft" API is so much better than any "smart" appliance API.

Speaking more seriously, I wish classes of appliances would expose some simple analog and digital interface pins in a standardized configuration to let users choose whatever automation or monitoring hardware they want. HVAC equipment does this with standardized thermostat terminals. I'd love to see that on other types of appliances, too.

The manufacturer's crappy "app" that will inevitably be abandoned and require keeping some old phone / tablet in good "health" lest you lose the "smart" functionality (or worse, any use of) the appliance.

Then current way of putting the "smarts" inside the appliance is just planned obsolescence and a recipe for all of us being eyeball deep in ewaste.

ryeguy_24•7m ago
I have to say. Nice work. I spent years wanting to build something like this to integrate to these systems. I never did but have spent years thinking about this. So, nice work and really appreciate your motivation.

Kimi K3-256k

https://www.kimi.com/code/docs/en/kimi-code/models
95•monneyboi•45m ago•13 comments

Show HN: Open-source engine running Gemma 4 26B in 2 GB RAM on any M-series Mac

https://github.com/drumih/turbo-fieldfare
484•gitpusher42•5h ago•169 comments

Anatomy of a Frontier Lab Agent Intrusion: A Technical Timeline of the Incident

https://huggingface.co/blog/agent-intrusion-technical-timeline
147•artninja1988•23h ago•80 comments

Superlogical

https://www.superlogical.com/
346•yan•4h ago•245 comments

Keychron announces first open-source firmware for gaming mice

https://www.digitalfoundry.net/news/2026/07/keychron-announces-first-open-source-firmware-for-gam...
156•JLO64•3h ago•74 comments

KOReader

https://koreader.rocks/
582•Cider9986•9h ago•187 comments

Who the welfare state protects shapes a country’s financial openness

https://theloop.ecpr.eu/who-the-welfare-state-protects-shapes-a-countrys-financial-openness/
30•kome•1h ago•25 comments

The motion-sickness cure hidden in iPhone settings

https://www.bbc.com/future/article/20260728-dancing-dots-the-motion-sickness-cure-hidden-in-your-...
23•saikatsg•1h ago•25 comments

Turning a Dumb AC Unit Smart (Without Losing My Security Deposit)

https://prilik.com/blog/post/automating-ac-nyc/
30•austinallegro•1h ago•14 comments

Handbook.md shows that long policy documents do not reliably govern agents

https://arxiv.org/abs/2607.25398
249•spIrr•7h ago•158 comments

Claude Is Down

https://status.claude.com/incidents/q2kg8n613kr3
64•gregsadetsky•20m ago•22 comments

PgDog (YC P25) Is Hiring

https://www.ycombinator.com/companies/pgdog/jobs/uWymUYy-founding-software-engineer
1•levkk•3h ago

Document-borne AI worms can self-propagate through Copilot for Word

https://enklypesalt.com/posts/context-collapse-part3-ai-worming-through-word/
289•Canopy9560•8h ago•213 comments

A.I. companies are recruiting electricians and carpenters by the thousands

https://www.nytimes.com/2026/07/29/business/economy/data-center-electricians-training.html
130•thm•5h ago•180 comments

Commodification of Intelligence: Good, Bad, and Ugly Circular AI Deals

https://www.emergingtrajectories.com/lh/commodification-and-circularity/
17•cl42•1h ago•13 comments

Some thoughts about Anthropic's new cryptanalysis results

https://blog.cryptographyengineering.com/2026/07/29/some-notes-about-anthropics-new-results/
65•supermatou•3h ago•34 comments

How much can you delegate to agents?

https://newsletter.posthog.com/p/agent-autonomy
14•duck•1h ago•0 comments

Aurora DSQL: Scalable, Multi-Region OLTP

http://muratbuffalo.blogspot.com/2026/07/aurora-dsql-scalable-multi-region-oltp.html
7•zdw•5d ago•0 comments

Show HN: CheapFoodMap – A map of good meals under $10

https://cheapfoodmap.com/
53•jaep1•3h ago•47 comments

Darktable

https://www.darktable.org/
222•siatko•7h ago•112 comments

How to Not Die by a Thousand Cuts. Or, How to Think About Software Quality

https://www.evalapply.org/posts/how-to-not-die-by-a-thousand-cuts/index.html
14•adityaathalye•1h ago•2 comments

The Rust on ESP Book

https://docs.espressif.com/projects/rust/book/
70•AlexeyBrin•4d ago•8 comments

Hamburg's Stadtpark: A Park Built to Be Used

https://alsterrunde.com/hamburgs-stadtpark-a-park-built-to-be-used/
76•mertbio•2d ago•17 comments

Self-hosting Kimi K3: 20% more hardware cost, 20% better task resolution

https://aistack.imec-int.com/blog/gpu-self-hosting
78•flifenstein•5h ago•29 comments

Launch HN: Tokenless (YC S26) – Automatic model switching to save money

https://usetokenless.com/
40•rohaga•4h ago•36 comments

Show HN: Qwen Scribe – local transcription and dictation for Apple Silicon

https://github.com/VladUZH/qwen-scribe
52•sidclaw•5h ago•14 comments

Shipping Godot VR and Porting to PSVR2: A Partial Post Mortem

https://www.claire-blackshaw.com/blog/2026/07/shipping-godot-vr-and-porting-to-psvr2-a-partial-po...
95•ibobev•7h ago•7 comments

Learning Musical Multitasking

https://www.jefftk.com/p/learning-musical-multitasking
31•surprisetalk•5d ago•16 comments

GPT-5.6 vs. Claude Fable 5 for Physical AI, which performs best?

https://juliahub.com/blog/frontier-models-physical-ai-evaluation
65•mbauman•5h ago•13 comments

More Tailscale tricks for your jailbroken Kindle

https://tailscale.com/blog/jailbroken-kindle-proxy-tun-modes
375•Error6571•15h ago•107 comments