mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-29 18:19:09 +03:00
remove wrong 4wayValve, #2844
This commit is contained in:
@@ -645,7 +645,7 @@ Boiler::Boiler(uint8_t device_type, int8_t device_id, uint8_t product_id, const
|
|||||||
FL_(poolSetTemp),
|
FL_(poolSetTemp),
|
||||||
DeviceValueUOM::DEGREES,
|
DeviceValueUOM::DEGREES,
|
||||||
MAKE_CF_CB(set_pool_temp));
|
MAKE_CF_CB(set_pool_temp));
|
||||||
register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &hp4wayValve_, DeviceValueType::ENUM, FL_(enum_4way), FL_(hp4wayValve), DeviceValueUOM::NONE);
|
// register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &hp4wayValve_, DeviceValueType::ENUM, FL_(enum_4way), FL_(hp4wayValve), DeviceValueUOM::NONE);
|
||||||
register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &hpInput[0].state, DeviceValueType::BOOL, FL_(hpInput1), DeviceValueUOM::NONE);
|
register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &hpInput[0].state, DeviceValueType::BOOL, FL_(hpInput1), DeviceValueUOM::NONE);
|
||||||
register_device_value(DeviceValueTAG::TAG_DEVICE_DATA,
|
register_device_value(DeviceValueTAG::TAG_DEVICE_DATA,
|
||||||
&hpInput[0].option,
|
&hpInput[0].option,
|
||||||
@@ -1792,13 +1792,8 @@ void Boiler::process_HpPool(std::shared_ptr<const Telegram> telegram) {
|
|||||||
// Heatpump inputs - type 0x4A2
|
// Heatpump inputs - type 0x4A2
|
||||||
// Boiler(0x08) -> All(0x00), ?(0x04A2), data: 02 01 01 00 01 00
|
// Boiler(0x08) -> All(0x00), ?(0x04A2), data: 02 01 01 00 01 00
|
||||||
// Boiler(0x08) -W-> Me(0x0B), HpInput(0x04A2), data: 20 07 06 01 00 (from #802)
|
// Boiler(0x08) -W-> Me(0x0B), HpInput(0x04A2), data: 20 07 06 01 00 (from #802)
|
||||||
// fix states 1/3 see https://github.com/emsesp/EMS-ESP32/issues/1388
|
// see https://github.com/emsesp/EMS-ESP32/issues/2844#issuecomment-3689049155
|
||||||
void Boiler::process_HpInput(std::shared_ptr<const Telegram> telegram) {
|
void Boiler::process_HpInput(std::shared_ptr<const Telegram> telegram) {
|
||||||
has_bitupdate(telegram, hp4wayValve_, 0, 7);
|
|
||||||
// has_update(telegram, hpInput[0].state, 2);
|
|
||||||
// has_bitupdate(telegram, hpInput[1].state, 0, 1);
|
|
||||||
// has_update(telegram, hpInput[2].state, 3);
|
|
||||||
// has_bitupdate(telegram, hpInput[3].state, 4, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Heatpump inputs settings- type 0x486 (https://github.com/emsesp/EMS-ESP32/issues/600)
|
// Heatpump inputs settings- type 0x486 (https://github.com/emsesp/EMS-ESP32/issues/600)
|
||||||
|
|||||||
Reference in New Issue
Block a user