Design phase: no unit has been built or measured yet. Help build the first one

Open-source bed climate · Design phase

Sleep at your temperature. On your hardware.

Open Bed Climate is an open-source bed climate system. Water runs through a thin mat on your mattress, and Peltier modules cool or warm it, separately for each side of the bed. It runs locally with Home Assistant, is built from standard parts, and has no cloud and no subscription.

Open hardware (CERN-OHL-S-2.0)Open software (Apache-2.0)Not certified, not a medical device

Default night program: 24 °C at bedtime, 20 °C in deep sleep, warming to 32 °C at wake. Each side of the bed can run its own curve.

The default night program, from the reference code. Model data, not a measurement.

Yours, locally.

No cloud, no account, no subscription. Your temperature schedule runs on the hub next to your bed, and Home Assistant sees every zone natively.

Safety by architecture.

The networked hub can only ask for a temperature. A separate control chip enforces fixed limits, and hardware cutoffs act even if every line of software fails. You never touch mains wiring.

Standard parts, your kit.

PC-watercooling parts, Peltier modules, a Raspberry Pi Pico 2, an ESP32 and certified plug-in power supplies. Every part is listed by the job it does, so you can swap it.

Claims you can check.

Each kit is a small text file. Our test suite checks its temperature claims against an open thermal model. Write your own kit and get the same check.

How it works

Water, a heat pump the size of a coaster, and two small computers.

Water loopCooled water flows from the thermal module to the water mat on the bed, picks up heat from the sleeper, returns to the reservoir, and is pumped through the flow sensor back to the cold plate, where Peltier modules pump the heat into a heatsink with a fan. The control board drives the Peltier current; the hub requests temperatures over OPL.WATER MATON THE MATTRESSTHERMAL MODULE · PER ZONECONTROL · PICO 2SAFETY LIMITS 13–43 °CHUB · ESP32ESPHOME · HOME ASSISTANTOPLRESERVOIRPUMPFLOWFANHEATSINKPELTIERCOLD PLATECOOLED WATER · SUPPLY1234
  1. Mat. A thin water mat lies on your mattress, one zone per side.
  2. Thermal module. Peltier modules move heat into or out of the water. A pump circulates it.
  3. Control board. A Raspberry Pi Pico 2 runs the temperature loop and the safety limits, with a 43 °C ceiling, flow and leak interlocks, and a watchdog.
  4. Hub. An ESP32 running ESPHome runs your night schedule and connects to Home Assistant. It can only request temperatures.

Safety

Water, several hundred watts and a sleeping person.

We take that seriously: fixed limits in firmware, independent hardware cutoffs, certified plug-in supplies only, and a commissioning checklist before the first night. Nothing here is certified, so you build at your own risk.

  • 43 °C maximum setpoint, compiled in, not configurable
  • 50 °C bimetal cutoff on every cold plate
  • 0.15 L/min flow before any Peltier current
  • 10 s without a heartbeat and the bed goes to a safe state
Read the safety concept
Safety layersThree nested layers. Inside: the networked hub can only request temperatures. Around it: the control MCU clamps setpoints to 13–43 °C and enforces flow, leak and heartbeat interlocks. Outside: independent hardware cutoffs and a watchdog act even if all software fails.HARDWARE CUTOFFS50 °C · 80 °C bimetal · watchdogCONTROL MCUclamp 13–43 °C · flow · leakHUBrequests only

Where we are

Tested in software. Waiting for its first night.

Done

Works in software (tested)

  • Thermal model and kit checks
  • Control and safety logic (setpoint clamp, flow interlock, heating taper, watchdog)
  • OPL protocol (Open Peltier Link), with golden frames shared by Python, Rust and C++
  • Pico 2 firmware core matches the reference (compiles, not yet run on hardware)
  • ESPHome hub component with Home Assistant entities and night schedules (compiles for ESP32-S3, not yet run on hardware)
  • Three kits and a parts catalog listed by role (designed, not yet built)
Next

Next

  • Verify the remaining parts against datasheets
  • Fan and pump PWM control
  • Firmware update path over OPL
  • First hardware bring-up of the control board and hub
Help wanted

Needs you

  • The first physical build
  • Five measurements only a prototype can give us
Full status

The most valuable contribution right now

Build one and measure it.

Every number on this site is still a model estimate. One honest build report with photos and measurements is worth more than any line of code.