Skip to content

Commit 40ed4f7

Browse files
authored
damp factor default value (openhab#16818)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
1 parent 3f987b4 commit 40ed4f7

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

bundles/org.openhab.binding.solarforecast/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ In case of empty the location configured in openHAB is obtained.
113113
| declination | integer | Plane Declination: 0 for horizontal till 90 for vertical declination | N/A | yes | false |
114114
| azimuth | integer | Plane Azimuth: -180 = north, -90 = east, 0 = south, 90 = west, 180 = north | N/A | yes | false |
115115
| kwp | decimal | Installed Kilowatt Peak | N/A | yes | false |
116-
| dampAM | decimal | Damping factor of morning hours | 0.25 | no | true |
117-
| dampPM | decimal | Damping factor of evening hours | 0.25 | no | true |
116+
| dampAM | decimal | Damping factor of morning hours | 0 | no | true |
117+
| dampPM | decimal | Damping factor of evening hours | 0 | no | true |
118118
| horizon | text | Horizon definition as comma separated integer values | N/A | no | true |
119119

120120
`refreshInterval` of forecast data needs to respect the throttling of the ForecastSolar service.

bundles/org.openhab.binding.solarforecast/src/main/java/org/openhab/binding/solarforecast/internal/forecastsolar/config/ForecastSolarPlaneConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class ForecastSolarPlaneConfiguration {
2626
public int azimuth = -1;
2727
public double kwp = 0;
2828
public long refreshInterval = 30;
29-
public double dampAM = 0.25;
30-
public double dampPM = 0.25;
29+
public double dampAM = 0;
30+
public double dampPM = 0;
3131
public String horizon = SolarForecastBindingConstants.EMPTY;
3232
}

bundles/org.openhab.binding.solarforecast/src/main/resources/OH-INF/config/fs-plane-config.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
<parameter name="dampAM" type="decimal" step="0.01" min="0" max="1">
2626
<label>Morning Damping Factor</label>
2727
<description>Damping factor of morning hours</description>
28-
<default>0.25</default>
28+
<default>0</default>
2929
<advanced>true</advanced>
3030
</parameter>
3131
<parameter name="dampPM" type="decimal" step="0.01" min="0" max="1">
3232
<label>Evening Damping Factor</label>
3333
<description>Damping factor of evening hours</description>
34-
<default>0.25</default>
34+
<default>0</default>
3535
<advanced>true</advanced>
3636
</parameter>
3737
<parameter name="horizon" type="text">

0 commit comments

Comments
 (0)