I have tried to get it working with my rgbww light, but it doesn't like the fact that I'm using ESP-IDF and wants me to use Arduino for ESPHome. I can't use Arduino, so I am stuck with ESP-IDF due to PWM. And I want to use some other features of ESP32. Here's the code I have for my common yqaml. Was curious if you had any ideas on how to make it work.
`
esphome:
name: ${device_name}
friendly_name: ${friendly_name}
platformio_options:
board_build.flash_mode: dio
esp32:
board: esp32-c3-devkitm-1
framework:
type: esp-idf
sdkconfig_options:
CONFIG_BT_BLE_50_FEATURES_SUPPORTED: y
CONFIG_BT_BLE_42_FEATURES_SUPPORTED: y
CONFIG_ESP_TASK_WDT_TIMEOUT_S: "10"
platform: wifi_signal # Reports the WiFi signal strength/RSSI in dB
name: ${device_name} WiFi Signal dB
id: wifi_signal_db
update_interval: 60s
entity_category: "diagnostic"
I have tried to get it working with my rgbww light, but it doesn't like the fact that I'm using ESP-IDF and wants me to use Arduino for ESPHome. I can't use Arduino, so I am stuck with ESP-IDF due to PWM. And I want to use some other features of ESP32. Here's the code I have for my common yqaml. Was curious if you had any ideas on how to make it work.
` esphome: name: ${device_name} friendly_name: ${friendly_name} platformio_options: board_build.flash_mode: dio
esp32: board: esp32-c3-devkitm-1 framework: type: esp-idf sdkconfig_options: CONFIG_BT_BLE_50_FEATURES_SUPPORTED: y CONFIG_BT_BLE_42_FEATURES_SUPPORTED: y CONFIG_ESP_TASK_WDT_TIMEOUT_S: "10"
Enable logging
logger:
Enable Home Assistant API
api: encryption: key: ${api_encrypt}
ota:
platform: esphome password: !secret esphome_ota_password
wifi: ssid: !secret wifi_ssid password: !secret wifi_password fast_connect: true ap: ssid: ${device_name} password: !secret esphome_ap_password
captive_portal:
web_server: port: 80
light:
platform: rgbww name: ${device_name} Light id: ledbulb red: output_red green: output_green blue: output_blue warm_white: output_warm_white cold_white: output_cold_white warm_white_color_temperature: 2200 K cold_white_color_temperature: 5700 K
output:
platform: ledc id: output_cold_white pin: GPIO3
sensor:
platform: uptime name: ${device_name} Uptime Sensor
esp32_ble_tracker: scan_parameters:
Adjust timing if the defaults do not work in your environment
interval: 1100ms
window: 1100ms
active: true
bluetooth_proxy: active: true `