From fe13b7559d11d746f572e40257ed6815dc4529ce Mon Sep 17 00:00:00 2001 From: proddy Date: Mon, 27 Jul 2020 18:54:24 +0200 Subject: [PATCH] renamed telegram MaintenanceSettings to MaintenanceData --- src/devices/boiler.cpp | 7 +++++-- src/devices/boiler.h | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/devices/boiler.cpp b/src/devices/boiler.cpp index 637c60bba..acac09422 100644 --- a/src/devices/boiler.cpp +++ b/src/devices/boiler.cpp @@ -59,7 +59,7 @@ Boiler::Boiler(uint8_t device_type, int8_t device_id, uint8_t product_id, const register_telegram_type(0x33, F("UBAParameterWW"), true, std::bind(&Boiler::process_UBAParameterWW, this, _1)); register_telegram_type(0x14, F("UBATotalUptime"), false, std::bind(&Boiler::process_UBATotalUptime, this, _1)); register_telegram_type(0x35, F("UBAFlags"), false, std::bind(&Boiler::process_UBAFlags, this, _1)); - register_telegram_type(0x15, F("UBAMaintenanceSettings"), false, std::bind(&Boiler::process_UBAMaintenanceSettings, this, _1)); + register_telegram_type(0x15, F("UBAMaintenanceData"), false, std::bind(&Boiler::process_UBAMaintenanceData, this, _1)); register_telegram_type(0x16, F("UBAParameters"), true, std::bind(&Boiler::process_UBAParameters, this, _1)); register_telegram_type(0x1A, F("UBASetPoints"), false, std::bind(&Boiler::process_UBASetPoints, this, _1)); register_telegram_type(0xD1, F("UBAOutdoorTemp"), false, std::bind(&Boiler::process_UBAOutdoorTemp, this, _1)); @@ -688,11 +688,14 @@ void Boiler::process_UBAFlags(std::shared_ptr telegram) { // 0x1C // not yet implemented void Boiler::process_UBAMaintenanceStatus(std::shared_ptr telegram) { + // first byte: Maintenance due (0 = no, 3 = yes, due to operating hours, 8 = yes, due to date) } // 0x15 // not yet implemented -void Boiler::process_UBAMaintenanceSettings(std::shared_ptr telegram) { +void Boiler::process_UBAMaintenanceData(std::shared_ptr telegram) { + // first byte: Maintenance messages (0 = none, 1 = by operating hours, 2 = by date) + // I see a value of 3 when the boiler is booted, so probably a flag } // 0x10, 0x11, 0x12 diff --git a/src/devices/boiler.h b/src/devices/boiler.h index 60e4170e1..ead6431c7 100644 --- a/src/devices/boiler.h +++ b/src/devices/boiler.h @@ -141,7 +141,7 @@ class Boiler : public EMSdevice { void process_UBAFlags(std::shared_ptr telegram); void process_MC10Status(std::shared_ptr telegram); void process_UBAMaintenanceStatus(std::shared_ptr telegram); - void process_UBAMaintenanceSettings(std::shared_ptr telegram); + void process_UBAMaintenanceData(std::shared_ptr telegram); void process_UBAErrorMessage(std::shared_ptr telegram); void process_UBADHWStatus(std::shared_ptr telegram);