You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An engine is designed to define how many and when energy has to be diverted.
3
4
4
-
This package is implementing the engine of the solar router which determines when and how many energy has to be diverted to the load.
5
+
Different kind of engine exists whach can progressively divert energy to a load and manage an ON/OFF switch. See details into engine's dedicated pages.
5
6
6
-
**Progressive engine** calls every second the power meter to get the actual energy exchanged with the grid. If energy produce is greater than energy consummed and exceed the define echange target, the engine will determine the **percentage of the regulator "opening"** and adjusts it dynamically to reach the target.
7
+
!!! note "Engine naming"
8
+
The name of engine is reflecting how energy divertion is performed:
9
+
**Example** : `engine_1dimmer_1bypass` will manage 1 dimmer managing a progressive regulation associated with a bypass relay.
7
10
8
-
Engine's automatic regulation can be activated or deactivated with the activation switch.
9
11
10
-
## User feedback LEDS
12
+
###User feedback LEDS
11
13
12
14
The yellow LED is reflecting the network connection:
13
15
@@ -16,37 +18,13 @@ The yellow LED is reflecting the network connection:
16
18
-***blink*** : solar router is not connected to the network and is trying to reconnect.
17
19
-***fast blink*** : An error occurs during the reading of energy exchanged with the grid.
18
20
19
-
20
21
The green LED is reflecting the actual configuration of regulation:
21
22
22
23
-***OFF*** : automatic regulation is deactivated.
23
24
-***ON*** : automatic regulation is active and is not diverting energy to the load.
24
25
-***blink*** : solar router is currently sending energy to the load.
25
26
26
-
## Router Level vs Regulator Opening
27
-
28
-
The solar router uses two distinct but related level controls:
29
-
30
-
-**Router Level**: This is the main system-wide control (0-100%) that represents the overall routing state. It controls the LED indicators and energy counter logic. When automatic regulation is enabled, this level is dynamically adjusted based on power measurements.
31
-
32
-
-**Regulator Opening**: This represents the actual opening level (0-100%) of the physical regulator. By default, it mirrors the router level since there is only one regulator. While it can be controlled independently, changes to regulator_opening alone won't affect the router_level or trigger LED state changes.
33
-
34
-
The regulator opening entity is hidden from Home Assistant by default. To expose it, add this to your substitutions:
35
-
36
-
Note: It's recommended to adjust the router_level rather than regulator_opening directly, as this ensures proper system feedback through LEDs and energy monitoring.
37
-
38
-
## Configuration
39
-
40
-
To use this package, add the following lines to your configuration file:
This package is implementing the engine of the solar router which determines when and how many energy has to be diverted to the load.
5
+
6
+
**engine_1dimmer** calls every second the power meter to get the actual energy exchanged with the grid. If energy produce is greater than energy consummed and exceed the define echange target, the engine will determine the **percentage of the regulator "opening"** and adjusts it dynamically to reach the target.
7
+
8
+
Engine's automatic regulation can be activated or deactivated with the activation switch.
9
+
10
+
## Router Level vs Regulator Opening
11
+
12
+
The solar router uses two distinct but related level controls:
13
+
14
+
-**Router Level**: This is the main system-wide control (0-100%) that represents the overall routing state. It controls the LED indicators and energy counter logic. When automatic regulation is enabled, this level is dynamically adjusted based on power measurements.
15
+
16
+
-**Regulator Opening**: This represents the actual opening level (0-100%) of the physical regulator. By default, it mirrors the router level since there is only one regulator. While it can be controlled independently, changes to regulator_opening alone won't affect the router_level or trigger LED state changes.
17
+
18
+
The regulator opening entity is hidden from Home Assistant by default. To expose it, add this to your substitutions:
19
+
20
+
Note: It's recommended to adjust the router_level rather than regulator_opening directly, as this ensures proper system feedback through LEDs and energy monitoring.
21
+
22
+
## Configuration
23
+
24
+
To use this package, add the following lines to your configuration file:
This package implements the engine of the solar router which determines when and how much energy has to be diverted to the load, with a bypass function for maximum efficiency.
4
+
5
+
When the regulator is intensively used for an extended period, the regulator will tends to overheat. This engine is designed to avoid this issue by activating a bypass relay and turning off the regulator when the regulator is opened at 100% for an extended period. To avoid flickering, the bypass relay is activated only when the regulator is opened at 100% for a number of consecutive regulation.
6
+
7
+
**engine_1dimmer_1bypass** calls every second the power meter to get the actual energy exchanged with the grid. If energy produced is greater than energy consumed and exceeds the defined exchange target, the engine will determine the **percentage of regulator opening** and adjusts it dynamically to reach the target. When the regulator reaches 100% for an extended period, the bypass relay is activated for maximum efficiency.
8
+
9
+
Engine's automatic regulation can be activated or deactivated with the activation switch.
10
+
11
+
## How to wire the bypass relay
12
+
13
+
- Live on the Bypass Relay Common (COM) and on the Relay to the Live Input of the Regulator
14
+
- Normally Closed (NC) floating
15
+
- Normally Open (NO) of the Relay to the Load Output of the Regulator (or directly to the Load)
16
+
17
+
!!! Danger "Follow the wiring instructions"
18
+
Do not plug the Regulator Live Input to the Normally Closed (NC) of the relay ! Your load would be de-energized while switching the relay, potentially creating arcs inside the relay.
19
+
More info in this [discussion](https://github.com/XavierBerger/Solar-Router-for-ESPHome/pull/51#issuecomment-2625724543).
20
+
21
+
## Router Level vs Regulator Opening
22
+
23
+
The solar router uses three distinct but related level controls:
24
+
25
+
-**Router Level**: This is the main system-wide control (0-100%) that represents the overall routing state. It controls the LED indicators and energy counter logic. When automatic regulation is enabled, this level is dynamically adjusted based on power measurements.
26
+
27
+
-**Regulator Opening**: This represents the actual opening level (0-100%) of the physical regulator. By default, it mirrors the router level since there is only one regulator. While it can be controlled independently, changes to regulator_opening alone won't affect the router_level or trigger LED state changes.
28
+
29
+
-**Bypass Relay**: This represents the actual state (ON/OFF) of the physical bypass relay. When the Regulation is enabled, this relay automatically turns on after the duration `Bypass tempo` defined in Home Assistant. When the Regulation is disabled, you can manually trigger this relay to fully energized your load, LEDs and Energy Counter (if enabled) will not be triggered. You can also set the *Router Level* to 100, this will enable the relay, fully energized your load, trigger LEDs and Energy Counter.
30
+
31
+
## Configuration
32
+
33
+
To use this package, add the following lines to your configuration file:
The `Bypass Tempo` determines how many consecutive regulations at 100% are needed before activating the bypass relay. A lower value will make the bypass more reactive but might cause more frequent switching (flickering). Because there's roughly 1 regulation per second, `Bypass Tempo` can be approximated as the time in second with the regulator at 100% before which the the bypass relay is activated.
Copy file name to clipboardExpand all lines: docs/en/engine_1switch.md
+5-21Lines changed: 5 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
2
-
# ON/OFF Engine
2
+
# engine_1switch
3
3
4
4
This package is implementing the engine of the solar router which determines energy can be diverted to a local load or not.
5
5
6
-
**ON/OFF engine** calls every second the power meter to get the actual power consumed. If energy sent to the grid is greater than the divertion start level (in W) during start tempo (in s), the relay is closed to use the energy locally. When the energy sent to the grid reach the level (in W) defined to stop the divertion during stop tempo (in s), the relay is openned and local consomption is stopped.
6
+
**engine_1switch** calls every second the power meter to get the actual power consumed. If energy sent to the grid is greater than the divertion start level (in W) during start tempo (in s), the relay is closed to use the energy locally. When the energy sent to the grid reach the level (in W) defined to stop the divertion during stop tempo (in s), the relay is openned and local consomption is stopped.
7
7
8
-
ON/OFF engine's automatic regulation can be activated or deactivated with the activation switch.
8
+
engine_1switch's automatic regulation can be activated or deactivated with the activation switch.
9
9
10
10
The following schema is representing the consumption with this engine activated:
11
11
12
-

12
+

13
13
14
14
**Legend:**
15
15
@@ -28,22 +28,6 @@ The following schema is representing the consumption with this engine activated:
28
28
!!! tips "finely adjust start and stop tempo"
29
29
The start and stop tempo determine the responsiveness of the regulation. These delays must be finely adjusted to avoid oscillations. For example, if you have an electric stove, pay attention to the heating delays.
30
30
31
-
## User feedback LEDS
32
-
33
-
The yellow LED is reflecting the network connection:
34
-
35
-
-***OFF*** : solar router is not connected to power supply.
36
-
-***ON*** : solar router is connected to the network.
37
-
-***blink*** : solar router is not connected to the network and is trying to reconnect.
38
-
-***fast blink*** : An error occurs during the reading of energy exchanged with the grid.
39
-
40
-
41
-
The green LED is reflecting the actual configuration of regulation:
42
-
43
-
-***OFF*** : automatic regulation is deactivated.
44
-
-***ON*** : automatic regulation is active and is not diverting energy to the load.
45
-
-***blink*** : solar router is currently sending energy to the load.
46
-
47
31
## Configuration
48
32
49
33
To use this package, add the following lines to your configuration file:
@@ -52,7 +36,7 @@ To use this package, add the following lines to your configuration file:
Copy file name to clipboardExpand all lines: docs/en/example_proxy.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,10 @@ The configuration of the **Proxy client** is only using a [Home Assistant power
6
6
--8<-- "esp8285-power-meter-proxy.yaml"
7
7
```
8
8
9
-
This configuration the **Solar Router** is using [Proxy client power meter](power_meter_proxy_client.md), [Triac regulator](regulator_triac.md) and [Solar router engine](engine.md).
9
+
This configuration the **Solar Router** is using [Proxy client power meter](power_meter_proxy_client.md), [Triac regulator](regulator_triac.md) and [Solar router engine](engine_1dimmer.md).
10
10
11
11
GPIO pins have been defined to match hardware configuration described [here](hardware.md)
Copy file name to clipboardExpand all lines: docs/en/example_standalone.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Standalone Solar Router
2
2
3
-
This configuration implements a **Solar Router** with a progressive regulation. It uses [Fronuis power meter](power_meter_fronius.md), [Triac regulator](regulator_triac.md), [Progressive engine](engine.md).
3
+
This configuration implements a **Solar Router** with a progressive regulation. It uses [Fronuis power meter](power_meter_fronius.md), [Triac regulator](regulator_triac.md), [Progressive engine](engine_1dimmer.md).
4
4
5
5
GPIO pins have been defined to match hardware configuration described [here](hardware.md)
0 commit comments