@@ -575,11 +575,19 @@ Boiler::Boiler(uint8_t device_type, int8_t device_id, uint8_t product_id, const
575
575
DeviceValueUOM::NONE,
576
576
MAKE_CF_CB (set_additionalHeater));
577
577
register_device_value (DeviceValueTAG::TAG_DEVICE_DATA,
578
- &addHeaterDelay_ ,
578
+ &auxHeaterDelay_ ,
579
579
DeviceValueType::USHORT,
580
- FL_ (addHeaterDelay),
581
- DeviceValueUOM::K_MIN,
580
+ DeviceValueNumOp::DV_NUMOP_MUL10,
581
+ FL_ (auxHeaterDelay),
582
+ DeviceValueUOM::KxMIN,
582
583
MAKE_CF_CB (set_additionalHeaterDelay));
584
+ register_device_value (DeviceValueTAG::TAG_DEVICE_DATA,
585
+ &auxHeaterHyst_,
586
+ DeviceValueType::USHORT,
587
+ DeviceValueNumOp::DV_NUMOP_MUL5,
588
+ FL_ (auxHeaterHyst),
589
+ DeviceValueUOM::KpMIN,
590
+ MAKE_CF_CB (set_additionalHeaterHyst));
583
591
register_device_value (DeviceValueTAG::TAG_DEVICE_DATA,
584
592
&minTempSilent_,
585
593
DeviceValueType::INT,
@@ -1497,6 +1505,7 @@ void Boiler::process_amExtraMessage(std::shared_ptr<const Telegram> telegram) {
1497
1505
// Boiler(0x08) -> All(0x00), ?(0x0484), data: 01 90 00 F6 28 14 64 00 00 E1 00 1E 00 1E 01 64 01 64 54 20 00 00 (offset 25)
1498
1506
void Boiler::process_HpSilentMode (std::shared_ptr<const Telegram> telegram) {
1499
1507
has_update (telegram, minTempSilent_, 11 );
1508
+ has_update (telegram, auxHeaterHyst_, 37 );
1500
1509
}
1501
1510
1502
1511
// Boiler(0x08) -B-> All(0x00), ?(0x0488), data: 8E 00 00 00 00 00 01 03
@@ -1510,7 +1519,7 @@ void Boiler::process_HpAdditionalHeater(std::shared_ptr<const Telegram> telegram
1510
1519
has_update (telegram, auxHeaterOnly_, 1 );
1511
1520
has_update (telegram, auxHeater_, 2 );
1512
1521
has_update (telegram, tempParMode_, 5 );
1513
- // has_update(telegram, addHeaterDelay_, ? ); // unknown position
1522
+ has_update (telegram, auxHeaterDelay_, 16 ); // is / 10
1514
1523
}
1515
1524
1516
1525
// Settings AM200
@@ -2493,11 +2502,20 @@ bool Boiler::set_tempParMode(const char * value, const int8_t id) {
2493
2502
bool Boiler::set_additionalHeaterDelay (const char * value, const int8_t id) {
2494
2503
int v;
2495
2504
if (Helpers::value2number (value, v)) {
2496
- uint8_t data[2 ] = {(uint8_t )(v >> 8 ), (uint8_t )(v & 0xFF ) };
2497
- write_command (0x491 , 10 , data, 2 , 0x491 );
2505
+ uint8_t data[2 ] = {(uint8_t )(v >> 8 ), (uint8_t )v };
2506
+ write_command (0x491 , 16 , data, 2 , 0x491 );
2498
2507
return true ;
2499
2508
}
2500
2509
return false ;
2501
2510
}
2502
2511
2512
+ bool Boiler::set_additionalHeaterHyst (const char * value, const int8_t id) {
2513
+ int v;
2514
+ if (Helpers::value2number (value, v)) {
2515
+ uint8_t data[2 ] = {(uint8_t )(v >> 8 ), (uint8_t )v};
2516
+ write_command (0x484 , 37 , data, 2 , 0x484 );
2517
+ return true ;
2518
+ }
2519
+ return false ;
2520
+ }
2503
2521
} // namespace emsesp
0 commit comments