Commit Graph

114 Commits

Author SHA1 Message Date
fc7289eff7 ctrl_panel: Explain "SPS" in Postfilter tooltip 2024-10-14 17:46:52 +08:00
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
d092c6f9a8 Remove ["value"] in pwm values 2024-10-14 16:53:30 +08:00
7f1223b1b9 ctrl_panel: Add polarity option in output settings 2024-10-14 16:53:02 +08:00
b1e5a843eb QVariantList -> list 2024-10-07 17:48:24 +08:00
3b2743c079 super init's first 2024-10-07 17:48:24 +08:00
89621dd3a0 Sensible names for views 2024-10-07 17:48:24 +08:00
feee8ad0ba Reorder 2024-10-07 17:48:24 +08:00
84e38a307d Not async 2024-10-07 17:48:24 +08:00
5153ccdd77 Remove report mode from thermostat data model 2024-10-07 17:48:24 +08:00
1797322803 Remove report mode box 2024-10-07 17:48:24 +08:00
d576395ad2 Update thermostat state from controller code 2024-10-07 17:48:24 +08:00
b1e5c86cdc extra func out 2024-10-07 17:48:24 +08:00
48907c02d1 No need extra function 2024-10-07 17:48:24 +08:00
062094f7a8 State update explicitly 2024-10-07 17:48:24 +08:00
bddcb37a8d Zero limits warning cleanup 2024-10-07 17:48:24 +08:00
e2d48346d8 Add NUM_CHANNELS to Thermostat! 2024-10-07 17:48:24 +08:00
f6058ed2fb Real concurrently 2024-10-07 17:48:24 +08:00
c4b73ac825 Don't create report task if not polling for it 2024-10-07 17:48:24 +08:00
8eee78746e PIDAutotuner: Don't use separate sig for interval 2024-10-07 17:48:24 +08:00
e76aadf973 aioclient: More accurate DFU docstring 2024-10-07 17:48:24 +08:00
892b9f8bf2 end_session in thermostat itself afterall 2024-10-07 17:48:24 +08:00
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
a2d2ce8853 Remove info_box_trigger 2024-10-07 17:48:24 +08:00
281a4f2f48 Remove connection errored 2024-10-07 17:48:24 +08:00
78379ddacc Simply test for connectivity for turning PID off 2024-10-07 17:48:24 +08:00
226ec3b068 Fix pressing enter not working in conn menu 2024-10-07 17:48:24 +08:00
322b97bd52 Assign connection_errored as well 2024-10-07 17:48:24 +08:00
4c9df5e1a8 Put UI changes into conn_menu 2024-10-07 17:48:24 +08:00
6d518560df Clear Graph UI changes 2024-10-07 17:48:24 +08:00
8f8517766d Concentrate ThermostatCtrlMenu UI changes 2024-10-07 17:48:24 +08:00
c25c49d8c1 Split PID handler UI up 2024-10-07 17:48:24 +08:00
b2f6a61a71 Fix hwrev getting 2024-10-07 17:48:24 +08:00
bae37b554c hwrev updates 2024-10-07 17:48:24 +08:00
fcb5585c0a Fix info boxes for load/saving from flash 2024-10-07 17:48:24 +08:00
72ca1f16a9 Move reset request to thermostat control menu
We don't get auto reconnect anymore
2024-10-07 17:48:24 +08:00
3aeef04330 Move pid autotuning request to CtrlPanel
And update autotune UI only on state change instead of every single
report update
2024-10-07 17:48:24 +08:00
4407e5c97a Move channelGraph stuff inside LiveDataPlotter 2024-10-07 17:48:24 +08:00
a82e163d58 Move plot_options_menu stuff into menu 2024-10-07 17:48:24 +08:00
0f117f8ee8 Move autotune ticking connect 2024-10-07 17:48:24 +08:00
377c2dec48 Get thermostat_ctrl_menu to subscribe to hwrev updates 2024-10-07 17:48:24 +08:00
b54cfacd92 Save/load info box content 2024-10-07 17:48:24 +08:00
7cf8d6ee70 Fix loading all channel settings would bring up 2 info boxes 2024-10-07 17:48:24 +08:00
bc50b295bb hw_rev 2024-10-07 17:48:24 +08:00
4907678d53 fan_update: tec_qt to thermostat_ctrl_menu 2024-10-07 17:48:24 +08:00
9ede52de93 Fix updating status label for hwrev = None 2024-10-07 17:48:24 +08:00
66db9bcc57 Put some menu requests in menu itself 2024-10-07 17:48:24 +08:00
f29095a0da Broadcast ConnectionState changes from Thermostat 2024-10-07 17:48:24 +08:00
7e235c3fea Move sigActivatedHandle to CtrlPanel 2024-10-07 17:48:24 +08:00
e82e561d14 Get rid of timeout on readline 2024-10-07 17:48:24 +08:00