A Python script monitors CPU temperature and controls the fan using on-off control with temperature hysteresis.