DEV Community

Cover image for CoolSense: an AC that tells you what's wrong, before the technician drives out
Malathi Venkatesan
Malathi Venkatesan

Posted on

CoolSense: an AC that tells you what's wrong, before the technician drives out

Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle Submission đź’¸

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle

What I Built

The AC stops cooling. A technician finds a gas leak and says: "I'll come back tomorrow with the parts." One fault, two visits.

CoolSense lets the AC say what's wrong first:

  • â‘  Detect (code): spots when this unit drifts from its own normal.
  • ② Diagnose (TabPFN): names the fault.
  • ③ Explain (Gemma, local): messages the owner in their language. The technician gets what to bring.

Who pays: AC maintenance companies, per AC per month. They see which unit needs a visit, what's wrong, and what to put in the van.

Demo

Real sensor data from a rooftop AC with a documented 40% gas leak (Berkeley Lab), replayed as if live. Runs on my laptop.

Live view

Maintenance B2B company view

Code

GitHub logo malathilatha / coolsense

AC fault detection that runs on a laptop: code spots the drift, TabPFN names the fault, and local Gemma explains it to the owner in their language, tested on real LBNL rooftop-AC data with a documented gas leak

❄️ CoolSense: the AC that tells you what's wrong

Code detects → TabPFN diagnoses → Gemma explains. All open models, all on one laptop, no cloud.

When an AC fails, a technician usually visits once to find the fault and again with the parts CoolSense watches the unit's own sensor readings, names the likely fault, writes the owner a plain message in their language, and gives the technician a job card with what to bring, so the first visit can fix it.

Who pays: AC maintenance companies and facility managers (per AC, per month). They get a priority list of which units need a visit, what's probably wrong, and what to put in the van.

How it works

Built for the DEV Hacktoberfest Open-Source AI Challenge, Week 2: Side Hustle.

Demo

Live AC (owner + technician) Maintenance company (B2B)
Live view B2B view

The app replays real recordings from a rooftop AC with a documented…

How I Built It

  • Detect: gradient boosting learns what each sensor should read for the weather and load. Big gaps raise a flag.
  • Diagnose: TabPFN classifies flagged readings from labelled examples. Trained on simulation only, it got the real leak wrong. Add 2 technician-confirmed days, with no retraining, and it named 98% of flagged readings correctly.
  • Explain: gemma3:4b via Ollama writes the message. It never picks the fault or the numbers. The job card comes from a fixed checklist.
Real AC Days flagged
Leak, June 2020 11 / 15
Healthy circuit, 2021 2 / 109
"Healthy" circuit B, 2021 53 / 53: looks like the leak came back (hypothesis)

Not yet: it's a replay. Next comes reading live data from building systems. Newer TabPFN weights are non-commercial, so the code has a gradient-boosting fallback.

Why Does Open Innovation Matter?

  • Open data (LBNL, CC BY 4.0) let me test on a real leak.
  • Open weights run beside the AC: no cloud bill per unit, no building data leaving the site.
  • A technician's confirmation updates TabPFN on the spot, with no vendor in the loop.

Prize Categories

  • TabPFN: diagnoses the fault and improves from 2 confirmed days.
  • Gemma: writes the owner's message locally in 7 languages.

Top comments (0)