I’d like to add a couple of features/changes to the generic thermostat component.
- Keep Alive - my A/C unit has the thermostats incorporated into its remote controls, and depends on IR packets from the remotes to know when to turn on and off, based on temperature. This works with the generic thermostat. However, the A/C unit automatically shuts off if it doesn’t receive an IR packet from the remote for a while, which can happen when reaching the target temperature takes a long time. I suggest an optional keep-alive field in the generic thermostat configuration. When configured, it will automatically send the switch.on or switch.off signals (depending on whether the A/C is supposed to keep working or to stay in standby mode) at the defined interval.
- Add option to change the operation mode. Currently, the only way to switch from heating to cooling and back (that I found, at least), is via the
ac_mode
configuration field, and thus requires a configuration change. If you’re lucky, you’ll only have to do that twice a year But, since the other thermostat components have this functionality, why not add it to the generic thermostat, as well? I believe a switch between heating and cooling in the frontend will be great.
What do you think?