Boost script

Support for our english speaking visitors

Moderator: Co-Administratoren

Antworten
Inquirer8087
Beiträge: 8
Registriert: 18.10.2019, 09:13

Boost script

Beitrag von Inquirer8087 » 29.12.2019, 10:37

I just want to share a simp!e boost script that's quite useful for me.
1. Create a system variable ("diff_living" in this example), variable type number, range of values from -100 to 100 and check channel assignment checkbox (in this example Living_1 INT0000010:1).
2. Create a program to populate the system variable created in the first step (the script simply calculates the difference between setpoint and actual temperature):
- Device selection Living_1 INT0000010:1 when Valve opening within value range / with value more or equal 0.00 trigger when updated
-Activity: Then...Stop all current delays before performing the activity (e.g. retriggering).
Script

Code: Alles auswählen

real a = dom.GetObject("VirtualDevices.INT0000010:1.ACTUAL_TEMPERATURE").Value() ;
real b = dom.GetObject("VirtualDevices.INT0000010:1.SET_POINT_TEMPERATURE").Value() ;
real c = b-a;
dom.GetObject("diff_living").State(c);
immediately
3. Create a program to trigger boost in the living room(in my case i choose boost if actual temperature is 0,2 degrees under setpoint):
Condition: If...
System state diff_living within value range / with value more or equal 0.20 trigger when changed
AND
Device selection Living_1 INT0000010:1 when Boost mode OFF trigger when changed
OR
Activity: Then...Stop all current delays before performing the activity (e.g. retriggering).
Device selection Living_1 INT0000010:1 immediately Boost mode ON

Antworten

Zurück zu „HomeMatic - english“