diff --git a/.github/upstream-check/watch.json b/.github/upstream-check/watch.json index f30959f536..09fd4eba13 100644 --- a/.github/upstream-check/watch.json +++ b/.github/upstream-check/watch.json @@ -131,6 +131,12 @@ "keywords": ["log file", "logfile", "LogFile", "logrotate", "lumberjack", "rotat"], "paths": ["util/log.go", "util/logstash/"] }, + { + "name": "Schnee auf PV (Schalter, Optimizer ohne PV-Ertrag)", + "files": ["core/site_snow.go", "assets/js/components/Forecast/SnowCoverSwitch.vue"], + "keywords": ["snow", "Snow", "Schnee", "snowCover"], + "paths": ["core/site_tariffs.go", "core/site_optimizer.go", "assets/js/views/Forecast.vue"] + }, { "name": "Grundlagen, auf denen der Fork aufbaut", "files": ["core/loadpoint_lm.go"], diff --git a/assets/js/components/Forecast/SnowCoverSwitch.vue b/assets/js/components/Forecast/SnowCoverSwitch.vue new file mode 100644 index 0000000000..431935841a --- /dev/null +++ b/assets/js/components/Forecast/SnowCoverSwitch.vue @@ -0,0 +1,68 @@ + + + diff --git a/assets/js/types/evcc-lm.ts b/assets/js/types/evcc-lm.ts index f98ca0ae64..52121b101f 100644 --- a/assets/js/types/evcc-lm.ts +++ b/assets/js/types/evcc-lm.ts @@ -152,6 +152,8 @@ export interface LmStatus { /** State fields added by this fork. */ export interface LmState { + /** Snow on pv: the optimizer plans without solar yield, see core/site_snow.go. */ + snowCover?: boolean; /** Soc-based grid charging of the home battery is enabled. */ batterySocGridCharge?: boolean; /** Soc in % at or below which soc-based grid charging starts. */ diff --git a/assets/js/views/Forecast.vue b/assets/js/views/Forecast.vue index 723c586502..52e6691582 100644 --- a/assets/js/views/Forecast.vue +++ b/assets/js/views/Forecast.vue @@ -32,8 +32,8 @@ edge-to-edge class="box-pull-out mb-4" > -