# ----------------------------------------------------------------------------------------------------# ESPHome configuration - This part depends on your hardware target# ----------------------------------------------------------------------------------------------------esphome:name:solarrouterfriendly_name:SolarRoutermin_version:2025.3.2esp32:board:esp32devframework:type:arduino# Enable logginglogger:baud_rate:115200level:INFOlogs:component:ERRORlight:ERROR# Enable Home Assistant APIapi:encryption:key:!secretapi_encryption_key# Enable over-the-air updatesota:-platform:esphomepassword:!secretsolar_router_ota_password# Enable improv serialimprov_serial:# WiFi connectionwifi:ssid:!secretwifi_ssidpassword:!secretwifi_password# If you have a WiFi activity plannification, you may have to update the reboot timeout (Default: 15min)reboot_timeout:24h# Activate web interfaceweb_server:port:80# Define watchdog time (it should be greater than timeout)http_request:watchdog_timeout:12s# ----------------------------------------------------------------------------------------------------# Customisation# ----------------------------------------------------------------------------------------------------# This part of the script is designed to be use for customisation. It shouldn't be necessary to# edit other part of the script to perform configuration.packages:solar_router:url:https://github.com/XavierBerger/Solar-Router-for-ESPHome/refresh:1dfiles:-path:solar_router/common.yaml-path:solar_router/power_meter_fronius.yamlvars:power_meter_ip_address:"192.168.1.21"-path:solar_router/regulator_triac.yamlvars:regulator_gate_pin:GPIO22regulator_zero_crossing_pin:GPIO23-path:solar_router/engine_1dimmer.yamlvars:green_led_pin:GPIO19yellow_led_pin:GPIO18