Sfoglia il codice sorgente

heating valves removed, defect

tags/v1.3.0
Dirk Alders 1 anno fa
parent
commit
348f4b1eea
3 ha cambiato i file con 17 aggiunte e 17 eliminazioni
  1. 1
    1
      config_example/config.py
  2. 14
    14
      function/first_floor_west.py
  3. 2
    2
      topics.py

+ 1
- 1
config_example/config.py Vedi File

@@ -27,7 +27,7 @@ DEFAULT_TEMPERATURE = {
27 27
     # FFW
28 28
     TOPIC_FFW_BATH_HEATING_VALVE_ZIGBEE: 21.5,
29 29
     # TOPIC_FFW_LIVINGROOM_HEATING_VALVE_ZIGBEE: 21.5,
30
-    TOPIC_FFW_JULIAN_HEATING_VALVE_ZIGBEE: 21.5,
30
+    # TOPIC_FFW_JULIAN_HEATING_VALVE_ZIGBEE: 21.5,
31 31
     TOPIC_FFW_SLEEP_HEATING_VALVE_ZIGBEE: 21.5,
32 32
     # FFE
33 33
     TOPIC_FFE_DININGROOM_HEATING_VALVE_ZIGBEE: 21.5,

+ 14
- 14
function/first_floor_west.py Vedi File

@@ -36,19 +36,19 @@ class first_floor_west_julian(room):
36 36
         # main light
37 37
         self.main_light_shelly = devices.shelly(mqtt_client, config.TOPIC_FFW_JULIAN_MAIN_LIGHT_SHELLY)
38 38
         self.main_light_tradfri = devices.tradfri_light(mqtt_client, config.TOPIC_FFW_JULIAN_MAIN_LIGHT_ZIGBEE)
39
-        # heating function
40
-        self.heating_valve = devices.brennenstuhl_heatingvalve(mqtt_client, config.TOPIC_FFW_JULIAN_HEATING_VALVE_ZIGBEE)
39
+        # # heating function
40
+        # self.heating_valve = devices.brennenstuhl_heatingvalve(mqtt_client, config.TOPIC_FFW_JULIAN_HEATING_VALVE_ZIGBEE)
41 41
         super().__init__(mqtt_client)
42 42
         #
43 43
         # Functionality initialisation
44 44
         #
45
-        # heating function
46
-        self.heating_function = heating_function(
47
-            self.heating_valve,
48
-            config.DEFAULT_TEMPERATURE[self.heating_valve.topic],
49
-            **get_radiator_data(self.heating_valve.topic)
50
-        )
51
-        self.heating_function.add_callback(None, None, set_radiator_data, True)
45
+        # # heating function
46
+        # self.heating_function = heating_function(
47
+        #     self.heating_valve,
48
+        #     config.DEFAULT_TEMPERATURE[self.heating_valve.topic],
49
+        #     **get_radiator_data(self.heating_valve.topic)
50
+        # )
51
+        # self.heating_function.add_callback(None, None, set_radiator_data, True)
52 52
 
53 53
         #
54 54
         # Virtual Device Interface
@@ -60,11 +60,11 @@ class first_floor_west_julian(room):
60 60
             self.main_light_tradfri, devices.tradfri_light.KEY_BRIGHTNESS,
61 61
             self.main_light_tradfri, devices.tradfri_light.KEY_COLOR_TEMP
62 62
         )
63
-        # heating function
64
-        self.heating_function_videv = videv_heating(
65
-            mqtt_client, config.TOPIC_FFW_JULIAN_HEATING_VALVE_VIDEV,
66
-            self.heating_function
67
-        )
63
+        # # heating function
64
+        # self.heating_function_videv = videv_heating(
65
+        #     mqtt_client, config.TOPIC_FFW_JULIAN_HEATING_VALVE_VIDEV,
66
+        #     self.heating_function
67
+        # )
68 68
 
69 69
 
70 70
 class first_floor_west_bath(room):

+ 2
- 2
topics.py Vedi File

@@ -40,8 +40,8 @@ TOPIC_GFW_DIRK_HEATING_VALVE_VIDEV = "videv/gfw/dirk/heating_valve"
40 40
 TOPIC_FFW_JULIAN_MAIN_LIGHT_SHELLY = "shellies/ffw/julian/main_light"
41 41
 TOPIC_FFW_JULIAN_MAIN_LIGHT_VIDEV = "videv/ffw/julian/main_light"
42 42
 TOPIC_FFW_JULIAN_MAIN_LIGHT_ZIGBEE = "zigbee/ffw/julian/main_light"
43
-TOPIC_FFW_JULIAN_HEATING_VALVE_ZIGBEE = "zigbee/ffw/julian/heating_valve"
44
-TOPIC_FFW_JULIAN_HEATING_VALVE_VIDEV = "videv/ffw/julian/heating_valve"
43
+# TOPIC_FFW_JULIAN_HEATING_VALVE_ZIGBEE = "zigbee/ffw/julian/heating_valve"
44
+# TOPIC_FFW_JULIAN_HEATING_VALVE_VIDEV = "videv/ffw/julian/heating_valve"
45 45
 
46 46
 # bath
47 47
 TOPIC_FFW_BATH_HEATING_VALVE_ZIGBEE = "zigbee/ffw/bath/heating_valve"

Loading…
Annulla
Salva