From: David Woodhouse Date: Fri, 9 Aug 2024 17:37:02 +0000 (+0100) Subject: Faikin finally working (with external pullup on RX) X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d555280b515e8cd3f695890f56df4d7e0eb98b44;p=users%2Fdwmw2%2Fesp32-pool.git Faikin finally working (with external pullup on RX) --- diff --git a/faikin.yaml b/faikin.yaml index 6c2c45a..c595973 100644 --- a/faikin.yaml +++ b/faikin.yaml @@ -11,6 +11,13 @@ esphome: name: faikin1 + on_boot: + then: + - light.turn_on: + id: led + red: 100% + green: 0% + blue: 0% esp32: board: esp32-s3-devkitc-1 @@ -25,6 +32,29 @@ external_components: path: ../git/esphome-ecodan-hp/components components: [ ecodan ] +wifi: + networks: + - ssid: !secret wifi_ssid + password: !secret wifi_pw + bssid: !secret wndr3800_bssid + priority: 1 + +mqtt: + on_connect: + then: + - light.turn_on: + id: led + blue: 100% + red: 0% + green: 0% + on_disconnect: + then: + - light.turn_on: + id: led + blue: 0% + 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 @@ -36,6 +66,9 @@ uart: rx_pin: number: GPIO34 inverted: true + mode: + input: true + pullup: true tx_pin: number: GPIO48 inverted: true @@ -74,7 +107,8 @@ packages: url: file:/home/dwmw/git/esphome-ecodan-hp/ ref: main refresh: always - files: [ + files: [ + confs/base.yaml, #confs/esp32s3.yaml, # confs/esp32.yaml, for regular board confs/zone1.yaml, ## enable if you want to use zone 2