Commit Graph

13 Commits

Author SHA1 Message Date
869922c928 PyThermostat: Simplify PIDAutotuneState enum names
Remove `STATE_` prefix to reduce verbosity in say,
PIDAutotuneState.STATE_RELAY_STEP_DOWN
2025-01-20 11:56:06 +08:00
877c046a19 PyThermostat: Modify PIDAutotune for GUI usage
This adds:

- An extra ready PIDAutotuneState and corresponding state transitions
- A setter for autotune parameters, allowing change after construction
2025-01-20 11:54:37 +08:00
6a06a38bb7 PyThermostat: Refactor autotune
- Use auto() for PIDAutotuneState Enum
- Shorten if-conditional statement
2025-01-20 11:53:33 +08:00
9868ca4447 PyThermostat: Add dependencies to pyproject.toml 2025-01-15 23:00:11 +08:00
6aef143e3e PyThermostat: Remove tec terminology
The client controls the Thermostat as a whole and not just a TEC
attached to it; adjust variable names accordingly.
2025-01-06 18:04:12 +08:00
8db4867ebf PyThermostat: Improve pyproject metadata 2024-11-25 13:38:04 +08:00
130bde480e PyThermostat: Replace setup.py with pyproject.toml 2024-11-25 13:14:54 +08:00
36d80ebdff PyThermostat: Add entry points for runnables
Forms a more convienient interface.
2024-11-25 10:07:30 +08:00
09300b5d44 PyThermostat: Add main function to plot.py 2024-11-25 10:07:30 +08:00
9743dca775 PyThermostat: Move scripts into subfolder
As Thermostat Python scripts are not single-file Python modules and
should be packaged inside PyThermostat.
2024-11-25 10:07:20 +08:00
764774fbce PyThermostat: Remove report mode in autotune.py 2024-11-18 17:47:33 +08:00
4beeec6021 PyThermostat: Remove all references to Pytec 2024-11-18 17:34:39 +08:00
6b8a5f5bb8 Rename the Pytec library to PyThermostat
Pytec is a misnomer, as the Thermostat is not limited to just
controlling TEC modules. The library also interfaces with and controls
the Thermostat itself, and not the TEC module directly.

See #149 (comment)
2024-11-18 16:22:57 +08:00