Files
fresh-home/esphome/circuit-setup/6chan_common_ethernet_ws.yaml
T
2025-12-09 16:59:38 -05:00

68 lines
1.2 KiB
YAML

# CircuitSetup 6 Channel Energy Meter ESPHome common variables
# using the Waveshare ESP32-S3-ETH and the CircuitSetup 6 Channel Energy Meter Ethernet WS Adapter
esp32:
board: esp32-s3-devkitc-1
variant: esp32s3
flash_size: 16MB
cpu_frequency: 240MHz
framework:
type: esp-idf
# Enable logging
logger:
hardware_uart: UART0
level: DEBUG
debug:
update_interval: 5s
ethernet:
type: W5500
clk_pin: 13
mosi_pin: 11
miso_pin: 12
cs_pin: 14
interrupt_pin: 10
reset_pin: 9
clock_speed: 30Mhz
spi:
interface: software
clk_pin: 44
miso_pin: 45
mosi_pin: 43
sensor:
- platform: debug
free:
name: "Heap Free"
id: heap_free_sensor
entity_category: diagnostic
loop_time:
name: "Loop Time"
id: loop_time_sensor
entity_category: diagnostic
- platform: uptime
name: Uptime
id: uptime_sensor
entity_category: diagnostic
text_sensor:
- platform: debug
reset_reason:
name: "Reset Reason"
id: reset_reason_sensor
entity_category: diagnostic
button:
- platform: restart
name: Restart
id: restart_button
entity_category: config
time:
- platform: homeassistant
id: homeassistant_time