News for hackers. Stuff that matters.
Re:I Built a Smart Thermostat by lucianbr on Wednesday December 16, 2020 @01:28AM (#25439704)
PID can be used with an on/off control, you do something like PWM: on X minutes out of every hour, and vary the X as the analog parameter.

Don't know how easy that is on the AC/heating, but as far as the control system, it works, and it's PID.

Re:I Built a Smart Thermostat by conk on Wednesday December 16, 2020 @01:47AM (#25439804)
PID can’t be used for control of any device that uses a relay. PWM will have the effect of just changing the coil voltage. Even if you could switch a relay on/off quickly you’d just prematurely burn out the contacts.

PID is only effective with solid state switching devices, which are not really common for residential heating/cooling.