Add earth tube (puits canadien) support for CTS602 device 28#216
Open
TheDave35 wants to merge 2 commits into
Open
Add earth tube (puits canadien) support for CTS602 device 28#216TheDave35 wants to merge 2 commits into
TheDave35 wants to merge 2 commits into
Conversation
Adds support for monitoring and controlling the earth tube preheater (puits canadien) on Nilan CTS602 device type 28: - get_preheat_fan_speed: reads actual preheat fan speed from register output_pre_heat_cap (sensor) - get_preheat_cap / set_preheat_cap: reads/sets preheat fan capacity setpoint 0-100% (number/slider) - get_t17_preheater_temperature: maps existing device method to a temperature sensor (T17) All three entities are scoped to supported_devices: (28,) with min_bus_version: 4 (fan speed/cap) and min_bus_version: 1 (T17 temp).
Device type 28 (VP18cCoB) is a VP18 with compressor, functionally similar to siblings 19/20/21 and 12. It was missing from several supported_devices tuples: - get_t4_outlet: sensor exists physically and is readable via Modbus register 204, but entity stayed unavailable because 28 was not listed - get_fan_startup_delay, get_defrost_ventilation_level, get_defrost_start_setpoint, get_defrost_stop_setpoint, get_minimum_defrost_time: defrost-state and compressor-state already include 28, so the corresponding configuration entries should too.
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
Adds support for monitoring and controlling an earth tube preheater (puits canadien) connected to a Nilan CTS602 unit (device type 28).
get_t17_preheater_temperature— temperature sensor (T17) for the earth tube inlet, mapped tosensorentity (already existed indevice.py, now wired throughdevice_mapandsensor)get_preheat_fan_speed— actual fan speed readback from registeroutput_pre_heat_cap, exposed as asensor(%)get_preheat_cap/set_preheat_cap— fan capacity setpoint 0–100%, exposed as anumbersliderAll entities are scoped to
supported_devices: (28,).Test plan
preheat_fan_speedsensor reflects the actual output register valuepreheat_capslider writes correctly to registeroutput_pre_heat_cap(value × 100)