org.openheating.Circuits

Description

  • Uses two thermometers, producer and consumer.

  • The temperature difference acts as input for a hysteresis; based on the difference the controlled pump (via a relay) is switched on and off.

Sample Configuration File

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# -*- python -*-

from openheating.base.circuit import Circuit
from openheating.dbus.thermometer_center import ThermometerCenter_Client
from openheating.dbus.switch_center import SwitchCenter_Client


thermometer_center = ThermometerCenter_Client(bus=GET_BUS())
switch_center = SwitchCenter_Client(bus=GET_BUS())
speicheroben_thermometer = thermometer_center.get_thermometer('SpeicherOben')
raum_thermometer = thermometer_center.get_thermometer('Raum')
holzbrenner_thermometer = thermometer_center.get_thermometer('Holzbrenner')
ww_pumpe = switch_center.get_switch('ww')
hk_pumpe = switch_center.get_switch('hk')

ADD_CIRCUIT('ww', 'Warmwasserkreis',
            Circuit,
            debugstr='Warmwasserkreis',
            pump=ww_pumpe,
            producer=holzbrenner_thermometer, consumer=speicheroben_thermometer,
            diff_low=2, diff_high=5,
)

ADD_CIRCUIT('hk', 'Heizkreis',
            Circuit,
            debugstr='Heizkreis',
            pump=hk_pumpe,
            producer=holzbrenner_thermometer, consumer=raum_thermometer,
            diff_low=10, diff_high=15,
)