forked from hacf-fr/Solar-Router-for-ESPHome
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwt32-eth01-standalone_on_off.yaml
More file actions
78 lines (69 loc) · 2.05 KB
/
wt32-eth01-standalone_on_off.yaml
File metadata and controls
78 lines (69 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# ----------------------------------------------------------------------------------------------------
# ESPHome configuration - This part depends on your hardware target
# ----------------------------------------------------------------------------------------------------
esphome:
name: wt32-eth01-3
friendly_name: wt32-eth01-3
min_version: 2026.1.0
esp32:
board: wt32-eth01
framework:
type: esp-idf
# Enable logging
logger:
baud_rate: 115200
level: INFO
logs:
component: ERROR
light: ERROR
# Enable Home Assistant API
api:
encryption:
key: !secret wt32_eth01_api_encryption_key
# Enable over-the-air updates
ota:
- platform: esphome
password: !secret wt32_eth01_ota_password
# WiFi connection
# To activate WiFi :
# Uncomment this section parameters and comment RJ45 ethernet section
# wifi:
# ssid: !secret wifi_ssid
# password: !secret wifi_password
# # If you have a WiFi activity plannification, you may have to update the reboot timeout (Default: 15min)
# reboot_timeout: 24h
# Configure RJ45 ethernet
# To activate RJ45 ethernet :
# Uncomment this section parameters and comment WiFi section
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk:
pin: GPIO0
mode: CLK_EXT_IN
phy_addr: 1
power_pin: GPIO16
# Activate web interface
web_server:
port: 80
# ----------------------------------------------------------------------------------------------------
# Customisation
# ----------------------------------------------------------------------------------------------------
packages:
solar_router:
url: https://github.com/hacf-fr/Solar-Router-for-ESPHome/
ref: main
refresh: 1d
files:
- path: solar_router/common.yaml
- path: solar_router/power_meter_fronius.yaml
vars:
power_meter_ip_address: "192.168.1.21"
- path: solar_router/regulator_mecanical_relay.yaml
vars:
relay_regulator_gate_pin: GPIO14
- path: solar_router/engine_1switch.yaml
vars:
green_led_pin: GPIO32
yellow_led_pin: GPIO33