All builds
Built

Lie detector

I answered 10 questions with two fingers on a soil moisture sensor, and lied on some of them. A separate Claude guessed which ones and saved its guesses before I showed the answers. The sensor didn't prove anything, and this page says why.

Parts
All from my starter kit
Board
Arduino Uno
Sensor
Soil moisture sensor
Tested
Two rounds, at home
My real build: a soil moisture sensor, an Arduino Uno, a small servo with a white arm, and a green LED lit on the breadboard

01What it is

A machine, a test and a judge.

It's three things. A soil moisture sensor I rest two fingers on, with a small motor as a needle and a red and a green light. A program on my Mac that asks me 10 questions. And a separate Claude that reads everything and guesses truth or lie for each answer.

Read this first

This is not a real lie detector. The sensor reacts to contact, pressure, movement and skin moisture. I can't say it caught my lies. It's a home test with one person and two rounds. Please don't use anything like it to accuse someone.

Two fingers resting on the two metal arms of the soil moisture sensor, with the Arduino and the servo needle next to it
Two fingers on the two metal arms. No pressing.
Close up of the Keyestudio soil moisture sensor held in two fingers
The sensor. It's made to go in a plant pot.

02How it works

From two fingers to a guess.

  1. The sensor gives a number

    The Arduino reads the sensor about 10 times a second and sends the number to the Mac. With nobody touching it, it reads 0.

  2. The needle follows it

    The same number turns the servo. Touch the sensor and the needle moves. Let go and it swings back.

  3. The Mac asks the questions

    A page on the Mac reads each question out loud. I answer with the Y or N key. It saves the numbers, how long I took to press, and one photo from the Mac's camera.

  4. A fresh Claude decides

    All of that goes to a separate Claude in an empty folder. It knows nothing from our chat and it can only read files. It answers truth or lie for each question, with a reason.

  5. Saved before the reveal

    Its guesses are written to a file before I open my paper. Then the lights show each one: red for lie, green for truth.

Before the test I wrote on paper which answers I would lie on, away from the Mac. I never typed them in, and I didn't tell Claude how many there were.

03Parts

Only what was in the kit.

I wanted to make it only with parts from my Arduino starter kit. The first plan used foil on my fingers and a paper roll. I said no to the foil, and the paper machine needed things that weren't in the kit, so we skipped it.

PartHow manyNote
Arduino UnoMine is the Keyestudio one from the kit.1With its USB cable
Soil moisture sensorKeyestudio, with two bare metal arms and pins marked S, + and −.1The finger sensor
Micro servo 9GWith one of the white arms on it as the needle.1The needle
LEDs, one red and one green2Lie and truth
220 Ω resistorsOne for each LED.2
Breadboard and jumper wiresThree wires with a socket on one end for the sensor.1
A Mac with a cameraThe test program uses macOS for the port, the voice and the photo.1Runs the test

Power it only from the Mac's USB, with the MacBook unplugged from its charger while your fingers are on the sensor. No wall power and no battery pack. Unplug the USB before you change a wire.

04Wiring

Six pins on the Uno.

Keep the USB cable out while you wire. These are the pins in my code.

Wiring: sensor S to A0, sensor plus and servo red to 5V, sensor minus and servo brown to GND, servo signal to pin 6, pin 4 through a 220 ohm resistor to the red LED, pin 5 through a 220 ohm resistor to the green LED, both LED short legs to GND. Arduino Uno A05VGND~64~5 220 Ω220 Ω S+−Soil sensor Servo GNDred, green LED
The sensor's S pin goes to A0. Its + and the servo's red wire share 5V. Its − goes to GND, and so does the servo's brown wire. The servo's signal goes to pin 6. Pin 4 drives the red LED and pin 5 the green one, each through its own 220 Ω resistor, with both short legs to GND.
FromTo the Uno
Sensor SA0
Sensor +5V I put it in one breadboard row with the servo's red wire, and one wire takes that row to 5V.
Sensor −GND
Servo signalPin 6
Servo red / brown5V / GND
Red LED long legPin 4, through a 220 Ω resistor
Green LED long legPin 5, through a 220 Ω resistor
Both LED short legsThe breadboard's minus line, then GND
  1. Wire the sensor straight to the Uno

    At first I put the sensor's legs in the breadboard and got only zeros. Its legs weren't really in the holes. Three wires with a socket on one end, straight from the sensor to the Uno, fixed it.

  2. Check the board and the code without the sensor

    Move the A0 wire to the 3.3V pin for a moment. My numbers jumped to about 660. If yours do too, the board, the wire and the code work, and any problem is on the sensor side.

  3. Look at the A0 hole

    Once the numbers climbed past 300 and I thought it worked. A photo showed the wire wasn't in A0 at all. An empty pin still gives numbers, but they mean nothing.

  4. Do the resistor test

    Hold a resistor across the two metal arms. Mine read 0, then about 850, then 0 again when I took it off. That was the first reading I could trust.

  5. Then the needle and the lights

    Add the servo and the LEDs with the USB out, take a photo, check every wire against the table, then plug in.

05Code

One sketch, two Mac programs.

I typed the Arduino sketch myself from lines Claude gave me. Claude wrote the two programs that run on the Mac.

lie_detector.inoArduino IDE: pick Arduino Uno and your port, then UploadDownload
// Lie detector, step 1
// Goal: read A0 about 10 times a second and print the number.
#include<Servo.h>
Servo needle;

void setup() {
  // Runs once.
Serial.begin(9600);
  analogReference(INTERNAL);
  needle.attach(6);
  pinMode(4,OUTPUT);
  pinMode(5,OUTPUT);

}

void loop() {
  // Repeats forever.
int value =analogRead(A0);
Serial.println(value);
  int angle =map(value,0,400,20,160);
  angle=constrain(angle,20,160); 
  needle.write(angle);
delay(100);
  if(Serial.available()) {
    char command=Serial.read();
    if(command =='r') {
     digitalWrite(4,HIGH);
      digitalWrite(5,LOW);
    
    } 
    if (command == 'g') {
      digitalWrite(4, LOW);
      digitalWrite(5,HIGH);
    }
    if(command =='o') {
      digitalWrite(4,LOW);
      digitalWrite(5,LOW);
    }
  }



}

With my fingers on the arms the numbers were tiny, around 10. The line analogReference(INTERNAL) makes the board measure against a lower voltage, so small signals give bigger numbers. The needle turns between 20 and 160 degrees as the number goes from 0 to 400. The letters r, g and o sent from the Mac turn on red, green, or both off.

examiner.pyMac, Python 3. Needs breath_test.py in the same folderDownload
#!/usr/bin/env python3
"""Lie detector examiner (written by Claude; runs on the Mac).

Shows each question on a local page, records the fork's numbers and how long the
answer takes, saves a camera photo per answer, asks a separate Claude for its
guesses, SAVES them, and only then lets them be revealed with the two lights.

The true answers are never typed in. The numbers are never changed.
This measures what happens at the fingers. It cannot really detect lies.

  python3 examiner.py practice   (calm questions only, no Claude)
  python3 examiner.py            (the real test, one take)
"""
import json, os, re, shutil, statistics, subprocess, sys, tempfile, threading, time, webbrowser
from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer

import breath_test as bt

HERE = os.path.dirname(os.path.abspath(__file__))
CAMERA = "MacBook Air Camera"
PORT = 0  # 0 = any free port (8765 is used by something else on this Mac)
BASELINE_SECONDS = 45
AFTER_ANSWER_SECONDS = 12
TOUCH_LEVEL = 20

CALM = [
    "Are you sitting down right now?",
    "Are your fingers on the sensor?",
    "Is there a screen in front of you?",
]
REAL = [
    "Have you ever ridden a horse?",
    "Have you ever seen a shooting star?",
    "Have you ever been on a boat?",
    "Can you whistle?",
    "Do you know how to juggle?",
    "Have you ever fallen asleep during a movie?",
    "Can you snap your fingers?",
    "Have you ever sung in the shower?",
    "Can you touch your nose with your tongue?",
    "Have you ever pretended to like a gift?",
]

state = {"phase": "start", "big": "Press SPACE to start", "small": "", "values": [], "touch": False}
samples = []          # (time, value)
keys = []             # keys pressed on the page
lock = threading.Lock()
serial_error = []

PAGE = """<!doctype html><meta charset="utf-8"><title>Lie detector</title>
<style>body{margin:0;background:#0d1117;color:#eee;font-family:-apple-system,sans-serif;text-align:center}
#big{font-size:5vw;font-weight:700;margin:8vh 4vw 2vh;min-height:13vw}#small{font-size:2vw;color:#9aa;min-height:3vw}
canvas{width:94vw;height:36vh;background:#161b22;border-radius:12px}#warn{color:#ff6b6b;font-size:2vw;min-height:3vw}</style>
<div id="big"></div><div id="small"></div><div id="warn"></div><canvas id="c" width="1600" height="500"></canvas>
<script>
const c=document.getElementById('c'),g=c.getContext('2d');
async function tick(){try{const s=await(await fetch('/state')).json();
big.textContent=s.big;small.textContent=s.small;
warn.textContent=(!s.touch&&['baseline','question','after'].includes(s.phase))?'No contact with the fork':'';
g.clearRect(0,0,1600,500);const v=s.values;if(v.length){const top=Math.max(400,...v);
g.strokeStyle='#3fb950';g.lineWidth=4;g.beginPath();v.forEach((y,i)=>{const px=i*1600/599,py=480-y*460/top;i?g.lineTo(px,py):g.moveTo(px,py)});g.stroke();
g.fillStyle='#eee';g.font='36px sans-serif';g.textAlign='left';g.fillText(v[v.length-1],20,45)}}catch(e){}
setTimeout(tick,200)}
document.addEventListener('keydown',e=>{const k=e.key===' '?'space':e.key.toLowerCase();
if(['space','y','n'].includes(k)){e.preventDefault();if(!e.repeat)fetch('/key',{method:'POST',body:k})}});
tick();
</script>"""


class Handler(BaseHTTPRequestHandler):
    def log_message(self, *a):
        pass

    def reply(self, body, kind):
        self.send_response(200)
        self.send_header("Content-Type", kind + "; charset=utf-8")
        self.end_headers()
        self.wfile.write(body.encode())

    def do_GET(self):
        if self.path == "/state":
            with lock:
                data = dict(state, values=[v for _, v in samples[-600:]])
            data["touch"] = bool(data["values"]) and data["values"][-1] > TOUCH_LEVEL
            self.reply(json.dumps(data), "application/json")
        else:
            self.reply(PAGE, "text/html")

    def do_POST(self):
        body = self.rfile.read(int(self.headers.get("Content-Length", 0))).decode()
        keys.append((time.time(), body))
        self.reply("ok", "text/plain")


def show(phase, big, small=""):
    state.update(phase=phase, big=big, small=small)


def wait_key(allowed):
    keys.clear()
    while True:
        check_serial()
        for t, k in list(keys):
            if k in allowed:
                return t, k
        time.sleep(0.02)


def check_serial():
    if serial_error:
        show("error", "Lost the Arduino", "Check the USB cable, then start again.")
        time.sleep(2)
        sys.exit(serial_error[0])


def pause(seconds):
    end = time.time() + seconds
    while time.time() < end:
        check_serial()
        time.sleep(0.1)


def read_serial(fd):
    try:
        for value in bt.readings(fd):
            with lock:
                samples.append((time.time(), value))
    except BaseException as e:  # includes the "no numbers" exit
        serial_error.append(str(e))


def window(a, b):
    with lock:
        return [(t, v) for t, v in samples if a <= t <= b]


def photo(path):
    subprocess.run(["ffmpeg", "-loglevel", "error", "-y", "-f", "avfoundation", "-framerate", "30",
                    "-video_size", "1280x720", "-i", CAMERA, "-ss", "1", "-frames:v", "1", path],
                   stdin=subprocess.DEVNULL, stderr=subprocess.DEVNULL, timeout=20, check=False)


def ask(number, kind, text, folder):
    show("question", text, "Y = yes     N = no")
    asked = time.time()
    subprocess.run(["say", text], check=False)
    spoken = time.time()
    answered, key = wait_key({"y", "n"})
    shot = os.path.join(folder, f"{kind}-{number}.jpg")
    camera = threading.Thread(target=photo, args=(shot,))
    camera.start()
    show("after", "Stay still", "Breathe normally")
    pause(AFTER_ANSWER_SECONDS)
    camera.join()

    before = [v for _, v in window(asked - 3, asked)] or [0]
    during = window(asked, answered + AFTER_ANSWER_SECONDS)
    values = [v for _, v in during]
    touching = [v for v in values if v > TOUCH_LEVEL]
    base = statistics.median(before)
    per_second = {}
    for t, v in during:
        per_second.setdefault(int(t - asked), []).append(v)
    return {
        "number": number, "kind": kind, "question": text, "answer_given": "yes" if key == "y" else "no",
        "seconds_to_answer": round(max(0.0, answered - spoken), 2),
        "pressed_before_voice_finished": answered < spoken,
        "number_before": base,
        "biggest_rise": (max(touching) - base) if touching else 0,
        "biggest_drop": (base - min(touching)) if touching else 0,
        "share_without_contact": round(1 - len(touching) / max(1, len(values)), 2),
        "one_value_per_second_from_question_start": [int(statistics.median(per_second[s])) for s in sorted(per_second)],
        "photo": os.path.basename(shot) if os.path.exists(shot) else None,
    }


PROMPT = """You are the examiner in a home-made lie detector video. For each REAL question, guess whether the
answer the person gave was the truth or a lie. Any number of them may be lies, including none or all.

What you have: results.json in the current folder (read it) and the photos it names (open them with Read).
The sensor is a soil moisture fork with two fingers resting on it. It reflects contact, pressure, movement
and skin moisture. It is NOT a validated lie detector. 'calm' entries are obvious questions for comparison.
Contact loss makes a question's numbers unreliable. Do not overstate what a photo or number shows.

Reply with ONLY a JSON array, one object per real question, in order:
[{"number":1,"verdict":"truth" or "lie","confidence":0-100,"reason":"one short plain sentence"}]"""


def judge(results, folder):
    room = tempfile.mkdtemp(prefix="examiner-")  # a clean folder: this Claude knows nothing else
    try:
        with open(os.path.join(room, "results.json"), "w") as f:
            json.dump(results, f, indent=1)
        for r in results:
            if r["photo"]:
                shutil.copy(os.path.join(folder, r["photo"]), room)
        run = subprocess.run(
            ["claude", "-p", PROMPT, "--model", "sonnet", "--tools", "Read", "--allowedTools", "Read",
             "--setting-sources", ""],
            cwd=room, capture_output=True, text=True, timeout=300, stdin=subprocess.DEVNULL)
        with open(os.path.join(folder, "claude-reply.txt"), "w") as f:
            f.write(run.stdout + ("\n--- errors ---\n" + run.stderr if run.stderr else ""))
        found = re.search(r"\[.*\]", run.stdout, re.S)
        verdicts = json.loads(found.group(0))
        assert [v["number"] for v in verdicts] == list(range(1, len(REAL) + 1))
        assert all(v["verdict"] in ("truth", "lie") for v in verdicts)
        return verdicts
    finally:
        shutil.rmtree(room, ignore_errors=True)


def main():
    practice = sys.argv[1:] == ["practice"]
    runs = os.path.join(HERE, "runs")
    os.makedirs(runs, exist_ok=True)
    with open(os.path.join(runs, ".gitignore"), "w") as f:
        f.write("*\n")  # photos of a face never go into git
    folder = os.path.join(runs, time.strftime("%m%d-%H%M%S") + ("-practice" if practice else ""))
    os.makedirs(folder)

    fd = bt.open_port()
    threading.Thread(target=read_serial, args=(fd,), daemon=True).start()
    server = ThreadingHTTPServer(("127.0.0.1", PORT), Handler)
    threading.Thread(target=server.serve_forever, daemon=True).start()
    webbrowser.open(f"http://127.0.0.1:{server.server_port}/")
    print("The page is open in your browser. Click on it, then follow the screen.")
    print("To stop at any time: Control + C here.")

    show("start", "Press SPACE to start", "PRACTICE" if practice else "The real test. One take.")
    wait_key({"space"})
    os.write(fd, b"o")

    show("touch", "Rest two fingers on the fork")
    count = 0
    while count < 10:
        pause(0.1)
        count = count + 1 if samples and samples[-1][1] > TOUCH_LEVEL else 0

    show("baseline", "Sit still", "Rest your arm on the table and do not move your fingers")
    pause(BASELINE_SECONDS)

    results = []
    plan = [(i, "calm", q) for i, q in enumerate(CALM[:1] if practice else CALM, 1)]
    if not practice:
        plan += [(i, "real", q) for i, q in enumerate(REAL, 1)]
    for number, kind, text in plan:
        results.append(ask(number, kind, text, folder))
        with open(os.path.join(folder, "results.json"), "w") as f:
            json.dump(results, f, indent=1)

    with lock, open(os.path.join(folder, "numbers.csv"), "w") as f:
        f.write("time,value\n" + "".join(f"{t:.2f},{v}\n" for t, v in samples))

    if practice:
        ok = all(r["photo"] for r in results)
        show("done", "Practice finished", "Photo saved" if ok else "The camera photo FAILED")
        print("Practice finished.", "Photo saved." if ok else "The camera photo FAILED.", "Folder:", folder)
        pause(5)
        return

    show("judging", "You can lift your fingers", "Claude is deciding. Keep the paper folded.")
    try:
        verdicts = judge(results, folder)
    except Exception as e:
        show("error", "Claude's answer failed", "Your numbers are saved. Keep the paper folded.")
        print("Judging failed:", repr(e), "\nEverything recorded is in", folder)
        pause(10)
        return

    saved = os.path.join(folder, "verdicts.json")
    with open(saved, "w") as f:
        json.dump({"saved_at": time.strftime("%Y-%m-%d %H:%M:%S"), "verdicts": verdicts}, f, indent=1)
    print("Verdicts SAVED:", saved)

    show("saved", "Claude's guesses are saved", "Keep the paper folded. Press SPACE to see guess 1.")
    wait_key({"space"})
    for v in verdicts:
        lie = v["verdict"] == "lie"
        os.write(fd, b"r" if lie else b"g")
        show("reveal", f"{v['number']}. {'LIE' if lie else 'TRUTH'}",
             f"{REAL[v['number'] - 1]}  ({v['confidence']}% sure) {v['reason']}   [SPACE = next]")
        wait_key({"space"})
    os.write(fd, b"o")
    lies = ", ".join(str(v["number"]) for v in verdicts if v["verdict"] == "lie") or "none"
    show("done", "Now open the paper", f"Claude said LIE for: {lies}")
    wait_key({"space"})


if __name__ == "__main__":
    try:
        main()
    except KeyboardInterrupt:
        print("\nStopped.")
breath_test.pyMac. Opens the Arduino's port and reads the numbersDownload
#!/usr/bin/env python3
"""Go / no-go helper (written by Claude; runs on the Mac, not on the Arduino).

Starts the clock when your fingers touch, says when to breathe, and saves every
number the Arduino sends, with its time. It never changes the numbers.
"""
import csv, glob, os, select, subprocess, sys, termios, time

HERE = os.path.dirname(os.path.abspath(__file__))
CUES = [(60, "breathe"), (90, "breathe"), (120, "breathe"), (150, "lift")]
TOUCH_LEVEL = 20  # untouched reads about 0


def speak(word):
    subprocess.Popen(["say", word])


def open_port():
    ports = glob.glob("/dev/cu.usbmodem*")
    if not ports:
        sys.exit("The Mac does not see the Arduino. Check the USB cable.")
    try:
        fd = os.open(ports[0], os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
        a = termios.tcgetattr(fd)
        a[0] = a[1] = a[3] = 0
        a[2] = termios.CS8 | termios.CREAD | termios.CLOCAL
        a[4] = a[5] = termios.B9600
        termios.tcsetattr(fd, termios.TCSANOW, a)
    except OSError:
        sys.exit("The port is busy. Press Control + C in the old number screen, then run this again.")
    return fd


def readings(fd):
    buf, last = b"", time.time()
    while True:
        if select.select([fd], [], [], 0.2)[0]:
            try:
                buf += os.read(fd, 256)
            except BlockingIOError:
                time.sleep(0.02)
        *lines, buf = buf.split(b"\n")
        for line in lines:
            text = line.strip()
            if text.isdigit() and int(text) <= 1023:
                last = time.time()
                yield int(text)
        if time.time() - last > 8:
            sys.exit("No numbers for 8 seconds. Check the USB cable, then run this again.")


def main():
    n = 2
    while os.path.exists(os.path.join(HERE, f"breath-test-{n}.csv")):
        n += 1
    path = os.path.join(HERE, f"breath-test-{n}.csv")

    stream = readings(open_port())
    for _ in range(20):  # skip the first two seconds after the board restarts
        next(stream)

    print("\nReady. Rest your two fingers flat on the arms. The clock starts when you touch.\n")
    speak("ready")
    touched = 0
    for value in stream:
        touched = touched + 1 if value > TOUCH_LEVEL else 0
        if touched >= 10:  # one full second of contact
            break

    start = time.time()
    cues = list(CUES)
    shown = -1
    with open(path, "w", newline="") as f:
        out = csv.writer(f)
        out.writerow(["seconds", "value", "cue"])
        for value in stream:
            t = time.time() - start
            cue = ""
            if cues and t >= cues[0][0]:
                cue = cues.pop(0)[1]
                speak(cue)
                print(f"\n>>>>>  {cue.upper()}  <<<<<\n")
            out.writerow([f"{t:.1f}", value, cue])
            if int(t) != shown:
                shown = int(t)
                print(f"time {shown // 60}:{shown % 60:02d}   number {value}")
            if cue == "lift":
                break
    print(f"\nFinished. Saved: {os.path.basename(path)}")


if __name__ == "__main__":
    try:
        main()
    except KeyboardInterrupt:
        print("\nStopped.")

Run python3 examiner.py practice first: one calm question, no Claude. Then python3 examiner.py for the real test, in one take. On its own, breath_test.py is the breathing check I used before the test.

What it needs: a Mac, the claude command signed in, and ffmpeg for the camera photo. Change CAMERA at the top of examiner.py to your camera's name. Photos of your face stay in a runs folder on your Mac.

Chart of the sensor number during the breathing test: it rises after the second and third breathe marks, and drops to zero when the fingers lift
The breathing check, from one run. After the second breath the number went from about 250 to almost 300, and it rose again after the third. The first wasn't clear, and I may have pressed harder while breathing.

06Judge prompt

What the separate Claude is told.

Word for word from examiner.py. It runs on Sonnet in an empty folder with only the Read tool, so it sees the numbers, the answer times, the photos and nothing else. It's also in my prompt library.

The judge promptFrom examiner.pyDownload
You are the examiner in a home-made lie detector video. For each REAL question, guess whether the
answer the person gave was the truth or a lie. Any number of them may be lies, including none or all.

What you have: results.json in the current folder (read it) and the photos it names (open them with Read).
The sensor is a soil moisture fork with two fingers resting on it. It reflects contact, pressure, movement
and skin moisture. It is NOT a validated lie detector. 'calm' entries are obvious questions for comparison.
Contact loss makes a question's numbers unreliable. Do not overstate what a photo or number shows.

Reply with ONLY a JSON array, one object per real question, in order:
[{"number":1,"verdict":"truth" or "lie","confidence":0-100,"reason":"one short plain sentence"}]

07Two rounds

How the tests went.

Ten yes or no questions, like "Have you ever ridden a horse?" and "Can you snap your fingers?" Each round was one take, and Claude's guesses were saved before I opened the paper.

Round one

9 of 10 answers judged right

I lied on 5 questions. Claude said lie for 4 of them and missed the horse. Its reasons were mostly about how believable each answer was. Most people have seen a shooting star or can snap their fingers, so my "no" sounded strange. It also looked at how fast I pressed. For several questions it said the sensor showed nothing unusual.

My lies were too easy: I kept saying no to things almost everyone has done.

Round two

9 of 10 again

Same questions, a new Claude that never saw round one, and lies that sounded normal. I lied on 4. Claude said lie for 3 and missed juggling. It leaned on how unlikely an answer was again, and on jumps and drops in the numbers that it said could be me moving.

In round one my lies were faster than my truths. In round two they were slower. Three answers were pressed in under half a second.

08What it can't do

So, is it a lie detector?

No. I built a machine with a sensor, a needle and two lights, and Claude guessed well twice. That's all this shows.

  • The sensor didn't prove anything. Contact, pressure and movement change the number too, not only skin moisture.
  • Claude mostly used common sense. Most of its reasons were about how believable my answer was, not about the sensor.
  • Answer speed isn't a steady sign. It went one way in round one and the other way in round two.
  • One person, two rounds, at home. That's far too little to say it works.
  • Even real lie detectors can be wrong. Never use anything like this to accuse someone.

What I'd try next: give Claude only the sensor numbers, without the questions, and see how much the sensor really tells it.