CCCPaste

ESPHome ESP32-S3

esphome:
  name: esphome-web-163cf8
  friendly_name: ESP32-S3_1
  min_version: 2024.6.0
  name_add_mac_suffix: false
  on_boot:
    - light.turn_on:
        id: my_light
        red: 100%
        blue: 0%
        green: 0%
        brightness: 30%
        effect: pulse
    - delay: 6s
    - light.turn_on:
        id: my_light
        red: 0%
        blue: 100%
        green: 0%
        brightness: 30%
        effect: pulse
    - delay: 6s
    - light.turn_on:
        id: my_light
        red: 0%
        blue: 0%
        green: 100%
        brightness: 30%
        effect: pulse
    - delay: 6s
    - light.turn_off:
        id: my_light

esp32:
  variant: esp32s3
  flash_size: 16MB
  framework:
    type: esp-idf
    version: recommended

psram:
  mode: octal
  speed: 80MHz

logger:
  logs:
    mqtt.component: DEBUG
    mqtt.client: ERROR

api:

ota:
  - platform: esphome
    password: !secret ota

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  min_auth_mode: WPA2
  manual_ip:
    dns1: !secret dns1
    static_ip: 192.168.50.234
    gateway: 192.168.50.1
    subnet: 255.255.255.0
  ap: 
    ssid: "ESP32-S3-1_AP"
    password: !secret ap_passwd
  

web_server:
  port: 80
  version: !secret webserver_version

bluetooth_proxy:
  active: true

light:
  - platform: esp32_rmt_led_strip
    id: my_light
    rgb_order: GRB
    pin: GPIO48
    color_correct: [60%, 60%, 60%]
    num_leds: 1
    chipset: WS2812
    name: "Onboard-RGB"
    effects:
      - pulse:
          transition_length: 1550ms
          update_interval: 1550ms
      - strobe:
          name: Strobe effect with custom values
          colors:
            - state: true
              brightness: 30%
              red: 100%
              green: 90%
              blue: 0%
              duration: 500ms
            - state: false
              duration: 250ms
            - state: true
              brightness: 30%
              red: 0%
              green: 100%
              blue: 0%
              duration: 500ms
            - state: true
              color_brightness: 30%
              red: 0%
              green: 0%
              blue: 100%
              duration: 1000ms
                
mqtt:
  broker: 192.168.50.224
  username: !secret mqttben
  password: !secret mqttpw
  topic_prefix: ESP32_1
  discovery: True
  discover_ip: True
  enable_on_boot: True
  discovery_prefix: ESP32_1
  log_topic: ESP32_1/mqtt-log

  
time:
  - platform: sntp
    timezone: "Europe/Berlin"
    id: sntp_time
    servers:
     - 0.pool.ntp.org
     - 1.pool.ntp.org
     - 2.pool.ntp.org
    
text_sensor:
  - platform: uptime
    name: Uptime
    format:
      separator: ":"
      days: "T"
      hours: "Std."
      minutes: "M"
      seconds: "s"
      expand: True

  - platform: mqtt_subscribe
    id: onboard_rgb_state
    topic: ESP32_1/light/onboard-rgb/state