Neueste Beiträge

#1
Solaranlagen / Probleme mit Einbindung SolarF...
Letzter Beitrag von MarvinLu - 01 Juli 2025, 06:59:19
Guten Morgen,

der Übersichtlichkeit halber mache ich hier zu meinem Problem mal einen eigenen Thread auf.

ich habe leider ein Problem mit dem Solarcast-Modul und finde den Fehler nicht...

Es gibt Zeiten, da wird die Übergabeleistung ans Haus negativ, dies wird mir natürlich direkt im Log mit einem Fehler quittiert:

2025.06.25 05:59:53 3: SolarForecast - WARNING - The calculated Energy consumption of the house is negative. This appears to be an error and is not saved. Check Readings _PVreal, _GridFeedIn, _GridConsumption, _BatIn_XX, _BatOut_XX of hour >06<
Mein Modul ist wie folgt aufgebaut:

define SolarForecast SolarForecast
attr SolarForecast ctrlLanguage DE
attr SolarForecast event-on-change-reading .*
attr SolarForecast plantControl cycleInterval=15 showLink=1
attr SolarForecast room KG->PV-Anlage,Wetter
attr SolarForecast setupBatteryDev01 NR_Batterie pin=PIn:W pout=POut:W cap=30000 intotal=PIn_Gesamt:kWh outtotal=POut_Gesamt:kWh charge=SOC asynchron=1 show=1:top icon=measure_battery_50@#262626:@yellow:measure_battery_100@red
attr SolarForecast setupInverterDev01 NR_Fronius pvOut=PVOut:W etotal=PVOutTotal:kWh capacity=10000 icon=inverter@red:solar strings=Dach1,Dach2 asynchron=1
attr SolarForecast setupInverterDev02 NR_Victron_gesamt pvOut=PVOut:W etotal=PVOutTotal:kWh capacity=15000 icon=inverter@blue:solar strings=Mauer1, Mauer2, Mauer3, Mauer4, Mauer5, Mauer6, Carport1, Carport2, Carport3, Carport4, Carport5, Carport6 asynchron=1
attr SolarForecast setupInverterStrings Dach1,Dach2,Mauer1,Mauer2,Mauer3,Mauer4,Mauer5,Mauer6,Carport1,Carport2,Carport3,Carport4,Carport5,Carport6
attr SolarForecast setupMeterDev NR_Smartmeter gcon=GridLoadPos:W contotal=GridLoadTotal_bought gfeedin=GridLoadNeg:W feedtotal=GridLoadTotal_sold conprice=35.90:ct/kWh feedprice=0.083:ct/kWh asynchron=1
attr SolarForecast setupRadiationAPI OpenMeteoDWD_D2-API
attr SolarForecast setupStringAzimuth Dach1=48 Dach2=48 Mauer1=48 Mauer2=48 Mauer3=48 Mauer4=48 Mauer5=48 Mauer6=48 Carport1=-40 Carport2=-40 Carport3=-40 Carport4=-40 Carport5=-40 Carport6=-40
attr SolarForecast setupStringDeclination Dach1=40 Dach2=40 Mauer1=90 Mauer2=90 Mauer3=90 Mauer4=90 Mauer5=90 Mauer6=90 Carport1=0 Carport2=0 Carport3=0 Carport4=0 Carport5=0 Carport6=0
attr SolarForecast setupStringPeak Dach1=3.735 Dach2=3.735 Mauer1=1.245 Mauer2=1.245 Mauer3=1.245 Mauer4=1.245 Mauer5=1.245 Mauer6=1.660 Carport1=1.245 Carport2=1.660 Carport3=1.660 Carport4=1.660 Carport5=1.660 Carport6=1.660
attr SolarForecast setupWeatherDev1 OpenMeteoDWD_D2-API
#   FUUID      6855a29f-f33f-1b3f-f383-35aed6f06580e796
#   FVERSION   76_SolarForecast.pm:v1.53.0-s30081/2025-06-28
#   LCACHEFILE last write time: 06:46:10 whole Operating Memory
#   MODE       Automatic / Event-controlled - next planned Cycletime: 06:51:12
#   MODEL      OpenMeteoDWDD2API
#   NAME       SolarForecast
#   NOTIFYDEV  NR_Smartmeter,NR_Batterie,NR_Fronius,NR_Victron_gesamt
#   NR         869
#   NTFY_ORDER 50-SolarForecast
#   STATE      updated
#   TYPE       SolarForecast
#   WEATHERMODEL OpenMeteoDWDD2API
#   eventCount 41779
#   HELPER:
#     FW         WEB
#     PACKAGE    FHEM::SolarForecast
#     SPGDETAIL 
#     SPGDEV     SolarForecast
#     SPGROOM   
#     VERSION    1.53.0
#     VERSION_API unused
#     VERSION_CTZ 1.0.0
#     VERSION_ErrCodes 1.3.9
#     VERSION_SMUtils 1.28.3
#     GMFRUNNING:
#       abortFn    FHEM::SolarForecast::_abortGetMessageFile
#       bc_pid     3625
#       finishFn   FHEM::SolarForecast::_processMessageFile
#       fn         FHEM::SolarForecast::_retrieveMessageFile
#       loglevel   3
#       pid        DEAD:1307737
#       telnet     telnetPort_127.0.0.1_36498
#       terminated 1
#       timeout    30
#       abortArg:
#       arg:
#         block      1
#         name       SolarForecast
#         tsnext     1751347967.86452
#   OLDREADINGS:
#   READINGS:
#     2025-07-01 06:51:08   Battery_ChargeRecommended_01 1
#     2025-07-01 06:51:08   Battery_ChargeUnrestricted_01 1
#     2025-07-01 06:51:08   Current_AutarkyRate 100 %
#     2025-07-01 06:51:08   Current_BatCharge_01 75 %
#     2025-07-01 06:51:08   Current_Consumption 359 W
#     2025-07-01 06:51:08   Current_GridConsumption 0 W
#     2025-07-01 06:51:08   Current_GridFeedIn 28 W
#     2025-07-01 06:51:08   Current_PV      498 W
#     2025-07-01 06:51:08   Current_PowerBatIn_01 111 W
#     2025-07-01 06:51:08   Current_PowerBatOut_01 0 W
#     2025-07-01 06:51:08   Current_SelfConsumption 359 W
#     2025-07-01 06:51:08   Current_SelfConsumptionRate 72 %
#     2025-07-01 06:51:08   Current_Surplus 139 W
#     2025-07-01 06:00:00   LastHourGridconsumptionReal 0 Wh
#     2025-07-01 06:00:00   LastHourPVforecast 72 Wh
#     2025-07-01 06:00:00   LastHourPVreal  50 Wh
#     2025-07-01 06:51:08   NextHours_Sum01_PVforecast 911 Wh
#     2025-07-01 06:51:08   NextHours_Sum02_PVforecast 1679 Wh
#     2025-07-01 06:51:08   NextHours_Sum03_PVforecast 4106 Wh
#     2025-07-01 06:51:08   NextHours_Sum04_ConsumptionForecast 17576 Wh
#     2025-07-01 06:51:08   NextHours_Sum04_PVforecast 7104 Wh
#     2025-07-01 06:51:08   RestOfDayConsumptionForecast 89604 Wh
#     2025-07-01 06:51:08   RestOfDayPVforecast 79403 Wh
#     2025-07-01 00:59:59   Today_Hour01_BatIn_01 200 Wh
#     2025-07-01 00:59:59   Today_Hour01_BatOut_01 0 Wh
#     2025-07-01 00:59:59   Today_Hour01_GridConsumption 0 Wh
#     2025-07-01 00:59:59   Today_Hour01_GridFeedIn 0 Wh
#     2025-07-01 00:59:59   Today_Hour01_PVreal 0 Wh
#     2025-07-01 01:59:59   Today_Hour02_BatIn_01 200 Wh
#     2025-07-01 01:59:59   Today_Hour02_BatOut_01 0 Wh
#     2025-07-01 01:59:59   Today_Hour02_GridConsumption 0 Wh
#     2025-07-01 01:59:59   Today_Hour02_GridFeedIn 0 Wh
#     2025-07-01 01:59:59   Today_Hour02_PVreal 0 Wh
#     2025-07-01 02:59:58   Today_Hour03_BatIn_01 200 Wh
#     2025-07-01 02:59:58   Today_Hour03_BatOut_01 0 Wh
#     2025-07-01 02:59:58   Today_Hour03_GridConsumption 0 Wh
#     2025-07-01 02:59:58   Today_Hour03_GridFeedIn 0 Wh
#     2025-07-01 02:59:58   Today_Hour03_PVreal 0 Wh
#     2025-07-01 03:59:58   Today_Hour04_BatIn_01 200 Wh
#     2025-07-01 03:59:58   Today_Hour04_BatOut_01 0 Wh
#     2025-07-01 03:59:58   Today_Hour04_GridConsumption 0 Wh
#     2025-07-01 03:59:58   Today_Hour04_GridFeedIn 0 Wh
#     2025-07-01 03:59:58   Today_Hour04_PVreal 0 Wh
#     2025-07-01 04:59:58   Today_Hour05_BatIn_01 299 Wh
#     2025-07-01 04:59:58   Today_Hour05_BatOut_01 0 Wh
#     2025-07-01 04:59:58   Today_Hour05_GridConsumption 0 Wh
#     2025-07-01 04:59:58   Today_Hour05_GridFeedIn 0 Wh
#     2025-07-01 04:59:58   Today_Hour05_PVreal 0 Wh
#     2025-07-01 05:59:59   Today_Hour06_BatIn_01 599 Wh
#     2025-07-01 05:59:59   Today_Hour06_BatOut_01 0 Wh
#     2025-07-01 05:59:59   Today_Hour06_GridConsumption 0 Wh
#     2025-07-01 05:59:59   Today_Hour06_GridFeedIn 0 Wh
#     2025-07-01 05:59:59   Today_Hour06_PVforecast 72 Wh
#     2025-07-01 05:59:59   Today_Hour06_PVreal 50 Wh
#     2025-07-01 06:51:08   Today_Hour07_BatIn_01 100 Wh
#     2025-07-01 06:51:08   Today_Hour07_BatOut_01 0 Wh
#     2025-07-01 06:51:08   Today_Hour07_GridConsumption 0 Wh
#     2025-07-01 06:51:08   Today_Hour07_GridFeedIn 0 Wh
#     2025-07-01 06:51:08   Today_Hour07_PVforecast 352 Wh
#     2025-07-01 06:51:08   Today_Hour07_PVreal 150 Wh
#     2025-07-01 06:51:08   Today_Hour08_PVforecast 998 Wh
#     2025-07-01 06:51:08   Today_Hour09_PVforecast 732 Wh
#     2025-07-01 06:51:08   Today_Hour10_PVforecast 2688 Wh
#     2025-07-01 06:51:08   Today_Hour11_PVforecast 3046 Wh
#     2025-07-01 06:51:08   Today_Hour12_PVforecast 4534 Wh
#     2025-07-01 06:51:08   Today_Hour13_PVforecast 5970 Wh
#     2025-07-01 06:51:08   Today_Hour14_PVforecast 7148 Wh
#     2025-07-01 06:51:08   Today_Hour15_PVforecast 11158 Wh
#     2025-07-01 06:51:08   Today_Hour16_PVforecast 11337 Wh
#     2025-07-01 06:51:08   Today_Hour17_PVforecast 7035 Wh
#     2025-07-01 06:51:08   Today_Hour18_PVforecast 10820 Wh
#     2025-07-01 06:51:08   Today_Hour19_PVforecast 8050 Wh
#     2025-07-01 06:51:08   Today_Hour20_PVforecast 3935 Wh
#     2025-07-01 06:51:08   Today_Hour21_PVforecast 1834 Wh
#     2025-07-01 06:51:08   Today_Hour22_PVforecast 72 Wh
#     2025-07-01 06:51:08   Today_MaxPVforecast 11337 Wh
#     2025-07-01 06:51:08   Today_MaxPVforecastTime 2025-07-01 15:00:00
#     2025-07-01 06:51:08   Today_PVforecast 79781 Wh
#     2025-07-01 06:51:08   Today_PVreal    200 Wh
#     2025-07-01 06:51:08   Today_SunRise   05:15
#     2025-07-01 06:51:08   Today_SunSet    21:45
#     2025-07-01 06:51:08   Tomorrow_ConsumptionForecast 89036 Wh
#     2025-07-01 06:51:08   Tomorrow_PVforecast 62447 Wh
#     2025-07-01 06:51:08   Tomorrow_SunRise 05:16
#     2025-07-01 06:51:08   Tomorrow_SunSet 21:45
#     2025-07-01 06:50:57   nextCycletime   06:51:12
#     2025-07-01 06:47:12   nextRadiationAPICall nach 01.07.2025 07:02:12
#     2025-07-01 06:00:01   pvCorrectionFactor_06 0.72 (automatic - old factor: 1.00, AI result used, Sun Alt range: 0, Cloud range: 00, Days in range: 1)
#     2025-07-01 06:51:08   pvCorrectionFactor_Auto on_complex_ai
#     2025-07-01 06:51:09   state           updated
#
setstate SolarForecast updated
setstate SolarForecast 2025-06-30 17:38:54 .associatedWith NR_Smartmeter NR_Batterie NR_Fronius NR_Victron_gesamt
setstate SolarForecast 2025-07-01 06:51:08 .lastupdateForecastValues 1751345468
setstate SolarForecast 2025-07-01 06:51:08 .pvCorrectionFactor_Auto_Soll on_complex_ai
setstate SolarForecast 2025-07-01 01:00:01 .signaldone_01 done
setstate SolarForecast 2025-07-01 02:00:01 .signaldone_02 done
setstate SolarForecast 2025-07-01 03:00:00 .signaldone_03 done
setstate SolarForecast 2025-07-01 04:00:01 .signaldone_04 done
setstate SolarForecast 2025-07-01 05:00:01 .signaldone_05 done
setstate SolarForecast 2025-07-01 06:00:01 .signaldone_06 done
setstate SolarForecast 2025-07-01 00:00:00 .signaldone_24 done
setstate SolarForecast 2025-07-01 06:51:08 Battery_ChargeRecommended_01 1
setstate SolarForecast 2025-07-01 06:51:08 Battery_ChargeUnrestricted_01 1
setstate SolarForecast 2025-07-01 06:51:08 Current_AutarkyRate 100 %
setstate SolarForecast 2025-07-01 06:51:08 Current_BatCharge_01 75 %
setstate SolarForecast 2025-07-01 06:51:08 Current_Consumption 359 W
setstate SolarForecast 2025-07-01 06:51:08 Current_GridConsumption 0 W
setstate SolarForecast 2025-07-01 06:51:08 Current_GridFeedIn 28 W
setstate SolarForecast 2025-07-01 06:51:08 Current_PV 498 W
setstate SolarForecast 2025-07-01 06:51:08 Current_PowerBatIn_01 111 W
setstate SolarForecast 2025-07-01 06:51:08 Current_PowerBatOut_01 0 W
setstate SolarForecast 2025-07-01 06:51:08 Current_SelfConsumption 359 W
setstate SolarForecast 2025-07-01 06:51:08 Current_SelfConsumptionRate 72 %
setstate SolarForecast 2025-07-01 06:51:08 Current_Surplus 139 W
setstate SolarForecast 2025-07-01 06:00:00 LastHourGridconsumptionReal 0 Wh
setstate SolarForecast 2025-07-01 06:00:00 LastHourPVforecast 72 Wh
setstate SolarForecast 2025-07-01 06:00:00 LastHourPVreal 50 Wh
setstate SolarForecast 2025-07-01 06:51:08 NextHours_Sum01_PVforecast 911 Wh
setstate SolarForecast 2025-07-01 06:51:08 NextHours_Sum02_PVforecast 1679 Wh
setstate SolarForecast 2025-07-01 06:51:08 NextHours_Sum03_PVforecast 4106 Wh
setstate SolarForecast 2025-07-01 06:51:08 NextHours_Sum04_ConsumptionForecast 17576 Wh
setstate SolarForecast 2025-07-01 06:51:08 NextHours_Sum04_PVforecast 7104 Wh
setstate SolarForecast 2025-07-01 06:51:08 RestOfDayConsumptionForecast 89604 Wh
setstate SolarForecast 2025-07-01 06:51:08 RestOfDayPVforecast 79403 Wh
setstate SolarForecast 2025-07-01 00:59:59 Today_Hour01_BatIn_01 200 Wh
setstate SolarForecast 2025-07-01 00:59:59 Today_Hour01_BatOut_01 0 Wh
setstate SolarForecast 2025-07-01 00:59:59 Today_Hour01_GridConsumption 0 Wh
setstate SolarForecast 2025-07-01 00:59:59 Today_Hour01_GridFeedIn 0 Wh
setstate SolarForecast 2025-07-01 00:59:59 Today_Hour01_PVreal 0 Wh
setstate SolarForecast 2025-07-01 01:59:59 Today_Hour02_BatIn_01 200 Wh
setstate SolarForecast 2025-07-01 01:59:59 Today_Hour02_BatOut_01 0 Wh
setstate SolarForecast 2025-07-01 01:59:59 Today_Hour02_GridConsumption 0 Wh
setstate SolarForecast 2025-07-01 01:59:59 Today_Hour02_GridFeedIn 0 Wh
setstate SolarForecast 2025-07-01 01:59:59 Today_Hour02_PVreal 0 Wh
setstate SolarForecast 2025-07-01 02:59:58 Today_Hour03_BatIn_01 200 Wh
setstate SolarForecast 2025-07-01 02:59:58 Today_Hour03_BatOut_01 0 Wh
setstate SolarForecast 2025-07-01 02:59:58 Today_Hour03_GridConsumption 0 Wh
setstate SolarForecast 2025-07-01 02:59:58 Today_Hour03_GridFeedIn 0 Wh
setstate SolarForecast 2025-07-01 02:59:58 Today_Hour03_PVreal 0 Wh
setstate SolarForecast 2025-07-01 03:59:58 Today_Hour04_BatIn_01 200 Wh
setstate SolarForecast 2025-07-01 03:59:58 Today_Hour04_BatOut_01 0 Wh
setstate SolarForecast 2025-07-01 03:59:58 Today_Hour04_GridConsumption 0 Wh
setstate SolarForecast 2025-07-01 03:59:58 Today_Hour04_GridFeedIn 0 Wh
setstate SolarForecast 2025-07-01 03:59:58 Today_Hour04_PVreal 0 Wh
setstate SolarForecast 2025-07-01 04:59:58 Today_Hour05_BatIn_01 299 Wh
setstate SolarForecast 2025-07-01 04:59:58 Today_Hour05_BatOut_01 0 Wh
setstate SolarForecast 2025-07-01 04:59:58 Today_Hour05_GridConsumption 0 Wh
setstate SolarForecast 2025-07-01 04:59:58 Today_Hour05_GridFeedIn 0 Wh
setstate SolarForecast 2025-07-01 04:59:58 Today_Hour05_PVreal 0 Wh
setstate SolarForecast 2025-07-01 05:59:59 Today_Hour06_BatIn_01 599 Wh
setstate SolarForecast 2025-07-01 05:59:59 Today_Hour06_BatOut_01 0 Wh
setstate SolarForecast 2025-07-01 05:59:59 Today_Hour06_GridConsumption 0 Wh
setstate SolarForecast 2025-07-01 05:59:59 Today_Hour06_GridFeedIn 0 Wh
setstate SolarForecast 2025-07-01 05:59:59 Today_Hour06_PVforecast 72 Wh
setstate SolarForecast 2025-07-01 05:59:59 Today_Hour06_PVreal 50 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour07_BatIn_01 100 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour07_BatOut_01 0 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour07_GridConsumption 0 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour07_GridFeedIn 0 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour07_PVforecast 352 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour07_PVreal 150 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour08_PVforecast 998 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour09_PVforecast 732 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour10_PVforecast 2688 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour11_PVforecast 3046 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour12_PVforecast 4534 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour13_PVforecast 5970 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour14_PVforecast 7148 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour15_PVforecast 11158 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour16_PVforecast 11337 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour17_PVforecast 7035 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour18_PVforecast 10820 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour19_PVforecast 8050 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour20_PVforecast 3935 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour21_PVforecast 1834 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_Hour22_PVforecast 72 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_MaxPVforecast 11337 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_MaxPVforecastTime 2025-07-01 15:00:00
setstate SolarForecast 2025-07-01 06:51:08 Today_PVforecast 79781 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_PVreal 200 Wh
setstate SolarForecast 2025-07-01 06:51:08 Today_SunRise 05:15
setstate SolarForecast 2025-07-01 06:51:08 Today_SunSet 21:45
setstate SolarForecast 2025-07-01 06:51:08 Tomorrow_ConsumptionForecast 89036 Wh
setstate SolarForecast 2025-07-01 06:51:08 Tomorrow_PVforecast 62447 Wh
setstate SolarForecast 2025-07-01 06:51:08 Tomorrow_SunRise 05:16
setstate SolarForecast 2025-07-01 06:51:08 Tomorrow_SunSet 21:45
setstate SolarForecast 2025-07-01 06:50:57 nextCycletime 06:51:12
setstate SolarForecast 2025-07-01 06:47:12 nextRadiationAPICall nach 01.07.2025 07:02:12
setstate SolarForecast 2025-07-01 06:00:01 pvCorrectionFactor_06 0.72 (automatic - old factor: 1.00, AI result used, Sun Alt range: 0, Cloud range: 00, Days in range: 1)
setstate SolarForecast 2025-07-01 06:51:08 pvCorrectionFactor_Auto on_complex_ai
setstate SolarForecast 2025-07-01 06:51:09 state updated


Gemäß Anleitung sind alle übergebenen Werte numerisch und positiv (siehe Anhang).
Ein Hinweis zu meiner Installation: Ich betreibe ein Kombinations-System aus Victron und Fronius. Dazu gehören 4 Laderegler und 4 Wechselrichter. Somit müsste ich theoretisch 8 Attribute vergeben. Ich habe das nun auf 2 beschränkt: Victron gesamt (4 Laderegler, 3 Wechselrichter) und Fronius (1 Wechselrichter).

Alle datenliefernden Quellen (Inverter, Batt, Meter), liefern zu minimal möglichen Intervallzeiten alle Werte.
Weiterhin habe ich im Attribut "plantControl", das "cycleInterval" auf 15 Sekunden gesetzt, leider ohne Verbesserung.

Kann mir jemand sagen, wo der Fehler zu suchen ist?

CtrlDebug = collectdata läuft, ich werde den Code morgen früh einmal auslesen und in Auszügen hier bereitstellen.

Vielen Dank für die Unterstützung!
Marvin
#2
Wunschliste / Aw: Türstation 2N
Letzter Beitrag von Prof. Dr. Peter Henning - 01 Juli 2025, 06:56:43
Selbst machen, nicht andere zur Arbeit auffordern.

pah
#3
Automatisierung / Aw: [ASC] Aliasnamen verwenden...
Letzter Beitrag von CoolTux - 01 Juli 2025, 03:59:09
Du hast Lux: 15970

Beschatten soll er aber erst ab 30000
ASC_Shading_StateChange_SunnyCloudy 30000:7000

Und Versuch mal bitte als Shading Pos weder den Wert für Open noch für Close zu nehmen. Vielleicht geht ja 5 statt 0
#4
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von Prof. Dr. Peter Henning - 01 Juli 2025, 01:56:00
Zitat von: seayak am 27 Juni 2025, 14:04:26minimal mögliche Intervallzeiten gesetzt
Typischer Anfängerfehler - damit legt man sein System ziemlich lahm.

LG

pah
#5
Sonstige Systeme / Aw: Tuya(smartlife) "Gesprächi...
Letzter Beitrag von tom0 - 01 Juli 2025, 00:01:46
Mal schauen, ich habe mich versucht etwas heranzutasten, dummerweise sind die Werte alles andere als Konstant und springen auch gerne in Grenzen die auch schon einer interessanten Wertänderung entsprechen, so richtig gefällt mir das alles nicht.

Bei mir ist da schon so einiges los im "Event Monitor", obwohl ich immer mal wieder optimiert habe, hat sich so über die, keine Ahnung, letzten 15 Jahre oder so, einiges an Geräten angehäuft  ;)

Vielleicht versuche ich zusätzlich einen Mittelwert über die "userReadings" zu errechnen und schreibe diesen in ein Reading und Trigger nur darauf, ich habe das Ganze von "Tuya Online" nach "Tuya Smartlife" migriert da man anscheinend die Keys nicht mehr ohne weiteres bekommt und ich die bei der Migration auf den Container irgendwo im Digitalen Mülleimer versenkt habe.

Ich bin mir auch nicht so 100% sicher ob ich mir nicht da auch ein Problem eingefangen habe weil ich auf Container umgezogen bin, dadurch habe ich an diversen Sachen mit einem Mal so einige Probleme die nicht so richtig zu erklären sind, gerade bei fhem muss ich so einiges noch über ein Shellscript machen damit alles halbwegs läuft, aber das ist ein anderes Thema, gut Ding braucht weil, gerade Gesundheitsbedingt bei mir  ;) .

Übrigens, "supressReading" scheint an der Stelle nicht, oder zumindest nicht so, zu funktionieren wie ich dachte, ich sehe keine Änderung.
#6
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von DS_Starter - 30 Juni 2025, 23:54:24
ZitatIrgendwas ist generell kaputt gegangen mit dem Update auf v1.53.0
Kaputt ist sicherlich nichts. Welche Version hattest du vorher? Hast du die Updates der Weiterentwicklungen immer mitgemacht?
#7
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von ahlermi - 30 Juni 2025, 22:42:33
Irgendwas ist generell kaputt gegangen mit dem Update auf v1.53.0, siehe Screenshots, negative Zahlen hatte ich noch nie, machen auch keinen Sinn.

Siehe die richtigen Werte aus meiner Grafik.

Geändert habe ich auch:

plantControl      feedinPowerLimit=0 reductionState=d_check_wechselrichter_100:state:{$VALUE eq "on"}
#8
Automatisierung / Aw: [ASC] Aliasnamen verwenden...
Letzter Beitrag von Mitch - 30 Juni 2025, 22:24:18
Ok, Punkt 2 hat sich geklärt.

Habe aber eine weitere Frage:

ich habe hier ein paar Rollos, die sollten beschatten, tun sie aber nicht und der State ist out.

Das waren die Werte zum Zeitpunkt:
Azimuth: 257.95
Elevation: 41.37
Lux: 15970
Temp: 30.5

Im Rollodevice:
ASC_BrightnessSensor 400:800
ASC_Shading_BetweenTheTime 07:00-19:30
ASC_Shading_InOutAzimuth 70:300
ASC_Shading_MinMax_Elevation 15:90
ASC_Shading_Min_OutsideTemperature 20
ASC_Shading_Mode always
ASC_Shading_Pos 0
ASC_Shading_StateChange_SunnyCloudy 30000:7000

#9
FRITZ!Box / Aw: 72_FRITZBOX.pm ab Version...
Letzter Beitrag von juemuc - 30 Juni 2025, 22:14:38
Hallo Jörg,

ich glaube, Du hast bei pwr die aktuellen Werte mit denen des 24h-Mittel vertauscht:
Result of data = 'xhr' => '1'
'lang' => 'de'
'page' => 'energy'
'xhrId' => 'all'

----------------------------------------------------------------------
{
  'sidNew' => 0,
  'data' => {
              'intro' => {
                           'text' => [
                                       'Auf dieser Seite finden Sie Informationen zum Energieverbrauch der FRITZ!Box und zu belegten LAN-Schnittstellen.'
                                     ]
                         },
              'drain' => [
                           {
                             'actPerc' => 29,
                             'name' => 'FRITZ!Box Gesamtsystem',
                             'statuses' => 'aktiv seit 4 Tagen, 8 Stunden, 25 Minuten',
                             'cumPerc' => 29
                           },
                           {
                             'statuses' => '125 MHz Systemtakt',
                             'cumPerc' => 69,
                             'name' => 'FRITZ!Box Hauptprozessor',
                             'actPerc' => 71
                           },
                           {
                             'cumPerc' => 57,
                             'statuses' => [
                                             'WLAN aktiviert',
                                             "3 WLAN-Netzwerkger\x{c3}\x{a4}te angemeldet"
                                           ],
                             'name' => 'WLAN',
                             'actPerc' => 57
                           },
                           {
                             'actPerc' => 0,
                             'name' => "analoge FON-Anschl\x{c3}\x{bc}sse",
                             'cumPerc' => 0,
                             'statuses' => ''
                           },
                           {
                             'statuses' => "kein USB-Ger\x{c3}\x{a4}t angeschlossen",
                             'cumPerc' => 2,
                             'name' => "USB-Ger\x{c3}\x{a4}te",
                             'actPerc' => 2
                           },
                           {
                             'lan' => [
                                        {
                                          'name' => 'LAN 1',
                                          'class' => 'green'
                                        },
                                        {
                                          'name' => 'LAN 2',
                                          'class' => 'green'
                                        },
                                        {
                                          'class' => '',
                                          'name' => 'LAN 3'
                                        },
                                        {
                                          'name' => 'LAN 4',
                                          'class' => 'green'
                                        }
                                      ],
                             'statuses' => "3 Ger\x{c3}\x{a4}te angeschlossen",
                             'name' => "LAN-Anschl\x{c3}\x{bc}sse"
                           }
                         ]
            },
  'hide' => {
              'liveTv' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
              'ssoSet' => $VAR1->{'hide'}{'liveTv'},
              'shareUsb' => $VAR1->{'hide'}{'liveTv'},
              'rrd' => $VAR1->{'hide'}{'liveTv'}
            },
  'sid' => 'f8e964870bf73ec1',
  'time' => [],
  'timeTillLogout' => '1200',
  'pid' => 'energy'
}

Du darfst diesen Dateianhang nicht ansehen.Du darfst diesen Dateianhang nicht ansehen.

Der Rest sieht gut aus.

Viele Grüße
Jürgen
#10
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von 300P - 30 Juni 2025, 21:42:54
Das steht eigentlich doch schon im allgemeinen WIKI für alle myUtils  wie man es richig macht:  ;)

https://wiki.fhem.de/wiki/99_myUtils_anlegen