]> www.infradead.org Git - users/dwmw2/esp32-pool.git/commitdiff
Add faikin module
authorDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 30 Jul 2024 23:24:47 +0000 (00:24 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 30 Jul 2024 23:24:47 +0000 (00:24 +0100)
faikin.yaml [new file with mode: 0644]

diff --git a/faikin.yaml b/faikin.yaml
new file mode 100644 (file)
index 0000000..ad0754c
--- /dev/null
@@ -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