mirror of
https://github.com/esphome/esphome.git
synced 2025-02-25 04:22:30 +01:00
Add Support for PHS32 HeatPump
This commit is contained in:
parent
69f98e0f87
commit
cb2bddb41c
4 changed files with 5 additions and 2 deletions
|
@ -70,6 +70,7 @@ PROTOCOLS = {
|
||||||
"airway": Protocol.PROTOCOL_AIRWAY,
|
"airway": Protocol.PROTOCOL_AIRWAY,
|
||||||
"bgh_aud": Protocol.PROTOCOL_BGH_AUD,
|
"bgh_aud": Protocol.PROTOCOL_BGH_AUD,
|
||||||
"panasonic_altdke": Protocol.PROTOCOL_PANASONIC_ALTDKE,
|
"panasonic_altdke": Protocol.PROTOCOL_PANASONIC_ALTDKE,
|
||||||
|
"philco_phs32": Protocol.PROTOCOL_PHILCO_PHS32,
|
||||||
"vaillantvai8": Protocol.PROTOCOL_VAILLANTVAI8,
|
"vaillantvai8": Protocol.PROTOCOL_VAILLANTVAI8,
|
||||||
"r51m": Protocol.PROTOCOL_R51M,
|
"r51m": Protocol.PROTOCOL_R51M,
|
||||||
}
|
}
|
||||||
|
@ -127,6 +128,6 @@ def to_code(config):
|
||||||
cg.add(var.set_max_temperature(config[CONF_MAX_TEMPERATURE]))
|
cg.add(var.set_max_temperature(config[CONF_MAX_TEMPERATURE]))
|
||||||
cg.add(var.set_min_temperature(config[CONF_MIN_TEMPERATURE]))
|
cg.add(var.set_min_temperature(config[CONF_MIN_TEMPERATURE]))
|
||||||
|
|
||||||
cg.add_library("tonia/HeatpumpIR", "1.0.27")
|
cg.add_library("tonia/HeatpumpIR", "1.0.29")
|
||||||
if CORE.is_libretiny:
|
if CORE.is_libretiny:
|
||||||
CORE.add_platformio_option("lib_ignore", "IRremoteESP8266")
|
CORE.add_platformio_option("lib_ignore", "IRremoteESP8266")
|
||||||
|
|
|
@ -64,6 +64,7 @@ const std::map<Protocol, std::function<HeatpumpIR *()>> PROTOCOL_CONSTRUCTOR_MAP
|
||||||
{PROTOCOL_AIRWAY, []() { return new AIRWAYHeatpumpIR(); }}, // NOLINT
|
{PROTOCOL_AIRWAY, []() { return new AIRWAYHeatpumpIR(); }}, // NOLINT
|
||||||
{PROTOCOL_BGH_AUD, []() { return new BGHHeatpumpIR(); }}, // NOLINT
|
{PROTOCOL_BGH_AUD, []() { return new BGHHeatpumpIR(); }}, // NOLINT
|
||||||
{PROTOCOL_PANASONIC_ALTDKE, []() { return new PanasonicAltDKEHeatpumpIR(); }}, // NOLINT
|
{PROTOCOL_PANASONIC_ALTDKE, []() { return new PanasonicAltDKEHeatpumpIR(); }}, // NOLINT
|
||||||
|
{PROTOCOL_PHILCO_PHS32, []() { return new PhilcoPHS32HeatpumpIR(); }}, // NOLINT
|
||||||
{PROTOCOL_VAILLANTVAI8, []() { return new VaillantHeatpumpIR(); }}, // NOLINT
|
{PROTOCOL_VAILLANTVAI8, []() { return new VaillantHeatpumpIR(); }}, // NOLINT
|
||||||
{PROTOCOL_R51M, []() { return new R51MHeatpumpIR(); }}, // NOLINT
|
{PROTOCOL_R51M, []() { return new R51MHeatpumpIR(); }}, // NOLINT
|
||||||
};
|
};
|
||||||
|
|
|
@ -64,6 +64,7 @@ enum Protocol {
|
||||||
PROTOCOL_AIRWAY,
|
PROTOCOL_AIRWAY,
|
||||||
PROTOCOL_BGH_AUD,
|
PROTOCOL_BGH_AUD,
|
||||||
PROTOCOL_PANASONIC_ALTDKE,
|
PROTOCOL_PANASONIC_ALTDKE,
|
||||||
|
PROTOCOL_PHILCO_PHS32,
|
||||||
PROTOCOL_VAILLANTVAI8,
|
PROTOCOL_VAILLANTVAI8,
|
||||||
PROTOCOL_R51M,
|
PROTOCOL_R51M,
|
||||||
};
|
};
|
||||||
|
|
|
@ -67,7 +67,7 @@ lib_deps =
|
||||||
glmnet/Dsmr@0.7 ; dsmr
|
glmnet/Dsmr@0.7 ; dsmr
|
||||||
rweather/Crypto@0.4.0 ; dsmr
|
rweather/Crypto@0.4.0 ; dsmr
|
||||||
dudanov/MideaUART@1.1.9 ; midea
|
dudanov/MideaUART@1.1.9 ; midea
|
||||||
tonia/HeatpumpIR@1.0.27 ; heatpumpir
|
tonia/HeatpumpIR@1.0.29 ; heatpumpir
|
||||||
build_flags =
|
build_flags =
|
||||||
${common.build_flags}
|
${common.build_flags}
|
||||||
-DUSE_ARDUINO
|
-DUSE_ARDUINO
|
||||||
|
|
Loading…
Add table
Reference in a new issue