Skip to content

Instantly share code, notes, and snippets.

@thebino
Created December 30, 2024 18:08
Show Gist options
  • Save thebino/a18f91ed7649f55d863308e7e72d63ef to your computer and use it in GitHub Desktop.
Save thebino/a18f91ed7649f55d863308e7e72d63ef to your computer and use it in GitHub Desktop.
esphome:
name: esp32-c6
friendly_name: esp32-c6
esp32:
board: esp32-c6-devkitc-1
variant: esp32c6
flash_size: 4MB
framework:
type: esp-idf
version: 5.3.1
platform_version: 6.9.0
#This is to make sure adc compiles or else it will throw an error
external_components:
- source:
# https://github.com/lboue/esphome/blob/adc_oneshot/esphome/components/adc
type: git
url: https://github.com/lboue/esphome
ref: adc_oneshot
components: [ adc ]
refresh: 0s
# Enable logging: NONE, VERY_VERBOSE, VERBOSE, DEBUG, INFO, WARN, ERROR
logger:
level: VERBOSE
# Enable Home Assistant API
api:
ota:
- platform: esphome
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "C6 Fallback Hotspot"
password: !secret wifi_fallback_password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment