[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

Deine Rollos sind jetzt schon zur Nacht gefahren? Wow.
Da sollte eigentlich 0 stehen. Ich schaue es mir an.
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

Dersch

Nein, zu dem Zeitpunkt natürlich noch nicht. Das war ein Rollo aus dem Kinderzimmer welcher zu diesem Zeitpunkt schon unten sein muss. Die gehen um 18:45 spätestens runter und dann ist Schlafenszeit für die fast 5 jährigen.

Nun habe ich eben nochmal den gleichen Rollo damit geprüft und es steht dort 0 als Ergebnis.

Das bringt mich zu der Erkenntnis das dort was nicht stimmt. Wenn die Rollos schon um spätestens 18:45 unten sein sollen ist dort ja Nacht. Aber das Ergebnis war ja noch 1

Internals:
   DEF        4C5A43
   FUUID      5c432072-f33f-c2c3-3bb7-2ac441177945920b
   HMLAN1_MSGCNT 6
   HMLAN1_RAWMSG E4C5A43,0000,7C91FCEF,FF,FFBC,D1A4104C5A432864FE06010000
   HMLAN1_RSSI -68
   HMLAN1_TIME 2020-05-14 19:06:10
   HMUSB_MSGCNT 7
   HMUSB_RAWMSG E4C5A43,0000,F740E733,FF,FFC1,D1A4104C5A432864FE06010000
   HMUSB_RSSI -63
   HMUSB_TIME 2020-05-14 19:06:10
   IODev      HMUSB
   LASTInputDev HMUSB
   MSGCNT     13
   NAME       KzRolladenRechts
   NOTIFYDEV  global
   NR         86
   NTFY_ORDER 50-KzRolladenRechts
   STATE      down
   TYPE       CUL_HM
   chanNo     01
   lastMsg    No:D1 - t:10 s:4C5A43 d:2864FE 06010000
   protLastRcv 2020-05-14 19:06:10
   protRcv    6 last_at:2020-05-14 19:06:10
   protSnd    7 last_at:2020-05-14 19:06:10
   protState  CMDs_done
   rssi_HMUSB cnt:3 min:-73 max:-68 avg:-69.66 lst:-68
   rssi_at_HMLAN1 cnt:6 min:-71 max:-66 avg:-69 lst:-68
   rssi_at_HMUSB cnt:7 min:-68 max:-62 avg:-64.57 lst:-63
   READINGS:
     2019-05-21 23:15:25   ASC_Enable      on
     2020-05-14 19:06:10   ASC_ShuttersLastDrive residents home
     2020-05-14 18:45:01   ASC_Time_DriveDown 15.05.2020 - 18:45
     2020-05-14 18:45:01   ASC_Time_DriveUp 15.05.2020 - 08:30
     2020-05-14 19:05:53   CommandAccepted yes
     2019-08-20 12:30:04   D-firmware      2.8
     2019-08-20 12:30:04   D-serialNr      NEQ0511411
     2019-11-02 16:45:57   PairedTo        0x2864FE
     2019-05-08 18:50:00   R-driveDown     18.6 s
     2018-03-19 15:42:01   R-driveTurn     0.5 s
     2019-05-08 18:50:28   R-driveUp       20.5 s
     2019-05-07 06:23:58   R-pairCentral   0x2864FE
     2018-03-19 15:42:03   R-self01-lgActionType jmpToTarget
     2018-03-19 15:42:03   R-self01-lgOnLevel 100 %
     2018-03-19 15:42:03   R-self01-shActionType jmpToTarget
     2018-03-19 15:42:03   R-self01-shOnLevel 100 %
     2018-03-19 15:42:04   R-self02-lgActionType jmpToTarget
     2018-03-19 15:42:04   R-self02-lgOnLevel 100 %
     2018-03-19 15:42:04   R-self02-shActionType jmpToTarget
     2018-03-19 15:42:04   R-self02-shOnLevel 100 %
     2018-03-19 15:42:01   R-sign          off
     2019-11-02 16:45:57   RegL_00.        00:00 02:01 0A:28 0B:64 0C:FE 15:FF 18:00
     2019-11-02 16:45:58   RegL_01.        00:00 08:00 09:00 0A:00 0B:00 0C:BA 0D:00 0E:CD 0F:05 10:00 30:06 56:00 57:24
     2020-05-14 17:42:23   associatedWith  myASControl
     2020-05-14 19:06:10   deviceMsg       off (to CCU)
     2020-05-14 19:06:10   level           0
     2020-05-14 19:06:10   motor           stop:off
     2020-05-14 19:06:10   pct             0
     2019-11-02 16:45:56   powerOn         2019-11-02 16:45:56
     2020-05-14 19:06:10   recentStateType info
     2020-05-14 19:06:10   state           off
     2020-05-14 19:06:10   timedOn         off
   helper:
     HM_CMDNR   209
     cSnd       112864FE4C5A430201C8,112864FE4C5A430201000000
     dlvlCmd    ++A0112864FE4C5A430201000000
     mId        0005
     peerFriend peerSens,peerVirt
     peerOpt    3:blindActuator
     regLst     0,1,3p
     rxType     1
     supp_Pair_Rep 0
     ack:
     dir:
       cur        stop
       rct        down
     expert:
       def        1
       det        0
       raw        1
       tpl        0
     io:
       newChn     +4C5A43,00,00,00
       nextSend   1589475970.56638
       prefIO     
       rxt        0
       vccu       CCU
       p:
         4C5A43
         00
         00
         00
     mRssi:
       mNo        D1
       io:
         HMLAN1:
           -68
           -68
         HMUSB:
           -59
           -59
     prt:
       bErr       0
       sProc      0
       rspWait:
     q:
       qReqConf   
       qReqStat   
     role:
       chn        1
       dev        1
       prs        1
     rpt:
       IO         HMLAN1
       flg        A
       ts         1589475970.43886
       ack:
         HASH(0x560bd8dd7be8)
         D180022864FE4C5A4300
     rssi:
       HMUSB:
         avg        -69.6666666666667
         cnt        3
         lst        -68
         max        -68
         min        -73
       at_HMLAN1:
         avg        -69
         cnt        6
         lst        -68
         max        -66
         min        -71
       at_HMUSB:
         avg        -64.5714285714286
         cnt        7
         lst        -63
         max        -62
         min        -68
     shadowReg:
     tmpl:
Attributes:
   ASC        2
   ASC_BrightnessSensor TeHelligkeit:luminosity
   ASC_Closed_Pos 0
   ASC_Down   brightness
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Open_Pos 100
   ASC_Pos_Reading pct
   ASC_Shading_InOutAzimuth 110:226
   ASC_Shading_MinMax_Elevation 40
   ASC_Shading_Min_OutsideTemperature 15
   ASC_Shading_Mode always
   ASC_Shading_Pos 40
   ASC_Shading_StateChange_SunnyCloudy 12000:5500
   ASC_Shading_WaitingPeriod 1200
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 16:30
   ASC_Time_Down_Late 18:45
   ASC_Time_Up_Early 07:10
   ASC_Time_Up_Late 08:30
   ASC_Time_Up_WE_Holiday 08:00
   ASC_Up     brightness
   ASC_Ventilate_Pos 10
   ASC_Ventilate_Window_Open off
   ASC_WindowRec KzFensterRechts
   ASC_WindowRec_subType twostate
   DbLogExclude .*
   IODev      HMUSB
   IOgrp      CCU
   autoReadReg 4_reqStatus
   cmdIcon    up:rc_UP stop:rc_STOP down:rc_DOWN
   devStateIcon up:fts_shutter_10@green down:fts_shutter_100@grey 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
   eventMap   on:up off:down
   expert     2_raw
   firmware   2.8
   group      Rolläden
   icon       fts_shutter_updown
   model      HM-LC-BL1-FM
   peerIDs    00000000,
   room       Kinderzimmer
   serialNr   NEQ0511411
   subType    blindActuator
   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:stop:down



flummy1978

#1847
Nabend zusammen,

Zitat von: CoolTux am 14 Mai 2020, 11:37:27
Neu hinzu gekommen ist nun die PrivacyDown Position. Befindet sich das Rollo beim Fenster schließen in der PrivacyDown Position, so wird es sofern die Nachtfahrt durch ist auch geschlossen. Das ist neu.

leider doch wieder ein Satz mit X ... das war leider nix :(

Im Prinzip der gleiche Effekt wie die letzten Tage auch: Fenster steht offen -> Rollo auf Venti (40) -> Rollo geht in Privacy before Night (80) -> Nachtfahrtzeit wird erreicht -> Rollo fährt NICHT, weil Fenster offen -> Fenster wird geschlossen -> Rolladen rührt sich nicht (bis gestern)
Das sind die Debug Einträge als eigentlich Nachtfahrt angestanden hätte:

ASC_DEBUG!!! 2020.05.14 19:30:01 - FnSetCmdFn: Rollo_OG_SZ_01 - Abbruch aktuelle Position ist gleich der Zielposition 80=80
ASC_DEBUG!!! 2020.05.14 19:30:01 - FnSetDriveCmd: Rollo_OG_SZ_01 - NICHT versetztes fahren
ASC_DEBUG!!! 2020.05.14 19:30:01 - FnSetDriveCmd: Rollo_OG_SZ_01 - NoDelay: NEIN
ASC_DEBUG!!! 2020.05.14 19:30:01 - FnShuttersCommandSet: Rollo_OG_SZ_01 - Das Rollo wird gefahren. Kein Partymodus aktiv und das zugordnete Fenster ist entweder nicht offen oder keine Terassentür


Sieht für mich korrekt aus: Aktuelle Position 80 soll Position Closed -> Geht aber nicht wegen Fenster offen -> also bleibt 80

Hier der Log als das Fenster geschlossen wurde:
2020.05.14 20:36:16.748 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }
2020.05.14 20:36:16.872 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent closed
ASC_DEBUG!!! 2020.05.14 20:36:16 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: contact: true timestamp: 1589481376.75157 state: closed - IDENTIFIED EVENT: closed - STORED EVENT: closed
ASC_DEBUG!!! 2020.05.14 20:36:16 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted:1 QueryShuttersPosWinRecComfort: 1
ASC_DEBUG!!! 2020.05.14 20:36:16 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0
ASC_DEBUG!!! 2020.05.14 20:36:16 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

Sieht soweit auch richtig aus, denn zu dem Zeitpunkt hat das Rollo ja noch die Position 80 als aktuelle.

ASC_DEBUG!!! 2020.05.14 19:20:01 - FnSetCmdFn: Rollo_OG_SZ_01 - Rollo wird gefahren, aktuelle Position: 0, Zielposition: 80. Grund der Fahrt: timer privacy night close
Ist die letzte Fahrt die davor war.... und bis dahin war ja auch alles korrekt. Es fehlt also lediglich der Schubser für das Nachholen der Fahrt.....

Aktuelles List noch bevor ich da was umstelle:
Internals:
   FUUID      5eb95f7e-f33f-8d79-1a73-50f6eb72940df90c
   NAME       Rollo_OG_SZ_01
   NR         297
   STATE      <pre>
read1:pct-80

read2:pct-80

read3:pct-80
</pre>
   TYPE       ROLLO
   stoptime   1589476817
   .attraggr:
   .attreocr:
     .*
   .attrminint:
   OLDREADINGS:
   READINGS:
     2020-05-13 17:52:35   .ASC_AttrUpdateChanges_v0.8.28 1
     2020-05-11 16:23:12   ASC_Enable      on
     2020-05-14 19:20:17   ASC_ShuttersLastDrive timer privacy night close
     2020-05-14 19:30:01   ASC_Time_DriveDown 15.05.2020 - 19:30
     2020-05-14 19:30:01   ASC_Time_DriveUp 15.05.2020 - 13:45
     2020-05-14 19:30:01   ASC_Time_PrivacyDriveDown 15.05.2020 - 19:20
     2020-05-13 17:53:07   associatedWith  AUTO_RolloSteuerung
     2020-05-14 19:20:01   command         pct-80
     2020-05-14 19:20:01   desired_pct     80
     2020-05-14 19:20:01   drive-type      modul
     2020-05-14 19:20:01   last_drive      drive-down
     2020-05-14 19:20:17   pct             80
     2020-05-14 19:20:17   state           pct-80
Attributes:
   ASC        1
   ASC_Antifreeze off
   ASC_Antifreeze_Pos 85
   ASC_AutoAstroModeEvening none
   ASC_AutoAstroModeEveningHorizon none
   ASC_AutoAstroModeMorning none
   ASC_AutoAstroModeMorningHorizon none
   ASC_BlockingTime_afterManual 12
   ASC_BlockingTime_beforDayOpen 3600
   ASC_BlockingTime_beforNightClose 30
   ASC_Closed_Pos 100
   ASC_Down   time
   ASC_Drive_Delay -1
   ASC_Drive_DelayStart -1
   ASC_GuestRoom none
   ASC_LockOut off
   ASC_LockOut_Cmd none
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Open_Pos 0
   ASC_Partymode off
   ASC_Pos_Reading pct
   ASC_PrivacyDownValue_beforeNightClose 600
   ASC_PrivacyDown_Pos 80
   ASC_Roommate_Device none
   ASC_Roommate_Reading state
   ASC_Shading_InOutAzimuth 265:320
   ASC_Shading_MinMax_Elevation 24
   ASC_Shading_Min_OutsideTemperature 18
   ASC_Shading_Mode off
   ASC_Shading_Pos 90
   ASC_Shading_StateChange_SunnyCloudy 35000:20000
   ASC_Shading_WaitingPeriod 1200
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 19:30
   ASC_Time_Down_Late 19:45
   ASC_Time_Up_Early 13:45
   ASC_Time_Up_Late 14:00
   ASC_Time_Up_WE_Holiday 14:30
   ASC_Ventilate_Pos 40
   ASC_Ventilate_Window_Open on
   ASC_WiggleValue 5
   ASC_WindowRec TK_OG_SZ_fenster1
   ASC_WindowRec_subType twostate
   DbLogExclude .*
   alias      SZ Rollo 1
   cmdIcon    open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   devStateIcon read0.closed:fts_shutter@green:half read0.half:fts_shutter@orange:closed read0.drive.*:fts_shutter@red:stop read0..*:fts_shutter read1.drive-up:rc_UP@red:stop .*read1..*:rc_UP@green:open read2.open:fts_shutter_10@green:stop read2..*10:fts_shutter_10@Crimson:stop read2..*20:fts_shutter_20@Crimson:stop read2..*30:fts_shutter_30@Crimson:stop read2..*40:fts_shutter_40@Crimson:stop read2.(.*50|half):fts_shutter_50@Crimson:stop read2..*60:fts_shutter_60@Crimson:stop read2..*70:fts_shutter_70@Crimson:stop read2..*80:fts_shutter_80@Crimson:stop read2..*90:fts_shutter_90@Crimson:stop read2.closed:fts_shutter_100@Crimson:stop read2.drive.*:fts_shutter@Crimson:stop read3..*:rc_DOWN@grey:closed read3.drive-down:rc_DOWN@red:stop
   event-on-change-reading .*
   group      Fenster
   rl_autoStop 0
   rl_blockMode none
   rl_commandDown set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU on
   rl_commandStop set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU off
   rl_commandUp set OG_SZ_RO_01Rollo_ZU off; set OG_SZ_RO_01Rollo_AUF on
   rl_excessBottom 3
   rl_excessTop 4
   rl_resetTime 0
   rl_secondsDown 16
   rl_secondsUp 14
   rl_switchTime 2
   rl_type    normal
   room       Schlafzimmer
   sortby     10
   stateFormat <pre>
read1:state

read2:state

read3:state
</pre>
   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
   verbose    4
   webCmd     :pct
   widgetOverride pct:slider,0,1,100



Wenn ich noch was tun oder mit philosophieren kann...sag bescheid :)

Viele Grüße
Andreas

CoolTux

Zitat von: Dersch am 14 Mai 2020, 23:03:30
Nein, zu dem Zeitpunkt natürlich noch nicht. Das war ein Rollo aus dem Kinderzimmer welcher zu diesem Zeitpunkt schon unten sein muss. Die gehen um 18:45 spätestens runter und dann ist Schlafenszeit für die fast 5 jährigen.

Nun habe ich eben nochmal den gleichen Rollo damit geprüft und es steht dort 0 als Ergebnis.

Das bringt mich zu der Erkenntnis das dort was nicht stimmt. Wenn die Rollos schon um spätestens 18:45 unten sein sollen ist dort ja Nacht. Aber das Ergebnis war ja noch 1

Internals:
   DEF        4C5A43
   FUUID      5c432072-f33f-c2c3-3bb7-2ac441177945920b
   HMLAN1_MSGCNT 6
   HMLAN1_RAWMSG E4C5A43,0000,7C91FCEF,FF,FFBC,D1A4104C5A432864FE06010000
   HMLAN1_RSSI -68
   HMLAN1_TIME 2020-05-14 19:06:10
   HMUSB_MSGCNT 7
   HMUSB_RAWMSG E4C5A43,0000,F740E733,FF,FFC1,D1A4104C5A432864FE06010000
   HMUSB_RSSI -63
   HMUSB_TIME 2020-05-14 19:06:10
   IODev      HMUSB
   LASTInputDev HMUSB
   MSGCNT     13
   NAME       KzRolladenRechts
   NOTIFYDEV  global
   NR         86
   NTFY_ORDER 50-KzRolladenRechts
   STATE      down
   TYPE       CUL_HM
   chanNo     01
   lastMsg    No:D1 - t:10 s:4C5A43 d:2864FE 06010000
   protLastRcv 2020-05-14 19:06:10
   protRcv    6 last_at:2020-05-14 19:06:10
   protSnd    7 last_at:2020-05-14 19:06:10
   protState  CMDs_done
   rssi_HMUSB cnt:3 min:-73 max:-68 avg:-69.66 lst:-68
   rssi_at_HMLAN1 cnt:6 min:-71 max:-66 avg:-69 lst:-68
   rssi_at_HMUSB cnt:7 min:-68 max:-62 avg:-64.57 lst:-63
   READINGS:
     2019-05-21 23:15:25   ASC_Enable      on
     2020-05-14 19:06:10   ASC_ShuttersLastDrive residents home
     2020-05-14 18:45:01   ASC_Time_DriveDown 15.05.2020 - 18:45
     2020-05-14 18:45:01   ASC_Time_DriveUp 15.05.2020 - 08:30
     2020-05-14 19:05:53   CommandAccepted yes
     2019-08-20 12:30:04   D-firmware      2.8
     2019-08-20 12:30:04   D-serialNr      NEQ0511411
     2019-11-02 16:45:57   PairedTo        0x2864FE
     2019-05-08 18:50:00   R-driveDown     18.6 s
     2018-03-19 15:42:01   R-driveTurn     0.5 s
     2019-05-08 18:50:28   R-driveUp       20.5 s
     2019-05-07 06:23:58   R-pairCentral   0x2864FE
     2018-03-19 15:42:03   R-self01-lgActionType jmpToTarget
     2018-03-19 15:42:03   R-self01-lgOnLevel 100 %
     2018-03-19 15:42:03   R-self01-shActionType jmpToTarget
     2018-03-19 15:42:03   R-self01-shOnLevel 100 %
     2018-03-19 15:42:04   R-self02-lgActionType jmpToTarget
     2018-03-19 15:42:04   R-self02-lgOnLevel 100 %
     2018-03-19 15:42:04   R-self02-shActionType jmpToTarget
     2018-03-19 15:42:04   R-self02-shOnLevel 100 %
     2018-03-19 15:42:01   R-sign          off
     2019-11-02 16:45:57   RegL_00.        00:00 02:01 0A:28 0B:64 0C:FE 15:FF 18:00
     2019-11-02 16:45:58   RegL_01.        00:00 08:00 09:00 0A:00 0B:00 0C:BA 0D:00 0E:CD 0F:05 10:00 30:06 56:00 57:24
     2020-05-14 17:42:23   associatedWith  myASControl
     2020-05-14 19:06:10   deviceMsg       off (to CCU)
     2020-05-14 19:06:10   level           0
     2020-05-14 19:06:10   motor           stop:off
     2020-05-14 19:06:10   pct             0
     2019-11-02 16:45:56   powerOn         2019-11-02 16:45:56
     2020-05-14 19:06:10   recentStateType info
     2020-05-14 19:06:10   state           off
     2020-05-14 19:06:10   timedOn         off
   helper:
     HM_CMDNR   209
     cSnd       112864FE4C5A430201C8,112864FE4C5A430201000000
     dlvlCmd    ++A0112864FE4C5A430201000000
     mId        0005
     peerFriend peerSens,peerVirt
     peerOpt    3:blindActuator
     regLst     0,1,3p
     rxType     1
     supp_Pair_Rep 0
     ack:
     dir:
       cur        stop
       rct        down
     expert:
       def        1
       det        0
       raw        1
       tpl        0
     io:
       newChn     +4C5A43,00,00,00
       nextSend   1589475970.56638
       prefIO     
       rxt        0
       vccu       CCU
       p:
         4C5A43
         00
         00
         00
     mRssi:
       mNo        D1
       io:
         HMLAN1:
           -68
           -68
         HMUSB:
           -59
           -59
     prt:
       bErr       0
       sProc      0
       rspWait:
     q:
       qReqConf   
       qReqStat   
     role:
       chn        1
       dev        1
       prs        1
     rpt:
       IO         HMLAN1
       flg        A
       ts         1589475970.43886
       ack:
         HASH(0x560bd8dd7be8)
         D180022864FE4C5A4300
     rssi:
       HMUSB:
         avg        -69.6666666666667
         cnt        3
         lst        -68
         max        -68
         min        -73
       at_HMLAN1:
         avg        -69
         cnt        6
         lst        -68
         max        -66
         min        -71
       at_HMUSB:
         avg        -64.5714285714286
         cnt        7
         lst        -63
         max        -62
         min        -68
     shadowReg:
     tmpl:
Attributes:
   ASC        2
   ASC_BrightnessSensor TeHelligkeit:luminosity
   ASC_Closed_Pos 0
   ASC_Down   brightness
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Open_Pos 100
   ASC_Pos_Reading pct
   ASC_Shading_InOutAzimuth 110:226
   ASC_Shading_MinMax_Elevation 40
   ASC_Shading_Min_OutsideTemperature 15
   ASC_Shading_Mode always
   ASC_Shading_Pos 40
   ASC_Shading_StateChange_SunnyCloudy 12000:5500
   ASC_Shading_WaitingPeriod 1200
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 16:30
   ASC_Time_Down_Late 18:45
   ASC_Time_Up_Early 07:10
   ASC_Time_Up_Late 08:30
   ASC_Time_Up_WE_Holiday 08:00
   ASC_Up     brightness
   ASC_Ventilate_Pos 10
   ASC_Ventilate_Window_Open off
   ASC_WindowRec KzFensterRechts
   ASC_WindowRec_subType twostate
   DbLogExclude .*
   IODev      HMUSB
   IOgrp      CCU
   autoReadReg 4_reqStatus
   cmdIcon    up:rc_UP stop:rc_STOP down:rc_DOWN
   devStateIcon up:fts_shutter_10@green down:fts_shutter_100@grey 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
   eventMap   on:up off:down
   expert     2_raw
   firmware   2.8
   group      Rolläden
   icon       fts_shutter_updown
   model      HM-LC-BL1-FM
   peerIDs    00000000,
   room       Kinderzimmer
   serialNr   NEQ0511411
   subType    blindActuator
   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:stop:down



Ich schaue mal.
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: Dersch am 14 Mai 2020, 23:03:30
Nein, zu dem Zeitpunkt natürlich noch nicht. Das war ein Rollo aus dem Kinderzimmer welcher zu diesem Zeitpunkt schon unten sein muss. Die gehen um 18:45 spätestens runter und dann ist Schlafenszeit für die fast 5 jährigen.

Nun habe ich eben nochmal den gleichen Rollo damit geprüft und es steht dort 0 als Ergebnis.

Das bringt mich zu der Erkenntnis das dort was nicht stimmt. Wenn die Rollos schon um spätestens 18:45 unten sein sollen ist dort ja Nacht. Aber das Ergebnis war ja noch 1

Internals:
   DEF        4C5A43
   FUUID      5c432072-f33f-c2c3-3bb7-2ac441177945920b
   HMLAN1_MSGCNT 6
   HMLAN1_RAWMSG E4C5A43,0000,7C91FCEF,FF,FFBC,D1A4104C5A432864FE06010000
   HMLAN1_RSSI -68
   HMLAN1_TIME 2020-05-14 19:06:10
   HMUSB_MSGCNT 7
   HMUSB_RAWMSG E4C5A43,0000,F740E733,FF,FFC1,D1A4104C5A432864FE06010000
   HMUSB_RSSI -63
   HMUSB_TIME 2020-05-14 19:06:10
   IODev      HMUSB
   LASTInputDev HMUSB
   MSGCNT     13
   NAME       KzRolladenRechts
   NOTIFYDEV  global
   NR         86
   NTFY_ORDER 50-KzRolladenRechts
   STATE      down
   TYPE       CUL_HM
   chanNo     01
   lastMsg    No:D1 - t:10 s:4C5A43 d:2864FE 06010000
   protLastRcv 2020-05-14 19:06:10
   protRcv    6 last_at:2020-05-14 19:06:10
   protSnd    7 last_at:2020-05-14 19:06:10
   protState  CMDs_done
   rssi_HMUSB cnt:3 min:-73 max:-68 avg:-69.66 lst:-68
   rssi_at_HMLAN1 cnt:6 min:-71 max:-66 avg:-69 lst:-68
   rssi_at_HMUSB cnt:7 min:-68 max:-62 avg:-64.57 lst:-63
   READINGS:
     2019-05-21 23:15:25   ASC_Enable      on
     2020-05-14 19:06:10   ASC_ShuttersLastDrive residents home
     2020-05-14 18:45:01   ASC_Time_DriveDown 15.05.2020 - 18:45
     2020-05-14 18:45:01   ASC_Time_DriveUp 15.05.2020 - 08:30
     2020-05-14 19:05:53   CommandAccepted yes
     2019-08-20 12:30:04   D-firmware      2.8
     2019-08-20 12:30:04   D-serialNr      NEQ0511411
     2019-11-02 16:45:57   PairedTo        0x2864FE
     2019-05-08 18:50:00   R-driveDown     18.6 s
     2018-03-19 15:42:01   R-driveTurn     0.5 s
     2019-05-08 18:50:28   R-driveUp       20.5 s
     2019-05-07 06:23:58   R-pairCentral   0x2864FE
     2018-03-19 15:42:03   R-self01-lgActionType jmpToTarget
     2018-03-19 15:42:03   R-self01-lgOnLevel 100 %
     2018-03-19 15:42:03   R-self01-shActionType jmpToTarget
     2018-03-19 15:42:03   R-self01-shOnLevel 100 %
     2018-03-19 15:42:04   R-self02-lgActionType jmpToTarget
     2018-03-19 15:42:04   R-self02-lgOnLevel 100 %
     2018-03-19 15:42:04   R-self02-shActionType jmpToTarget
     2018-03-19 15:42:04   R-self02-shOnLevel 100 %
     2018-03-19 15:42:01   R-sign          off
     2019-11-02 16:45:57   RegL_00.        00:00 02:01 0A:28 0B:64 0C:FE 15:FF 18:00
     2019-11-02 16:45:58   RegL_01.        00:00 08:00 09:00 0A:00 0B:00 0C:BA 0D:00 0E:CD 0F:05 10:00 30:06 56:00 57:24
     2020-05-14 17:42:23   associatedWith  myASControl
     2020-05-14 19:06:10   deviceMsg       off (to CCU)
     2020-05-14 19:06:10   level           0
     2020-05-14 19:06:10   motor           stop:off
     2020-05-14 19:06:10   pct             0
     2019-11-02 16:45:56   powerOn         2019-11-02 16:45:56
     2020-05-14 19:06:10   recentStateType info
     2020-05-14 19:06:10   state           off
     2020-05-14 19:06:10   timedOn         off
   helper:
     HM_CMDNR   209
     cSnd       112864FE4C5A430201C8,112864FE4C5A430201000000
     dlvlCmd    ++A0112864FE4C5A430201000000
     mId        0005
     peerFriend peerSens,peerVirt
     peerOpt    3:blindActuator
     regLst     0,1,3p
     rxType     1
     supp_Pair_Rep 0
     ack:
     dir:
       cur        stop
       rct        down
     expert:
       def        1
       det        0
       raw        1
       tpl        0
     io:
       newChn     +4C5A43,00,00,00
       nextSend   1589475970.56638
       prefIO     
       rxt        0
       vccu       CCU
       p:
         4C5A43
         00
         00
         00
     mRssi:
       mNo        D1
       io:
         HMLAN1:
           -68
           -68
         HMUSB:
           -59
           -59
     prt:
       bErr       0
       sProc      0
       rspWait:
     q:
       qReqConf   
       qReqStat   
     role:
       chn        1
       dev        1
       prs        1
     rpt:
       IO         HMLAN1
       flg        A
       ts         1589475970.43886
       ack:
         HASH(0x560bd8dd7be8)
         D180022864FE4C5A4300
     rssi:
       HMUSB:
         avg        -69.6666666666667
         cnt        3
         lst        -68
         max        -68
         min        -73
       at_HMLAN1:
         avg        -69
         cnt        6
         lst        -68
         max        -66
         min        -71
       at_HMUSB:
         avg        -64.5714285714286
         cnt        7
         lst        -63
         max        -62
         min        -68
     shadowReg:
     tmpl:
Attributes:
   ASC        2
   ASC_BrightnessSensor TeHelligkeit:luminosity
   ASC_Closed_Pos 0
   ASC_Down   brightness
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Open_Pos 100
   ASC_Pos_Reading pct
   ASC_Shading_InOutAzimuth 110:226
   ASC_Shading_MinMax_Elevation 40
   ASC_Shading_Min_OutsideTemperature 15
   ASC_Shading_Mode always
   ASC_Shading_Pos 40
   ASC_Shading_StateChange_SunnyCloudy 12000:5500
   ASC_Shading_WaitingPeriod 1200
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 16:30
   ASC_Time_Down_Late 18:45
   ASC_Time_Up_Early 07:10
   ASC_Time_Up_Late 08:30
   ASC_Time_Up_WE_Holiday 08:00
   ASC_Up     brightness
   ASC_Ventilate_Pos 10
   ASC_Ventilate_Window_Open off
   ASC_WindowRec KzFensterRechts
   ASC_WindowRec_subType twostate
   DbLogExclude .*
   IODev      HMUSB
   IOgrp      CCU
   autoReadReg 4_reqStatus
   cmdIcon    up:rc_UP stop:rc_STOP down:rc_DOWN
   devStateIcon up:fts_shutter_10@green down:fts_shutter_100@grey 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
   eventMap   on:up off:down
   expert     2_raw
   firmware   2.8
   group      Rolläden
   icon       fts_shutter_updown
   model      HM-LC-BL1-FM
   peerIDs    00000000,
   room       Kinderzimmer
   serialNr   NEQ0511411
   subType    blindActuator
   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:stop:down


Ich habe was gefunden und bin dran. Ich denke ich kann Dir in 2 Stunden eine Version zum testen geben.
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: CoolTux am 15 Mai 2020, 10:53:42
Ich habe was gefunden und bin dran. Ich denke ich kann Dir in 2 Stunden eine Version zum testen geben.

https://git-tuxnet.ddns.net/FHEM/mod-AutoShuttersControl/archive/master.zip

Kannst Du bitte diese Version einmal installieren und testen. Brauchst nur das

{ ascAPIget('IsDay','ROLLONAME') }

ausführen

Bei meinen Tests hat es funktioniert
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: flummy1978 am 14 Mai 2020, 23:57:32
Nabend zusammen,

leider doch wieder ein Satz mit X ... das war leider nix :(

Im Prinzip der gleiche Effekt wie die letzten Tage auch: Fenster steht offen -> Rollo auf Venti (40) -> Rollo geht in Privacy before Night (80) -> Nachtfahrtzeit wird erreicht -> Rollo fährt NICHT, weil Fenster offen -> Fenster wird geschlossen -> Rolladen rührt sich nicht (bis gestern)
Das sind die Debug Einträge als eigentlich Nachtfahrt angestanden hätte:

ASC_DEBUG!!! 2020.05.14 19:30:01 - FnSetCmdFn: Rollo_OG_SZ_01 - Abbruch aktuelle Position ist gleich der Zielposition 80=80
ASC_DEBUG!!! 2020.05.14 19:30:01 - FnSetDriveCmd: Rollo_OG_SZ_01 - NICHT versetztes fahren
ASC_DEBUG!!! 2020.05.14 19:30:01 - FnSetDriveCmd: Rollo_OG_SZ_01 - NoDelay: NEIN
ASC_DEBUG!!! 2020.05.14 19:30:01 - FnShuttersCommandSet: Rollo_OG_SZ_01 - Das Rollo wird gefahren. Kein Partymodus aktiv und das zugordnete Fenster ist entweder nicht offen oder keine Terassentür


Sieht für mich korrekt aus: Aktuelle Position 80 soll Position Closed -> Geht aber nicht wegen Fenster offen -> also bleibt 80

Hier der Log als das Fenster geschlossen wurde:
2020.05.14 20:36:16.748 4: MQTT2_DEVICE_Parse: TK_OG_SZ_fenster1 zigbee2mqtt/0x00158d0002c106d2 => { json2nameValue($EVENT) }
2020.05.14 20:36:16.872 3: CUL_HM set virtual_TK_OG_SZ_fenster1 postEvent closed
ASC_DEBUG!!! 2020.05.14 20:36:16 - EventProcessingWindowRec: Rollo_OG_SZ_01 - RECEIVED EVENT: contact: true timestamp: 1589481376.75157 state: closed - IDENTIFIED EVENT: closed - STORED EVENT: closed
ASC_DEBUG!!! 2020.05.14 20:36:16 - EventProcessingWindowRec: Rollo_OG_SZ_01 - HOMEMODE: none QueryShuttersPosWinRecTilted:1 QueryShuttersPosWinRecComfort: 1
ASC_DEBUG!!! 2020.05.14 20:36:16 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0
ASC_DEBUG!!! 2020.05.14 20:36:16 - FnIsDay: Rollo_OG_SZ_01 Allgemein: 0

Sieht soweit auch richtig aus, denn zu dem Zeitpunkt hat das Rollo ja noch die Position 80 als aktuelle.

ASC_DEBUG!!! 2020.05.14 19:20:01 - FnSetCmdFn: Rollo_OG_SZ_01 - Rollo wird gefahren, aktuelle Position: 0, Zielposition: 80. Grund der Fahrt: timer privacy night close
Ist die letzte Fahrt die davor war.... und bis dahin war ja auch alles korrekt. Es fehlt also lediglich der Schubser für das Nachholen der Fahrt.....

Aktuelles List noch bevor ich da was umstelle:
Internals:
   FUUID      5eb95f7e-f33f-8d79-1a73-50f6eb72940df90c
   NAME       Rollo_OG_SZ_01
   NR         297
   STATE      <pre>
read1:pct-80

read2:pct-80

read3:pct-80
</pre>
   TYPE       ROLLO
   stoptime   1589476817
   .attraggr:
   .attreocr:
     .*
   .attrminint:
   OLDREADINGS:
   READINGS:
     2020-05-13 17:52:35   .ASC_AttrUpdateChanges_v0.8.28 1
     2020-05-11 16:23:12   ASC_Enable      on
     2020-05-14 19:20:17   ASC_ShuttersLastDrive timer privacy night close
     2020-05-14 19:30:01   ASC_Time_DriveDown 15.05.2020 - 19:30
     2020-05-14 19:30:01   ASC_Time_DriveUp 15.05.2020 - 13:45
     2020-05-14 19:30:01   ASC_Time_PrivacyDriveDown 15.05.2020 - 19:20
     2020-05-13 17:53:07   associatedWith  AUTO_RolloSteuerung
     2020-05-14 19:20:01   command         pct-80
     2020-05-14 19:20:01   desired_pct     80
     2020-05-14 19:20:01   drive-type      modul
     2020-05-14 19:20:01   last_drive      drive-down
     2020-05-14 19:20:17   pct             80
     2020-05-14 19:20:17   state           pct-80
Attributes:
   ASC        1
   ASC_Antifreeze off
   ASC_Antifreeze_Pos 85
   ASC_AutoAstroModeEvening none
   ASC_AutoAstroModeEveningHorizon none
   ASC_AutoAstroModeMorning none
   ASC_AutoAstroModeMorningHorizon none
   ASC_BlockingTime_afterManual 12
   ASC_BlockingTime_beforDayOpen 3600
   ASC_BlockingTime_beforNightClose 30
   ASC_Closed_Pos 100
   ASC_Down   time
   ASC_Drive_Delay -1
   ASC_Drive_DelayStart -1
   ASC_GuestRoom none
   ASC_LockOut off
   ASC_LockOut_Cmd none
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Open_Pos 0
   ASC_Partymode off
   ASC_Pos_Reading pct
   ASC_PrivacyDownValue_beforeNightClose 600
   ASC_PrivacyDown_Pos 80
   ASC_Roommate_Device none
   ASC_Roommate_Reading state
   ASC_Shading_InOutAzimuth 265:320
   ASC_Shading_MinMax_Elevation 24
   ASC_Shading_Min_OutsideTemperature 18
   ASC_Shading_Mode off
   ASC_Shading_Pos 90
   ASC_Shading_StateChange_SunnyCloudy 35000:20000
   ASC_Shading_WaitingPeriod 1200
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 19:30
   ASC_Time_Down_Late 19:45
   ASC_Time_Up_Early 13:45
   ASC_Time_Up_Late 14:00
   ASC_Time_Up_WE_Holiday 14:30
   ASC_Ventilate_Pos 40
   ASC_Ventilate_Window_Open on
   ASC_WiggleValue 5
   ASC_WindowRec TK_OG_SZ_fenster1
   ASC_WindowRec_subType twostate
   DbLogExclude .*
   alias      SZ Rollo 1
   cmdIcon    open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   devStateIcon read0.closed:fts_shutter@green:half read0.half:fts_shutter@orange:closed read0.drive.*:fts_shutter@red:stop read0..*:fts_shutter read1.drive-up:rc_UP@red:stop .*read1..*:rc_UP@green:open read2.open:fts_shutter_10@green:stop read2..*10:fts_shutter_10@Crimson:stop read2..*20:fts_shutter_20@Crimson:stop read2..*30:fts_shutter_30@Crimson:stop read2..*40:fts_shutter_40@Crimson:stop read2.(.*50|half):fts_shutter_50@Crimson:stop read2..*60:fts_shutter_60@Crimson:stop read2..*70:fts_shutter_70@Crimson:stop read2..*80:fts_shutter_80@Crimson:stop read2..*90:fts_shutter_90@Crimson:stop read2.closed:fts_shutter_100@Crimson:stop read2.drive.*:fts_shutter@Crimson:stop read3..*:rc_DOWN@grey:closed read3.drive-down:rc_DOWN@red:stop
   event-on-change-reading .*
   group      Fenster
   rl_autoStop 0
   rl_blockMode none
   rl_commandDown set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU on
   rl_commandStop set OG_SZ_RO_01Rollo_AUF off; set OG_SZ_RO_01Rollo_ZU off
   rl_commandUp set OG_SZ_RO_01Rollo_ZU off; set OG_SZ_RO_01Rollo_AUF on
   rl_excessBottom 3
   rl_excessTop 4
   rl_resetTime 0
   rl_secondsDown 16
   rl_secondsUp 14
   rl_switchTime 2
   rl_type    normal
   room       Schlafzimmer
   sortby     10
   stateFormat <pre>
read1:state

read2:state

read3:state
</pre>
   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
   verbose    4
   webCmd     :pct
   widgetOverride pct:slider,0,1,100



Wenn ich noch was tun oder mit philosophieren kann...sag bescheid :)

Viele Grüße
Andreas


Hallo Andreas,

Auch für Dich gilt

Zitat von: CoolTux am 15 Mai 2020, 11:05:38
https://git-tuxnet.ddns.net/FHEM/mod-AutoShuttersControl/archive/master.zip

Kannst Du bitte diese Version einmal installieren und testen.
Bei meinen Tests hat es funktioniert
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

flummy1978

Zitat von: CoolTux am 15 Mai 2020, 13:51:04
Hallo Andreas,

Auch für Dich gilt

Danke Marko ... werde ich testen...

Kannst Du mir sagen was anders ist ? Bzw was ich auch anders zu der aktuellen aus dem Update ? (Wollte heute schon Updates ziehen, hab sie deshalb erst mal nach hinten geschoben)

Grüße
Andreas

CoolTux

Von mir gibt es keine aktuelle aus dem Update. Eigentlich war mir so das Du schon die aktuellste hast.
Du kannst ja das Update machen und installierst danach die hier verlinkte Version.
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

flummy1978

Salve,

Ich war mir sehr sehr sehr sicher, dass ich vorher defintiv keine Updates zu ziehen hatte ... Da fällt mir ein:  Kann es sein, dass das Update angezeigt wird, weil ich "Deine" Version außerhalb vom Fhem Update geladen hatte ? - Das wäre eine logische Erklärung...

Zitat von: CoolTux am 16 Mai 2020, 07:23:34
Du kannst ja das Update machen und installierst danach die hier verlinkte Version.
....
......Kannst Du bitte diese Version einmal installieren und testen.
Yiiihhaaa   ;D

Heute erstmaliger Test: Alles wie gehabt - 19:20 war privacy - KORREKT -> 19.30 Uhr war Nightclose (Fenster offen) -> Fenster blieb auf Privacy - KORREKT -> vor 5 Minuten Fenster geschlossen -> Rolladen fuhr auf geschlossen Position gefahren - Sprich,  die Nachtfahrt wurde nachgeholt KORREKT PERFEKT
Ich werde es morgen unter gleichen Umständen nochmal testen, aber magst Du verraten woran es lag ? Ich würde mir bei Gelegenheit gerne mal den Code anschauen wollen und versuchen das nachzuvollziehen :)

Vielen Dank für Deinen Einsatz und Deine Mühe ( ich fürchte ich gehe Dir demnächst noch weiter auf die Nerven, wenn ich wieder was entdecke *gg*)

VG
Andreas

CoolTux

Zitat von: flummy1978 am 16 Mai 2020, 19:57:45
Salve,

Ich war mir sehr sehr sehr sicher, dass ich vorher defintiv keine Updates zu ziehen hatte ... Da fällt mir ein:  Kann es sein, dass das Update angezeigt wird, weil ich "Deine" Version außerhalb vom Fhem Update geladen hatte ? - Das wäre eine logische Erklärung...
Yiiihhaaa   ;D

Heute erstmaliger Test: Alles wie gehabt - 19:20 war privacy - KORREKT -> 19.30 Uhr war Nightclose (Fenster offen) -> Fenster blieb auf Privacy - KORREKT -> vor 5 Minuten Fenster geschlossen -> Rolladen fuhr auf geschlossen Position gefahren - Sprich,  die Nachtfahrt wurde nachgeholt KORREKT PERFEKT
Ich werde es morgen unter gleichen Umständen nochmal testen, aber magst Du verraten woran es lag ? Ich würde mir bei Gelegenheit gerne mal den Code anschauen wollen und versuchen das nachzuvollziehen :)

Vielen Dank für Deinen Einsatz und Deine Mühe ( ich fürchte ich gehe Dir demnächst noch weiter auf die Nerven, wenn ich wieder was entdecke *gg*)

VG
Andreas

Also das Ausgangsproblem war ja das die PrivacyDown Position bei der Fenster closed Routine nicht beachtet wurde.
Ich habe dann den Code angepasst unter Berücksichtigung das es nur passiert wenn PrivacyDown abgelaufen ist (also nach Nachtfahrt) und es Nacht ist. Den Marker für abgeschlossene PrivacyDown hatte ich falsch abgefragt. Mit 0 statt 1. Hatte ich übersehen.
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

Ich habe eben die Version als Update für Morgen ausgerollt. Da ist dann auch das Problem von Dersch gelöst.
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

Dersch

Zitat von: CoolTux am 15 Mai 2020, 11:05:38
https://git-tuxnet.ddns.net/FHEM/mod-AutoShuttersControl/archive/master.zip

Kannst Du bitte diese Version einmal installieren und testen. Brauchst nur das

{ ascAPIget('IsDay','ROLLONAME') }

ausführen

Bei meinen Tests hat es funktioniert

Habe das Modul eben ausgetauscht. Da kommt aber immer noch 1. Die Läden im Kinderzimmer sind nun aber schon gefahren. Sollte ich lieber morgen nochmal schauen wenn alles im normalen Ablauf war?

Grüße

CoolTux

Zitat von: Dersch am 16 Mai 2020, 21:01:28
Habe das Modul eben ausgetauscht. Da kommt aber immer noch 1. Die Läden im Kinderzimmer sind nun aber schon gefahren. Sollte ich lieber morgen nochmal schauen wenn alles im normalen Ablauf war?

Grüße

Ja wäre besser.
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