From 4fc4cd368708ac280ad381c44aec59dd3a43ff22 Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Mon, 19 May 2025 11:34:12 +0200 Subject: [PATCH] haake: make 2 versions depending on extra T sensor --- cfg/main/haake2_cfg.py | 21 +++++++++++++++++++++ cfg/main/haake_cfg.py | 5 ----- 2 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 cfg/main/haake2_cfg.py diff --git a/cfg/main/haake2_cfg.py b/cfg/main/haake2_cfg.py new file mode 100644 index 0000000..f4ac910 --- /dev/null +++ b/cfg/main/haake2_cfg.py @@ -0,0 +1,21 @@ +Node('haakeuro.config.sea.psi.ch', + 'Haake thermostat + Eurotherm controller', +) +Mod('sea_main', + 'frappy_psi.sea.SeaClient', + 'main sea connection for haakeuro.config', + config = 'haake2.config', + service = 'main', +) +Mod('th', + 'frappy_psi.sea.SeaDrivable', '', + meaning = ('temperature', 10), + io = 'sea_main', + sea_object = 'th', + extra_modules=['t2'], +) +Mod('ts', + 'frappy_psi.sea.SeaReadable', '', + io='sea_main', + single_module='th.t2', +) diff --git a/cfg/main/haake_cfg.py b/cfg/main/haake_cfg.py index ef606b4..370cf13 100644 --- a/cfg/main/haake_cfg.py +++ b/cfg/main/haake_cfg.py @@ -14,8 +14,3 @@ Mod('th', sea_object = 'th', extra_modules=['t2'], ) -Mod('ts', - 'frappy_psi.sea.SeaReadable', '', - io='sea_main', - single_module='th.t2', -)