Detective Jev keeps watch over the house
Every so often, whatever my family is doing stops because Detective Jev's light has gone yellow or red, and we go and check what it's worried about. It turns out to be one of the sliding doors open on a cold day, or the front door open for too long, or something like that.
Detective Jev is our version of TypeSafe's Jev, the model for fast, typed decisions that I used in Jev Atlas. It is a small app I built with AI help that runs beside Home Assistant, keeps checking our house through the day, and tries to tell us when something is out of the ordinary.
It doesn't have enough data on our house yet to be very smart. For now it is about as smart as our dog, who barks at the mail delivery person.
On its page, Detective Jev is a little cut-paper Sherlock Holmes. Its mood also shows on three LEDs on a breadboard, driven by an ESP32 running ESPHome.
How Detective Jev decides
Through the day, Detective Jev lists what's going on in the house, and next to each thing it puts whatever might explain it: what Home Assistant's logbook says caused it, the automations that act on it, how often it usually happens, and our notes. TypeSafe's Jev decides which of those explains each thing, if any, and how urgent it is. Detective Jev only speaks up about what nothing explains, so the backyard lights coming on at sunset are never news. What it finds sets its mood.
All as usualGreen light
Worth a lookYellow light
A reading doesn't add upYellow light, blinking
Needs youRed light
The first version didn't know what caused anything, and it was worried most of the time. It flagged the backyard lights 27 minutes after sunset because they "usually last 12 hours".
Talking to Detective Jev
The page has a chat, answered by OpenAI's GPT-5.6 Luna, and that's how we change what Detective Jev does. What we tell it becomes a note that it reads the next time it looks. The chat can't switch anything in the house, only change what Detective Jev knows: add or forget a note, add a check that should always hold, or stop watching a device we don't use any more.
On Thanksgiving Monday, with several doors open and several burners on, I told it that this should be reported. It asked whether that held every day or only on weekday late mornings, and saved the note when I said all the time.
I wanted TypeSafe's Jev to do most of the judging, because it is cheap, so GPT-5.6 Luna only runs when we talk to Detective Jev, and once a night.
Detective Jev dreams
Each night, Detective Jev "dreams": GPT-5.6 Luna consolidates its notes. It merges duplicates, keeps the newer of two notes that disagree, drops expired ones and keeps each note short. Any night's changes can be undone from the page.
The other night, before he went to sleep, my young son asked me if Jev was green. I told him yes, he's green, and everything is fine.