|
493 | 493 | </span> |
494 | 494 | </a> |
495 | 495 |
|
| 496 | +</li> |
| 497 | + |
| 498 | + <li class="md-nav__item"> |
| 499 | + <a href="#always" class="md-nav__link"> |
| 500 | + <span class="md-ellipsis"> |
| 501 | + Always |
| 502 | + </span> |
| 503 | + </a> |
| 504 | + |
496 | 505 | </li> |
497 | 506 |
|
498 | 507 | </ul> |
|
965 | 974 | </span> |
966 | 975 | </a> |
967 | 976 |
|
| 977 | +</li> |
| 978 | + |
| 979 | + <li class="md-nav__item"> |
| 980 | + <a href="#always" class="md-nav__link"> |
| 981 | + <span class="md-ellipsis"> |
| 982 | + Always |
| 983 | + </span> |
| 984 | + </a> |
| 985 | + |
968 | 986 | </li> |
969 | 987 |
|
970 | 988 | </ul> |
@@ -1169,10 +1187,26 @@ <h4 id="existing-target-values-havent-started-or-finished">Existing target value |
1169 | 1187 | <p>This will only evaluate target times if no target times have been calculated or all existing target times are either in the future or all existing target times are in the past. </p> |
1170 | 1188 | <p>For example, lets say we have a continuous target which looks between <code>00:00</code> and <code>08:00</code> has existing target times from <code>2023-01-02T01:00</code> to <code>2023-01-02T02:00</code>. </p> |
1171 | 1189 | <ul> |
1172 | | -<li>If the current time is <code>2023-01-02T00:59</code>, then the target times will be re-evaluated and might change if the target period (i.e. <code>2023-01-02T00:30</code> to <code>2023-01-02T08:30</code>) has better values than the existing target times (e.g. the external weightings have changed).</li> |
| 1190 | +<li>If the current time is <code>2023-01-02T00:59</code>, then the target times will be re-evaluated and might change if the target period (i.e. <code>2023-01-02T00:30</code> to <code>2023-01-02T08:00</code>) has better values than the existing target times (e.g. the external weightings have changed).</li> |
1173 | 1191 | <li>If the current time is <code>2023-01-02T01:00</code>, the the target times will not be re-evaluated because we've entered our current target times, even if the evaluation period has cheaper times. </li> |
1174 | | -<li>If the current time is <code>2023-01-02T02:01</code>, the the target times will be re-evaluated because our existing target times are in the past and will find the best times in the new rolling target period (i.e. <code>2023-01-02T02:00</code> to <code>2023-01-02T10:00</code>). </li> |
| 1192 | +<li>If the current time is <code>2023-01-02T02:01</code>, the the target times will be re-evaluated because our existing target times are in the past and will find the best times in the new target period (i.e. <code>2023-01-02T02:00</code> to <code>2023-01-02T08:00</code>). </li> |
| 1193 | +</ul> |
| 1194 | +<h4 id="always">Always<a class="headerlink" href="#always" title="Permanent link">#</a></h4> |
| 1195 | +<p>This will always evaluate the best target times for the target period, even if the sensor is in the middle of an existing target time period.</p> |
| 1196 | +<p>For example, lets say we have a continuous target which looks between <code>00:00</code> and <code>08:00</code> and has existing target times from <code>2023-01-02T01:00</code> to <code>2023-01-02T02:00</code>. </p> |
| 1197 | +<ul> |
| 1198 | +<li>If the current time is <code>2023-01-02T00:59</code>, then the target times will be re-evaluated and might change if the new target period (i.e. <code>2023-01-02T00:30</code> to <code>2023-01-02T08:30</code>) has better times than the existing target times.</li> |
| 1199 | +<li>If the current time is <code>2023-01-02T01:31</code>, then the target times will be re-evaluated and might change if the new target period (i.e. <code>2023-01-02T01:30</code> to <code>2023-01-02T08:30</code>) has better times than the existing target times.</li> |
| 1200 | +<li>If the current time is <code>2023-01-02T02:01</code>, the the target times will be re-evaluated because our existing target times are in the past and will find the best times in the new target period (i.e. <code>2023-01-02T02:00</code> to <code>2023-01-02T08:00</code>).</li> |
1175 | 1201 | </ul> |
| 1202 | +<div class="admonition note"> |
| 1203 | +<p class="admonition-title">Note</p> |
| 1204 | +<p>This is only supported when <a href="#re-evaluate-within-time-frame">Re-evaluate within time frame</a> is enabled, otherwise it will behave the same as the other options.</p> |
| 1205 | +</div> |
| 1206 | +<div class="admonition warning"> |
| 1207 | +<p class="admonition-title">Warning</p> |
| 1208 | +<p>This setting means that you could end up with the sensor not turning on for the fully requested hours as the target times might be moved ahead half way through the picked times. It also could mean that the sensor doesn't come on at all during the requested look ahead hours (e.g. 8) because the lowest period kept moving back. </p> |
| 1209 | +</div> |
1176 | 1210 | <h3 id="offset">Offset<a class="headerlink" href="#offset" title="Permanent link">#</a></h3> |
1177 | 1211 | <p>You may want your target value sensors to turn on a period of time before the optimum discovered period. For example, you may be turning on a robot vacuum cleaner for a 30 minute clean and want it to charge during the optimum period. For this, you'd use the <code>offset</code> field and set it to <code>-00:30:00</code>, which can be both positive and negative and go up to a maximum of 24 hours. This will shift when the sensor turns on relative to the optimum period. For example, if the optimum period is between <code>2023-01-18T10:00</code> and <code>2023-01-18T11:00</code> with an offset of <code>-00:30:00</code>, the sensor will turn on between <code>2023-01-18T09:30</code> and <code>2023-01-18T10:30</code>.</p> |
1178 | 1212 | <h3 id="re-evaluate-within-time-frame">Re-evaluate within time frame<a class="headerlink" href="#re-evaluate-within-time-frame" title="Permanent link">#</a></h3> |
|
0 commit comments