CCU3 and a sophisticated heating control

Support for our english speaking visitors

Moderator: Co-Administratoren

Antworten
RudyM
Beiträge: 4
Registriert: 17.07.2023, 16:43
System: CCU

CCU3 and a sophisticated heating control

Beitrag von RudyM » 19.07.2023, 14:19

I am converting my FHEM based MAX! system towards an CCU3 based Homatic IP system. Because the MAX! system didn't include a heating control switch, I had to create my own solution. This has worked for years and I want to convert it to Homematic IP.

My heating control is quite simple. The openings of all valves for which the temperature set point is above the actual temperature are added in a criterion. If the criterion is above a certain threshold, the heating is switched on, otherwise its switched off.

This leads to a script which is periodically checked:

Code: Alles auswählen

var    objIDs = dom.GetObject(ID_DEVICES).EnumUsedIDs();
string id; 
real   sum = 0.0;

foreach(id, objIDs){
 var device = dom.GetObject(id);
 if (device.Name().StartsWith("Kraan:")){
   var ch = device.Channels().GetAt(1);
   var valve = ch.DPByHssDP("LEVEL").Value();
   var Tsoll = ch.DPByHssDP("SET_POINT_TEMPERATURE").Value();
   var Tist  = ch.DPByHssDP("ACTUAL_TEMPERATURE").Value();
   if (Tsoll>Tist){ sum =sum + valve * 100; }
 }
}

var systemv = dom.GetObject("Sum_Valves");
systemv.State(sum);
All valves have a name which starts with "Kraan:". The program checks of all objects if its a valve and if its a valve, the valve opening is added to the sum. Finally the sum is stored in the system variable "Sum_Valves". At this moment the heating switches on if the sum is greater then 100%.
Due to the current temperatures I can not check the system under normal heating conditions.
Zuletzt geändert von Roland M. am 19.07.2023, 20:24, insgesamt 1-mal geändert.
Grund: Doppelpost gelöscht

Antworten

Zurück zu „HomeMatic - english“