Build notes for the v4 kit. Pins and parts come from the firmware on the main branch (train 8.2.0.0). Setting up a finished kit instead? Start with the user guide. Power down between changes. A couch already killed a board. Australian mains work needs a licensed electrician where the law requires it.
DSC · SCHEMATICS

Power domains and signal lines.

Low-voltage sense and PWM on one side. Mains appliances only through plugs that switch off when the brain goes quiet.

3V3 domain ESP32 ESP-NOW to panel DHT22 tails CO2 analog PWM / 0-10V LEDC → converters fans + dim line mains via plugs Sonoff relays brain quiet → off in 90 s

The drawings stay with the firmware, which is private by decision. This page is the public map: low-voltage on one side, mains only through Sonoff plugs that boot OFF and switch off 90 s after the brain goes quiet.