-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Engine: Regulator with Bypass Relay #70
New Engine: Regulator with Bypass Relay #70
Conversation
OK, I will then merge it on a dedicated branch and review it in detail before merging in main. |
d2a9462
into
XavierBerger:feat/engine_progressive_with_bypass
Ok great 🚀 Thanks ! I agree for the name change. I tried to think, either we define engine behavior based (engine_progressive), or engine component based (engine_dimmer). Ex: 1. Behavior Basedtoogle or step or onoff
2. Component baseddimmer or regulator or variator
Option 1 is clearer, Option 2 is more structured. I personally favor option 2. |
Thanks for this very interesting feedback. |
Hello,
This PR fixes #49
This PR is a follow-up of #51
Add bypass engine mode for solar router
This PR adds a new engine mode that combines the benefits of both the regular engine (smooth regulation) and the on/off engine (relay control) by automatically switching between them based on power conditions.
Goal
Using a dimmer like a robotdyn triac allows a fine control of the load. Triac emits the most heat when they are set to 100% (when all current flows) for a sustained period of time.
This approach optimizes energy efficiency by using the relay for full power situations while maintaining smooth regulation for partial power needs.
New files added:
solar_router/engine_regulator_with_bypass.yaml
: New engine implementationsolar_router/bypass_relay.yaml
: Bypass relay control configurationdocs/en/engine_regulator_with_bypass.md
: English doc of the new eneginedocs/fr/engine_regulator_with_bypass.md
: French doc of the new enegine translated from English with ClaudeAIHow it works:
router_level
stays at 100% forbypass_timer_threshold
regulations:router_level
< 100):Notes:
regulator_opening
&energy_divertion
logic directly to the components. Like this, it also works when solar routing is Offfull_power_timer
to a Number Template component. It's not exposed to HA.regulation_control
of the relay torelay_ regulation_control
, andregulator_gate_pin
of the relay torelay_regulator_gate_pin
. Without this modification, TRIAC and Relay were sharing the same values and regulation was impossible.esp32*.yaml
,esp8266*.yaml
etc at the root folder of the repo as they seems already outdated.