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

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

Vorheriges Thema - Nächstes Thema

sledge

Danke Dir,

event-on-change hatte ich bisher nur bei den Shelly, da die regelmäßig via mqtt den Status melden. Drive Offset je Device habe ich jetzt auch gesetzt - war mir nicht (mehr) klar, dass es auch an jedem Device gesetzt werden muss.

Wenn ich noch was tun kann, let me know.

Gruß,

Tom
FHEM: debian Intel-NUC / 25 x MAX!, 15 x HM-bidcos, MQTT, 3 x 1wire, 20 x Shelly, 20 x Tasmota, 12 x Yeelight, Opentherm-GW, Espeasy, alexa-fhem, kodi, unifi, musiccast, ...

CoolTux

Nicht DriveOffset an jedem Device sondern DriveOffsetStart an jedem Device.
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

sledge

Zitat von: CoolTux am 05 Oktober 2019, 21:07:05
Nicht DriveOffset an jedem Device sondern DriveOffsetStart an jedem Device.
Habe ich auch gemacht - war nur "Faulheit beim tippen. Aber Danke für den Hinweis :-)

Event-on-change-reading hat schonmal geholfen - wir haben 12:10 und der Status steht auf "day open" - nicht auf manuell...

Gruß,
Tom
FHEM: debian Intel-NUC / 25 x MAX!, 15 x HM-bidcos, MQTT, 3 x 1wire, 20 x Shelly, 20 x Tasmota, 12 x Yeelight, Opentherm-GW, Espeasy, alexa-fhem, kodi, unifi, musiccast, ...

angkor78

Hallo zusammen

Ich versuche nun schon eine ganze weile, meine Rollladen  durch meinen Lux Sensor steuern zu lassen,
nur leider will es einfach nicht gelingen.

Mit einer sehr frühen Version lief es eigentlich schon einmal.

hier mal ein list des ASC Device

Internals:
   CFGFN     
   FUUID      5d95cba4-f33f-b856-37b2-c0a7c01e79861866
   FVERSION   73_AutoShuttersControl.pm:v0.6.32-s20223/2019-09-22 UNDER DEVELOP
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       Rolladensteuerung
   NOTIFYDEV  ESPEasy_WetterESP,Rolladensteuerung,Twilight,global,og_fenster_sz_r,og_fenster_wz,rgr_Bewohner,rr_Stefan,rolladen.og.kue,rolladen.rechts.og.sz,rolladen.wz.og
   NR         257
   NTFY_ORDER 51-Rolladensteuerung
   STATE      residents awoken
   TYPE       AutoShuttersControl
   VERSION    v0.6.32
   OLDREADINGS:
   READINGS:
     2019-10-03 12:36:25   ascEnable       on
     2019-10-03 12:21:24   controlShading  off
     2019-10-03 12:21:24   hardLockOut     off
     2019-10-06 10:00:23   rolladen.og.kue_PosValue 100
     2019-10-06 10:00:01   rolladen.og.kue_lastPosValue 0
     2019-10-06 10:00:01   rolladen.og.kue_nextAstroTimeEvent  6.10.2019 - 22:30
     2019-10-06 11:11:12   rolladen.rechts.og.sz_PosValue 100
     2019-10-06 11:10:50   rolladen.rechts.og.sz_lastPosValue 0
     2019-10-06 07:45:06   rolladen.rechts.og.sz_nextAstroTimeEvent  6.10.2019 - 19:44
     2019-10-06 11:11:13   rolladen.wz.og_PosValue 100
     2019-10-06 10:00:01   rolladen.wz.og_lastPosValue 0
     2019-10-06 10:00:01   rolladen.wz.og_nextAstroTimeEvent  6.10.2019 - 22:30
     2019-10-03 13:12:48   room_00_Wohnzimmer_AutoShuttersControl rolladen.wz.og
     2019-10-03 13:12:48   room_10_Schlafzimmer_AutoShuttersControl rolladen.rechts.og.sz
     2019-10-03 13:12:48   room_20_Kueche_AutoShuttersControl rolladen.og.kue
     2019-10-03 12:21:24   selfDefense     off
     2019-10-06 11:11:13   state           residents awoken
     2019-10-03 12:21:24   sunriseTimeWeHoliday off
     2019-10-03 13:12:48   userAttrList    rolled out
   helper:
     shuttersList:
       rolladen.og.kue
       rolladen.rechts.og.sz
       rolladen.wz.og
   monitoredDevs:
     ESPEasy_WetterESP:
       rolladen.og.kue ASC_BrightnessSensor
       rolladen.wz.og ASC_BrightnessSensor
     Twilight:
       Rolladensteuerung ASC_twilightDevice
     og_fenster_sz_r:
       rolladen.rechts.og.sz ASC_WindowRec
     og_fenster_wz:
       rolladen.wz.og ASC_WindowRec
     rgr_Bewohner:
       Rolladensteuerung ASC_residentsDev
     rolladen.og.kue:
     rolladen.rechts.og.sz:
     rolladen.wz.og:
     rr_Stefan:
       rolladen.rechts.og.sz ASC_Roommate_Device
Attributes:
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_brightnessDriveUpDown 90:90
   ASC_expert 1
   ASC_residentsDev rgr_Bewohner:state
   ASC_tempSensor ESPEasy_WetterESP:Temperature
   ASC_twilightDevice Twilight
   devStateIcon selfDefense.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 selfDefense.active:status_locked selfDefense.inactive:status_open day.open:scene_day night.close:scene_night shading.in:weather_sun shading.out:weather_cloudy
   icon       fts_shutter_automatic
   room       AutoShuttersControl


und von einem Rolladen

Internals:
   DEF        469CE5
   FUUID      5c728945-f33f-b856-2af7-4005fe428714398f
   HMLGW_MSGCNT 40
   HMLGW_RAWMSG 0501002F54A410469CE52017890601C800
   HMLGW_RSSI -47
   HMLGW_TIME 2019-10-06 11:11:13
   IODev      HMLGW
   LASTInputDev HMLGW
   MSGCNT     40
   NAME       rolladen.wz.og
   NOTIFYDEV  global
   NR         74
   NTFY_ORDER 50-rolladen.wz.og
   STATE      on
   TYPE       CUL_HM
   chanNo     01
   lastMsg    No:54 - t:10 s:469CE5 d:201789 0601C800
   protLastRcv 2019-10-06 11:11:13
   protRcv    39 last_at:2019-10-06 11:11:13
   protResnd  1 last_at:2019-10-03 12:21:23
   protSnd    42 last_at:2019-10-06 11:11:13
   protState  CMDs_done
   rssi_HMLGW cnt:16 min:-63 max:-48 avg:-55.56 lst:-56
   rssi_at_HMLGW cnt:40 min:-55 max:-38 avg:-46.52 lst:-47
   OLDREADINGS:
   READINGS:
     2019-10-03 13:10:22   ASC_Enable      on
     2019-10-06 11:11:13   ASC_ShuttersLastDrive residents awoken
     2019-10-06 10:00:01   ASC_Time_DriveDown  6.10.2019 - 22:30
     2019-10-06 10:00:01   ASC_Time_DriveUp  7.10.2019 - 10:00
     2019-10-06 11:10:50   CommandAccepted yes
     2018-07-29 11:08:01   D-firmware      2.8
     2018-07-29 11:08:01   D-serialNr      NEQ0351809
     2018-10-02 12:35:19   PairedTo        0x201789
     2018-07-29 11:16:57   R-driveDown     17 s
     2018-07-29 10:44:07   R-driveTurn     0.5 s
     2018-07-29 11:17:11   R-driveUp       18 s
     2018-07-29 11:07:13   R-pairCentral   0x201789
     2018-07-29 10:44:07   R-powerUpAction off
     2018-07-29 10:44:07   R-sign          off
     2018-10-02 12:35:19   RegL_00.        02:01 0A:20 0B:17 0C:89 15:FF 18:00 00:00
     2018-10-02 12:35:20   RegL_01.        08:00 09:00 0A:00 0B:00 0C:AA 0D:00 0E:B4 0F:05 10:00  30:06 57:24 56:00 00:00
     2019-10-03 13:12:48   associatedWith  Rolladensteuerung,Rollladensteuerung
     2019-10-06 11:11:13   deviceMsg       on (to HMLGW)
     2019-10-06 11:11:13   level           100
     2019-10-06 11:11:13   motor           stop:on
     2019-10-06 11:11:13   pct             100
     2018-10-02 12:35:01   powerOn         2018-10-02 12:35:01
     2019-10-06 11:11:13   recentStateType info
     2018-07-29 11:08:01   sabotageAttackId_ErrIoId_424242 cnt:166
     2018-07-29 11:08:01   sabotageAttack_ErrIoAttack cnt 166
     2019-10-06 11:11:13   state           on
     2019-10-06 11:11:13   timedOn         off
   helper:
     HM_CMDNR   84
     cSnd       11201789469CE5020100,11201789469CE50201C8
     dlvlCmd    ++A011201789469CE50201C8
     mId        0005
     peerFriend peerSens,peerVirt
     peerOpt    3:blindActuator
     regLst     0,1,3p
     rxType     1
     supp_Pair_Rep 0
     dir:
       cur        stop
       rct        up
     expert:
       def        1
       det        0
       raw        1
       tpl        0
     io:
       newChn     +469CE5,00,00,00
       nextSend   1570353073.63562
       prefIO     
       rxt        0
       vccu       
       p:
         469CE5
         00
         00
         00
     mRssi:
       mNo        54
       io:
         HMLGW:
           -39
           -39
     prt:
       bErr       0
       sProc      0
       rspWait:
     q:
       qReqConf   
       qReqStat   
     role:
       chn        1
       dev        1
       prs        1
     rpt:
       IO         HMLGW
       flg        A
       ts         1570353073.33919
       ack:
         HASH(0x55d8790dc570)
         548002201789469CE500
     rssi:
       HMLGW:
         avg        -55.5625
         cnt        16
         lst        -56
         max        -48
         min        -63
       at_HMLGW:
         avg        -46.525
         cnt        40
         lst        -47
         max        -38
         min        -55
Attributes:
   ASC        2
   ASC_BrightnessSensor ESPEasy_WetterESP
   ASC_Down   brightness
   ASC_Pos_Reading pct
   ASC_Time_Down_Early 16:00
   ASC_Time_Down_Late 22:30
   ASC_Time_Up_Early 05:00
   ASC_Time_Up_Late 10:00
   ASC_Up     brightness
   ASC_Ventilate_Pos 30
   ASC_Ventilate_Window_Open on
   ASC_WindowRec og_fenster_wz
   ASC_WindowRec_subType twostate
   IODev      HMLGW
   autoReadReg 4_reqStatus
   expert     2_raw
   firmware   2.8
   group      Rolladen
   model      HM-LC-BL1PBU-FM
   peerIDs    00000000,
   room       00_Wohnzimmer,AutoShuttersControl
   serialNr   NEQ0351809
   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,roommate 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_AbsentDelay ASC_Self_Defense_Exclude:on,off ASC_Self_Defense_Mode:absent,gone 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_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     statusRequest:toggleDir:on:off:up:down:stop


ich hoffe jemand hat eine Idee

mfg Stefan

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

angkor78

Naja sie reagieren einfach nicht auf den Helligkeitssensor.
Genau wie meine Fenster Sensoren, obwohl die Einstellungen gleich sind geht die Ventilate Funktion bei einem und  beim anderen nicht

CoolTux

Dann aktiviere mal debug im ASC Device und dann öffne das Fenster. Danach das Log hier posten.
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: hubiuwe am 28 September 2019, 17:30:55
Hallo
So es lief jetzt ein paar Tage.
Die positive Nachricht das Rollo fährt nicht mehr runter :).
Die negative Nachricht:
Alle Rollos sind abends oben geblieben... richtig so (ASC_autoShuttersControlEvening off).
Als ich abends meine Balkontür geöffnet habe und später wieder geschlossen ist das Rollo runter gefahren mit der Meldung "ASC_ShuttersLastDrive window closed at night".
Das globale Attribut "ASC_autoShuttersControlEvening off" sollte, denke ich, auch hier das fahren unterbinden.

Internals:
   FUUID      5ca7a118-f33f-e2e1-98bd-d7f3f78ef551761c
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       Rollosteuerung
   NOTIFYDEV  global,Rollosteuerung,AK_KU_ROL,AK_SZ_ROL,AK_WZ_ROL,Sonnenstand,SonnSens,Fenster_WZ,Fenster_SZ,rr_Uwe,rgr_Bewohner
   NR         60
   NTFY_ORDER 51-Rollosteuerung
   STATE      window closed at night
   TYPE       AutoShuttersControl
   VERSION    v0.6.33
   Helper:
     DBLOG:
       AK_KU_ROL_PosValue:
         DBLogging:
           TIME       1569474379.50273
           VALUE      0
       AK_KU_ROL_lastPosValue:
         DBLogging:
           TIME       1569477601.00598
           VALUE      100
       AK_KU_ROL_nextAstroTimeEvent:
         DBLogging:
           TIME       1569520228.00782
           VALUE      27.09.2019 - 08:00
       AK_SZ_ROL_PosValue:
         DBLogging:
           TIME       1569523496.5682
           VALUE      50
       AK_SZ_ROL_lastPosValue:
         DBLogging:
           TIME       1569424585.29271
           VALUE      100
       AK_SZ_ROL_nextAstroTimeEvent:
         DBLogging:
           TIME       1569517987.01087
           VALUE      27.09.2019 - 07:24
       AK_WZ_ROL_PosValue:
         DBLogging:
           TIME       1569524085.2341
           VALUE      100
       AK_WZ_ROL_lastPosValue:
         DBLogging:
           TIME       1569477601.049
           VALUE      100
       AK_WZ_ROL_nextAstroTimeEvent:
         DBLogging:
           TIME       1569477601.05832
           VALUE      26.09.2019 - 22:00
       state:
         DBLogging:
           TIME       1569524085.2379
           VALUE      window closed at night
   OLDREADINGS:
   READINGS:
     2019-09-26 07:06:19   AK_KU_ROL_PosValue 0
     2019-09-26 08:00:01   AK_KU_ROL_lastPosValue 100
     2019-09-26 19:50:28   AK_KU_ROL_nextAstroTimeEvent 27.09.2019 - 08:00
     2019-09-26 20:44:56   AK_SZ_ROL_PosValue 50
     2019-09-22 21:01:34   AK_SZ_ROL_lastDelayPosValue 60
     2019-09-25 17:16:25   AK_SZ_ROL_lastPosValue 100
     2019-09-26 19:13:07   AK_SZ_ROL_nextAstroTimeEvent 27.09.2019 - 07:24
     2019-09-26 20:54:45   AK_WZ_ROL_PosValue 100
     2019-09-26 08:00:01   AK_WZ_ROL_lastPosValue 100
     2019-09-26 08:00:01   AK_WZ_ROL_nextAstroTimeEvent 26.09.2019 - 22:00
     2019-08-14 21:43:02   ascEnable       on
     2019-08-17 07:33:14   controlShading  on
     2019-08-14 21:43:02   hardLockOut     off
     2019-09-25 06:03:22   room_10_Wohnzimmer_90_Devices AK_WZ_ROL
     2019-09-25 06:03:22   room_20_Kueche_90_Devices AK_KU_ROL
     2019-09-25 06:03:22   room_40_Schlafzimmer_90_Devices AK_SZ_ROL
     2019-09-22 19:27:40   selfDefense     on
     2019-09-26 20:54:45   state           window closed at night
     2019-08-14 21:43:02   sunriseTimeWeHoliday off
     2019-09-25 06:03:22   userAttrList    rolled out
   helper:
     shuttersList:
       AK_KU_ROL
       AK_SZ_ROL
       AK_WZ_ROL
   monitoredDevs:
     AK_KU_ROL:
     AK_SZ_ROL:
     AK_WZ_ROL:
     Fenster_SZ:
       AK_SZ_ROL  ASC_WindowRec
     Fenster_WZ:
       AK_WZ_ROL  ASC_WindowRec
     SonnSens:
       AK_KU_ROL  ASC_BrightnessSensor
       AK_SZ_ROL  ASC_BrightnessSensor
       AK_WZ_ROL  ASC_BrightnessSensor
     Sonnenstand:
       Rollosteuerung ASC_twilightDevice
     rgr_Bewohner:
       Rollosteuerung ASC_residentsDev
     rr_Uwe:
       AK_SZ_ROL  ASC_Roommate_Device
Attributes:
   ASC_autoAstroModeEvening CIVIL
   ASC_autoAstroModeMorning CIVIL
   ASC_autoShuttersControlComfort on
   ASC_autoShuttersControlEvening off
   ASC_autoShuttersControlMorning on
   ASC_blockAscDrivesAfterManual 0
   ASC_brightnessDriveUpDown 25:50
   ASC_expert 1
   ASC_residentsDev rgr_Bewohner
   ASC_tempSensor KS300:temperature
   ASC_twilightDevice Sonnenstand
   DbLogExclude .*
   DbLogInclude .*
   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 shading.in:weather_sun shading.out:weather_cloudy
   group      Wohnung
   icon       fts_shutter_automatic
   room       01_Wohnung


Internals:
   DEF        0500ECB5
   FUUID      5ca65646-f33f-e2e1-ec26-1d8036a71435abce
   IODev      TCM_ESP3_0
   LASTInputDev TCM_ESP3_0
   MSGCNT     8
   NAME       AK_WZ_ROL
   NR         58
   NTFY_ORDER 50-AK_WZ_ROL
   STATE      100
   TCM_ESP3_0_DestinationID FFFFFFFF
   TCM_ESP3_0_MSGCNT 8
   TCM_ESP3_0_PacketType 1
   TCM_ESP3_0_RSSI -65
   TCM_ESP3_0_ReceivingQuality excellent
   TCM_ESP3_0_RepeatingCounter 1
   TCM_ESP3_0_SubTelNum 4
   TCM_ESP3_0_TIME 2019-09-26 20:54:45
   TYPE       EnOcean
   Helper:
     DBLOG:
       ASC_ShuttersLastDrive:
         DBLogging:
           TIME       1569524085.33944
           VALUE      window closed at night
       anglePos:
         DBLogging:
           TIME       1569524085.22399
           VALUE      90
       endPosition:
         DBLogging:
           TIME       1569524085.22399
           VALUE      closed
       position:
         DBLogging:
           TIME       1569524085.22399
           VALUE      100
       state:
         DBLogging:
           TIME       1569524085.22399
           VALUE      closed
   READINGS:
     2019-06-20 20:46:50   ASC_Enable      on
     2019-09-26 20:54:45   ASC_ShuttersLastDrive window closed at night
     2019-09-26 20:36:03   ASC_Time_DriveDown AutoShuttersControl off
     2019-09-26 20:36:03   ASC_Time_DriveUp 27.09.2019 - 08:00
     2019-09-26 20:36:03   ASC_Time_PrivacyDriveDown 26.09.2019 - 21:59
     2019-09-26 20:54:45   anglePos        90
     2019-09-25 06:03:22   associatedWith  Rollosteuerung
     2019-09-22 11:48:30   block           unlock
     2019-09-26 20:54:45   endPosition     closed
     2019-09-26 20:54:45   position        100
     2019-09-26 20:54:45   state           closed
     2019-04-06 20:14:41   teach           4BS teach-in sent
   helper:
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 1200
   ASC_BlockingTime_beforDayOpen 3600
   ASC_BlockingTime_beforNightClose 3600
   ASC_BrightnessSensor SonnSens:brightness
   ASC_Closed_Pos 100
   ASC_ComfortOpen_Pos 10
   ASC_Down   brightness
   ASC_DriveUpMaxDuration 60
   ASC_Drive_Offset -1
   ASC_Drive_OffsetStart -1
   ASC_GuestRoom none
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Open_Pos 0
   ASC_Partymode off
   ASC_Pos_Reading position
   ASC_PrivacyDownTime_beforNightClose 30
   ASC_PrivacyDown_Pos 50
   ASC_Self_Defense_Exclude on
   ASC_Shading_Angle_Left 75
   ASC_Shading_Angle_Right 60
   ASC_Shading_Direction 147
   ASC_Shading_MinMax_Elevation 21
   ASC_Shading_Min_OutsideTemperature 23.1
   ASC_Shading_Mode always
   ASC_Shading_Pos 75
   ASC_Shading_StateChange_Sunny 30000
   ASC_Shading_WaitingPeriod 1200
   ASC_ShuttersPlace terrace
   ASC_TempSensor Alpha2:Ist-Temperatur-4
   ASC_Time_Down_Early 18:00
   ASC_Time_Down_Late 22:00
   ASC_Time_Up_Early 05:00
   ASC_Time_Up_Late 08:00
   ASC_Time_Up_WE_Holiday 06:45
   ASC_Up     brightness
   ASC_Ventilate_Pos 75
   ASC_Ventilate_Window_Open on
   ASC_WiggleValue 5
   ASC_WindProtection off
   ASC_WindowRec Fenster_WZ
   ASC_WindowRec_subType threestate
   DbLogExclude .*
   DbLogInclude .*
   IODev      TCM_ESP3_0
   alias      Rollo Wohnzimmer
   calAtEndpoints yes
   devStateIcon 100:fts_shutter_100 1\d.*:fts_shutter_10 2\d.*:fts_shutter_20 3\d.*:fts_shutter_30 4\d.*:fts_shutter_40 5\d.*:fts_shutter_50 6\d.*:fts_shutter_60 7\d.*:fts_shutter_70 8\d.*:fts_shutter_80 9\d.*:fts_shutter_90 \d.*:fts_shutter_10 open_ack:fts_window_2w closed:fts_shutter_100
   eep        A5-3F-7F
   group      Rollos
   icon       fts_shutter_100
   manufID    00D
   model      Eltako_FSB_ACK
   room       10_Wohnzimmer,90_Devices
   settingAccuracy high
   shutTime   24
   shutTimeCloses 40
   stateFormat position
   subDef     FFB45103
   subType    manufProfile
   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,roommate 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_AbsentDelay ASC_Self_Defense_Exclude:on,off ASC_Self_Defense_Mode:absent,gone 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_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     opens:stop:closes


Gruß

Habe ich eben einmal so umgesetzt.

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

Borkk

Hallo CoolTux,

hab mich schon lange nicht mehr zu Wort gemeldet, liegt wohl daran das im Augenblick alles soweit gut funktioniert. ;D Aber eine Sache habe ich nun doch.

Es geht um das abendliche Schließen der Rollos. Einige stehen beim ASC_Mode_down auf "always" und einige auf "absent". Wenn ich zu Hause bin fahren die Rollos, die auf "always" stehen, um TimeDown_early (22:00 Uhr) runter. Soweit so gut.

Ist keiner Zuhause würde ich erwarten das alle Rollos runter fahren. Das passiert auch meistens. Manchmal, so wie heute, kam ich um ca.23:00 Uhr nach hause und alle Rollos waren oben. Die Rollos die auf "always" stehen, sind aber sobald der Resident "home" war, mit der Meldung "residents home" runtergefahren. Die, die auf Absent stehen blieben oben.

Kannst du dir das erklären?

Hier mal ein List eines Rollos:

Internals:
   DEF        65D43A
   HM1_MSGCNT 112
   HM1_RAWMSG 0501012074A41065D43Axxxxxx06010000
   HM1_RSSI   -32
   HM1_TIME   2019-10-07 22:58:46
   HM2_MSGCNT 87
   HM2_RAWMSG E65D43A,0000,3555A22F,FF,FFBD,74A41065D43Axxxxxx06010000
   HM2_RSSI   -67
   HM2_TIME   2019-10-07 22:58:46
   IODev      HM1
   LASTInputDev HM1
   MSGCNT     199
   NAME       br_rollo
   NOTIFYDEV  global
   NR         180
   NTFY_ORDER 50-br_rollo
   STATE      zu
   TYPE       CUL_HM
   chanNo     01
   lastMsg    No:74 - t:10 s:65D43A d:xxxxxx 06010000
   peerList   vccu_schalter,
   protCmdDel 1
   protEvt_AESCom-ok 26 last_at:2019-10-07 22:58:08
   protLastRcv 2019-10-07 22:58:46
   protRcv    88 last_at:2019-10-07 22:58:46
   protResnd  3 last_at:2019-09-24 23:18:51
   protResndFail 1 last_at:2019-09-24 23:18:56
   protSnd    87 last_at:2019-10-07 22:58:46
   protState  CMDs_done
   rssi_HM1   cnt:34 min:-41 max:-39 avg:-39.61 lst:-39
   rssi_at_HM1 cnt:86 min:-36 max:-29 avg:-31.94 lst:-32
   rssi_at_HM2 cnt:87 min:-76 max:-59 avg:-65.65 lst:-67
   READINGS:
     2019-09-09 18:44:37   ASC_Enable      on
     2019-10-07 22:58:48   ASC_ShuttersLastDrive residents home
     2019-10-07 22:00:02   ASC_Time_DriveDown  8.10.2019 - 22:00
     2019-10-07 22:00:02   ASC_Time_DriveUp  8.10.2019 - 07:38
     2019-10-07 22:58:07   CommandAccepted yes
     2019-02-28 10:55:18   D-firmware      2.11
     2019-02-28 10:55:18   D-serialNr      OEQ2282663
     2019-04-26 20:52:45   PairedTo        0xxxxxxx
     2019-02-28 10:55:32   R-driveDown     26 s
     2019-02-28 10:55:32   R-driveTurn     0.5 s
     2019-02-28 10:55:32   R-driveUp       27 s
     2019-02-28 10:55:31   R-pairCentral   0xxxxxxx
     2019-02-28 10:55:32   R-powerUpAction off
     2019-04-23 18:36:16   R-sign          on
     2019-04-26 20:52:48   R-vccu_schalter-lgActionType jmpToTarget
     2019-04-26 20:52:48   R-vccu_schalter-lgOnLevel 100 %
     2019-04-26 20:52:48   R-vccu_schalter-shActionType jmpToTarget
     2019-04-26 20:52:48   R-vccu_schalter-shOnLevel 100 %
     2019-04-26 20:52:45   RegL_00.        00:00 02:01 0A:23 0B:23 0C:23 15:FF 18:00
     2019-04-26 20:52:46   RegL_01.        00:00 08:01 09:00 0A:00 0B:01 0C:04 0D:01 0E:0E 0F:05 10:00 30:06 56:00 57:24
     2019-04-26 20:52:48   RegL_03.vccu_schalter 00:00 01:00 02:00 03:00 04:32 05:64 06:00 07:FF 08:00 09:FF 0A:01 0B:14 0C:52 0D:63 0E:00 0F:00 11:C8 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 1A:00 1B:00 1C:00 1D:FF 1E:63 1F:00 81:00 82:00 83:00 84:32 85:64 86:00 87:FF 88:00 89:FF 8A:21 8B:14 8C:52 8D:63 8E:00 8F:00 91:C8 92:00 93:00 94:00 95:00 96:00 97:00 98:00 99:00 9A:00 9B:00 9C:00 9D:05 9E:63 9F:00
     2019-10-07 22:58:08   aesCommToDev    ok
     2019-10-07 22:58:08   aesKeyNbr       02
     2019-09-24 23:18:24   associatedWith  myASControl
     2019-10-07 22:58:46   deviceMsg       off (to vccu)
     2019-10-07 22:58:46   level           0
     2019-04-23 18:06:26   levelMissed     desired:100
     2019-10-07 22:58:46   motor           stop:off
     2019-10-07 22:58:46   pct             0
     2019-09-24 23:18:12   peerList        vccu_schalter,
     2019-10-07 22:58:46   recentStateType info
     2019-10-07 22:58:46   state           off
     2019-10-07 22:58:46   timedOn         off
   helper:
     HM_CMDNR   116
     cSnd       11xxxxxx65D43A0201C8,11xxxxxx65D43A020100
     dlvlCmd    ++A011xxxxxx65D43A020100
     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     +65D43A,00,01,00
       nextSend   1570481927.1411
       prefIO     
       rxt        0
       vccu       vccu
       p:
         65D43A
         00
         01
         00
     mRssi:
       mNo        74
       io:
         HM1:
           -24
           -24
         HM2:
           -67
           -67
     prt:
       bErr       0
       sProc      0
       rspWait:
     q:
       qReqConf   
       qReqStat   
     role:
       chn        1
       dev        1
       prs        1
     rpt:
       IO         HM2
       flg        A
       ts         1570481926.10109
       ack:
         HASH(0x3fd2630)
         748002xxxxxx65D43A00
     rssi:
       HM1:
         avg        -39.6176470588235
         cnt        34
         lst        -39
         max        -39
         min        -41
       at_HM1:
         avg        -31.9418604651163
         cnt        86
         lst        -32
         max        -29
         min        -36
       at_HM2:
         avg        -65.6551724137931
         cnt        87
         lst        -67
         max        -59
         min        -76
     tmpl:
Attributes:
   ASC        2
   ASC_Antifreeze off
   ASC_BlockingTime_afterManual 20
   ASC_BrightnessSensor ts_light
   ASC_ComfortOpen_Pos 20
   ASC_DriveUpMaxDuration 45
   ASC_LockOut soft
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Partymode off
   ASC_Pos_Reading pct
   ASC_Self_Defense_Exclude off
   ASC_Shading_Angle_Left 75
   ASC_Shading_Angle_Right 40
   ASC_Shading_Direction 165
   ASC_Shading_MinMax_Elevation 15
   ASC_Shading_Mode always
   ASC_Shading_Pos 5
   ASC_Shading_StateChange_Cloudy 25000
   ASC_Shading_StateChange_Sunny 38000
   ASC_Shading_WaitingPeriod 480
   ASC_ShuttersPlace terrace
   ASC_Time_Down_Early 22:00
   ASC_Time_Down_Late 23:30
   ASC_Time_Up_Early 06:00
   ASC_Time_Up_Late 08:30
   ASC_Time_Up_WE_Holiday 09:00
   ASC_Ventilate_Pos 10
   ASC_Ventilate_Window_Open on
   ASC_WindowRec br_tuer
   ASC_WindowRec_PosAfterDayClosed open
   ASC_WindowRec_subType threestate
   IODev      HM1
   IOgrp      vccu
   alexaName  Rollo Büro
   alexaRoom  Büro
   alias      Rollo Büro
   autoReadReg 4_reqStatus
   devStateIcon zu:fts_shutter_100 auf:fts_window_2w 1\d.*:fts_shutter_90 2\d.*:fts_shutter_80 3\d.*:fts_shutter_70 4\d.*:fts_shutter_60 5\d.*:fts_shutter_50 6\d.*:fts_shutter_40 7\d.*:fts_shutter_30 8\d.*:fts_shutter_20 9\d.*:fts_shutter_10 \d.*:fts_shutter_90
   eventMap   on:auf stop:halt off:zu
   expert     2_raw
   firmware   2.11
   genericDeviceType blind
   group      Rollläden
   model      HM-LC-BL1PBU-FM
   peerIDs    00000000,xxxxxx01,
   room       02 Statusseite,10 Büro,Homekit
   serialNr   OEQ2282663
   subType    blindActuator
   userattr   ASC_Antifreeze:off,soft,hard,
Proxmox & Docker:  FHEM, Raspberrymatic, ConBee3, Nginx ReverseProxy, ConfigDB, MQTT, NodeRed, InfluxDB, Grafana, HmIP Akt- /Sensoren, Shelly´s, Alexa, ASC, Gardena, E-Paper, FritzBox; (Tado° x), iBeacon, OLED ; ESP32/8266, SwitchBot ... (Netatmo & Homekit über HomeAssistant)

CoolTux

Leider kann ich mir das nicht so einfach erklären. Schlage vor Du aktivierst da debug und dann schauen wir einmal was er hat.
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

xerion

Hallo zusammen,

ich habe gerade auf die v0.6.33 aktualisiert. Ich lasse meine Rollos über den Brightnes Modus fahren, aber genau dieser ist nach dem Update bei mir nicht mehr möglich. Bedeutet das die beiden Attributen ASC_Down und ASC_UP gänzlich fehlen. Habe ich irgendwas überlesen ?
Wechsel jetzt zu Octopus Energy und bekomme 150,00 € Bonus auf deine Rechnung. Die Anmeldung geht super leicht und schnell, klicke dafür einfach meinen persönlichen Empfehlungslink:
 https://share.octopusenergy.de/loved-heron-220.

CoolTux

Du wirst event-on-change-* im ASC Device verwenden. Das sollte nicht gemacht werden. Bitte entfernen es, speichere und mache einen Neustart.
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

xerion

Zitat von: CoolTux am 08 Oktober 2019, 22:38:51
Du wirst event-on-change-* im ASC Device verwenden. Das sollte nicht gemacht werden. Bitte entfernen es, speichere und mache einen Neustart.
Perfekt daran hat es gelegen. Danke für die schnelle Hilfe.

Gesendet von meinem JSN-L21 mit Tapatalk

Wechsel jetzt zu Octopus Energy und bekomme 150,00 € Bonus auf deine Rechnung. Die Anmeldung geht super leicht und schnell, klicke dafür einfach meinen persönlichen Empfehlungslink:
 https://share.octopusenergy.de/loved-heron-220.

Borkk

Hallo CoolTux,

Heute sind wir vor der "DayOpen" Zeit aus dem Haus. D.h. zum Zeitpunkt "DayOpen" war der Resident "absent". Im Ergebnis ist kein Rollo hochgefahren.

Interessanter Weise standen einige Rollo´s noch auf "NightClose" andere auf "residents absent" ?!?! Eigentlich hätte ich aber gerne das, die Rollos hochgefahren wären. Ich glaube ich muss die Anwesenheit Sache gänzlich aus ASC rausnehmen.


Shutters      Next DriveUp      Next DriveDown      ASC Up      ASC Down      ASC Mode Up      ASC Mode Down      Partymode      Lock-Out      Last Drive      Position      Last Position      Shading Info
bd_rollo      11.10.2019 - 07:43:33      10.10.2019 - 22:00:02      astro      astro      always      always      off      off      night close      0      100      out - 17:29:57
br_rollo      11.10.2019 - 07:43:33      10.10.2019 - 22:00:02      astro      astro      always      always      off      soft      night close      0      100      out - 17:29:57
ds_rollo      11.10.2019 - 07:43:33      10.10.2019 - 22:00:02      astro      astro      always      always      off      soft      night close      0      100      out - 17:29:57
ku_rollo      11.10.2019 - 07:43:33      10.10.2019 - 22:00:02      astro      astro      always      always      on      off      night close      0      100      out - 17:29:57
sz_rollo      11.10.2019 - 07:43:33      10.10.2019 - 22:00:02      astro      astro      absent      absent      off      soft      residents absent      0      100      out - 17:29:57
wz_rollo      11.10.2019 - 07:43:33      10.10.2019 - 22:00:02      astro      astro      always      absent      on      soft      residents absent      0      100      out - 17:29:58
wz_rollo_f      11.10.2019 - 07:43:33      10.10.2019 - 22:00:02      astro      astro      always      absent      on      off      residents absent      0      100      out - 17:29:58
wz_rollo_links      11.10.2019 - 07:43:33      10.10.2019 - 22:00:02      astro      astro      always      absent      on      off      residents absent      0      100      out - 17:29:57
wz_rollo_rechts      11.10.2019 - 07:43:33      10.10.2019 - 22:00:02      astro      astro      always      absent      on      off      residents absent      0      100      out - 17:29:58
Proxmox & Docker:  FHEM, Raspberrymatic, ConBee3, Nginx ReverseProxy, ConfigDB, MQTT, NodeRed, InfluxDB, Grafana, HmIP Akt- /Sensoren, Shelly´s, Alexa, ASC, Gardena, E-Paper, FritzBox; (Tado° x), iBeacon, OLED ; ESP32/8266, SwitchBot ... (Netatmo & Homekit über HomeAssistant)

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