Add support for Atlantic Thermostat PRE (for electric underfloor heating)#116
Open
0rax wants to merge 2 commits intogduteil:mainfrom
Open
Add support for Atlantic Thermostat PRE (for electric underfloor heating)#1160rax wants to merge 2 commits intogduteil:mainfrom
0rax wants to merge 2 commits intogduteil:mainfrom
Conversation
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.
This PR adds support for the Atlantic Thermostat PRE used to control Domocable / Soleka based electric underfloor heating.
What changed
This PR adds support for Thermostat Thermal Zone (
TZHONE) devices as well as update the logic for the detection of available heating/cooling device perROOMentity (modelIDbetween 557 and 561).In order to better detect if an AC or an underfloor heater is available in a
ROOM, I added logic that checks all the child devices in a room and check their type using their IDs (UI_1,THZONE_1, ...), favoring ACs first as they are usually reversible then thermal zones and only exposing the support modes. I have also kept the original logic as fallback in case this logic doesn't work with other models.To do so, I had to update the
get_model_infosto also receive the device tags so I can access theiothubChildrenIdstag needed for the logic.These changes should be pretty generic to support other types of underfloor heating system if they expose a
THZONEdevice and adding more logic based on different childID prefixes should be pretty straightforward if a new system exposes a new type.Usage
This requires all thermostat to be linked to the Atlantic Cozytouch App through the Cozytouch Hub and assigned to a room.
Then when adding the Cozytouch integration to Home Assistant, you will see a set of
THZONE(on per thermostat) andROOM(one per room defined).Cozytouch Setup Screen (click to reveal screenshot)
The
THZONEitself will not expose any useful data except connectivity information, so you may not need to add it to HA.Cozytouch THZONE details (click to reveal screenshot)
Each
ROOMwill allow you to control the Thermostat directly from HA and expose only the implement heating components.Cozytouch ROOM details (click to reveal screenshot)