|
@@ -59,6 +59,8 @@ class first_floor_east_kitchen(room):
|
59
|
59
|
# http://shelly1-e89f6d85a466/
|
60
|
60
|
# circulation pump
|
61
|
61
|
self.circulation_pump_shelly = devices.shelly(mqtt_client, config.TOPIC_FFE_KITCHEN_CIRCULATION_PUMP_SHELLY)
|
|
62
|
+ # heating function
|
|
63
|
+ self.heating_valve = devices.brennenstuhl_heatingvalve(mqtt_client, config.TOPIC_FFE_KITCHEN_HEATING_VALVE_ZIGBEE)
|
62
|
64
|
|
63
|
65
|
super().__init__(mqtt_client)
|
64
|
66
|
|
|
@@ -68,6 +70,13 @@ class first_floor_east_kitchen(room):
|
68
|
70
|
# circulation pump
|
69
|
71
|
self.circulation_pump = timer_on_activation(self.circulation_pump_shelly, devices.shelly.KEY_OUTPUT_0, 10*60)
|
70
|
72
|
self.circulation_pump_shelly.add_callback(devices.shelly.KEY_OUTPUT_0, True, self.main_light_shelly.flash_0_mcb, True)
|
|
73
|
+ # heating function
|
|
74
|
+ self.heating_function = heating_function(
|
|
75
|
+ self.heating_valve,
|
|
76
|
+ config.DEFAULT_TEMPERATURE[self.heating_valve.topic],
|
|
77
|
+ **get_radiator_data(self.heating_valve.topic)
|
|
78
|
+ )
|
|
79
|
+ self.heating_function.add_callback(None, None, set_radiator_data, True)
|
71
|
80
|
|
72
|
81
|
#
|
73
|
82
|
# Virtual Device Interface
|
|
@@ -83,6 +92,11 @@ class first_floor_east_kitchen(room):
|
83
|
92
|
self.circulation_pump_shelly, devices.shelly.KEY_OUTPUT_0,
|
84
|
93
|
self.circulation_pump, timer_on_activation.KEY_TIMER
|
85
|
94
|
)
|
|
95
|
+ # heating function
|
|
96
|
+ self.heating_function_videv = videv_heating(
|
|
97
|
+ mqtt_client, config.TOPIC_FFE_KITCHEN_HEATING_VALVE_ZIGBEE,
|
|
98
|
+ self.heating_function
|
|
99
|
+ )
|
86
|
100
|
|
87
|
101
|
|
88
|
102
|
class first_floor_east_dining(room):
|