Commit Graph

13 Commits

Author SHA1 Message Date
Nathan J. Williams
b92cf5f1ff Fan mode and swing mode are ints, don't try to debug-print them as strings. 2023-07-20 13:04:10 -04:00
Nathan J. Williams
8d7595c261 Don't printf() a std::optional, that doesn't work right. 2023-07-14 16:51:28 -04:00
Geoff Davis
822a442301 Change hp->connect to new format
Pin to most recent version of SwiCago/HeatPump

Too much skew between the various unspecified versions of SwiCago/HeatPump
2022-04-05 11:46:40 -07:00
Geoff Davis
e20c3148d5 Dereference make_preferences object
API changed upstream. Using the dereferenced version.
2021-10-23 13:16:48 -05:00
Geoff Davis
ad65768860 Namespace call to delay
Upstream library changes made calls to delay become ambiguous. Force to
the esphome version, even though we declared namespace esphome already.
2021-10-23 13:07:38 -05:00
Kirill Zakharenko
4f3a4a863d Conform to changed climate traits API from esphome v1.9.4 2021-07-13 19:52:51 +03:00
Mark Blakeney
6e3ea4989b Fix esphome v1.19 changes
Addresses issue #37.
2021-06-21 14:28:38 +10:00
Mark Blakeney
aa60a7f4ef Fix HA connection thrashing when no comms
If the CN105 connection to the heat pump is down (i.e. unplugged,
wrongly configured, etc), then the ESP device goes into a hard thrash
loop where it is disconnecting and reconnecting to the HA server 2 times
every second, i.e. it smashes the HA server ad-infinitum. This commit
fixes this by ensuring the heat pump attributes are initialised to at
least something non-random. We set the temperatures to NAN so it is
clear they have not been initialised by heat pump, and thus apparent in
logs etc.
2021-06-12 11:21:51 +10:00
Simon Knopp
4cebb59611 Add support for set_remote_temperature() 2021-05-28 11:09:47 +12:00
Geoff Davis
6d57971247 Bump version to 2.0.0, update authors 2021-05-27 13:38:25 -07:00
Simon Knopp
83c00b8d10 Optionally set baud_rate in YAML
Some models require different baud rates (e.g.
https://github.com/SwiCago/HeatPump/pull/158).
2021-05-26 21:27:59 +12:00
Simon Knopp
65edd60078 Configure the ClimateTraits in YAML
Some heatpump models (don't) support different traits so it's useful to
be able to override these directly in the config file.
2021-05-26 21:27:59 +12:00
Simon Knopp
d15916fbdc Make this usable as an external_component
Since v1.18.0 esphome supports external components which allow you to
use custom components much more easily.

https://esphome.io/components/external_components.html
2021-05-26 18:00:11 +12:00