Add DHW sensor selection read topic and SET command#847
Merged
IgorYbema merged 1 commit intoheishamon:mainfrom Apr 1, 2026
Merged
Add DHW sensor selection read topic and SET command#847IgorYbema merged 1 commit intoheishamon:mainfrom
IgorYbema merged 1 commit intoheishamon:mainfrom
Conversation
Adds read support for DHW sensor selection (byte 11, bits 7-8) as a new topic (TOP143), and a SetDHWSensorSelection command to switch between Top and Center tank sensors via MQTT. This enables automation scenarios where the active DHW sensor can be toggled programmatically (e.g., alternating between top and center readings for monitoring both tank positions). Applicable to K/L series All-In-One units only. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DHW_Sensor_Selection) that decodes byte 11, bits 7-8, reporting which DHW tank sensor is active (0 = Top, 1 = Center)MQTT-Topics.mdandProtocolByteDecrypt.mddocumentation accordinglyThis is applicable to K/L series All-In-One units only, where the DHW tank has both a top and center temperature sensor. The byte 11 bits 7-8 layout was already documented in
ProtocolByteDecrypt.mdbut had no corresponding read topic or SET command.Changes
HeishaMon/decode.htopics[],topicBytes[](byte 11),topicFunctions[](getBit7and8),topicDescription[](DHWSensorType), and incrementedNUMBER_OF_TOPICSto 144HeishaMon/commands.hset_dhw_sensor_selectiondeclaration andSetDHWSensorSelectionentry incommands[]arrayHeishaMon/commands.cppset_dhw_sensor_selection()implementation (writes to byte 11, bits 7-8: 0b01 = Top, 0b10 = Center)MQTT-Topics.mdProtocolByteDecrypt.md