Pot config (water_mass, volumen) sent in System message at startup. app.js stores potConfig and uses it in updatePotVisualization/ updateStatusLine when sudEmpty, showing startup fill level and "No schedule – N L water" without requiring a sud to be loaded first. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
56 lines
819 B
Smarty
56 lines
819 B
Smarty
{
|
|
"ambient_temperature": 20,
|
|
"TempCtrl": {
|
|
"pid_type": "Smith",
|
|
"beta": 0.05,
|
|
"Hold": {
|
|
"kp": 0.4,
|
|
"ki": 0.0,
|
|
"kd": 0.0,
|
|
"kt": 0.0
|
|
},
|
|
"Heat": {
|
|
"kp": 0.08,
|
|
"ki": 0.02,
|
|
"kd": 0.0,
|
|
"kt": 1.5
|
|
},
|
|
"Cool": {
|
|
"kp": 0.08,
|
|
"ki": 0.02,
|
|
"kd": 0.0,
|
|
"kt": 1.5
|
|
},
|
|
"Thresholds": {
|
|
"HoldHeat": 1.0,
|
|
"HoldCool": 1.0,
|
|
"HeatHold": 1.0,
|
|
"HeatCool": 1.0,
|
|
"CoolHold": 1.0,
|
|
"CoolHeat": 1.0
|
|
}
|
|
},
|
|
"Heater": {
|
|
"type": "hendi",
|
|
"port": "/dev/ttyUSB0",
|
|
"speed": "115200"
|
|
},
|
|
"Stirrer": {
|
|
"type": "pololu1376",
|
|
"port": "/dev/ttyACM0",
|
|
"speed": "115200"
|
|
},
|
|
"TempSensor": {
|
|
"type": "max31865",
|
|
"temp_offset": -0.15
|
|
},
|
|
"Pot": {
|
|
"mass": 5.96,
|
|
"material": "Edelstahl 18/10",
|
|
"L": 0.2,
|
|
"Td": 17,
|
|
"water_mass": 22,
|
|
"volumen": 30
|
|
}
|
|
}
|