haake: make 2 versions depending on extra T sensor

This commit is contained in:
2025-05-19 11:34:12 +02:00
parent 1145493e81
commit 4fc4cd3687
2 changed files with 21 additions and 5 deletions

21
cfg/main/haake2_cfg.py Normal file
View File

@ -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',
)

View File

@ -14,8 +14,3 @@ Mod('th',
sea_object = 'th', sea_object = 'th',
extra_modules=['t2'], extra_modules=['t2'],
) )
Mod('ts',
'frappy_psi.sea.SeaReadable', '',
io='sea_main',
single_module='th.t2',
)