From: David Woodhouse Date: Tue, 30 Jul 2024 23:24:47 +0000 (+0100) Subject: Add faikin module X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=436564522b096b7cdad48a42bc01251d5f36eb91;p=users%2Fdwmw2%2Fesp32-pool.git Add faikin module --- diff --git a/faikin.yaml b/faikin.yaml new file mode 100644 index 0000000..ad0754c --- /dev/null +++ b/faikin.yaml @@ -0,0 +1,54 @@ +# https://github.com/revk/ESP32-Faikin +# +# The 2024-01-06 board has a WS2812 LED on GPIO47. +# +# On the main connector connect, ground and 5v +# Connect to the TX/RX pins on the debug header +# (poking pins in the hole seems to work well enough). +# +# 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. + +esphome: + name: faikin1 + +esp32: + board: adafruit_feather_esp32s3 + variant: esp32s3 + framework: + type: arduino + +# Enable logging +logger: +# hardware_uart: USB_SERIAL_JTAG + level: DEBUG + +external_components: + - source: + type: local + path: ../git/esphome_syslog/components + components: [syslog] + +wifi: + ssid: !secret wifi_ssid + password: !secret wifi_pw + +mqtt: + broker: !secret mqtt_server + port: 1884 + discovery_prefix: ${mqtt_prefix}/homeassistant + log_topic: ${mqtt_prefix}/logs + username: "pool" + password: !secret pool_mqtt_pw + id: mqtt_client + +light: + - platform: esp32_rmt_led_strip + pin: GPIO47 + num_leds: 24 + rmt_channel: 0 + chipset: WS2812 + name: "RGB LED" + id: rgb_led + restore_mode: ALWAYS_ON + rgb_order: GRB