[GELÖST] ASC Wochentage um einen Tag versetzt

Begonnen von UweH, 10 April 2022, 12:21:35

Vorheriges Thema - Nächstes Thema

UweH

Moin,

ich weiß nicht, wie ich es anders beschreiben soll. Freitag fahren die Rollos im Samstagsmodus, Sonntag dann wie Montag. Dieser "Versatz" betrifft nur ASC, andere Timer werden sowohl Datum- als auch Wochentagsgesteuert korrekt ausgeführt (getestet mit at, DOIF). Systemzeit ist korrekt, da passen Datum und Wochentag zusammen.
Ich bin mir ziemlich sicher, dass es seit der Zeitumstellung so ist. Neustart hat nichts gebracht.

Hat jemand einen Tipp für mich, an welcher Stelle ich den Haken ansetzten muss?

Danke und Gruß
Uwe

CoolTux

Bitte ein list vom ASC Device und eines vom Beispielrollo
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

UweH

Ja gerne:

ASC:
   FUUID      5e773b7d-f33f-342e-f72f-ecad2cf0960a30d6
   FVERSION   73_AutoShuttersControl.pm:v0.10.22-s25770/2022-03-04
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       myASControl
   NOTIFYDEV  global,myASControl,Astro,Shelly25RolloAK,Shelly25RolloAZ_LI,Shelly25RolloAZ_MI,Shelly25RolloAZ_RE,Shelly25RolloDach,Shelly25RolloGZ,Shelly25RolloKUE,Shelly25RolloSZ,Shelly25RolloWC,Astro
   NR         372
   NTFY_ORDER 51-myASControl
   STATE      created new drive timer
   TYPE       AutoShuttersControl
   VERSION    v0.10.22
   OLDREADINGS:
   READINGS:
     2022-04-10 06:39:38   Astro_lastPosValue 0
     2022-04-10 06:39:38   Astro_nextAstroTimeEvent 10.04.2022 - 20:33
     2020-12-04 16:28:47   Shelly25RolloAK Shelly25RolloAK_lastPosValue 0
     2022-04-10 08:00:03   Shelly25RolloAK_PosValue 100
     2022-04-10 08:00:02   Shelly25RolloAK_lastPosValue 0
     2022-04-10 08:00:02   Shelly25RolloAK_nextAstroTimeEvent 10.04.2022 - 20:33
     2020-12-25 08:30:02   Shelly25RolloAZ_LI Shelly25RolloAZ_LI_lastPosValue 0
     2022-04-10 08:00:03   Shelly25RolloAZ_LI_PosValue 100
     2022-04-10 08:00:02   Shelly25RolloAZ_LI_lastPosValue 0
     2022-04-10 08:00:02   Shelly25RolloAZ_LI_nextAstroTimeEvent 10.04.2022 - 20:26
     2020-12-25 08:30:02   Shelly25RolloAZ_MI Shelly25RolloAZ_MI_lastPosValue 0
     2022-04-10 08:00:03   Shelly25RolloAZ_MI_PosValue 100
     2022-04-10 08:00:02   Shelly25RolloAZ_MI_lastPosValue 0
     2022-04-10 08:00:02   Shelly25RolloAZ_MI_nextAstroTimeEvent 10.04.2022 - 20:26
     2020-12-25 08:30:02   Shelly25RolloAZ_RE Shelly25RolloAZ_RE_lastPosValue 0
     2022-04-10 08:00:03   Shelly25RolloAZ_RE_PosValue 100
     2022-04-10 08:00:02   Shelly25RolloAZ_RE_lastPosValue 0
     2022-04-10 08:00:02   Shelly25RolloAZ_RE_nextAstroTimeEvent 10.04.2022 - 20:26
     2022-04-10 08:30:03   Shelly25RolloDach_PosValue 100
     2022-04-10 08:30:02   Shelly25RolloDach_lastPosValue 0
     2022-04-10 08:30:02   Shelly25RolloDach_nextAstroTimeEvent 10.04.2022 - 20:33
     2022-04-10 08:45:02   Shelly25RolloGZ_PosValue 100
     2022-04-10 08:45:02   Shelly25RolloGZ_lastPosValue 0
     2022-04-10 08:45:02   Shelly25RolloGZ_nextAstroTimeEvent 10.04.2022 - 20:33
     2020-03-25 18:39:10   Shelly25RolloHaustuer_lastPosValue 105
     2022-04-10 08:00:03   Shelly25RolloKUE_PosValue 100
     2022-04-10 08:00:02   Shelly25RolloKUE_lastPosValue 0
     2022-04-10 08:00:02   Shelly25RolloKUE_nextAstroTimeEvent 10.04.2022 - 20:33
     2021-01-15 16:40:17   Shelly25RolloSZ Shelly25RolloSZ_lastPosValue 0
     2022-04-10 08:46:53   Shelly25RolloSZ_PosValue 100
     2022-04-10 09:00:01   Shelly25RolloSZ_lastPosValue 100
     2022-04-10 09:00:01   Shelly25RolloSZ_nextAstroTimeEvent 10.04.2022 - 21:03
     2022-04-10 08:00:03   Shelly25RolloWC_PosValue 100
     2022-04-10 08:00:02   Shelly25RolloWC_lastPosValue 0
     2022-04-10 08:00:02   Shelly25RolloWC_nextAstroTimeEvent 10.04.2022 - 20:33
     2020-03-22 11:28:01   ascEnable       on
     2020-08-11 10:53:53   controlShading  off
     2020-03-22 11:18:37   hardLockOut     off
     2021-01-25 16:57:47   rg.Times        commands {ASC_Mode_Down =>'ASC_Mode_Down:always,absent,off', \nASC_Mode_Up =>'ASC_Mode_Up:always,absent,off', \nASC_Partymode =>'ASC_Partymode:on,off', \nASC_LockOut =>'ASC_LockOut:soft,hard,off', \nASC_Time_Down_Early =>'ASC_Time_Down_Early:16:00,16:15,16:30,16:45,17:00,17:15,17:30,17:45,18:00,18:15,18:30,18:45,19:00,19:15,19:30,19:45,20:00', \nASC_Time_Down_Late =>'ASC_Time_Down_Late:21:00,21:15,21:30,21:45,22:00,22:15,22:30,22:45,23:00',\nASC_Time_Up_Early =>'ASC_Time_Up_Early:06:00,06:15,06:40,07:00,07:15,07:30,07:45,08:00,08:15,08:30', \nASC_Time_Up_Late =>'ASC_Time_Up_Late:08:00,08:15,08:30,08:45,09:00,09:15,09:30,09:45,10:00',_lastPosValue 0
     2022-04-09 04:00:26   room_Rollos_Shelly Shelly25RolloAK,Shelly25RolloAZ_LI,Shelly25RolloAZ_MI,Shelly25RolloAZ_RE,Shelly25RolloDach,Shelly25RolloGZ,Shelly25RolloKUE,Shelly25RolloSZ,Shelly25RolloWC
     2022-04-09 04:00:26   room_Settings   Astro
     2020-03-22 11:18:37   selfDefense     off
     2022-04-10 09:00:01   state           created new drive timer
     2020-12-24 08:09:04   sunriseTimeWeHoliday on
     2022-04-09 04:00:26   userAttrList    rolled out
   helper:
     shuttersList:
       Astro
       Shelly25RolloAK
       Shelly25RolloAZ_LI
       Shelly25RolloAZ_MI
       Shelly25RolloAZ_RE
       Shelly25RolloDach
       Shelly25RolloGZ
       Shelly25RolloKUE
       Shelly25RolloSZ
       Shelly25RolloWC
   monitoredDevs:
     Astro:
       myASControl ASC_twilightDevice
     Shelly25RolloAK:
     Shelly25RolloAZ_LI:
     Shelly25RolloAZ_MI:
     Shelly25RolloAZ_RE:
     Shelly25RolloDach:
     Shelly25RolloGZ:
     Shelly25RolloKUE:
     Shelly25RolloSZ:
     Shelly25RolloWC:
Attributes:
   ASC_autoAstroModeEvening HORIZON
   ASC_autoAstroModeEveningHorizon -4
   ASC_autoAstroModeMorning HORIZON
   ASC_autoAstroModeMorningHorizon 0
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_expert 1
   ASC_twilightDevice Astro
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       Rollos
   verbose    0


Rollo:
   DEF        192.168....
   DURATION   0
   FUUID      5dc98e9b-f33f-342e-43e3-d80c441fad860e10
   INTERVAL   60
   MOVING     stopped
   NAME       Shelly25RolloSZ
   NR         319
   SHELLYID   shellyswitch25-6889FA
   STATE      stopped
   TARGETPCT  20
   TCPIP      192.168....
   TYPE       Shelly
   READINGS:
     2020-03-25 09:03:13   ASC_Enable      on
     2022-04-10 08:46:53   ASC_ShuttersLastDrive manual
     2022-04-10 09:00:01   ASC_Time_DriveDown 10.04.2022 - 21:03
     2022-04-10 09:00:01   ASC_Time_DriveUp 11.04.2022 - 06:40
     2022-04-09 04:00:27   associatedWith  myASControl
     2022-04-08 21:19:38   cloud           enabled(connected)
     2020-04-14 08:22:26   config          maxtime= [channel s]
     2022-04-01 20:46:10   energy          350.4
     2022-04-10 08:10:37   energy_0        205.7
     2022-02-10 07:38:57   firmware        v1.11.8
     2022-04-10 13:11:08   inttemp         44.58
     2022-04-10 08:11:37   last_dir        up
     2022-04-10 08:46:53   pct             100
     2022-04-10 08:46:53   position        open
     2022-04-10 08:11:37   power           0
     2022-04-10 08:10:37   power_0         0
     2022-04-10 08:11:37   state           stopped
     2019-11-11 17:38:52   stop_reason     normal
Attributes:
   ASC        2
   ASC_AutoAstroModeEvening HORIZON
   ASC_AutoAstroModeEveningHorizon -8
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Partymode off
   ASC_Pos_Reading pct
   ASC_Time_Down_Early 16:00
   ASC_Time_Down_Late 23:00
   ASC_Time_Up_Early 06:40
   ASC_Time_Up_Late 09:30
   ASC_Time_Up_WE_Holiday 09:00
   ASC_Up     time
   maxtime    40
   mode       roller
   model      shelly2.5
   room       Rollos,Shelly
   userattr   ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforeDayOpen ASC_BlockingTime_beforeNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_CommandTemplate ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_BetweenTheTime ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace,awning,EG_window ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate

CoolTux

Zeig mal bitte ein list vom Device mit Namen Astro
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

UweH

Kannst Du haben  :)

FUUID      5ed75e77-f33f-342e-eb12-6824f33ce6cd5e71
   FVERSION   95_Astro.pm:v2.2.0-s25198/2021-11-07
   INTERVAL   3600
   NAME       Astro
   NEXTUPDATE 2022-04-10 14:38:19
   NOTIFYDEV  global
   NR         406
   NTFY_ORDER 45-Astro
   RECOMPUTEAT NewDay,SunRise,SunSet,AstroTwilightEvening,AstroTwilightMorning,CivilTwilightEvening,CivilTwilightMorning,CustomTwilightEvening,CustomTwilightMorning
   STATE      Updated
   TYPE       Astro
   READINGS:
     2020-06-06 05:00:28   ASC_Enable      on
     2022-04-10 06:39:38   ASC_Time_DriveDown 10.04.2022 - 20:33
     2022-04-10 06:39:38   ASC_Time_DriveUp 11.04.2022 - 06:39
     2022-04-10 00:00:00   AstroTwilightEvening 22:26
     2022-04-10 00:00:00   AstroTwilightMorning 04:19
     2022-04-10 00:00:00   CivilTwilightEvening 20:49
     2022-04-10 00:00:00   CivilTwilightMorning 05:55
     2022-04-10 00:00:00   CustomTwilightEvening 20:06
     2022-04-10 00:00:00   CustomTwilightMorning 06:38
     2022-04-10 13:38:19   MoonAge         103.3
     2022-04-10 13:38:19   MoonAlt         10.8
     2022-04-10 13:38:19   MoonAz          64.5
     2022-04-10 12:38:19   MoonDec         23.3
     2022-04-10 12:38:19   MoonDiameter    29.8
     2022-04-10 13:38:19   MoonDistance    401517
     2022-04-10 13:38:19   MoonDistanceObserver 400438
     2022-04-10 00:00:00   MoonHrsInvisible 07:10
     2022-04-10 00:00:00   MoonHrsVisible  16:49
     2022-04-10 09:38:18   MoonLat         4.8
     2022-04-10 13:38:19   MoonLon         123.8
     2022-04-10 11:38:19   MoonPhaseI      3
     2022-04-10 13:38:19   MoonPhaseN      0.62
     2022-04-10 11:38:19   MoonPhaseS      Zunehmender Mond
     2022-04-10 12:38:19   MoonRa          08:30
     2022-04-10 00:00:00   MoonRise        12:03
     2022-04-10 00:00:00   MoonSet         04:52
     2022-04-10 06:32:32   MoonSign        Löwe
     2022-04-10 06:32:32   MoonSignN       4
     2022-04-10 00:00:00   MoonTransit     20:49
     2022-04-10 00:00:00   NauticTwilightEvening 21:34
     2022-04-10 00:00:00   NauticTwilightMorning 05:10
     2020-06-03 10:25:28   ObsAlt          10
     2022-04-10 00:00:00   ObsDate         10.04.2022
     2022-04-10 00:00:00   ObsDayofyear    100
     2022-04-10 13:38:19   ObsGMST         00:53:03
     2020-06-03 10:25:28   ObsHorEvening   0
     2020-06-03 10:25:28   ObsHorMorning   0
     2022-03-27 03:00:01   ObsIsDST        1
     2022-04-10 13:38:19   ObsJD           2459679.98
     2022-04-10 13:38:19   ObsLMST         01:32:35
     2020-06-03 10:25:28   ObsLat          53.61327
     2020-06-03 10:25:28   ObsLon          9.88234
     2022-03-20 00:00:00   ObsSeason       Frühling
     2022-03-20 00:00:00   ObsSeasonN      1
     2022-04-10 13:38:19   ObsTime         13:38:19
     2022-03-27 03:00:01   ObsTimezone     2
     2022-03-27 03:00:01   ObsTimezoneS    CEST
     2022-04-10 13:38:19   SunAlt          44.3
     2022-04-10 13:38:19   SunAz           185.7
     2022-04-10 07:38:18   SunDec          8
     2022-04-07 16:45:22   SunDiameter     31.9
     2022-04-10 13:38:19   SunDistance     149897996
     2022-04-10 13:38:19   SunDistanceObserver 149893536
     2022-04-10 00:00:00   SunHrsInvisible 10:20
     2022-04-10 00:00:00   SunHrsVisible   13:39
     2022-04-10 12:38:19   SunLon          20.6
     2022-04-10 06:32:32   SunRa           01:18
     2022-04-10 00:00:00   SunRise         06:32
     2022-04-10 00:00:00   SunSet          20:12
     2022-03-20 16:28:54   SunSign         Widder
     2022-03-20 16:28:54   SunSignN        0
     2022-04-10 00:00:00   SunTransit      13:21
     2022-04-09 04:00:27   associatedWith  myASControl
     2022-04-10 13:38:19   state           Updated
Attributes:
   ASC        1
   ASC_Pos_Reading position
   icon       telescope
   recomputeAt NewDay,SunRise,SunSet,AstroTwilightEvening,AstroTwilightMorning,CivilTwilightEvening,CivilTwilightMorning,CustomTwilightEvening,CustomTwilightMorning
   room       Settings
   userattr   ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforeDayOpen ASC_BlockingTime_beforeNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_CommandTemplate ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_BetweenTheTime ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace,awning,EG_window ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate

CoolTux

Wieso ist Astro als Rollo in ASC deklariert?

Ich denke hier ist einiges durcheinander geraten.
Am besten Du löschst das ASC Device. Dann sollten auch alle ASC Einträge aus den Rollos raus sein und natürlich auch aus Astro. Danach legst Du ASC neu an und vergibst nur ROLLOS oder MARKISEN welche von ASC gesteuert werden sollen das globale ASC Attribut. Dann ein scanForShutters machen. Und in den Rollos alle ASC Attribute setzen dessen Wert anders wie der Default Wert sein soll.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

UweH

Zitat von: CoolTux am 10 April 2022, 14:03:10
Wieso ist Astro als Rollo in ASC deklariert?
Die Frage habe ich mir auch schon gestellt...keine Ahnung, ist da aber schon länger drin.

OK, dann werde ich so vorgehen wie vorgeschlagen.

Danke für Deine Zeit und viele Grüße
Uwe

UweH

Moin CoolTux,

tja, was soll ich sagen, gestern war für meine Rollos schon Feiertag. Der Wochentag ist immer noch um einen versetzt.
Ich habe jetzt mal einen kompletten Neustart gemacht, inkl. FHEM-Server stromlos...  :-\
Mal sehen.

Gruß
Uwe

UweH

Zitat von: UweH am 15 April 2022, 08:48:06
Mal sehen.
Nö.
Heute war wieder Wochentag für die Rollos. Gestern noch vorsichtshalber ein "renewAllTimer" gemacht, alles ok. Heute morgend dann wieder die Rollos wie am normalen Wochentag hochgefahren. Feiertag wurde ignoriert.

@CoolTux: Woher bezieht ASC die Information über den Wochentag? Aus Astro und dem reading "ObsDayofyear"? ASC kennt ja prinzipiell den Wochentag, nur ist's der falsche, um einen Tag versetzte. Wie kann ich dem Versatz auf die Spur kommen?

Danke und Gruß
Uwe

CoolTux

Zitat von: UweH am 18 April 2022, 11:49:24
Nö.
Heute war wieder Wochentag für die Rollos. Gestern noch vorsichtshalber ein "renewAllTimer" gemacht, alles ok. Heute morgend dann wieder die Rollos wie am normalen Wochentag hochgefahren. Feiertag wurde ignoriert.

@CoolTux: Woher bezieht ASC die Information über den Wochentag? Aus Astro und dem reading "ObsDayofyear"? ASC kennt ja prinzipiell den Wochentag, nur ist's der falsche, um einen Tag versetzte. Wie kann ich dem Versatz auf die Spur kommen?

Danke und Gruß
Uwe

Es wird nicht direkt der Wochentag erfragt sondern ob der aktuelle Tag oder der folgende Tag ein Wochenendtag/Feiertag ist. Dazu verwendet ASC FHEM interne Funktionen. So zum Beispiel Holliday2We.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Leg mal ein Holidaydevice an und setzte dort morgen einen Feiertag. Das Holidaydevice gibst Du dann als holiday2we an. Danach ein renewAllTimer und schau mal ob für morgen richtig gesetzt ist.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

UweH

Zitat von: CoolTux am 19 April 2022, 12:38:23
Leg mal ein Holidaydevice an und setzte dort morgen einen Feiertag.
Moin,
Holidaydevice hab ich natürlich und alle Funktionen, die sich darauf aufbauend auf we und $we beziehen, funktionieren auch (Heizung und Beleuchtung, alles ok). Auch der gestrige Feiertag wurde korrekt angezeigt und auch verarbeitet. Nur nicht von ASC...
Deswegen dachte ich, dass Du vielleicht den Jahres-Tag von Astro verwendest und sich da eine Diskrepanz ergeben hat. Aber offenbar ja auch nicht. Hmmm...das Problem besteht definitiv seit der Sommerzeitumstellung, da ist irgendwo ein Tag verlorengegangen...
Kann ich mir von ASC in irgendeiner Weise den Wochentag ausgeben lassen? Wäre ja mal interessant zu Wissen, wo das Ding lebt...

Danke und Gruß
Uwe

CoolTux

Kann es sein das Du über Nacht oder früh am Morgen 5 oder 6 Uhr noch mal ein renewAllTimer über ein at oder DOIF machen lässt?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

UweH

Das hatte ich tatsächlich mal. Ist aber schon länger nicht mehr aktiv.
Ich habe jetzt nochmal alles rausgeschmissen und einmal neu. Ich werde jetzt bis Freitag warten, mal sehen, was die Rollos da machen  ;)

Gruß
Uwe

CoolTux

Schau bitte auch noch mal ob wirklich alles raus ist was dieses at oder DOIF für renewAllTimer an geht.

Du bist wirklich der einzige mit diesem Problem, es muss an Deiner Umgebung liegen anders kann ich es mir nicht erklären.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net