{
  "redis_url": "redis://127.0.0.1:6379/0",
  "log_path": "/var/log/hot-tub/control.log",
  "state_path": "/var/lib/hot-tub/control-state.json",
  "gpio": {
    "heat_pump": 22,
    "filter_pump": 23,
    "active_high": true
  },
  "maintain": {
    "band_f": 5.0,
    "startup_delay_s": 20.0,
    "hot_in_rise_f": 10.0,
    "startup_attempts": 3,
    "retry_off_s": 5.0
  },
  "backflush": {
    "duration_s": 10.0,
    "revert_to_heat_mode": "sleep"
  },
  "filter_auto": {
    "start_time": "00:00",
    "run_time_hours": 2.0,
    "timezone": "local"
  },
  "target_f_default": 102,
  "target_f_min": 50,
  "target_f_max": 110,
  "temps_stale_s": 15,
  "loop_interval_s": 1.0,
  "heartbeat_s": 5.0
}
