QuinLED An-Penta-Mini ESPhome Example configurations
Back to QuinLED An-Penta-Mini Index
WORK IN PROGRESS
Current configuration used to test the boards:
substitutions: esphome_name: sample-code esphome: name: ${esphome_name} platformio_options: board_build.flash_mode: dio esp32: board: esp32-c3-devkitm-1 framework: type: esp-idf wifi: ssid: !secret esphome_wifi_ssid password: !secret esphome_wifi_pass domain: .domain.local #Disable logging/UART logger: # level: NONE baud_rate: 0 api: reboot_timeout: 60min password: !secret esphome_api_pass ota: password: !secret esphome_ota_pass time: - platform: homeassistant id: homeassistant_time web_server: port: 80 i2c: sda: GPIO6 scl: GPIO7 scan: true id: I2C sensor: - platform: uptime name: "${esphome_name} Uptime Sensor" - platform: wifi_signal name: "${esphome_name} WiFi Signal" update_interval: 60s - platform: internal_temperature name: "${esphome_name} Internal Temperature" accuracy_decimals: 2 update_interval: 30s switch: - platform: restart name: ${esphome_name}-restart id: restart_switch binary_sensor: - platform: gpio pin: 2 name: ${esphome_name}-Button_1 filters: - invert: - platform: gpio pin: 8 name: ${esphome_name}-Button_2 filters: - invert: - platform: gpio pin: 9 name: ${esphome_name}-Button_3 filters: - invert: output: - platform: ledc pin: GPIO5 frequency: 19531Hz id: LED_channel_1 - platform: ledc pin: GPIO4 frequency: 19531Hz id: LED_channel_2 - platform: ledc pin: GPIO1 frequency: 19531Hz id: LED_channel_3 - platform: ledc pin: GPIO0 frequency: 19531Hz id: LED_channel_4 - platform: ledc pin: GPIO3 frequency: 19531Hz id: LED_channel_5 light: - platform: monochromatic name: "${esphome_name}-LED-1" default_transition_length: 3s id: LED1 output: LED_channel_1 - platform: monochromatic name: "${esphome_name}-LED-2" default_transition_length: 3s id: LED2 output: LED_channel_2 - platform: monochromatic name: "${esphome_name}-LED-3" default_transition_length: 3s id: LED3 output: LED_channel_3 - platform: monochromatic name: "${esphome_name}-LED-4" default_transition_length: 3s id: LED4 output: LED_channel_4 - platform: monochromatic name: "${esphome_name}-LED-5" default_transition_length: 3s id: LED5 output: LED_channel_5