[73_AutoShuttersControl.pm] Rolllos automatisiert steuern - Version 0.8.x

Begonnen von CoolTux, 15 November 2019, 12:51:08

Vorheriges Thema - Nächstes Thema

CoolTux

Zitat von: JWRu am 06 April 2020, 15:34:31
Internals:
   CODE       XXXXXX
   DEF        XXXXXX
   DuoFernStick_MSGCNT 43
   DuoFernStick_RAWMSG 0FFF0F210D08640000004100110000XXXXXXFFFFFF01
   DuoFernStick_TIME 2020-04-06 13:55:34
   FUUID      5e3d7a68-f33f-c1fa-3d63-8c5ca5da36998952
   IODev      DuoFernStick
   LASTInputDev DuoFernStick
   MODEL      RolloTron Standard
   MSGCNT     43
   NAME       Rollladen_EZ_links
   NR         288
   STATE      opened
   SUBTYPE    RolloTron Standard
   TYPE       DUOFERN
   Helper:
     DBLOG:
       ASC_ShuttersLastDrive:
         myDbLog:
           TIME       1586152231.34907
           VALUE      manual
       dawnAutomatic:
         myDbLog:
           TIME       1586174134.37126
           VALUE      on
       duskAutomatic:
         myDbLog:
           TIME       1586174134.37126
           VALUE      on
       manualMode:
         myDbLog:
           TIME       1586174134.37126
           VALUE      off
       moving:
         myDbLog:
           TIME       1586174134.37126
           VALUE      stop
       position:
         myDbLog:
           TIME       1586174134.37126
           VALUE      100
       state:
         myDbLog:
           TIME       1586174134.37126
           VALUE      opened
       sunAutomatic:
         myDbLog:
           TIME       1586174134.37126
           VALUE      on
       sunMode:
         myDbLog:
           TIME       1586174134.37126
           VALUE      off
       sunPosition:
         myDbLog:
           TIME       1586174134.37126
           VALUE      35
       timeAutomatic:
         myDbLog:
           TIME       1586174134.37126
           VALUE      on
       ventilatingMode:
         myDbLog:
           TIME       1586174134.37126
           VALUE      off
       ventilatingPosition:
         myDbLog:
           TIME       1586174134.37126
           VALUE      0
   OLDREADINGS:
   READINGS:
     2020-04-01 12:07:07   ASC_Enable      on
     2020-04-06 07:50:31   ASC_ShuttersLastDrive manual
     2020-04-06 07:00:02   ASC_Time_DriveDown  6.04.2020 - 23:10
     2020-04-06 07:00:02   ASC_Time_DriveUp  7.04.2020 - 07:00
     2020-04-02 18:23:52   associatedWith  myASC
     2020-04-06 13:55:34   dawnAutomatic   on
     2020-04-06 13:55:34   duskAutomatic   on
     2020-04-06 13:55:34   manualMode      off
     2020-04-06 13:55:34   moving          stop
     2020-04-06 13:55:34   position        100
     2020-04-06 13:55:34   state           opened
     2020-04-06 13:55:34   sunAutomatic    on
     2020-04-06 13:55:34   sunMode         off
     2020-04-06 13:55:34   sunPosition     35
     2020-04-06 13:55:34   timeAutomatic   on
     2020-04-06 13:55:34   ventilatingMode off
     2020-04-06 13:55:34   ventilatingPosition 0
     2020-04-06 13:55:34   version         1.1
   helper:
     desiredPosition 0
Attributes:
   ASC        2
   ASC_BrightnessSensor Helligkeit_aussen_Sued:brightnessDamped
   ASC_DriveUpMaxDuration 24
   ASC_Pos_Reading position
   ASC_Shading_InOutAzimuth 124:190
   ASC_Shading_MinMax_Elevation 30.0:100.0
   ASC_Shading_Min_OutsideTemperature 5
   ASC_Shading_Mode always
   ASC_Shading_Pos 70
   ASC_Shading_StateChange_SunnyCloudy 60000:20000 1
   ASC_Shading_WaitingPeriod 300
   ASC_TempSensor Klima_aussen
   ASC_Time_Down_Early { (ReadingsVal("rgr_Familie","presence","") eq "absent" ? "16:00" : "23:10") }
   ASC_Time_Down_Late 23:50
   ASC_Time_Up_Early 7:00
   ASC_WindowRec Kontakt_Esszimmer_links
   IODev      DuoFernStick
   alias      Rollladen Esszimmer links
   cmdIcon    up:fts_shutter_up down:fts_shutter_down stop:fts_shutter_updown@red
   devStateIcon opened:fts_shutter_10@green closed:fts_shutter_100@black 9\d.*:fts_shutter_10 8\d.*:fts_shutter_20 7\d.*:fts_shutter_30 6\d.*:fts_shutter_40 5\d.*:fts_shutter_50 4\d.*:fts_shutter_60 3\d.*:fts_shutter_70 2\d.*:fts_shutter_80 1\d.*:fts_shutter_90 0\d.*:fts_shutter_100
   icon       fts_shutter_automatic
   positionInverse 1
   room       Esszimmer
   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_beforDayOpen ASC_BlockingTime_beforNightClose 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_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_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 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
   webCmd     up:down:stop


Ok. Wir halten und an diesem Rollo.
Bitte aktiviere im ASC verbose 4 und nur verbose 4 und fahre dieses Rollo dann einmal mit Hand. Ich brauche dann die Logausgabe von dieser Aktion.
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

Eistee

Hallo zusammen,

hab noch einmal eine Frage zu dem Reading ASC_ShuttersLastDrive. Ist da was falsch bei mir wenn das immer auf manual schaltet nachdem ASC ein Rollo gefahren hat? Und woran könnte das liegen. Es wurde definitiv nicht von was anderem angesteuert.

LG Alina

JWRu

ZitatBitte aktiviere im ASC verbose 4 und nur verbose 4 und fahre dieses Rollo dann einmal mit Hand. Ich brauche dann die Logausgabe von dieser Aktion.
Es handelt sich um Rollladen_EZ_links. Ich habe ihn ziemlich genau um 15:45:00 Uhr manuell runtergefahren und nach ca. 5 Sek. gestoppt.
2020.04.06 15:45:07 4: AutoShuttersControl (myASC) - Devname: Rollladen_EZ_links Name: myASC Notify: $VAR1 = [
          'state: 70',
          'ventilatingMode: off',
          'sunPosition: 35',
          'dawnAutomatic: on',
          'manualMode: off',
          'ventilatingPosition: 0',
          'timeAutomatic: on',
          'position: 70',
          'moving: stop',
          'sunMode: off',
          'sunAutomatic: on',
          'duskAutomatic: on'
        ];

2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Devname: myTwilight Name: myASC Notify: $VAR1 = [
          'azimuth: 226.82',
          'elevation: 39.38',
          'twilight: 100',
          'twilight_weather: 100',
          'compasspoint: southwest'
        ];

2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_Mitte Azimuth: 226.82 Elevation: 39.38 Brightness: 74715 OutTemp: 25.8
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_Mitte Nach dem return
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_Mitte In der In Abfrage, Shadingwert: in, Zeitstempel: 1586161417
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing - In der Routine zum fahren der Rolll�den, Shading Wert: in
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_links Azimuth: 226.82 Elevation: 39.38 Brightness: 74715 OutTemp: 25.8
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_links Nach dem return
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_links In der Out Abfrage, Shadingwert: out, Zeitstempel: 1586174127
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Devname: Rollladen_EZ_links Name: myASC Notify: $VAR1 = [
          'moving: up'
        ];

2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Devname: Rollladen_EZ_links Name: myASC Notify: $VAR1 = [
          'set_position'
        ];

2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Devname: myASC Name: myASC Notify: $VAR1 = [
          'Rollladen_EZ_links_lastPosValue: 70'
        ];

2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - ShuttersCommandSet setDriveCmd wird aufgerufen
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing - In der Routine zum fahren der Rolll�den, Shading Wert: out
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_rechts Azimuth: 226.82 Elevation: 39.38 Brightness: 74715 OutTemp: 25.8
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_rechts Nach dem return
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_rechts In der In Abfrage, Shadingwert: in, Zeitstempel: 1586174364
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing - In der Routine zum fahren der Rolll�den, Shading Wert: in
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_Kueche Azimuth: 226.82 Elevation: 39.38 Brightness: 74715 OutTemp: 25.8
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_WZ_links Azimuth: 226.82 Elevation: 39.38 Brightness: 6358 OutTemp: 25.8
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_WZ_links Nach dem return
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_WZ_links In der Out Abfrage, Shadingwert: out, Zeitstempel: 1586169004
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing - In der Routine zum fahren der Rolll�den, Shading Wert: out
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_WZ_rechts Azimuth: 226.82 Elevation: 39.38 Brightness: 6358 OutTemp: 25.8
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_WZ_rechts Nach dem return
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_WZ_rechts In der Out Abfrage, Shadingwert: out, Zeitstempel: 1586169004
2020.04.06 15:45:29 4: AutoShuttersControl (myASC) - Shading Processing - In der Routine zum fahren der Rolll�den, Shading Wert: out
2020.04.06 15:45:36 4: AutoShuttersControl (myASC) - Devname: Rollladen_EZ_links Name: myASC Notify: $VAR1 = [
          'state: opened',
          'timeAutomatic: on',
          'position: 100',
          'ventilatingMode: off',
          'dawnAutomatic: on',
          'sunPosition: 35',
          'ventilatingPosition: 0',
          'manualMode: off',
          'duskAutomatic: on',
          'moving: stop',
          'sunMode: off',
          'sunAutomatic: on'
        ];


Kurz danach wurde der Rollladen wieder hochgefahren - ich vermute mal, dass das die Beschattungsfunktion war.
ZBox; RasPi 3B; RasPi Zero W; Homematic; Z-Wave; EnOcean, Shelly; DuoFern; Oregon-Sensoren; TFA-Sensoren; Steuerung Viessmann-Heizung; Arduinos für Strom-, Wasser-, Gaszähler, Rauchmelder und FI-Schutzschalter

CoolTux

setze bitte einmal folgendes Attribut in genau diesem Rollo

event-on-change-reading position,ASC_.*

Und dann noch mal wiederholen bitte.
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

ZeitlerW

Hallo zusammen,

ich habe hier ein Problem mit der Uhrzeit sunrise:

Mein Twilight device:

[font=courier]Internals:
   CONDITION  50
   DEF        50.278822872760614 11.736745834350586 3 12838312
   FUUID      5e899ad0-f33f-92c6-ca79-9780f1d2cde417cd
   INDOOR_HORIZON 3
   LATITUDE   50.2
   LONGITUDE  11.7
   NAME       Tag_Nacht
   NR         546
   STATE      5
   SUNPOS_OFFSET 300
   SWIP       1
   TYPE       Twilight
   VERSUCHE   0
   WEATHER    12838312
   WEATHER_HORIZON 0
   READINGS:
     2020-04-06 07:01:23   aktEvent        sr_indoor
     2020-04-06 15:45:55   azimuth         229.83
     2020-04-06 15:45:55   compasspoint    southwest
     2020-04-06 15:45:55   elevation       37.29
     2020-04-06 07:01:23   horizon         3
     2020-04-06 07:01:23   light           5
     2020-04-06 07:01:23   nextEvent       sr_weather
     2020-04-06 07:01:23   nextEventTime   06:42:24
     2020-04-06 00:11:01   sr              06:42:24
     2020-04-06 00:11:01   sr_astro        04:39:18
     2020-04-06 00:11:01   sr_civil        06:03:39
     2020-04-06 00:11:01   sr_indoor       07:01:23
     2020-04-06 00:11:01   sr_naut         05:23:06
     2020-04-06 05:53:24   sr_weather      06:42:24
     2020-04-06 00:11:01   ss              19:49:14
     2020-04-06 00:11:01   ss_astro        21:53:08
     2020-04-06 00:11:01   ss_civil        20:28:09
     2020-04-06 00:11:01   ss_indoor       19:30:12
     2020-04-06 00:11:01   ss_naut         21:08:56
     2020-04-06 05:53:24   ss_weather      19:49:14
     2020-04-06 07:01:23   state           5
     2020-04-06 15:45:55   twilight        100
     2020-04-06 15:45:55   twilight_weather 100[/font]

...


Dort ist die Sonnenaufganszeit mit 06:42 angegeben.

Im ASC hingegen, ist die Sonnenaufgangszeit mit 07:57 angegeben:

[font=courier]
Internals:
   FUUID      5e89953a-f33f-92c6-b60e-dcabe55786206504
   FVERSION   73_AutoShuttersControl.pm:v0.8.24-s21593/2020-04-04 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       myASControl
   NOTIFYDEV  Buero_Jalousie_Garage_Position,Buero_Licht,Tag_Nacht,global,myASControl
   NR         544
   NTFY_ORDER 51-myASControl
   STATE      created new drive timer
   TYPE       AutoShuttersControl
   VERSION    v0.8.24
   OLDREADINGS:
   READINGS:
     2020-04-06 07:00:02   Buero_Jalousie_Garage_Position_lastPosValue 0
     2020-04-06 15:49:31   Buero_Jalousie_Garage_Position_nextAstroTimeEvent  6.04.2020 - 19:58
     2020-04-05 10:22:18   ascEnable       on
     2020-04-05 10:22:18   controlShading  off
     2020-04-05 10:22:18   hardLockOut     off
     2020-04-05 18:45:26   room_unsorted   Buero_Jalousie_Garage_Position
     2020-04-06 07:44:33   selfDefense     off
     2020-04-06 15:49:31   state           created new drive timer
     2020-04-05 10:22:18   sunriseTimeWeHoliday off
     2020-04-05 18:45:26   userAttrList    rolled out
   helper:
     shuttersList:
       Buero_Jalousie_Garage_Position
   monitoredDevs:
     Buero_Jalousie_Garage_Position:
     Buero_Licht:
       Buero_Jalousie_Garage_Position ASC_Roommate_Device
     Tag_Nacht:
       myASControl ASC_twilightDevice
Attributes:
   ASC_autoAstroModeEvening REAL
   ASC_autoAstroModeMorning REAL
   ASC_twilightDevice Tag_Nacht
   devStateIcon { AutoShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       ASC
   verbose    0




nternals:
   DEF        1/1/7:dpt5.001 1/1/9:dpt5.001
   DEVNAME    Buero_Jalousie_Garage_Position
   FIRSTGADNAME g1
   FUUID      5e89968a-f33f-92c6-fb0c-20cc7fe16c5fcaf4
   GETSTRING  g1:noArg g2:noArg
   IODev      KNXD
   KNXD_MSGCNT 7
   KNXD_RAWMSG C01114w0110900
   KNXD_TIME  2020-04-06 06:42:07
   LASTInputDev KNXD
   MSGCNT     7
   NAME       Buero_Jalousie_Garage_Position
   NR         545
   NTFY_ORDER 50-Buero_Jalousie_Garage_Position
   SETSTRING  g1:slider,0,1,100 g2:slider,0,1,100
   STATE      0 %
   TYPE       KNX
   GADDETAILS:
     g1:
       CODE       01107
       GROUP      1/1/7
       MODEL      dpt5.001
       NO         1
       OPTION     
       RDNAMEGET  getG1
       RDNAMEPUT  putG1
       RDNAMESET  setG1
       SETLIST    :slider,0,1,100
     g2:
       CODE       01109
       GROUP      1/1/9
       MODEL      dpt5.001
       NO         2
       OPTION     
       RDNAMEGET  getG2
       RDNAMEPUT  putG2
       RDNAMESET  setG2
       SETLIST    :slider,0,1,100
   GADTABLE:
     01107      g1
     01109      g2
   READINGS:
     2020-04-05 18:20:56   ASC_Enable      on
     2020-04-06 15:49:31   ASC_Time_DriveDown  6.04.2020 - 19:58
     2020-04-06 15:49:31   ASC_Time_DriveUp  7.04.2020 - 07:57
     2020-04-05 18:45:26   associatedWith  myASControl
     2020-04-06 06:41:50   getG1           0 %
     2020-04-06 06:42:07   getG2           0 %
     2020-04-06 06:42:07   last-sender     1/1/20
     2020-04-05 22:00:02   setG1           100 %
     2020-04-06 06:42:07   state           0 %
Attributes:
   ASC        1
   ASC_Mode_Down absent
   ASC_Mode_Up always
   ASC_Pos_Reading getG2
   ASC_Roommate_Device Buero_Licht
   ASC_Roommate_Reading roommate
   ASC_Shading_InOutAzimuth 120:220
   ASC_Shading_MinMax_Elevation 7:46
   ASC_Shading_Min_OutsideTemperature 23
   ASC_TempSensor Buero_Heizung_Raumtemperatur_vorne[:getG1]
   ASC_Time_Up_Early 05:00
   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_beforDayOpen ASC_BlockingTime_beforNightClose 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_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_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 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
   webCmd     g1

[/font]


Gibt es dazu eine Idee?

lG
Wolfgang

CoolTux

Hallo Wolfgang,

Das Twilight Device wird nicht zur Berechnung der Astrozeiten verwendet.


Grüße
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

JWRu

Zitatsetze bitte einmal folgendes Attribut in genau diesem Rollo
event-on-change-reading position,ASC_.*
Und dann noch mal wiederholen bitte.

Um 16:03:00 wiederholt. Dieses Mal ist er unten geblieben.
2020.04.06 16:03:05 4: AutoShuttersControl (myASC) - Devname: Rollladen_EZ_links Name: myASC Notify: $VAR1 = [
          'position: 78'
        ];

2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Devname: Helligkeit_aussen_Sued Name: myASC Notify: $VAR1 = [
          'battery: ok',
          'brightness: 27957.92',
          'state: B: 27957.92',
          'batteryState: ok',
          'brightnessDamped: 64776.760'
        ];

2020.04.06 16:03:12 4: AutoShuttersControl (Rollladen_EZ_links) - EventProcessingShadingBrightness
2020.04.06 16:03:12 4: AutoShuttersControl (Rollladen_EZ_links) - EventProcessingShadingBrightness
            Brightness: 64776.760
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_links Azimuth: 230.94 Elevation: 37.54 Brightness: 64776 OutTemp: 25.2
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_links Nach dem return
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_links In der Out Abfrage, Shadingwert: out, Zeitstempel: 1586174127
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing - In der Routine zum fahren der Rolll�den, Shading Wert: out
2020.04.06 16:03:12 4: AutoShuttersControl (Rollladen_EZ_rechts) - EventProcessingShadingBrightness
2020.04.06 16:03:12 4: AutoShuttersControl (Rollladen_EZ_rechts) - EventProcessingShadingBrightness
            Brightness: 64776.760
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_rechts Azimuth: 230.94 Elevation: 37.54 Brightness: 64776 OutTemp: 25.2
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_rechts Nach dem return
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_rechts In der In Abfrage, Shadingwert: in, Zeitstempel: 1586174364
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing - In der Routine zum fahren der Rolll�den, Shading Wert: in
2020.04.06 16:03:12 4: AutoShuttersControl (Rollladen_EZ_Mitte) - EventProcessingShadingBrightness
2020.04.06 16:03:12 4: AutoShuttersControl (Rollladen_EZ_Mitte) - EventProcessingShadingBrightness
            Brightness: 64776.760
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_Mitte Azimuth: 230.94 Elevation: 37.54 Brightness: 64776 OutTemp: 25.2
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_Mitte Nach dem return
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_EZ_Mitte In der Out Abfrage, Shadingwert: out, Zeitstempel: 1586181629
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing - In der Routine zum fahren der Rolll�den, Shading Wert: out
2020.04.06 16:03:12 4: AutoShuttersControl (Rollladen_Kueche) - EventProcessingShadingBrightness
2020.04.06 16:03:12 4: AutoShuttersControl (Rollladen_Kueche) - EventProcessingShadingBrightness
            Brightness: 64776.760
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_Kueche Azimuth: 230.94 Elevation: 37.54 Brightness: 64776 OutTemp: 25.2
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_Kueche Nach dem return
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing, Rollladen: Rollladen_Kueche In der In Abfrage, Shadingwert: in, Zeitstempel: 1586180591
2020.04.06 16:03:12 4: AutoShuttersControl (myASC) - Shading Processing - In der Routine zum fahren der Rolll�den, Shading Wert: in
ZBox; RasPi 3B; RasPi Zero W; Homematic; Z-Wave; EnOcean, Shelly; DuoFern; Oregon-Sensoren; TFA-Sensoren; Steuerung Viessmann-Heizung; Arduinos für Strom-, Wasser-, Gaszähler, Rauchmelder und FI-Schutzschalter

CoolTux

Aber das Reading wurde nicht gesetzt, oder?

Gib mal bitte jetzt noch mal list
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

JWRu

ZitatAber das Reading wurde nicht gesetzt, oder?
Das stand ja schon vorher auf "manual". Allerdings stand der Timestamp nach dem manuellen Runterfahren noch bei 7:50 Uhr.
Hier ein List - ich hatte ihn aber zwischenzeitlich manuell über FHEM (also nicht mit der lokalen Taste wie vorher) wieder hochgefahren. Dabei wurde das Reading aktualisiert:
Internals:
   CODE       XXXXXX
   DEF        XXXXXX
   DuoFernStick_MSGCNT 49
   DuoFernStick_RAWMSG 0FFF0F210D08640000004100110000XXXXXXFFFFFF01
   DuoFernStick_TIME 2020-04-06 16:13:55
   FUUID      5e3d7a68-f33f-c1fa-3d63-8c5ca5da36998952
   IODev      DuoFernStick
   LASTInputDev DuoFernStick
   MODEL      RolloTron Standard
   MSGCNT     49
   NAME       Rollladen_EZ_links
   NR         288
   STATE      opened
   SUBTYPE    RolloTron Standard
   TYPE       DUOFERN
   Helper:
     DBLOG:
       ASC_ShuttersLastDrive:
         myDbLog:
           TIME       1586152231.34907
           VALUE      manual
       dawnAutomatic:
         myDbLog:
           TIME       1586180736.8422
           VALUE      on
       duskAutomatic:
         myDbLog:
           TIME       1586180736.8422
           VALUE      on
       manualMode:
         myDbLog:
           TIME       1586180736.8422
           VALUE      off
       moving:
         myDbLog:
           TIME       1586180736.8422
           VALUE      stop
       position:
         myDbLog:
           TIME       1586182435.11054
           VALUE      100
       state:
         myDbLog:
           TIME       1586182428.44124
           VALUE      set_up
       sunAutomatic:
         myDbLog:
           TIME       1586180736.8422
           VALUE      on
       sunMode:
         myDbLog:
           TIME       1586180736.8422
           VALUE      off
       sunPosition:
         myDbLog:
           TIME       1586180736.8422
           VALUE      35
       timeAutomatic:
         myDbLog:
           TIME       1586180736.8422
           VALUE      on
       ventilatingMode:
         myDbLog:
           TIME       1586180736.8422
           VALUE      off
       ventilatingPosition:
         myDbLog:
           TIME       1586180736.8422
           VALUE      0
   OLDREADINGS:
   READINGS:
     2020-04-01 12:07:07   ASC_Enable      on
     2020-04-06 16:13:55   ASC_ShuttersLastDrive manual
     2020-04-06 07:00:02   ASC_Time_DriveDown  6.04.2020 - 23:10
     2020-04-06 07:00:02   ASC_Time_DriveUp  7.04.2020 - 07:00
     2020-04-02 18:23:52   associatedWith  myASC
     2020-04-06 16:13:55   dawnAutomatic   on
     2020-04-06 16:13:55   duskAutomatic   on
     2020-04-06 16:13:55   manualMode      off
     2020-04-06 16:13:55   moving          stop
     2020-04-06 16:13:55   position        100
     2020-04-06 16:13:55   state           opened
     2020-04-06 16:13:55   sunAutomatic    on
     2020-04-06 16:13:55   sunMode         off
     2020-04-06 16:13:55   sunPosition     35
     2020-04-06 16:13:55   timeAutomatic   on
     2020-04-06 16:13:55   ventilatingMode off
     2020-04-06 16:13:55   ventilatingPosition 0
     2020-04-06 16:13:55   version         1.1
   helper:
Attributes:
   ASC        2
   ASC_BrightnessSensor Helligkeit_aussen_Sued:brightnessDamped
   ASC_DriveUpMaxDuration 24
   ASC_Pos_Reading position
   ASC_Shading_InOutAzimuth 124:190
   ASC_Shading_MinMax_Elevation 30.0:100.0
   ASC_Shading_Min_OutsideTemperature 5
   ASC_Shading_Mode always
   ASC_Shading_Pos 70
   ASC_Shading_StateChange_SunnyCloudy 60000:20000 1
   ASC_Shading_WaitingPeriod 300
   ASC_TempSensor Klima_aussen
   ASC_Time_Down_Early { (ReadingsVal("rgr_Familie","presence","") eq "absent" ? "16:00" : "23:10") }
   ASC_Time_Down_Late 23:50
   ASC_Time_Up_Early 7:00
   ASC_WindowRec Kontakt_Esszimmer_links
   IODev      DuoFernStick
   alias      Rollladen Esszimmer links
   cmdIcon    up:fts_shutter_up down:fts_shutter_down stop:fts_shutter_updown@red
   devStateIcon opened:fts_shutter_10@green closed:fts_shutter_100@black 9\d.*:fts_shutter_10 8\d.*:fts_shutter_20 7\d.*:fts_shutter_30 6\d.*:fts_shutter_40 5\d.*:fts_shutter_50 4\d.*:fts_shutter_60 3\d.*:fts_shutter_70 2\d.*:fts_shutter_80 1\d.*:fts_shutter_90 0\d.*:fts_shutter_100
   event-on-change-reading position,ASC_.*
   icon       fts_shutter_automatic
   positionInverse 1
   room       Esszimmer
   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_beforDayOpen ASC_BlockingTime_beforNightClose 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_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_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 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
   webCmd     up:down:stop


Hier der Ausschnitt aus dem Log:
2020.04.06 16:13:55 4: AutoShuttersControl (myASC) - Devname: myASC Name: myASC Notify: $VAR1 = [
          'Rollladen_EZ_links_PosValue: 100'
        ];

2020.04.06 16:13:55 4: AutoShuttersControl (myASC) - Devname: myASC Name: myASC Notify: $VAR1 = [
          'state: manual'
        ];
ZBox; RasPi 3B; RasPi Zero W; Homematic; Z-Wave; EnOcean, Shelly; DuoFern; Oregon-Sensoren; TFA-Sensoren; Steuerung Viessmann-Heizung; Arduinos für Strom-, Wasser-, Gaszähler, Rauchmelder und FI-Schutzschalter

ZeitlerW

Hi CoolTux,

sorry, das hatte ich übersehen.

In der Doku:

ASC_twilightDevice - points to a DEVICENAME containing values regarding the sun position. Supports currently devices of type Twilight or Astro.


Jetzt funktioniert es!

Vielen Dank
Wolfgang

Typ1er

Ich habe den Fehler bis jetzt auf dem Pi, mit den virtuellen Geräten nicht hinbekommen. Beim rein kopieren der ReadingGroup sind die falschen Readings im ASC-Device ohne Neuberechnung aufgetreten. Nach einem Neustart sind sie wieder weg.

Im Log standen diese Fehler:
ASC_DEBUG!!! 2020.04. 6 17:25:58 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.04.06 17:30:41 1: ERROR: empty name in readingsBeginUpdate
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBeginUpdate           called by ./FHEM/73_AutoShuttersControl.pm (2892)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at fhem.pl line 4794.
2020.04.06 17:30:41 1: readingsUpdate(,ASC_Time_DriveDown, 6.04.2020 - 19:52) missed to call readingsBeginUpdate first.
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBulkUpdate            called by ./FHEM/73_AutoShuttersControl.pm (2893)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: readingsUpdate(,ASC_Time_DriveUp, 7.04.2020 - 06:40) missed to call readingsBeginUpdate first.
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBulkUpdate            called by ./FHEM/73_AutoShuttersControl.pm (2907)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4547.
2020.04.06 17:30:41 1: ERROR: empty name in readingsBeginUpdate
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBeginUpdate           called by ./FHEM/73_AutoShuttersControl.pm (2892)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: readingsUpdate(,ASC_Time_DriveDown, 6.04.2020 - 19:52) missed to call readingsBeginUpdate first.
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBulkUpdate            called by ./FHEM/73_AutoShuttersControl.pm (2893)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: readingsUpdate(,ASC_Time_DriveUp, 7.04.2020 - 06:40) missed to call readingsBeginUpdate first.
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBulkUpdate            called by ./FHEM/73_AutoShuttersControl.pm (2907)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: ERROR: empty name in readingsBeginUpdate
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBeginUpdate           called by ./FHEM/73_AutoShuttersControl.pm (2892)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: readingsUpdate(,ASC_Time_DriveDown, 6.04.2020 - 19:52) missed to call readingsBeginUpdate first.
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBulkUpdate            called by ./FHEM/73_AutoShuttersControl.pm (2893)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: readingsUpdate(,ASC_Time_DriveUp, 7.04.2020 - 06:40) missed to call readingsBeginUpdate first.
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBulkUpdate            called by ./FHEM/73_AutoShuttersControl.pm (2907)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:32:22 0: Server shutdown



CoolTux

Zitat von: JWRu am 06 April 2020, 16:28:33
Das stand ja schon vorher auf "manual". Allerdings stand der Timestamp nach dem manuellen Runterfahren noch bei 7:50 Uhr.
Hier ein List - ich hatte ihn aber zwischenzeitlich manuell über FHEM (also nicht mit der lokalen Taste wie vorher) wieder hochgefahren. Dabei wurde das Reading aktualisiert:
Internals:
   CODE       XXXXXX
   DEF        XXXXXX
   DuoFernStick_MSGCNT 49
   DuoFernStick_RAWMSG 0FFF0F210D08640000004100110000XXXXXXFFFFFF01
   DuoFernStick_TIME 2020-04-06 16:13:55
   FUUID      5e3d7a68-f33f-c1fa-3d63-8c5ca5da36998952
   IODev      DuoFernStick
   LASTInputDev DuoFernStick
   MODEL      RolloTron Standard
   MSGCNT     49
   NAME       Rollladen_EZ_links
   NR         288
   STATE      opened
   SUBTYPE    RolloTron Standard
   TYPE       DUOFERN
   Helper:
     DBLOG:
       ASC_ShuttersLastDrive:
         myDbLog:
           TIME       1586152231.34907
           VALUE      manual
       dawnAutomatic:
         myDbLog:
           TIME       1586180736.8422
           VALUE      on
       duskAutomatic:
         myDbLog:
           TIME       1586180736.8422
           VALUE      on
       manualMode:
         myDbLog:
           TIME       1586180736.8422
           VALUE      off
       moving:
         myDbLog:
           TIME       1586180736.8422
           VALUE      stop
       position:
         myDbLog:
           TIME       1586182435.11054
           VALUE      100
       state:
         myDbLog:
           TIME       1586182428.44124
           VALUE      set_up
       sunAutomatic:
         myDbLog:
           TIME       1586180736.8422
           VALUE      on
       sunMode:
         myDbLog:
           TIME       1586180736.8422
           VALUE      off
       sunPosition:
         myDbLog:
           TIME       1586180736.8422
           VALUE      35
       timeAutomatic:
         myDbLog:
           TIME       1586180736.8422
           VALUE      on
       ventilatingMode:
         myDbLog:
           TIME       1586180736.8422
           VALUE      off
       ventilatingPosition:
         myDbLog:
           TIME       1586180736.8422
           VALUE      0
   OLDREADINGS:
   READINGS:
     2020-04-01 12:07:07   ASC_Enable      on
     2020-04-06 16:13:55   ASC_ShuttersLastDrive manual
     2020-04-06 07:00:02   ASC_Time_DriveDown  6.04.2020 - 23:10
     2020-04-06 07:00:02   ASC_Time_DriveUp  7.04.2020 - 07:00
     2020-04-02 18:23:52   associatedWith  myASC
     2020-04-06 16:13:55   dawnAutomatic   on
     2020-04-06 16:13:55   duskAutomatic   on
     2020-04-06 16:13:55   manualMode      off
     2020-04-06 16:13:55   moving          stop
     2020-04-06 16:13:55   position        100
     2020-04-06 16:13:55   state           opened
     2020-04-06 16:13:55   sunAutomatic    on
     2020-04-06 16:13:55   sunMode         off
     2020-04-06 16:13:55   sunPosition     35
     2020-04-06 16:13:55   timeAutomatic   on
     2020-04-06 16:13:55   ventilatingMode off
     2020-04-06 16:13:55   ventilatingPosition 0
     2020-04-06 16:13:55   version         1.1
   helper:
Attributes:
   ASC        2
   ASC_BrightnessSensor Helligkeit_aussen_Sued:brightnessDamped
   ASC_DriveUpMaxDuration 24
   ASC_Pos_Reading position
   ASC_Shading_InOutAzimuth 124:190
   ASC_Shading_MinMax_Elevation 30.0:100.0
   ASC_Shading_Min_OutsideTemperature 5
   ASC_Shading_Mode always
   ASC_Shading_Pos 70
   ASC_Shading_StateChange_SunnyCloudy 60000:20000 1
   ASC_Shading_WaitingPeriod 300
   ASC_TempSensor Klima_aussen
   ASC_Time_Down_Early { (ReadingsVal("rgr_Familie","presence","") eq "absent" ? "16:00" : "23:10") }
   ASC_Time_Down_Late 23:50
   ASC_Time_Up_Early 7:00
   ASC_WindowRec Kontakt_Esszimmer_links
   IODev      DuoFernStick
   alias      Rollladen Esszimmer links
   cmdIcon    up:fts_shutter_up down:fts_shutter_down stop:fts_shutter_updown@red
   devStateIcon opened:fts_shutter_10@green closed:fts_shutter_100@black 9\d.*:fts_shutter_10 8\d.*:fts_shutter_20 7\d.*:fts_shutter_30 6\d.*:fts_shutter_40 5\d.*:fts_shutter_50 4\d.*:fts_shutter_60 3\d.*:fts_shutter_70 2\d.*:fts_shutter_80 1\d.*:fts_shutter_90 0\d.*:fts_shutter_100
   event-on-change-reading position,ASC_.*
   icon       fts_shutter_automatic
   positionInverse 1
   room       Esszimmer
   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_beforDayOpen ASC_BlockingTime_beforNightClose 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_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_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 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
   webCmd     up:down:stop


Hier der Ausschnitt aus dem Log:
2020.04.06 16:13:55 4: AutoShuttersControl (myASC) - Devname: myASC Name: myASC Notify: $VAR1 = [
          'Rollladen_EZ_links_PosValue: 100'
        ];

2020.04.06 16:13:55 4: AutoShuttersControl (myASC) - Devname: myASC Name: myASC Notify: $VAR1 = [
          'state: manual'
        ];



Er schreibt aber jetzt ja das Reading. Das es das selbe ist ist klar, also manual. Aber der Timestamp ändert sich ja und das ist das entscheidene.

Kannst Du das noch etwas testen mit dem Rollo und dem Attribut event-on-changed-reading ?
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

Zitat von: Typ1er am 06 April 2020, 17:45:06
Ich habe den Fehler bis jetzt auf dem Pi, mit den virtuellen Geräten nicht hinbekommen. Beim rein kopieren der ReadingGroup sind die falschen Readings im ASC-Device ohne Neuberechnung aufgetreten. Nach einem Neustart sind sie wieder weg.

Im Log standen diese Fehler:
ASC_DEBUG!!! 2020.04. 6 17:25:58 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.04.06 17:30:41 1: ERROR: empty name in readingsBeginUpdate
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBeginUpdate           called by ./FHEM/73_AutoShuttersControl.pm (2892)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at fhem.pl line 4794.
2020.04.06 17:30:41 1: readingsUpdate(,ASC_Time_DriveDown, 6.04.2020 - 19:52) missed to call readingsBeginUpdate first.
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBulkUpdate            called by ./FHEM/73_AutoShuttersControl.pm (2893)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: readingsUpdate(,ASC_Time_DriveUp, 7.04.2020 - 06:40) missed to call readingsBeginUpdate first.
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBulkUpdate            called by ./FHEM/73_AutoShuttersControl.pm (2907)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4547.
2020.04.06 17:30:41 1: ERROR: empty name in readingsBeginUpdate
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBeginUpdate           called by ./FHEM/73_AutoShuttersControl.pm (2892)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: readingsUpdate(,ASC_Time_DriveDown, 6.04.2020 - 19:52) missed to call readingsBeginUpdate first.
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBulkUpdate            called by ./FHEM/73_AutoShuttersControl.pm (2893)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: readingsUpdate(,ASC_Time_DriveUp, 7.04.2020 - 06:40) missed to call readingsBeginUpdate first.
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBulkUpdate            called by ./FHEM/73_AutoShuttersControl.pm (2907)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: ERROR: empty name in readingsBeginUpdate
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBeginUpdate           called by ./FHEM/73_AutoShuttersControl.pm (2892)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: readingsUpdate(,ASC_Time_DriveDown, 6.04.2020 - 19:52) missed to call readingsBeginUpdate first.
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBulkUpdate            called by ./FHEM/73_AutoShuttersControl.pm (2893)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:30:41 1: readingsUpdate(,ASC_Time_DriveUp, 7.04.2020 - 06:40) missed to call readingsBeginUpdate first.
2020.04.06 17:30:41 1: stacktrace:
2020.04.06 17:30:41 1:     main::readingsBulkUpdate            called by ./FHEM/73_AutoShuttersControl.pm (2907)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::CreateSunRiseSetShuttersTimer called by ./FHEM/73_AutoShuttersControl.pm (633)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::EventProcessingGeneral called by ./FHEM/73_AutoShuttersControl.pm (516)
2020.04.06 17:30:41 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (3695)
2020.04.06 17:30:41 1:     main::DoTrigger                     called by fhem.pl (3041)
2020.04.06 17:30:41 1:     main::CommandAttr                   called by fhem.pl (1247)
2020.04.06 17:30:41 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2708)
2020.04.06 17:30:41 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (938)
2020.04.06 17:30:41 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (590)
2020.04.06 17:30:41 1:     main::FW_Read                       called by fhem.pl (3775)
2020.04.06 17:30:41 1:     main::CallFn                        called by fhem.pl (757)
2020.04.06 17:32:22 0: Server shutdown


Kannst Du bitte schauen ob ohne die ReadingsGroup das ASC so arbeitet wie Du es erwartest und ohne Fehler im NOTIFYDEV oder den Zeitangaben?
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

Typ1er

Im Testsystem habe ich den Fehler nur einmal gehabt, danach lies es sich nicht reproduzieren.

Im LiveSystem bleibt der Fehler, mit und ohne ReadingGroup.

Beim Import der Rollladen-Devices über RAW Import, werden keine UserReadings ausgewertet/erstellt oder die LastValues im ASC-Device geschrieben, das hängt bei 3 von 11 Geräten.

Typ1er

zu Brightness up/down

dieses im Rollo funktioniert nicht:
attr <Rollo> ASC_BrightnessSensor Lichtsensor_02:lux 1000:400
Habe die Zahlen Werte jetzt ins ASC-Device eingefügt, dieses funktioniert.