I would be nice to see a live plots of the PID controller on a CFC webpage.
This should include a one plot for the current, setpoint, and saturated temperatures.
Another plot for the PID output value (aka duty cycle for the PWM pin).
Use matplotlib to generate a jpg that can be fetch thru the REST API.
The data for plots should be cleared on each TEC controller disable to enable transition.
Add a new webpage to fetch and diplay the "new" plots jpg every second.
Bonus points if there is a flag to enable saving the plot data to a csv file and adding it to the fread cache.
I would be nice to see a live plots of the PID controller on a CFC webpage.
This should include a one plot for the current, setpoint, and saturated temperatures. Another plot for the PID output value (aka duty cycle for the PWM pin).
Use matplotlib to generate a jpg that can be fetch thru the REST API.
The data for plots should be cleared on each TEC controller disable to enable transition.
Add a new webpage to fetch and diplay the "new" plots jpg every second.
Bonus points if there is a flag to enable saving the plot data to a csv file and adding it to the fread cache.