From 6d90f02dd6945bb45e207005115139bffa01417d Mon Sep 17 00:00:00 2001 From: l_samenv Date: Thu, 20 Mar 2025 15:25:22 +0100 Subject: [PATCH] in the config file some modules required a frappy.logo.ControlHeater class this class does not exist. in the config these modules where now defined using the HeaterParam class The Server starts, but iti is unclear if it fullfils the intended behaviour Please fix --- cfg/kapillarheizung_cfg.py | 45 ++++++++++++++++++++++++++------------ 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/cfg/kapillarheizung_cfg.py b/cfg/kapillarheizung_cfg.py index 918dada9..eee22d13 100644 --- a/cfg/kapillarheizung_cfg.py +++ b/cfg/kapillarheizung_cfg.py @@ -74,21 +74,21 @@ Mod('T_bot', calib='pt1000e', ) -# not working properly yet -# Mod('Cernox', -# 'frappy_psi.logo.TempSensor', -# 'sensor', -# io = 'io', -# vm_address ="VW8", -# ) -# Mod('T_cx', -# 'frappy_psi.softcal.Sensor', -# '?', -# value=Param(unit='K'), -# rawsensor='Cernox', -# calib='X174785', -# ) +Mod('Cernox', + 'frappy_psi.logo.TempSensor', + 'sensor', + io = 'io', + vm_address ="VW14", + ) + +Mod('T_cx', + 'frappy_psi.softcal.Sensor', + '?', + value=Param(unit='K'), + rawsensor='Cernox', + calib='X174785', +) Mod('HeaterLevelHigh', 'frappy_psi.logo.HeaterParam', @@ -108,6 +108,22 @@ Mod('HeaterState', ) ''' +Mod('HeaterState', + 'frappy_psi.logo.HeaterParam', + 'heater state', + io = 'io', + vm_address = "V0.1", +) + +Mod('HeaterState_a', + 'frappy_psi.logo.HeaterParam', + 'heater state a', + io = 'io', + vm_address = "V0.0", +) + + +''' Mod('HeaterState', 'frappy_psi.logo.ControlHeater', 'heater state', @@ -121,6 +137,7 @@ Mod('HeaterState_a', io = 'io', vm_address = "V0.0", ) +''' # currently unused: