diff --git a/fhem/FHEM/76_SolarForecast.pm b/fhem/FHEM/76_SolarForecast.pm index 98beb6c04..94f37459e 100644 --- a/fhem/FHEM/76_SolarForecast.pm +++ b/fhem/FHEM/76_SolarForecast.pm @@ -150,6 +150,7 @@ BEGIN { # Versions History intern my %vNotesIntern = ( + "1.1.3" => "24.11.2023 rename reset arguments according possible adjustable textField width ", "1.1.2" => "20.11.2023 ctrlDebug Adjustment of column width, must have new fhemweb.js Forum:#135850 ", "1.1.1" => "19.11.2023 graphicHeaderOwnspec: fix ignoring the last element of allsets/allattr ", "1.1.0" => "14.11.2023 graphicHeaderOwnspec: possible add set/attr commands, new setter consumerNewPlanning ", @@ -1277,14 +1278,13 @@ sub Set { consumerMaster consumerPlanning consumption - currentBatteryDev - currentWeatherDev - currentInverterDev - currentMeterDev - energyH4Trigger - inverterStrings - moduleRoofTops - powerTrigger + currentBatterySet + currentInverterSet + currentMeterSet + energyH4TriggerSet + inverterStringSet + moduleRoofTopSet + powerTriggerSet pvCorrection roofIdentPair pvHistory @@ -2252,21 +2252,21 @@ sub _setreset { ## no critic "not used" return; } - if ($prop eq 'powerTrigger') { + if ($prop eq 'powerTriggerSet') { deleteReadingspec ($hash, "powerTrigger.*"); - writeCacheToFile ($hash, "plantconfig", $plantcfg.$name); # Anlagenkonfiguration File schreiben + writeCacheToFile ($hash, "plantconfig", $plantcfg.$name); # Anlagenkonfiguration File schreiben return; } - if ($prop eq 'energyH4Trigger') { + if ($prop eq 'energyH4TriggerSet') { deleteReadingspec ($hash, "energyH4Trigger.*"); - writeCacheToFile ($hash, "plantconfig", $plantcfg.$name); # Anlagenkonfiguration File schreiben + writeCacheToFile ($hash, "plantconfig", $plantcfg.$name); return; } - if ($prop eq 'moduleRoofTops') { + if ($prop eq 'moduleRoofTopSet') { deleteReadingspec ($hash, "moduleRoofTops"); - writeCacheToFile ($hash, "plantconfig", $plantcfg.$name); # Anlagenkonfiguration File schreiben + writeCacheToFile ($hash, "plantconfig", $plantcfg.$name); return; } @@ -2288,7 +2288,7 @@ sub _setreset { ## no critic "not used" return; } - if ($prop eq 'currentMeterDev') { + if ($prop eq 'currentMeterSet') { readingsDelete ($hash, "Current_GridConsumption"); readingsDelete ($hash, "Current_GridFeedIn"); delete $data{$type}{$name}{circular}{'99'}{initdayfeedin}; @@ -2306,7 +2306,7 @@ sub _setreset { ## no critic "not used" writeCacheToFile ($hash, "plantconfig", $plantcfg.$name); # Anlagenkonfiguration File schreiben } - if ($prop eq 'currentBatteryDev') { + if ($prop eq 'currentBatterySet') { readingsDelete ($hash, "Current_PowerBatIn"); readingsDelete ($hash, "Current_PowerBatOut"); readingsDelete ($hash, "Current_BatCharge"); @@ -2321,7 +2321,7 @@ sub _setreset { ## no critic "not used" writeCacheToFile ($hash, "plantconfig", $plantcfg.$name); # Anlagenkonfiguration File schreiben } - if ($prop eq 'currentInverterDev') { + if ($prop eq 'currentInverterSet') { readingsDelete ($hash, "Current_PV"); deleteReadingspec ($hash, ".*_PVreal" ); writeCacheToFile ($hash, "plantconfig", $plantcfg.$name); # Anlagenkonfiguration File schreiben @@ -15066,13 +15066,12 @@ to ensure that the system configuration is correct. To delete the consumption values of a specific hour of a day: - currentBatteryDev deletes the set battery device and corresponding data. - currentWeatherDev deletes the set device for weather data - currentInverterDev deletes the set inverter device and corresponding data. - currentMeterDev deletes the set meter device and corresponding data. - energyH4Trigger deletes the 4-hour energy trigger points - inverterStrings deletes the string configuration of the installation - powerTrigger deletes the trigger points for PV generation values + currentBatterySet deletes the set battery device and corresponding data. + currentInverterSet deletes the set inverter device and corresponding data. + currentMeterSet deletes the set meter device and corresponding data. + energyH4TriggerSet deletes the 4-hour energy trigger points + inverterStringSet deletes the string configuration of the installation + powerTriggerSet deletes the trigger points for PV generation values pvCorrection deletes the readings pvCorrectionFactor* To delete all previously stored PV correction factors from the caches: @@ -15084,7 +15083,7 @@ to ensure that the system configuration is correct. To delete a specific hour of a historical day: - moduleRoofTops deletes the SolCast API Rooftops + moduleRoofTopSet deletes the SolCast API Rooftops roofIdentPair deletes all saved SolCast API Rooftop ID / API Key pairs. To delete a specific pair, specify its key <pk>: @@ -16942,13 +16941,12 @@ die ordnungsgemäße Anlagenkonfiguration geprüft werden. Um die Verbrauchswerte einer bestimmten Stunde eines Tages zu löschen: - currentBatteryDev löscht das eingestellte Batteriedevice und korrespondierende Daten - currentWeatherDev löscht das eingestellte Device für Wetterdaten - currentInverterDev löscht das eingestellte Inverterdevice und korrespondierende Daten - currentMeterDev löscht das eingestellte Meterdevice und korrespondierende Daten - energyH4Trigger löscht die 4-Stunden Energie Triggerpunkte - inverterStrings löscht die Stringkonfiguration der Anlage - powerTrigger löscht die Triggerpunkte für PV Erzeugungswerte + currentBatterySet löscht das eingestellte Batteriedevice und korrespondierende Daten + currentInverterSet löscht das eingestellte Inverterdevice und korrespondierende Daten + currentMeterSet löscht das eingestellte Meterdevice und korrespondierende Daten + energyH4TriggerSet löscht die 4-Stunden Energie Triggerpunkte + inverterStringSet löscht die Stringkonfiguration der Anlage + powerTriggerSet löscht die Triggerpunkte für PV Erzeugungswerte pvCorrection löscht die Readings pvCorrectionFactor* Um alle bisher gespeicherten PV Korrekturfaktoren aus den Caches zu löschen: @@ -16960,7 +16958,7 @@ die ordnungsgemäße Anlagenkonfiguration geprüft werden. Um eine bestimmte Stunde eines historischer Tages zu löschen: - moduleRoofTops löscht die SolCast API Rooftops + moduleRoofTopSet löscht die SolCast API Rooftops roofIdentPair löscht alle gespeicherten SolCast API Rooftop-ID / API-Key Paare Um ein bestimmtes Paar zu löschen ist dessen Schlüssel <pk> anzugeben: