Commit Graph

175 Commits

Author SHA1 Message Date
atse fc7289eff7 ctrl_panel: Explain "SPS" in Postfilter tooltip 2024-10-14 17:46:52 +08:00
atse bbc9204b7f ctrl_panel: Use ADC sample interval as PID unit
The Thermostat PID gains are actually in units relative to the sampling
interval of the Thermostat, and not SI seconds. Reflect that accordingly
in the units of PIDs.

See https://hackmd.io/IACbwcOTSt6Adj3_F9bKuw#Units for more details.
2024-10-14 17:35:49 +08:00
atse d092c6f9a8 Remove ["value"] in pwm values 2024-10-14 16:53:30 +08:00
atse 7f1223b1b9 ctrl_panel: Add polarity option in output settings 2024-10-14 16:53:02 +08:00
atse b1e5a843eb QVariantList -> list 2024-10-07 17:48:24 +08:00
atse 2b02ea334a No need to create a new task for waiting 2024-10-07 17:48:24 +08:00
atse 3b2743c079 super init's first 2024-10-07 17:48:24 +08:00
atse a7ce942aea Format 2024-10-07 17:48:24 +08:00
atse ea8469a690 ch_tuning -> autotuning_channels 2024-10-07 17:48:24 +08:00
atse 2467fc2ee2 Module docstring?? 2024-10-07 17:48:24 +08:00
atse a3baadd490 Reorder imports 2024-10-07 17:48:24 +08:00
atse 89621dd3a0 Sensible names for views 2024-10-07 17:48:24 +08:00
atse f569b46d51 Unprivate conn_menu
Used for autoconnect
2024-10-07 17:48:24 +08:00
atse f1d00ca57d Order? 2024-10-07 17:48:24 +08:00
atse feee8ad0ba Reorder 2024-10-07 17:48:24 +08:00
atse 84e38a307d Not async 2024-10-07 17:48:24 +08:00
atse 5153ccdd77 Remove report mode from thermostat data model 2024-10-07 17:48:24 +08:00
atse 1797322803 Remove report mode box 2024-10-07 17:48:24 +08:00
atse 759e19e16e More sensible names 2024-10-07 17:48:24 +08:00
atse b1830d6744 tec_qt: Private everything possible 2024-10-07 17:48:24 +08:00
atse 21a2764c3a Remove error handling for connecting task
Just let the exception propagate, even when stopping the connection
2024-10-07 17:48:24 +08:00
atse d576395ad2 Update thermostat state from controller code 2024-10-07 17:48:24 +08:00
atse b1e5c86cdc extra func out 2024-10-07 17:48:24 +08:00
atse 48907c02d1 No need extra function 2024-10-07 17:48:24 +08:00
atse 062094f7a8 State update explicitly 2024-10-07 17:48:24 +08:00
atse bddcb37a8d Zero limits warning cleanup 2024-10-07 17:48:24 +08:00
atse e2d48346d8 Add NUM_CHANNELS to Thermostat! 2024-10-07 17:48:24 +08:00
atse f6058ed2fb Real concurrently 2024-10-07 17:48:24 +08:00
atse c4b73ac825 Don't create report task if not polling for it 2024-10-07 17:48:24 +08:00
atse 8eee78746e PIDAutotuner: Don't use separate sig for interval 2024-10-07 17:48:24 +08:00
atse 07687b4f74 aioexample: Show polling while report mode on
WIP: handle KeyboardInterrupt
2024-10-07 17:48:24 +08:00
atse e76aadf973 aioclient: More accurate DFU docstring 2024-10-07 17:48:24 +08:00
atse 863bb58959 No need for async as well 2024-10-07 17:48:24 +08:00
atse 82c75ce293 No need for async 2024-10-07 17:48:24 +08:00
atse bb66f9b5a7 Remove extra imports 2024-10-07 17:48:24 +08:00
atse 7aa340b0b4 report group 2024-10-07 17:48:24 +08:00
atse 892b9f8bf2 end_session in thermostat itself afterall 2024-10-07 17:48:24 +08:00
atse 495a92bda6 Reorder MainWindow 2024-10-07 17:48:24 +08:00
atse e6805c61dd Rearrange MainWindow.__init__ 2024-10-07 17:48:24 +08:00
atse 0024d2b8b5 Thermostat: Add disconnect callback
For communicating with the autotuner before the client fully
disconnects

Also then there's no need for explicitly resetting autotune elements
2024-10-07 17:48:24 +08:00
atse a2d2ce8853 Remove info_box_trigger 2024-10-07 17:48:24 +08:00
atse 281a4f2f48 Remove connection errored 2024-10-07 17:48:24 +08:00
atse 78379ddacc Simply test for connectivity for turning PID off 2024-10-07 17:48:24 +08:00
atse 226ec3b068 Fix pressing enter not working in conn menu 2024-10-07 17:48:24 +08:00
atse 322b97bd52 Assign connection_errored as well 2024-10-07 17:48:24 +08:00
atse da55d07bdb Back out 2024-10-07 17:48:24 +08:00
atse 4c9df5e1a8 Put UI changes into conn_menu 2024-10-07 17:48:24 +08:00
atse 382e5d916f ConnectionBtn + StatusLbl 2024-10-07 17:48:24 +08:00
atse 6d518560df Clear Graph UI changes 2024-10-07 17:48:24 +08:00
atse 8f8517766d Concentrate ThermostatCtrlMenu UI changes 2024-10-07 17:48:24 +08:00