]> www.infradead.org Git - users/dwmw2/esp32-pool.git/commitdiff
clean up faikin
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sat, 28 Sep 2024 09:25:25 +0000 (10:25 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Sat, 28 Sep 2024 09:25:25 +0000 (10:25 +0100)
faikin.yaml

index c5959734897c89e932615e5dd93f479962dd9331..b98257bcd298b1a98deb7326d41320ed45de911a 100644 (file)
@@ -9,8 +9,15 @@
 # Connect IO0 from the debug header to ground, power cycle.
 # Then you can program it. It'll fail to reset, just release IO0 and power cycle.
 
+substitutions:
+  name: faikin3
+# heatpump heating/cooling switch
+# available modes: HEAT_ROOM_TEMP, HEAT_FLOW_TEMP, HEAT_COMPENSATION_CURVE, COOL_ROOM_TEMP, COOL_FLOW_TEMP
+  default_heating_switch_mode: HEAT_COMPENSATION_CURVE
+  default_cooling_switch_mode: COOL_FLOW_TEMP
+
 esphome:
-  name: faikin1
+  name: ${name}
   on_boot:
     then:
       - light.turn_on:
@@ -55,12 +62,6 @@ mqtt:
          red: 100%
          green: 0%
 
-substitutions:
-# heatpump heating/cooling switch
-# available modes: HEAT_ROOM_TEMP, HEAT_FLOW_TEMP, HEAT_COMPENSATION_CURVE, COOL_ROOM_TEMP, COOL_FLOW_TEMP
-  default_heating_switch_mode: HEAT_COMPENSATION_CURVE
-  default_cooling_switch_mode: COOL_FLOW_TEMP
-
 uart:
  - id: uart_main
    rx_pin:
@@ -83,24 +84,6 @@ uart:
     sequence:
       - lambda: UARTDebug::log_hex(direction, bytes, ' ');
 
- - id: uart_proxy
-   rx_pin:
-    number: GPIO44
-    inverted: true
-   tx_pin:
-    number: GPIO43
-    inverted: true
-   baud_rate: 2400
-   parity: EVEN
-   stop_bits: 1
-   debug:
-    direction: BOTH
-    dummy_receiver: false
-    after:
-      delimiter: "\n"
-    sequence:
-      - lambda: UARTDebug::log_hex(direction, bytes, ' ');
-
 packages:
   base: !include base.yaml
   ecodan:
@@ -179,6 +162,7 @@ switch:
 ecodan:
   id: ecodan_instance
   uart_id: uart_main
-  proxy_uart_id: uart_proxy
+#  proxy_uart_id: uart_proxy
+#  update_interval: 30s
 #  rx_pin: GPIO34
 #  tx_pin: GPIO48