Skip to content

Add CTS700 Compact P support (Ethernet Modbus TCP) including electrical supplement switch (20464) - #5

Closed
master3395 wants to merge 56 commits into
upstream-masterfrom
master
Closed

master3395 wants to merge 56 commits into
upstream-masterfrom
master

Conversation

@master3395

Copy link
Copy Markdown
Owner

Summary

Adds CTS700 Compact P support over Ethernet Modbus TCP on this fork, including register 20464 as a read/write electrical supplement switch.

Nordic must not get or expose that switch. CTS700 Compact P is the Ethernet model; keep it separate from Nordic serial/Modbus RTU.

Relates to issue veista#19.

Example device IP used in docs and tests: 192.168.1.50 only.

Test plan

  • CTS700 Compact P: 20464 electrical supplement switch is readable and writable
  • Nordic: 20464 switch is not created and not shown
  • Ethernet Modbus TCP still connects using example IP 192.168.1.50 in local docs only
  • Existing Nordic and CTS602 paths still load

This fork PR is for visibility of the CTS700/1.3.16 diff on master3395/veista-nilan. Upstream review remains veista#233

master3395 and others added 30 commits August 4, 2026 22:22
Wire board_type selection, corrected Compact P registers, and README setup notes so CTS700 can be tested on the fork beside unchanged CTS602.
Mirror cyberpanel root README/Contributing/License navigation and document each CTS602 and CTS700 model under docs/.
Point install docs at fork master so CTS700 work does not require a separate branch.
Add board auto-detect with confirm, Nilan-only Lovelace examples, and Open Source Guides hygiene. Fix CTS602 issues 217/221/220/178/232 and Norwegian nb translations for other HA users.
Older CTS700 firmware uses registers under 10000.
Keep 2018+ Compact P path unchanged; auto-detect probes both.
Document every nilan.no SKU with honest dump-gated status. Add capability profiles, Compact P2 CTS602 guide, GEO/CTS400 gates, and dump checklist.
Keep 2018+/legacy/CTS602 paths intact while adding CTS700_NORDIC hybrid parity, era docs, and modbus_yaml reference files.
Make 1.3.x history easy to browse on GitHub with per-version notes and an index.
Document Compact P Køl Polar/Nordic/Arctic XL CTS700 LC drawings, expand T7/T9 + YAML DHW climate, and prefer CTS700_NORDIC aliases for NCS-700 hybrids.
Fan 1-4 only, HVAC readback, drop unreliable DHW Off, Nilan sensor names.
Heat/cool stay as status action; 5432 is not a user mode setpoint.
Match HA YAML climate write_register for 4746/20460; verify readback.
Avoid YAML hub name clash, warn on dual Modbus, clean sw_version, smarter T8.
Entity ids currently get the boiler_room_nilan_* prefix regardless of
the user's selected area or device name. Without suggested_area, HA
derives the prefix from the device name the user actually configured.
Addresses review: device_name/type are user-configurable and identical
units would still collide. Hub name derives from sanitized entry_id,
unique per config entry and stable across reloads.
Offline Nilan no longer stalls HA boot (15s connect timeout).
Incorporate Martsola hub-scoped unique_ids with registry migration.

Co-authored-by: Mikko Martsola <mikko@martsola.com>
Refs #1
Multi-unit unique_ids + drop hardcoded Boiler Room suggested_area. Thanks @Martsola.
Credit multi-unit PR #1 and startup-stall feedback in the fork
contributor list and CONTRIBUTING pointer.
1.3.11: non-blocking Modbus setup + hub-scoped unique_id migration. Thanks @mark007 and @Martsola.
Document CTS602 (~2008–present), CTS700 map eras (2015/2018/2019),
and note CTS602 HMI types share board era without inventing SKU years.
Add hw_type 11 to verified supported_devices, including compressor
DHW setpoint so water heaters appear. Fix DE T5 condenser label.

Co-authored-by: DUC750 <mirko@seipel-web.de>
GitHub About sidebar on this fork stays empty; surface commit
authors via contrib.rocks and link CONTRIBUTORS.md.
Martsola and others added 26 commits August 16, 2026 18:30
Serialize hub calls and keep last good sensor/number values on brief
read failures so entities do not flip to unknown. Replace site-specific
to-do notes with generic dual-path docs and probe matrix output.
Point contributors to nilan.no / en.nilan.dk instead of hosting
copyrighted manufacturer PDFs in the repository.
Document Modbus hub lock / last-good sensor values and official
manual download index; restore missing 1.3.13 row in changelog table.
HACS/git installs the tag; the GitHub Release URL is notes only.
Keep prior on/off when Modbus briefly fails, and log filter alarm
transitions and failed reads for easier field diagnosis.
Compact P 2018 can toggle the DHW electrical supplement heater from Home Assistant; Nordic still refuses that write because 20464 is not in the hybrid map.
@master3395

Copy link
Copy Markdown
Owner Author

Closing this PR without merging.

This compare had base upstream-master and head master. Merging it would only update the dummy upstream-master branch, not default master.

CTS700 Compact P work (including register 20464 as an electrical supplement switch) is already on master at fd7f128. master remains the target branch.

origin/fix/1.3.11-startup-unique-ids is fully contained in master. Extra origin branches will be removed so this fork keeps only master and dev.

@master3395 master3395 closed this Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants