From 958293f6860e2fb0c0e831674ba3cfc6cd0cc078 Mon Sep 17 00:00:00 2001 From: Hendrik Groove Date: Sun, 14 Sep 2025 22:05:27 +0200 Subject: [PATCH] add CP Plus identifier for master mode in lin_identifier function --- components/truma_inetbox/TrumaiNetBoxApp.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/truma_inetbox/TrumaiNetBoxApp.cpp b/components/truma_inetbox/TrumaiNetBoxApp.cpp index 9daa059..2a4126f 100644 --- a/components/truma_inetbox/TrumaiNetBoxApp.cpp +++ b/components/truma_inetbox/TrumaiNetBoxApp.cpp @@ -76,6 +76,12 @@ void TrumaiNetBoxApp::update() { } const std::array TrumaiNetBoxApp::lin_identifier() { + // In master mode, identify as CP Plus instead of iNet Box + if (this->master_mode_) { + // CP Plus Combi identifier - act as the LIN master controller + return {0x17 /*Supplied Id*/, 0x46 /*Supplied Id*/, 0x00 /*Function Id*/, 0x04 /*CP Plus*/}; + } + // Supplier Id: 0x4617 - Truma (Phone: +49 (0)89 4617-0) // Unknown: // 17.46.01.03 - old Combi model