erledigt [73_AutoShuttersControl] Anfänger: bei mir funktioniert ASC nicht

Begonnen von Wiesenfreund, 11 Mai 2020, 14:36:29

Vorheriges Thema - Nächstes Thema

Wiesenfreund

Hallo,
ich habe versucht, ASC nach der Anleitung einzurichten. Zu Testzwecken stelle ich ASC_Down auf time. Zu ASC_UP habe ich keinen Hinweis gefunden, aber auch auf time gestellt. Dann sollte ich lt. WIKI in ASC_Time_Down_Early und ASC_Time_Up_Early eine Zeit eintragen. Ich habe es mit und ohne eckige Klammer probiert.

ASC-Device:
Internals:
   CFGFN     
   FUUID      5eb93034-f33f-d956-7d1a-9419aa05cc9ddde2
   FVERSION   73_AutoShuttersControl.pm:v0.8.27-s21670/2020-04-14 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       Rollladensteuerung
   NOTIFYDEV  RO_Buero_Fenster_gr,Rollladensteuerung,Tageslicht,global
   NR         22975
   NTFY_ORDER 51-Rollladenstuerung
   STATE      active
   TYPE       AutoShuttersControl
   VERSION    v0.8.27
   READINGS:
     2020-05-11 13:52:18   RO_Buero_Fenster_gr_nextAstroTimeEvent 11.05.2020 - 16:00
     2020-05-11 13:41:19   ascEnable       on
     2020-05-11 13:00:04   controlShading  off
     2020-05-11 13:00:04   hardLockOut     off
     2020-05-11 13:02:53   room_MQTT_Rollladen RO_Buero_Fenster_gr
     2020-05-11 13:00:04   selfDefense     off
     2020-05-11 13:02:53   state           active
     2020-05-11 13:00:04   sunriseTimeWeHoliday off
     2020-05-11 13:02:53   userAttrList    rolled out
   helper:
     shuttersList:
       RO_Buero_Fenster_gr
   monitoredDevs:
     RO_Buero_Fenster_gr:
     Tageslicht:
       Rollladensteuerung ASC_twilightDevice
Attributes:
   ASC_twilightDevice Tageslicht
   devStateIcon { AutoShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       ASC



Das Gerät, das angesteuert werden soll, ist ein MQTT2_Device, das mit dem Befehl "set DEVICE_NAME pct xxx" gesetzt werden kann.   Bei mir funktioniert die Steuerung mit ASC nicht, die Ursache finde ich nicht.

Rollladen-Device:

Internals:
   CID        MQTT_Client
   DEF        MQTT_Client
   DEVICETOPIC RO_Buero_Fenster_gr
   FUUID      5eafbc91-f33f-d956-6f1d-7c18d7433a6eadce
   FVERSION   10_MQTT2_DEVICE.pm:0.217270/2020-04-20
   IODev      MQTT_Client
   LASTInputDev MQTT_Client
   MQTT_Client_MSGCNT 37472
   MQTT_Client_TIME 2020-05-11 14:25:46
   MSGCNT     37472
   NAME       RO_Buero_Fenster_gr
   NR         22
   STATE      100
   TYPE       MQTT2_DEVICE
   READINGS:
     2020-05-11 13:02:53   ASC_Enable      on
     2020-05-11 14:25:46   ASC_ShuttersLastDrive manual
     2020-05-11 14:25:25   ASC_Time_DriveDown 11.05.2020 - 14:30
     2020-05-11 14:25:25   ASC_Time_DriveUp 11.05.2020 - 14:32
     2020-05-11 13:02:53   associatedWith  Rollladensteuerung
     2020-05-11 13:29:44   current         stop
     2020-05-11 14:25:46   energy          4795
     2020-05-04 08:56:57   fw_ver          20200309-104051/v1.6.0@43056d58
     2020-05-04 08:56:57   id              shellyswitch25-007AF9
     2020-05-11 14:25:46   input0          0
     2020-05-11 14:25:46   input1          0
     2020-05-04 08:56:57   ip              192.168.178.72
     2020-05-04 08:56:57   mac             2462AB007AF9
     2020-05-04 08:56:57   new_fw          false
     2020-05-04 08:56:57   online          true
     2020-05-11 14:25:46   overtemperature 0
     2020-05-11 14:25:46   pct             100
     2020-05-11 14:25:46   power           0.00
     2020-05-11 14:25:46   state           100
     2020-05-11 14:25:46   temperature     41.94
     2020-05-04 08:56:57   x_mqttcom       set announce
Attributes:
   ASC        2
   ASC_Closed_Pos 0
   ASC_Down   time
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Open_Pos 100
   ASC_Pos_Reading pct
   ASC_Time_Down_Early 14:30
   ASC_Time_Up_Early 14:32
   ASC_Up     time
   IODev      MQTT_Client
   cmdIcon    open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   comment    Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
   devStateIcon { my $amp = ReadingsVal($name,"online","false") eq "false" ? "rot" : ReadingsVal($name,"new_fw","false") eq "true" ? "gelb" : "gruen";; my $con = ReadingsVal($name,"state","unknown");; $con = 100 - $con if $con =~ /\d+/;; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "100" ? 'fts_shutter_100' : $con =~ /(\d)\d/ ? 'fts_shutter_'.$1.'0' : $con =~ /\b\d\b/ ? 'fts_shutter_10' : 'fts_shutter_updown';; my $show = "$amp" eq "gelb" ? "<a href=\"/fhem?cmd.dummy=set $name x_update&XHR=1\">".FW_makeImage("10px-kreis-".$amp)."</a>" : "<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage("10px-kreis-".$amp)."</a>";; "<div> $show <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\"></a>".FW_makeImage($pic)." </div>"}
   model      shelly25_roller_invert_0
   readingList shellies/shellyswitch25-007AF9/roller/0/pos:.* pct
  shellies/shellyswitch25-007AF9/status/0/rollers:.* power
  shellies/shellyswitch25-007AF9/online:.* online
  shellies/shellyswitch25-007AF9/announce:.* { json2nameValue($EVENT) }
  shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-007AF9...mac.*, ? json2nameValue($EVENT) : return }
  shellies/shellyswitch25-007AF9/roller/0:.* current
  shellies/shellyswitch25-007AF9/roller/0:open {{'state' => 'opening'}}
  shellies/shellyswitch25-007AF9/roller/0:close {{'state' => 'closing'}}
  shellies/shellyswitch25-007AF9/roller/0/pos:.* state
  shellies/shellyswitch25-007AF9/input/1:.* input1
  shellies/shellyswitch25-007AF9/input/0:.* input0
  shellies/shellyswitch25-007AF9/relay/power:.* power
  shellies/shellyswitch25-007AF9/relay/energy:.* energy
  shellies/shellyswitch25-007AF9/temperature:.* temperature
  shellies/shellyswitch25-007AF9/overtemperature:.* overtemperature
   room       MQTT,Rollladen
   setList    open:noArg shellies/shellyswitch25-007AF9/roller/0/command open
  close:noArg shellies/shellyswitch25-007AF9/roller/0/command close
  half:noArg shellies/shellyswitch25-007AF9/roller/0/command/pos 50
  stop:noArg shellies/shellyswitch25-007AF9/roller/0/command stop
  pct:slider,0,1,100 shellies/shellyswitch25-007AF9/roller/0/command/pos $EVTPART1
  x_recalibration:noArg shellies/shellyswitch25-007AF9/roller/0/command rc
  x_update:noArg shellies/shellyswitch25-007AF9/command update_fw
  x_mqttcom shellies/shellyswitch25-007AF9/command $EVTPART1
   setStateList open close half stop pct
   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     :open:close:half:stop:pct


Im Log tauchen Fehlermeldungen auf:

2020.05.11 14:26:16.671 1: ERROR: empty name in readingsBeginUpdate
2020.05.11 14:26:16.671 1: stacktrace:
2020.05.11 14:26:16.671 1:     main::readingsBeginUpdate           called by fhem.pl (4941)
2020.05.11 14:26:16.671 1:     main::readingsSingleUpdate          called by ./FHEM/73_AutoShuttersControl.pm (6971)
2020.05.11 14:26:16.671 1:     ASC_Dev::Readings::setStateReading  called by ./FHEM/73_AutoShuttersControl.pm (2684)
2020.05.11 14:26:16.671 1:     FHEM::AutoShuttersControl::EventProcessingShutters called by ./FHEM/73_AutoShuttersControl.pm (498)
2020.05.11 14:26:16.671 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3777)
2020.05.11 14:26:16.671 1:     main::CallFn                        called by fhem.pl (3697)
2020.05.11 14:26:16.671 1:     main::DoTrigger                     called by fhem.pl (4064)
2020.05.11 14:26:16.672 1:     main::Dispatch                      called by ./FHEM/00_MQTT2_CLIENT.pm (383)
2020.05.11 14:26:16.672 1:     main::MQTT2_CLIENT_Read             called by fhem.pl (3777)
2020.05.11 14:26:16.672 1:     main::CallFn                        called by fhem.pl (753)
2020.05.11 14:26:16.672 1: readingsUpdate(,state,manual) missed to call readingsBeginUpdate first.
2020.05.11 14:26:16.672 1: stacktrace:
2020.05.11 14:26:16.672 1:     main::readingsBulkUpdate            called by fhem.pl (4942)
2020.05.11 14:26:16.672 1:     main::readingsSingleUpdate          called by ./FHEM/73_AutoShuttersControl.pm (6971)
2020.05.11 14:26:16.672 1:     ASC_Dev::Readings::setStateReading  called by ./FHEM/73_AutoShuttersControl.pm (2684)
2020.05.11 14:26:16.672 1:     FHEM::AutoShuttersControl::EventProcessingShutters called by ./FHEM/73_AutoShuttersControl.pm (498)
2020.05.11 14:26:16.672 1:     FHEM::AutoShuttersControl::Notify   called by fhem.pl (3777)
2020.05.11 14:26:16.672 1:     main::CallFn                        called by fhem.pl (3697)
2020.05.11 14:26:16.672 1:     main::DoTrigger                     called by fhem.pl (4064)
2020.05.11 14:26:16.672 1:     main::Dispatch                      called by ./FHEM/00_MQTT2_CLIENT.pm (383)
2020.05.11 14:26:16.672 1:     main::MQTT2_CLIENT_Read             called by fhem.pl (3777)
2020.05.11 14:26:16.672 1:     main::CallFn                        called by fhem.pl (753)


fhem wird auf einem Raspberry 3 betrieben, beide aktuell. Ich versuche jetzt schon einige Zeit ASC bei mir zum Laufen zubringen, es gelingt mit nicht. Kann mir bitte  jemand einen Hinweis geben?

Grüße Eberhard
Raspberry 4 mit fhem, Raspberry 3 mit fhem (FS20-, MAX-Schnittstellen), RaspiMatic Raspberry 3B, HM und HMW-Geräte (Heizung, Wetterstation, Fensterkontakte), Shellys (Rollladen, MQTT), ESPEasy (Energiezähler, MQTT), MAX-Taster (CUL),  FS20 Taster  (CUL), Synology NAS (Mosquitto,Chat

CoolTux

Hast Du auch mit dieser Version des Modules angefangen alles zu konfigurieren?
Wenn nicht dann lösche bitte noch mal das ASC Device, schaue ob im Rollo auch alles raus ist was ASC an geht und speichere dann. Starte FHEM neu und erstelle das ASC Device neu. Danach dann das Rollo konfigurieren.
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

Wiesenfreund

ja, ich habe mit der Version angefangen und den Prozess alles entfernen und Modul löschen, alles neu anlegen bereits hinter mir.
Raspberry 4 mit fhem, Raspberry 3 mit fhem (FS20-, MAX-Schnittstellen), RaspiMatic Raspberry 3B, HM und HMW-Geräte (Heizung, Wetterstation, Fensterkontakte), Shellys (Rollladen, MQTT), ESPEasy (Energiezähler, MQTT), MAX-Taster (CUL),  FS20 Taster  (CUL), Synology NAS (Mosquitto,Chat

CoolTux

Stell mal bitte verbose auf 4 und debug 1 im ASC Device. Desweiteren empfehle ich ein Neustart von FHEM und dann ein set createNewNotifyDev. Das siehste nur bei expert 1 als Attribut.
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

Wiesenfreund

Ich habe es so gemacht, wie vorgeschlagen. Danach neue Fahrtzeiten eingestellt. Der Rollladen war zu und hat sich zur eingestellten Zeit (21:48) geöffnet. Eine Minute später hätte er sich wieder schließen sollen, was er aber nicht tat.

Inhalt im LOG:

ASC_DEBUG!!! 2020.05.11 21:48:01 - FnSetCmdFn: RO_Buero_Fenster_gr - Rollo wird gefahren, aktuelle Position: 0, Zielposition: 100. Grund der Fahrt: day open
2020.05.11 21:48:01.002 3: MQTT2_DEVICE set RO_Buero_Fenster_gr pct 100
2020.05.11 21:48:01.003 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'state: set_pct'
        ];


ASC_DEBUG!!! 2020.05.11 21:48:01 - FnSetDriveCmd: RO_Buero_Fenster_gr - NICHT versetztes fahren

ASC_DEBUG!!! 2020.05.11 21:48:01 - FnSetDriveCmd: RO_Buero_Fenster_gr - NoDelay: NEIN
2020.05.11 21:48:01.006 4: AutoShuttersControl (Rollladensteuerung) - Devname: Rollladensteuerung Name: Rollladensteuerung Notify: $VAR1 = [
          'RO_Buero_Fenster_gr_lastPosValue: 0'
        ];

2020.05.11 21:48:01.006 4: AutoShuttersControl (Rollladensteuerung) - ShuttersCommandSet setDriveCmd wird aufgerufen

ASC_DEBUG!!! 2020.05.11 21:48:01 - FnShuttersCommandSet: RO_Buero_Fenster_gr - Das Rollo wird gefahren. Kein Partymodus aktiv und das zugordnete Fenster ist entweder nicht offen oder keine Terassentür
2020.05.11 21:48:01.008 4: AutoShuttersControl (Rollladensteuerung) - Devname: Rollladensteuerung Name: Rollladensteuerung Notify: $VAR1 = [
          'RO_Buero_Fenster_gr_nextAstroTimeEvent: 11.05.2020 - 21:49'
        ];

2020.05.11 21:48:01.009 4: AutoShuttersControl (Rollladensteuerung) - Devname: Rollladensteuerung Name: Rollladensteuerung Notify: $VAR1 = [
          'state: created new drive timer'
        ];

2020.05.11 21:48:01.036 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'state: opening',
          'current: open'
        ];

2020.05.11 21:48:01.107 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'power: 40.42'
        ];

2020.05.11 21:48:01.114 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'energy: 4858'
        ];

2020.05.11 21:48:01.204 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'power: 134.49'
        ];

2020.05.11 21:48:01.211 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'energy: 4858'
        ];

2020.05.11 21:48:29.821 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'power: 28.27'
        ];

2020.05.11 21:48:29.828 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'energy: 4858'
        ];

2020.05.11 21:48:29.910 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'pct: 100',
          'state: 100'
        ];


ASC_DEBUG!!! 2020.05.11 21:48:29 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: $VAR1 = [
          'pct: 100',
          'state: 100'
        ];


ASC_DEBUG!!! 2020.05.11 21:48:29 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: $VAR1 = 'pct: 100 state: 100';

2020.05.11 21:48:29.911 4: AutoShuttersControl (Rollladensteuerung) - Devname: Rollladensteuerung Name: Rollladensteuerung Notify: $VAR1 = [
          'RO_Buero_Fenster_gr_PosValue: 100'
        ];


ASC_DEBUG!!! 2020.05.11 21:48:29 - EventProcessingShutters: RO_Buero_Fenster_gr - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1589226509 Last Position Timestamp: 1589226481 Drive Up Max Duration: 60 Last Position: 0 aktuelle Position: 100
2020.05.11 21:48:29.912 4: AutoShuttersControl (Rollladensteuerung) - Devname: Rollladensteuerung Name: Rollladensteuerung Notify: $VAR1 = [
          'state: day open'
        ];


ASC_DEBUG!!! 2020.05.11 21:48:29 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.05.11 21:48:29 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.05.11 21:48:29.919 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'power: 0.00'
        ];

2020.05.11 21:48:29.925 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'energy: 4858'
        ];

2020.05.11 21:48:29.930 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'current: stop'
        ];

2020.05.11 21:48:30.012 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'ASC_ShuttersLastDrive: day open'
        ];

2020.05.11 21:48:59.941 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'pct: 100',
          'state: 100'
        ];


ASC_DEBUG!!! 2020.05.11 21:48:59 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: $VAR1 = [
          'pct: 100',
          'state: 100'
        ];


ASC_DEBUG!!! 2020.05.11 21:48:59 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: $VAR1 = 'pct: 100 state: 100';

2020.05.11 21:48:59.942 4: AutoShuttersControl (Rollladensteuerung) - Devname: Rollladensteuerung Name: Rollladensteuerung Notify: $VAR1 = [
          'RO_Buero_Fenster_gr_PosValue: 100'
        ];


ASC_DEBUG!!! 2020.05.11 21:48:59 - EventProcessingShutters: RO_Buero_Fenster_gr - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1589226539 Last Position Timestamp: 1589226481 Drive Up Max Duration: 60 Last Position: 0 aktuelle Position: 100
2020.05.11 21:48:59.942 4: AutoShuttersControl (Rollladensteuerung) - Devname: Rollladensteuerung Name: Rollladensteuerung Notify: $VAR1 = [
          'state: day open'
        ];


ASC_DEBUG!!! 2020.05.11 21:48:59 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!

ASC_DEBUG!!! 2020.05.11 21:48:59 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.05.11 21:48:59.949 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'power: 0.00'
        ];

2020.05.11 21:48:59.956 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'energy: 4925'
        ];

2020.05.11 21:48:59.961 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'input1: 0'
        ];

2020.05.11 21:48:59.965 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'input0: 0'
        ];

2020.05.11 21:48:59.970 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'temperature: 37.59'
        ];

2020.05.11 21:48:59.977 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'overtemperature: 0'
        ];

2020.05.11 21:49:00.046 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'ASC_ShuttersLastDrive: day open'
        ];

2020.05.11 21:49:01.002 4: AutoShuttersControl (Rollladensteuerung) - Devname: Rollladensteuerung Name: Rollladensteuerung Notify: $VAR1 = [
          'RO_Buero_Fenster_gr_nextAstroTimeEvent: 12.05.2020 - 21:48'
        ];

2020.05.11 21:49:01.003 4: AutoShuttersControl (Rollladensteuerung) - Devname: Rollladensteuerung Name: Rollladensteuerung Notify: $VAR1 = [
          'state: created new drive timer'
        ];

2020.05.11 21:49:29.948 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'pct: 100',
          'state: 100'
        ];


ASC_DEBUG!!! 2020.05.11 21:49:29 - Notify:  ASC_Pos_Reading Event vom Rollo wurde erkannt  - RECEIVED EVENT: $VAR1 = [
          'pct: 100',
          'state: 100'
        ];


ASC_DEBUG!!! 2020.05.11 21:49:29 - EventProcessingShutters:  Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde  - RECEIVED EVENT: $VAR1 = 'pct: 100 state: 100';

2020.05.11 21:49:29.948 4: AutoShuttersControl (Rollladensteuerung) - Devname: Rollladensteuerung Name: Rollladensteuerung Notify: $VAR1 = [
          'RO_Buero_Fenster_gr_PosValue: 100'
        ];


ASC_DEBUG!!! 2020.05.11 21:49:29 - EventProcessingShutters: RO_Buero_Fenster_gr - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1589226569 Last Position Timestamp: 1589226481 Drive Up Max Duration: 60 Last Position: 0 aktuelle Position: 100
2020.05.11 21:49:29.949 4: AutoShuttersControl (Rollladensteuerung) - Devname: Rollladensteuerung Name: Rollladensteuerung Notify: $VAR1 = [
          'state: manual'
        ];


ASC_DEBUG!!! 2020.05.11 21:49:29 - FnIsDay: RO_Buero_Fenster_gr Allgemein: 0

ASC_DEBUG!!! 2020.05.11 21:49:29 - FnIsDay: RO_Buero_Fenster_gr getDownBrightness: 0 Brightness: -1 BrightnessMin: 500 Sunset: 1

ASC_DEBUG!!! 2020.05.11 21:49:29 - FnIsDay: RO_Buero_Fenster_gr getUpBrightness: 0 Brightness: -1 BrightnessMax: 800 Sunrise: 0

ASC_DEBUG!!! 2020.05.11 21:49:29 - EventProcessingShutters: eine manualle Fahrt wurde erkannt!

ASC_DEBUG!!! 2020.05.11 21:49:29 - EventProcessingShutters:  Fn wurde durlaufen und es sollten Debugausgaben gekommen sein.  !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
2020.05.11 21:49:29.959 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'power: 0.00'
        ];

2020.05.11 21:49:29.965 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'energy: 4925'
        ];

2020.05.11 21:49:29.970 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'input1: 0'
        ];

2020.05.11 21:49:29.974 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'input0: 0'
        ];

2020.05.11 21:49:29.979 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'temperature: 37.59'
        ];

2020.05.11 21:49:29.986 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'overtemperature: 0'
        ];

2020.05.11 21:49:30.049 4: AutoShuttersControl (Rollladensteuerung) - Devname: RO_Buero_Fenster_gr Name: Rollladensteuerung Notify: $VAR1 = [
          'ASC_ShuttersLastDrive: manual'
        ];
Raspberry 4 mit fhem, Raspberry 3 mit fhem (FS20-, MAX-Schnittstellen), RaspiMatic Raspberry 3B, HM und HMW-Geräte (Heizung, Wetterstation, Fensterkontakte), Shellys (Rollladen, MQTT), ESPEasy (Energiezähler, MQTT), MAX-Taster (CUL),  FS20 Taster  (CUL), Synology NAS (Mosquitto,Chat

Wiesenfreund

Vermutlich habe  ich meinen Fehler gefunden. Die BlockingTime vor Öffnen und Schließen war auf den Voreinstellungen und damit für meinen Test zu lang. Ich gehe jetzt davon aus, dass der ursprüngliche Fehler mit set createNewNotifyDev behoben wurde. Ich stelle mal auf Realbetrieb um und schau mal, ob alles funktioniert.
Danke für die Hilfe, ggf. melde ich mich nochmal.

Gruß Eberhard
Raspberry 4 mit fhem, Raspberry 3 mit fhem (FS20-, MAX-Schnittstellen), RaspiMatic Raspberry 3B, HM und HMW-Geräte (Heizung, Wetterstation, Fensterkontakte), Shellys (Rollladen, MQTT), ESPEasy (Energiezähler, MQTT), MAX-Taster (CUL),  FS20 Taster  (CUL), Synology NAS (Mosquitto,Chat

Wiesenfreund

Hat leider nicht funktioniert. Ich belasse es vorerst bei meiner handgemachten Steuerung und mache später nochmals einen Versuch.
Raspberry 4 mit fhem, Raspberry 3 mit fhem (FS20-, MAX-Schnittstellen), RaspiMatic Raspberry 3B, HM und HMW-Geräte (Heizung, Wetterstation, Fensterkontakte), Shellys (Rollladen, MQTT), ESPEasy (Energiezähler, MQTT), MAX-Taster (CUL),  FS20 Taster  (CUL), Synology NAS (Mosquitto,Chat