Skip to content

Commit

Permalink
Fix: open bypass relay when disabling router
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierBerger committed Feb 2, 2025
1 parent 1d6da23 commit bbdf1cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions esp8266-proxy-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ substitutions:
yellow_led_pin: GPIO2

relay_regulator_gate_pin: GPIO0
bypass_timer_threshold: "30"
hide_regulators: "False"


packages:
power_meter:
url: https://github.com/XavierBerger/Solar-Router-for-ESPHome/
Expand Down
1 change: 1 addition & 0 deletions solar_router/engine_progressive_with_bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ switch:
id(power_meter_activated) = 0;
id(energy_divertion).turn_off();
id(regulator_opening).publish_state(0);
- script.execute: relay_regulation_control

# Define the bypass relay
# When bypass relay is ON, the regulator opening is set to 0
Expand Down

0 comments on commit bbdf1cc

Please sign in to comment.