Rename config templates: .templ → -sim.json.tpl, config_real.json → -real.json.tpl

Consistent naming: config-sim.json.tpl and config-real.json.tpl.
Update README and TODO references accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SH2D4LRuCnhLSzoYerAfJX
This commit is contained in:
2026-06-28 20:23:29 +02:00
co-authored by Claude Sonnet 4.6
parent 2e14978210
commit c6e9258351
5 changed files with 57 additions and 14 deletions
+11 -12
View File
@@ -101,11 +101,12 @@ sude/ Mash schedules ("Sud" = brew/wort), each a
per-step stirrer timing, and optional pause
for user confirmation.
config.json.templ Configuration template - the "sim" component
names (stirrer/plant) already default to
simulation; point Stirrer/Heater at real
serial ports and plant_name at a real
backend to switch to hardware.
config-sim.json.tpl Configuration template for simulation - all
component names default to "sim"; no hardware
needed.
config-real.json.tpl Configuration template for real hardware -
real plant/heater/stirrer backends with the
correct serial ports pre-filled.
web/ Browser client - static HTML/CSS/JS (no build
step, no dependencies), speaking the exact
@@ -217,13 +218,11 @@ pip install -r client/requirements.txt
## Running
1. Copy `config.json.templ` to `config.json` next to `brewpi.py` - it
already runs entirely in simulation (no hardware needed) as-is; switch
`stirrer_name`/`plant_name`'s `"sim"` value(s) to a real backend, and
set the corresponding serial port, to use real hardware. `plant_name`
alone picks the heater/pot/sensor trio together (see `PlantFactory`) -
`"sim"` gets `HeaterSim`/`Pot`/`TempSensorSim`, anything else gets
`HeaterHendi`/`PotReal`/`TempSensor_max31865`.
1. Copy `config-sim.json.tpl` (simulation, no hardware needed) or
`config-real.json.tpl` (real hardware) to `config.json` next to
`brewpi.py`. `plant_name` picks the heater/pot/sensor trio together
(see `PlantFactory`) - `"sim"` gets `HeaterSim`/`Pot`/`TempSensorSim`,
anything else gets `HeaterHendi`/`PotReal`/`TempSensor_max31865`.
2. Start the server:
```bash