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

Begonnen von CoolTux, 27 April 2019, 08:04:52

Vorheriges Thema - Nächstes Thema

CoolTux

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

andy19850

Super Modul!

Gibt es eine Möglichkeit, per eigenem Dummy (on/off) die Beschattung auszuführen/aufzuheben?
Ich ermittle das hier bei mir etwas anders...

CoolTux

Per Dummy nicht. Du kannst im ASC sagen set shading on oder off
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

hubiuwe

Hallo
Ich habe mal eine grundsätzliche Frage:
Wird bei den Atributen:

ASC_Mode_Up
ASC_Mode_Down
ASC_Shading_Mode

auch zwischen "absent" und "gone" unterschieden?

Ich frage aus dem Grund, da bei mir die Automatischen Funktionen ("Shading","night close" und "day open") immer in Betrieb sind außer, ich bin verreist.

Zur Zeit so gelöst:
Bei mir stehen die drei obigen Attribute auf "home" und ich habe als ASC_residentsDev ein Dummy "verreist" eingetragen bei dem der State immer "home" ist und nur bei "gone" auf "absent" wechselt.

Da dies Logik nicht mehr funktioniert seit dem ich für das Schlafzimmer einen ROOMMATE definiert habe  (das Rollo beschattet erst wenn ich nach hause komme), suche ich nach einer anderen Lösung für mein Problem.

Gruß
Die beste Automatik ist die, die man abschalten kann!

CoolTux

Bei den erwähnten Modi wird von absent und gone nur absent beachtet.

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

CoolTux

Zitat von: FunkOdyssey am 29 Juni 2019, 13:03:10
Ich stelle in v0.6.19.25 heute mehrmals fest, dass ASC die Beschattung immer wieder durchführt. Auch wenn die Jalousien wieder manuell hochgefahren wurden.
Du hattest das vor einiger Zeit gefixt. Ist aber nun wieder drin.

Debug-Log vorhanden. Muss ich aber am PC ziehen. Folgt.

Also laut Code wir manualBlocking beachtet.
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

FunkOdyssey

Zitat von: CoolTux am 29 Juni 2019, 16:24:28
Also laut Code wir manualBlocking beachtet.

Okay. Die 20min blockingTime wird tatsächlich gewartet.
Aber am 13.06. hattest du doch die wiederholten Beschattungsfahrten deaktiviert.
https://forum.fhem.de/index.php/topic,99980.msg948668.html#msg948668


Alcamar

Ich habe ein ASC-Device und mindestens ein Rollo dazu, das ich gerne mit Beschattungsfunktion laufen hätte.
Aus meiner Sicht habe ich alle Schritte in der CommandRef und Wiki befolgt und dachte, dass es jetzt endlich mal laufen sollte. Aber kein einziges Fenster wird beschattet.
Sieht jemand an den Listings mein Problem?
Als Lichtsensoren verwende ich Homematics-Bewegungs-Sensoren. Dort gibt es eine Reading brightness. Als Termometer habe ich auch ein Homematic eingebunden.

Internals:
   FUUID      5c481855-f33f-82e0-b537-9735bcc9a248f6e4
   FVERSION   73_AutoShuttersControl.pm:v0.6.19-s19638/2019-06-18 UNDER DEVELOP
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       RollladenDashboard
   NOTIFYDEV  CTA18,EG_FensterTerrasse_1,EG_FensterTerrasse_2,Garten_Bewegungsmelder_1,Garten_Bewegungsmelder_4,KE_Fenster_1,KE_Fenster_2,KE_Fenster_3,KE_Jalousie_1,KE_Jalousie_2,KE_Jalousie_3,Residents,RollladenDashboard,T,WZ_Fenster_2,WZ_Fenster_3,WZ_Jalousie_1,WZ_Jalousie_2,WZ_Jalousie_3,WZ_Jalousie_Terrasse1,WZ_Jalousie_Terrasse2,global
   NR         1637
   NTFY_ORDER 51-RollladenDashboard
   STATE      manual
   TYPE       AutoShuttersControl
   VERSION    v0.6.19
   OLDREADINGS:
   READINGS:
     2019-06-29 08:05:30   KE_Jalousie_1_PosValue 100
     2019-01-11 17:25:21   KE_Jalousie_1_lastDelayPosValue 0
     2019-06-29 08:05:02   KE_Jalousie_1_lastPosValue 100
     2019-06-29 08:05:02   KE_Jalousie_1_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-06-29 08:10:24   KE_Jalousie_2_PosValue 100
     2019-06-27 22:20:26   KE_Jalousie_2_lastDelayPosValue 30
     2019-06-29 08:10:01   KE_Jalousie_2_lastPosValue 100
     2019-06-29 08:10:01   KE_Jalousie_2_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-06-29 16:39:27   KE_Jalousie_3_PosValue 100
     2019-06-27 22:20:26   KE_Jalousie_3_lastDelayPosValue 30
     2019-06-29 08:15:02   KE_Jalousie_3_lastPosValue 100
     2019-06-29 08:15:02   KE_Jalousie_3_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-06-29 14:32:34   WZ_Jalousie_1_PosValue 53
     2019-01-11 17:35:01   WZ_Jalousie_1_lastDelayPosValue 0
     2019-06-29 07:45:02   WZ_Jalousie_1_lastPosValue 40
     2019-06-29 07:45:02   WZ_Jalousie_1_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-06-29 16:38:37   WZ_Jalousie_2_PosValue 90
     2019-01-11 17:25:21   WZ_Jalousie_2_lastDelayPosValue 0
     2019-06-29 08:30:02   WZ_Jalousie_2_lastPosValue 0
     2019-06-29 08:30:02   WZ_Jalousie_2_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-06-29 16:09:28   WZ_Jalousie_3_PosValue 90
     2019-01-11 17:41:18   WZ_Jalousie_3_lastDelayPosValue 0
     2019-06-29 08:30:02   WZ_Jalousie_3_lastPosValue 0
     2019-06-29 08:30:02   WZ_Jalousie_3_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-06-29 08:30:44   WZ_Jalousie_Terrasse1_PosValue 100
     2019-01-11 17:25:21   WZ_Jalousie_Terrasse1_lastDelayPosValue 0
     2019-06-29 08:30:02   WZ_Jalousie_Terrasse1_lastPosValue 0
     2019-06-29 08:30:02   WZ_Jalousie_Terrasse1_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-06-29 16:08:40   WZ_Jalousie_Terrasse2_PosValue 100
     2019-06-23 22:20:23   WZ_Jalousie_Terrasse2_lastDelayPosValue 30
     2019-06-29 07:50:01   WZ_Jalousie_Terrasse2_lastPosValue 0
     2019-06-29 07:50:01   WZ_Jalousie_Terrasse2_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-05-31 08:50:32   ascEnable       on
     2019-06-28 16:50:52   controlShading  on
     2019-01-11 17:14:52   hardLockOut     off
     2019-01-11 17:44:31   partyMode       off
     2019-06-24 19:28:20   room_EG_KEZ     KE_Jalousie_1,KE_Jalousie_2,KE_Jalousie_3
     2019-06-24 19:28:20   room_EG_Wohnzimmer WZ_Jalousie_1,WZ_Jalousie_2,WZ_Jalousie_3,WZ_Jalousie_Terrasse1,WZ_Jalousie_Terrasse2
     2019-01-08 20:12:55   selfDefense     on
     2019-06-29 16:39:27   state           manual
     2019-01-08 10:27:29   sunriseTimeWeHoliday on
     2019-06-24 19:28:20   userAttrList    rolled out
   helper:
     shuttersList:
       KE_Jalousie_1
       KE_Jalousie_2
       KE_Jalousie_3
       WZ_Jalousie_1
       WZ_Jalousie_2
       WZ_Jalousie_3
       WZ_Jalousie_Terrasse1
       WZ_Jalousie_Terrasse2
   monitoredDevs:
     CTA18:
       RolladenDashboard ASC_residentsDevice
     EG_FensterTerrasse_1:
       WZ_Jalousie_Terrasse1 ASC_WindowRec
     EG_FensterTerrasse_2:
       WZ_Jalousie_Terrasse2 ASC_WindowRec
     Garten_Bewegungsmelder_1:
       WZ_Jalousie_2 ASC_BrightnessSensor
     Garten_Bewegungsmelder_4:
       KE_Jalousie_3 ASC_BrightnessSensor
     KE_Fenster_1:
       KE_Jalousie_1 ASC_WindowRec
     KE_Fenster_2:
       KE_Jalousie_2 ASC_WindowRec
     KE_Fenster_3:
       KE_Jalousie_3 ASC_WindowRec
     KE_Jalousie_1:
     KE_Jalousie_2:
     KE_Jalousie_3:
     Residents:
       RolladenDashboard ASC_residentsDevice
     T:
       RolladenDashboard ASC_twilightDevice
     WZ_Fenster_2:
       WZ_Jalousie_2 ASC_WindowRec
     WZ_Fenster_3:
       WZ_Jalousie_3 ASC_WindowRec
     WZ_Jalousie_1:
     WZ_Jalousie_2:
     WZ_Jalousie_3:
     WZ_Jalousie_Terrasse1:
     WZ_Jalousie_Terrasse2:
Attributes:
   ASC_autoAstroModeEvening CIVIL
   ASC_autoAstroModeMorning CIVIL
   ASC_autoShuttersControlComfort on
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_freezeTemp 3
   ASC_residentsDev CTA18:state
   ASC_shuttersDriveOffset 1
   ASC_tempSensor Garten_Thermometer:temperature
   ASC_twilightDevice T
   devStateIcon selfeDefense.terrace:fts_door_tilt created.new.drive.timer:clock .*asleep:scene_sleeping roommate.(awoken|home):user_available residents.(home|awoken):status_available manual:fts_shutter_manual selfeDefense.active:status_locked selfeDefense.inactive:status_open day.open:scene_day night.close:scene_night
   group      Automatik
   icon       fts_shutter_automatic@green
   room       Jalousien


und ein Rollo dazu:
Internals:
   CFGFN      FHEM/Wohnzimmer.cfg
   CUL_0_MSGCNT 68
   CUL_0_RAWMSG A0D31A4101BD0518F55B306012F00::-66:CUL_0
   CUL_0_RSSI -66
   CUL_0_TIME 2019-06-29 16:38:52
   DEF        1BD051
   FUUID      5c481845-f33f-82e0-4d71-be6a4f632c362ad3
   IODev      hmusb
   LASTInputDev hmusb
   MSGCNT     150
   NAME       WZ_Jalousie_2
   NOTIFYDEV  global
   NR         240
   NTFY_ORDER 50-WZ_Jalousie_2
   STATE      23.5
   TYPE       CUL_HM
   chanNo     01
   hmusb_MSGCNT 82
   hmusb_RAWMSG E1BD051,0000,91B5D340,FF,FFB7,31A4101BD0518F55B306012F00
   hmusb_RSSI -73
   hmusb_TIME 2019-06-29 16:38:52
   lastMsg    No:31 - t:10 s:1BD051 d:8F55B3 06012F00
   protLastRcv 2019-06-29 16:38:52
   protRcv    79 last_at:2019-06-29 16:38:52
   protSnd    82 last_at:2019-06-29 16:38:52
   protState  CMDs_done
   rssi_at_CUL_0 cnt:68 min:-76 max:-65.5 avg:-68.8 lst:-66
   rssi_at_hmusb cnt:82 min:-76 max:-69 avg:-71.84 lst:-73
   rssi_hmusb cnt:44 min:-73 max:-66 avg:-69.4 lst:-72
   READINGS:
     2019-05-31 08:50:32   ASC_Enable      on
     2019-06-29 16:38:37   ASC_ShuttersLastDrive manual
     2019-06-29 08:30:02   ASC_Time_DriveDown 29.06.2019 - 22:20
     2019-06-29 08:30:02   ASC_Time_DriveUp 30.06.2019 - 08:30
     2019-06-29 08:30:02   CommandAccepted yes
     2014-11-30 21:57:12   D-firmware      2.1
     2014-11-30 21:57:12   D-serialNr      JEQ0116251
     2019-06-26 15:36:04   PairedTo        0x8F55B3
     2015-05-03 13:22:34   R-driveDown     20 s
     2015-05-03 13:22:34   R-driveTurn     0.5 s
     2015-05-03 13:22:34   R-driveUp       20 s
     2015-05-03 13:22:34   R-pairCentral   0x8F55B3
     2015-05-03 13:22:34   R-sign          off
     2019-06-26 15:36:04   RegL_00.         00:00 02:01 0A:8F 0B:55 0C:B3 15:FF
     2019-06-26 15:36:05   RegL_01.         00:00 08:00 09:00 0A:00 0B:00 0C:C8 0D:00 0E:C8 0F:05 10:00
     2019-06-24 19:28:22   associatedWith  RollladenDashboard
     2019-06-29 16:38:52   deviceMsg       23.5 (to myVCCU)
     2019-06-29 16:38:52   level           23.5
     2016-07-27 15:22:21   levelMissed     desired:20
     2019-06-29 16:38:52   motor           stop:23.5
     2019-06-29 16:38:52   pct             23.5
     2019-06-26 15:35:41   powerOn         2019-06-26 15:35:41
     2019-06-29 16:38:52   recentStateType info
     2019-06-29 16:38:52   state           23.5
     2019-06-29 16:38:52   timedOn         off
   helper:
     HM_CMDNR   49
     PONtest    0
     cSnd       118F55B31BD051020100,118F55B31BD0510201C8
     dlvlCmd    ++A0118F55B31BD0510201C8
     mId        0005
     peerFriend peerSens,peerVirt
     peerIDsRaw ,00000000
     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     +1BD051,00,00,00
       nextSend   1561819132.59202
       rxt        0
       vccu       myVCCU
       p:
         1BD051
         00
         00
         00
       prefIO:
         hmusb
     mRssi:
       mNo        31
       io:
         CUL_0:
           -66
           -66
         hmusb:
           -71
           -71
     prt:
       bErr       0
       sProc      0
       rspWait:
     q:
       qReqConf   
       qReqStat   
     regCollect:
     role:
       chn        1
       dev        1
       prs        1
     rpt:
       IO         CUL_0
       flg        A
       ts         1561819132.2882
       ack:
         HASH(0x2de11d8)
         3180028F55B31BD05100
     rssi:
       at_CUL_0:
         avg        -68.8014705882353
         cnt        68
         lst        -66
         max        -65.5
         min        -76
       at_hmusb:
         avg        -71.8414634146341
         cnt        82
         lst        -73
         max        -69
         min        -76
       hmusb:
         avg        -69.4090909090909
         cnt        44
         lst        -72
         max        -66
         min        -73
     shadowReg:
     tmpl:
Attributes:
   ASC        2
   ASC_Antifreeze off
   ASC_Antifreeze_Pos 15
   ASC_AutoAstroModeEvening none
   ASC_AutoAstroModeEveningHorizon none
   ASC_AutoAstroModeMorning none
   ASC_AutoAstroModeMorningHorizon none
   ASC_BlockingTime_afterManual 1200
   ASC_BlockingTime_beforDayOpen 3600
   ASC_BlockingTime_beforNightClose 3600
   ASC_BrightnessSensor Garten_Bewegungsmelder_1:brightness
   ASC_Closed_Pos 0
   ASC_ComfortOpen_Pos 80
   ASC_Down   astro
   ASC_Drive_Offset -1
   ASC_Drive_OffsetStart -1
   ASC_GuestRoom none
   ASC_LockOut off
   ASC_LockOut_Cmd none
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Open_Pos 100
   ASC_Partymode on
   ASC_Pos_Reading pct
   ASC_PrivacyDownTime_beforNightClose -1
   ASC_PrivacyDown_Pos 50
   ASC_Roommate_Device none
   ASC_Roommate_Reading state
   ASC_Self_Defense_Exclude off
   ASC_Shading_Angle_Left 75
   ASC_Shading_Angle_Right 75
   ASC_Shading_Direction 256
   ASC_Shading_MinMax_Elevation 25
   ASC_Shading_Min_OutsideTemperature 18
   ASC_Shading_Mode always
   ASC_Shading_Pos 50
   ASC_Shading_StateChange_Cloudy 150
   ASC_Shading_StateChange_Sunny 200
   ASC_Shading_WaitingPeriod 1200
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 15:30
   ASC_Time_Down_Late 22:30
   ASC_Time_Up_Early 05:50
   ASC_Time_Up_Late 09:00
   ASC_Time_Up_WE_Holiday 08:30
   ASC_Up     astro
   ASC_Ventilate_Pos 30
   ASC_Ventilate_Window_Open on
   ASC_WiggleValue 5
   ASC_WindowRec WZ_Fenster_2
   ASC_WindowRec_subType threestate
   IODev      CUL_0
   IOgrp      myVCCU:hmusb
   autoReadReg 5_readMissing
   devStateIcon 1.*:shutter_7 2.*:shutter_7 3.*:shutter_6 4.*:shutter_5 5.*:shutter_halfopen 6.*:shutter_4 7.*:shutter_3 8.*:shutter_2 9.*:shutter_1 .*on:shutter_open .*off:shutter_closed
   expert     2_full
   firmware   2.1
   fp_EG      169,973,5,Jalousie_2
   group      Jalousien
   icon       fts_shutter_updown
   model      HM-LC-BL1PBU-FM
   peerIDs    00000000,
   room       EG,Wohnzimmer
   serialNr   JEQ0116251
   subType    blindActuator
   userattr   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 ASC_DriveUpMaxDuration ASC_Drive_Offset ASC_Drive_OffsetStart 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_PrivacyDownTime_beforNightClose ASC_PrivacyDown_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_Exclude:on,off ASC_Shading_Angle_Left ASC_Shading_Angle_Right ASC_Shading_Direction 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_Cloudy ASC_Shading_StateChange_Sunny ASC_Shading_WaitingPeriod ASC_ShuttersPlace:window,terrace 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 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_subType:twostate,threestate lightSceneParamsToSave lightSceneRestoreOnlyIfChanged:1,0 room_map structexclude
   verbose    0
   webCmd     stop:up:80:60:40:20:down:statusRequest

Onca

Gibt es bei Dir einen Grund für den ASC_Partymode = on?

Gruß

Bernd

CoolTux

Zitat von: FunkOdyssey am 29 Juni 2019, 16:47:29
Okay. Die 20min blockingTime wird tatsächlich gewartet.
Aber am 13.06. hattest du doch die wiederholten Beschattungsfahrten deaktiviert.
https://forum.fhem.de/index.php/topic,99980.msg948668.html#msg948668

Ok das schaue ich mir noch mal 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

kjmEjfu

Zitat von: Alcamar am 29 Juni 2019, 17:10:41
Ich habe ein ASC-Device und mindestens ein Rollo dazu, das ich gerne mit Beschattungsfunktion laufen hätte.
Aus meiner Sicht habe ich alle Schritte in der CommandRef und Wiki befolgt und dachte, dass es jetzt endlich mal laufen sollte. Aber kein einziges Fenster wird beschattet.
Sieht jemand an den Listings mein Problem?
Als Lichtsensoren verwende ich Homematics-Bewegungs-Sensoren. Dort gibt es eine Reading brightness. Als Termometer habe ich auch ein Homematic eingebunden.

Wenn ich das richtige sehe, steht dein Rollo aktuell auf 25. Als Position für Shading hast du 50 eingestellt.
Da 25 < 50 macht es, soweit ich das in Erinnerung habe, für ASC keinen Sinn zu fahren, da du das Rollo ja bereits tiefer gefahren hast.
Migriere derzeit zu Home Assistant

Alcamar

 Um die grundsätzliche Funktion zu testen, hatte ich ganz hochgefahren. Auch eine Weile gewartet. Als ich die Lust verloren habe, habe ich die Listen erstellt. Davor noch mal manuell runter gefahren.

Alcamar

Zitat von: Onca am 29 Juni 2019, 17:25:32
Gibt es bei Dir einen Grund für den ASC_Partymode = on?

Gruß

Bernd

Nutze ich hauptsächlich dann, wenn Gäste da sind und ich nicht will, dass "plötzlich" alle Rollos unten sind.
Wenn alle weg sind, setze ich wieder auf "off" und alles fährt in die Position, die in der Automatisierung vorgesehen war. Vor ASC hatte ich mir sowas umständlich programmiert. Mit ASC konnte ich meine Lösung "deaktichivieren" ;D

CoolTux

Zitat von: Alcamar am 29 Juni 2019, 17:10:41
Ich habe ein ASC-Device und mindestens ein Rollo dazu, das ich gerne mit Beschattungsfunktion laufen hätte.
Aus meiner Sicht habe ich alle Schritte in der CommandRef und Wiki befolgt und dachte, dass es jetzt endlich mal laufen sollte. Aber kein einziges Fenster wird beschattet.
Sieht jemand an den Listings mein Problem?
Als Lichtsensoren verwende ich Homematics-Bewegungs-Sensoren. Dort gibt es eine Reading brightness. Als Termometer habe ich auch ein Homematic eingebunden.

Internals:
   FUUID      5c481855-f33f-82e0-b537-9735bcc9a248f6e4
   FVERSION   73_AutoShuttersControl.pm:v0.6.19-s19638/2019-06-18 UNDER DEVELOP
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       RollladenDashboard
   NOTIFYDEV  CTA18,EG_FensterTerrasse_1,EG_FensterTerrasse_2,Garten_Bewegungsmelder_1,Garten_Bewegungsmelder_4,KE_Fenster_1,KE_Fenster_2,KE_Fenster_3,KE_Jalousie_1,KE_Jalousie_2,KE_Jalousie_3,Residents,RollladenDashboard,T,WZ_Fenster_2,WZ_Fenster_3,WZ_Jalousie_1,WZ_Jalousie_2,WZ_Jalousie_3,WZ_Jalousie_Terrasse1,WZ_Jalousie_Terrasse2,global
   NR         1637
   NTFY_ORDER 51-RollladenDashboard
   STATE      manual
   TYPE       AutoShuttersControl
   VERSION    v0.6.19
   OLDREADINGS:
   READINGS:
     2019-06-29 08:05:30   KE_Jalousie_1_PosValue 100
     2019-01-11 17:25:21   KE_Jalousie_1_lastDelayPosValue 0
     2019-06-29 08:05:02   KE_Jalousie_1_lastPosValue 100
     2019-06-29 08:05:02   KE_Jalousie_1_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-06-29 08:10:24   KE_Jalousie_2_PosValue 100
     2019-06-27 22:20:26   KE_Jalousie_2_lastDelayPosValue 30
     2019-06-29 08:10:01   KE_Jalousie_2_lastPosValue 100
     2019-06-29 08:10:01   KE_Jalousie_2_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-06-29 16:39:27   KE_Jalousie_3_PosValue 100
     2019-06-27 22:20:26   KE_Jalousie_3_lastDelayPosValue 30
     2019-06-29 08:15:02   KE_Jalousie_3_lastPosValue 100
     2019-06-29 08:15:02   KE_Jalousie_3_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-06-29 14:32:34   WZ_Jalousie_1_PosValue 53
     2019-01-11 17:35:01   WZ_Jalousie_1_lastDelayPosValue 0
     2019-06-29 07:45:02   WZ_Jalousie_1_lastPosValue 40
     2019-06-29 07:45:02   WZ_Jalousie_1_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-06-29 16:38:37   WZ_Jalousie_2_PosValue 90
     2019-01-11 17:25:21   WZ_Jalousie_2_lastDelayPosValue 0
     2019-06-29 08:30:02   WZ_Jalousie_2_lastPosValue 0
     2019-06-29 08:30:02   WZ_Jalousie_2_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-06-29 16:09:28   WZ_Jalousie_3_PosValue 90
     2019-01-11 17:41:18   WZ_Jalousie_3_lastDelayPosValue 0
     2019-06-29 08:30:02   WZ_Jalousie_3_lastPosValue 0
     2019-06-29 08:30:02   WZ_Jalousie_3_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-06-29 08:30:44   WZ_Jalousie_Terrasse1_PosValue 100
     2019-01-11 17:25:21   WZ_Jalousie_Terrasse1_lastDelayPosValue 0
     2019-06-29 08:30:02   WZ_Jalousie_Terrasse1_lastPosValue 0
     2019-06-29 08:30:02   WZ_Jalousie_Terrasse1_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-06-29 16:08:40   WZ_Jalousie_Terrasse2_PosValue 100
     2019-06-23 22:20:23   WZ_Jalousie_Terrasse2_lastDelayPosValue 30
     2019-06-29 07:50:01   WZ_Jalousie_Terrasse2_lastPosValue 0
     2019-06-29 07:50:01   WZ_Jalousie_Terrasse2_nextAstroTimeEvent 29.06.2019 - 22:20
     2019-05-31 08:50:32   ascEnable       on
     2019-06-28 16:50:52   controlShading  on
     2019-01-11 17:14:52   hardLockOut     off
     2019-01-11 17:44:31   partyMode       off
     2019-06-24 19:28:20   room_EG_KEZ     KE_Jalousie_1,KE_Jalousie_2,KE_Jalousie_3
     2019-06-24 19:28:20   room_EG_Wohnzimmer WZ_Jalousie_1,WZ_Jalousie_2,WZ_Jalousie_3,WZ_Jalousie_Terrasse1,WZ_Jalousie_Terrasse2
     2019-01-08 20:12:55   selfDefense     on
     2019-06-29 16:39:27   state           manual
     2019-01-08 10:27:29   sunriseTimeWeHoliday on
     2019-06-24 19:28:20   userAttrList    rolled out
   helper:
     shuttersList:
       KE_Jalousie_1
       KE_Jalousie_2
       KE_Jalousie_3
       WZ_Jalousie_1
       WZ_Jalousie_2
       WZ_Jalousie_3
       WZ_Jalousie_Terrasse1
       WZ_Jalousie_Terrasse2
   monitoredDevs:
     CTA18:
       RolladenDashboard ASC_residentsDevice
     EG_FensterTerrasse_1:
       WZ_Jalousie_Terrasse1 ASC_WindowRec
     EG_FensterTerrasse_2:
       WZ_Jalousie_Terrasse2 ASC_WindowRec
     Garten_Bewegungsmelder_1:
       WZ_Jalousie_2 ASC_BrightnessSensor
     Garten_Bewegungsmelder_4:
       KE_Jalousie_3 ASC_BrightnessSensor
     KE_Fenster_1:
       KE_Jalousie_1 ASC_WindowRec
     KE_Fenster_2:
       KE_Jalousie_2 ASC_WindowRec
     KE_Fenster_3:
       KE_Jalousie_3 ASC_WindowRec
     KE_Jalousie_1:
     KE_Jalousie_2:
     KE_Jalousie_3:
     Residents:
       RolladenDashboard ASC_residentsDevice
     T:
       RolladenDashboard ASC_twilightDevice
     WZ_Fenster_2:
       WZ_Jalousie_2 ASC_WindowRec
     WZ_Fenster_3:
       WZ_Jalousie_3 ASC_WindowRec
     WZ_Jalousie_1:
     WZ_Jalousie_2:
     WZ_Jalousie_3:
     WZ_Jalousie_Terrasse1:
     WZ_Jalousie_Terrasse2:
Attributes:
   ASC_autoAstroModeEvening CIVIL
   ASC_autoAstroModeMorning CIVIL
   ASC_autoShuttersControlComfort on
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_freezeTemp 3
   ASC_residentsDev CTA18:state
   ASC_shuttersDriveOffset 1
   ASC_tempSensor Garten_Thermometer:temperature
   ASC_twilightDevice T
   devStateIcon selfeDefense.terrace:fts_door_tilt created.new.drive.timer:clock .*asleep:scene_sleeping roommate.(awoken|home):user_available residents.(home|awoken):status_available manual:fts_shutter_manual selfeDefense.active:status_locked selfeDefense.inactive:status_open day.open:scene_day night.close:scene_night
   group      Automatik
   icon       fts_shutter_automatic@green
   room       Jalousien


und ein Rollo dazu:
Internals:
   CFGFN      FHEM/Wohnzimmer.cfg
   CUL_0_MSGCNT 68
   CUL_0_RAWMSG A0D31A4101BD0518F55B306012F00::-66:CUL_0
   CUL_0_RSSI -66
   CUL_0_TIME 2019-06-29 16:38:52
   DEF        1BD051
   FUUID      5c481845-f33f-82e0-4d71-be6a4f632c362ad3
   IODev      hmusb
   LASTInputDev hmusb
   MSGCNT     150
   NAME       WZ_Jalousie_2
   NOTIFYDEV  global
   NR         240
   NTFY_ORDER 50-WZ_Jalousie_2
   STATE      23.5
   TYPE       CUL_HM
   chanNo     01
   hmusb_MSGCNT 82
   hmusb_RAWMSG E1BD051,0000,91B5D340,FF,FFB7,31A4101BD0518F55B306012F00
   hmusb_RSSI -73
   hmusb_TIME 2019-06-29 16:38:52
   lastMsg    No:31 - t:10 s:1BD051 d:8F55B3 06012F00
   protLastRcv 2019-06-29 16:38:52
   protRcv    79 last_at:2019-06-29 16:38:52
   protSnd    82 last_at:2019-06-29 16:38:52
   protState  CMDs_done
   rssi_at_CUL_0 cnt:68 min:-76 max:-65.5 avg:-68.8 lst:-66
   rssi_at_hmusb cnt:82 min:-76 max:-69 avg:-71.84 lst:-73
   rssi_hmusb cnt:44 min:-73 max:-66 avg:-69.4 lst:-72
   READINGS:
     2019-05-31 08:50:32   ASC_Enable      on
     2019-06-29 16:38:37   ASC_ShuttersLastDrive manual
     2019-06-29 08:30:02   ASC_Time_DriveDown 29.06.2019 - 22:20
     2019-06-29 08:30:02   ASC_Time_DriveUp 30.06.2019 - 08:30
     2019-06-29 08:30:02   CommandAccepted yes
     2014-11-30 21:57:12   D-firmware      2.1
     2014-11-30 21:57:12   D-serialNr      JEQ0116251
     2019-06-26 15:36:04   PairedTo        0x8F55B3
     2015-05-03 13:22:34   R-driveDown     20 s
     2015-05-03 13:22:34   R-driveTurn     0.5 s
     2015-05-03 13:22:34   R-driveUp       20 s
     2015-05-03 13:22:34   R-pairCentral   0x8F55B3
     2015-05-03 13:22:34   R-sign          off
     2019-06-26 15:36:04   RegL_00.         00:00 02:01 0A:8F 0B:55 0C:B3 15:FF
     2019-06-26 15:36:05   RegL_01.         00:00 08:00 09:00 0A:00 0B:00 0C:C8 0D:00 0E:C8 0F:05 10:00
     2019-06-24 19:28:22   associatedWith  RollladenDashboard
     2019-06-29 16:38:52   deviceMsg       23.5 (to myVCCU)
     2019-06-29 16:38:52   level           23.5
     2016-07-27 15:22:21   levelMissed     desired:20
     2019-06-29 16:38:52   motor           stop:23.5
     2019-06-29 16:38:52   pct             23.5
     2019-06-26 15:35:41   powerOn         2019-06-26 15:35:41
     2019-06-29 16:38:52   recentStateType info
     2019-06-29 16:38:52   state           23.5
     2019-06-29 16:38:52   timedOn         off
   helper:
     HM_CMDNR   49
     PONtest    0
     cSnd       118F55B31BD051020100,118F55B31BD0510201C8
     dlvlCmd    ++A0118F55B31BD0510201C8
     mId        0005
     peerFriend peerSens,peerVirt
     peerIDsRaw ,00000000
     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     +1BD051,00,00,00
       nextSend   1561819132.59202
       rxt        0
       vccu       myVCCU
       p:
         1BD051
         00
         00
         00
       prefIO:
         hmusb
     mRssi:
       mNo        31
       io:
         CUL_0:
           -66
           -66
         hmusb:
           -71
           -71
     prt:
       bErr       0
       sProc      0
       rspWait:
     q:
       qReqConf   
       qReqStat   
     regCollect:
     role:
       chn        1
       dev        1
       prs        1
     rpt:
       IO         CUL_0
       flg        A
       ts         1561819132.2882
       ack:
         HASH(0x2de11d8)
         3180028F55B31BD05100
     rssi:
       at_CUL_0:
         avg        -68.8014705882353
         cnt        68
         lst        -66
         max        -65.5
         min        -76
       at_hmusb:
         avg        -71.8414634146341
         cnt        82
         lst        -73
         max        -69
         min        -76
       hmusb:
         avg        -69.4090909090909
         cnt        44
         lst        -72
         max        -66
         min        -73
     shadowReg:
     tmpl:
Attributes:
   ASC        2
   ASC_Antifreeze off
   ASC_Antifreeze_Pos 15
   ASC_AutoAstroModeEvening none
   ASC_AutoAstroModeEveningHorizon none
   ASC_AutoAstroModeMorning none
   ASC_AutoAstroModeMorningHorizon none
   ASC_BlockingTime_afterManual 1200
   ASC_BlockingTime_beforDayOpen 3600
   ASC_BlockingTime_beforNightClose 3600
   ASC_BrightnessSensor Garten_Bewegungsmelder_1:brightness
   ASC_Closed_Pos 0
   ASC_ComfortOpen_Pos 80
   ASC_Down   astro
   ASC_Drive_Offset -1
   ASC_Drive_OffsetStart -1
   ASC_GuestRoom none
   ASC_LockOut off
   ASC_LockOut_Cmd none
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Open_Pos 100
   ASC_Partymode on
   ASC_Pos_Reading pct
   ASC_PrivacyDownTime_beforNightClose -1
   ASC_PrivacyDown_Pos 50
   ASC_Roommate_Device none
   ASC_Roommate_Reading state
   ASC_Self_Defense_Exclude off
   ASC_Shading_Angle_Left 75
   ASC_Shading_Angle_Right 75
   ASC_Shading_Direction 256
   ASC_Shading_MinMax_Elevation 25
   ASC_Shading_Min_OutsideTemperature 18
   ASC_Shading_Mode always
   ASC_Shading_Pos 50
   ASC_Shading_StateChange_Cloudy 150
   ASC_Shading_StateChange_Sunny 200
   ASC_Shading_WaitingPeriod 1200
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 15:30
   ASC_Time_Down_Late 22:30
   ASC_Time_Up_Early 05:50
   ASC_Time_Up_Late 09:00
   ASC_Time_Up_WE_Holiday 08:30
   ASC_Up     astro
   ASC_Ventilate_Pos 30
   ASC_Ventilate_Window_Open on
   ASC_WiggleValue 5
   ASC_WindowRec WZ_Fenster_2
   ASC_WindowRec_subType threestate
   IODev      CUL_0
   IOgrp      myVCCU:hmusb
   autoReadReg 5_readMissing
   devStateIcon 1.*:shutter_7 2.*:shutter_7 3.*:shutter_6 4.*:shutter_5 5.*:shutter_halfopen 6.*:shutter_4 7.*:shutter_3 8.*:shutter_2 9.*:shutter_1 .*on:shutter_open .*off:shutter_closed
   expert     2_full
   firmware   2.1
   fp_EG      169,973,5,Jalousie_2
   group      Jalousien
   icon       fts_shutter_updown
   model      HM-LC-BL1PBU-FM
   peerIDs    00000000,
   room       EG,Wohnzimmer
   serialNr   JEQ0116251
   subType    blindActuator
   userattr   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 ASC_DriveUpMaxDuration ASC_Drive_Offset ASC_Drive_OffsetStart 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_PrivacyDownTime_beforNightClose ASC_PrivacyDown_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_Exclude:on,off ASC_Shading_Angle_Left ASC_Shading_Angle_Right ASC_Shading_Direction 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_Cloudy ASC_Shading_StateChange_Sunny ASC_Shading_WaitingPeriod ASC_ShuttersPlace:window,terrace 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 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_subType:twostate,threestate lightSceneParamsToSave lightSceneRestoreOnlyIfChanged:1,0 room_map structexclude
   verbose    0
   webCmd     stop:up:80:60:40:20:down:statusRequest


Sieht soweit gut aus. Am besten Du aktivierst einmal debug im ASC dann sehen wir Recht schnell wo es klemmt.
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: FunkOdyssey am 29 Juni 2019, 13:03:10
Ich stelle in v0.6.19.25 heute mehrmals fest, dass ASC die Beschattung immer wieder durchführt. Auch wenn die Jalousien wieder manuell hochgefahren wurden.
Du hattest das vor einiger Zeit gefixt. Ist aber nun wieder drin.

Debug-Log vorhanden. Muss ich aber am PC ziehen. Folgt.

Ich habe mich leider nicht mehr daran erinnert wie ich das gemacht habe  :-[. Da ich aber das dafür verwendete Objekt Zweckentfremdet habe, habe ich ein neues geschaffen und ich denke es diesmal auch etwas besser gemacht  ;D

Bitte einmal die neuste Devel testen.


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