ASC / Probleme mit HMCCU Devices

Begonnen von Kevin1804, 28 Januar 2021, 21:30:17

Vorheriges Thema - Nächstes Thema

Kevin1804

Hallo zusammen,

ich kämpfe schon seit einiger Zeit mit der ASC Steuerung und komme nicht weiter.

Ich habe eine CCU2 im Einsatz und ein FHEM System zwecks Steuerung.

Mein Problem ist, dass die Automatische Steuerung der HM Rolladenaktoren nicht so wirklich geraten will. Alle Fenster sind mit HM Drehgriffsensoren ausgestattet.

Folgendes Bild stellt sich mir:
* Manuell fahren die Rollos wie gewollt
* Automatisch hoch fahren sie auch wie befohlen
* Automatisch runter fahren sie leider nicht
* Ventillate und WindowOpen fahren die Rollos aus jeder Richtung (also egal ob offen oder geschlossen)
* Automatisch zurück fahren sie aus diesen Positionen jedoch nicht mehr

An andere dinge habe ich mich mangels der Grundfunktionalität noch nicht mehr gewagt...

Hier die Lists:

ASC-Device:
Internals:
   FUUID      600478ec-f33f-e0bd-0565-34a1838f84f98ddf
   FVERSION   73_AutoShuttersControl.pm:v0.10.10-s23008/2020-10-23 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       ASC
   NOTIFYDEV  ASC,ASC_Astro,HM_K_WZ_Rollo_Gaube,HM_K_WZ_Rollo_links,HM_K_WZ_Rollo_rechts,HmIP_K_WZ_Fensterkontakt_Gaube,HmIP_K_WZ_Fensterkontakt_links,HmIP_K_WZ_Fensterkontakt_rechts,global
   NR         74
   NTFY_ORDER 51-ASC
   STATE      ventilate - window open
   TYPE       AutoShuttersControl
   VERSION    v0.10.10
   OLDREADINGS:
   READINGS:
     2021-01-28 17:07:06   HM_K_WZ_Rollo_Gaube_lastPosValue 0
     2021-01-28 17:07:07   HM_K_WZ_Rollo_Gaube_nextAstroTimeEvent 29.01.2021 - 08:17
     2021-01-28 21:16:53   HM_K_WZ_Rollo_links_PosValue 46
     2021-01-28 17:07:07   HM_K_WZ_Rollo_links_lastPosValue 0
     2021-01-28 17:07:07   HM_K_WZ_Rollo_links_nextAstroTimeEvent 29.01.2021 - 08:17
     2021-01-28 17:07:07   HM_K_WZ_Rollo_rechts_lastPosValue 0
     2021-01-28 17:07:07   HM_K_WZ_Rollo_rechts_nextAstroTimeEvent 29.01.2021 - 08:17
     2021-01-18 12:18:04   ascEnable       on
     2021-01-18 12:18:04   controlShading  off
     2021-01-18 12:18:04   hardLockOut     off
     2021-01-27 22:13:53   room_Homematic_Kevin_ASC HM_K_WZ_Rollo_Gaube,HM_K_WZ_Rollo_links,HM_K_WZ_Rollo_rechts
     2021-01-18 12:18:04   selfDefense     off
     2021-01-28 21:16:53   state           ventilate - window open
     2021-01-18 12:18:04   sunriseTimeWeHoliday off
     2021-01-27 22:13:53   userAttrList    rolled out
   helper:
     shuttersList:
       HM_K_WZ_Rollo_Gaube
       HM_K_WZ_Rollo_links
       HM_K_WZ_Rollo_rechts
   monitoredDevs:
     ASC_Astro:
       ASC        ASC_twilightDevice
     HM_K_WZ_Rollo_Gaube:
     HM_K_WZ_Rollo_links:
     HM_K_WZ_Rollo_rechts:
     HmIP_K_WZ_Fensterkontakt_Gaube:
       HM_K_WZ_Rollo_Gaube ASC_WindowRec
     HmIP_K_WZ_Fensterkontakt_links:
       HM_K_WZ_Rollo_links ASC_WindowRec
     HmIP_K_WZ_Fensterkontakt_rechts:
       HM_K_WZ_Rollo_rechts ASC_WindowRec
Attributes:
   ASC_autoShuttersControlComfort on
   ASC_debug  1
   ASC_expert 1
   ASC_twilightDevice ASC_Astro
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       ASC


Einer der Rollos als Beispiel (sind alle gleich definiert):
Internals:
   DEF        MEQ0331279
   FUUID      5fe4a2a1-f33f-e0bd-6cb0-eaa87aa0adc7f33f
   IODev      d_ccu
   NAME       HM_K_WZ_Rollo_links
   NR         40
   STATE      closed
   TYPE       HMCCUDEV
   ccuaddr    MEQ0331279
   ccudevstate active
   ccuif      BidCos-RF
   ccuname    HM-K-WZ-Rollo-links
   ccutype    HM-LC-Bl1PBU-FM
   channels   2
   firmware   2.11
   statevals  devstate
   READINGS:
     2021-01-28 21:22:54   1.DIRECTION     none
     2021-01-27 21:46:23   1.INHIBIT       false
     2021-01-28 21:22:54   1.LEVEL         closed
     2021-01-28 21:22:54   1.WORKING       no
     2021-01-17 18:51:12   ASC_Enable      on
     2021-01-28 21:16:53   ASC_ShuttersLastDrive ventilate - window open
     2021-01-28 17:07:07   ASC_Time_DriveDown 29.01.2021 - 17:07
     2021-01-28 17:07:07   ASC_Time_DriveUp 29.01.2021 - 08:17
     2021-01-27 22:13:53   associatedWith  ASC,asc_Rolladenautomatik,none
     2021-01-28 21:22:54   control         0
     2021-01-28 21:22:54   hmstate         closed
     2021-01-28 21:22:54   state           closed
   hmccu:
     devspec    MEQ0331279
     dp:
       0.AES_KEY:
         OVAL       0
         VAL        0
       0.CONFIG_PENDING:
         OVAL       false
         VAL        false
       0.DEVICE_IN_BOOTLOADER:
         OVAL       false
         VAL        false
       0.DUTYCYCLE:
         OVAL       false
         VAL        false
       0.RSSI_DEVICE:
         OVAL       1
         VAL        1
       0.RSSI_PEER:
         OVAL       49
         VAL        49
       0.STICKY_UNREACH:
         OVAL       false
         VAL        false
       0.UNREACH:
         OVAL       false
         VAL        false
       0.UPDATE_PENDING:
         OVAL       false
         VAL        false
       1.DIRECTION:
         OSVAL      down
         OVAL       2
         SVAL       none
         VAL        0
       1.INHIBIT:
         OSVAL      false
         OVAL       false
         SVAL       false
         VAL        false
       1.LEVEL:
         OSVAL      62.5
         OVAL       0.625000
         SVAL       closed
         VAL        0.000000
       1.WORKING:
         OSVAL      yes
         OVAL       1
         SVAL       no
         VAL        0
Attributes:
   ASC        2
   ASC_Pos_Reading pct
   ASC_WindowRec HmIP_K_WZ_Fensterkontakt_links
   ASC_WindowRec_subType threestate
   IODev      d_ccu
   ccureadingfilter (LEVEL|INHIBIT|DIRECTION|WORKING)
   ccuscaleval LEVEL:0:1:0:100
   cmdIcon    up:fts_shutter_up stop:fts_shutter_manual down:fts_shutter_down
   controldatapoint 1.LEVEL
   eventMap   /datapoint 1.STOP true:stop/datapoint 1.LEVEL 0:down/datapoint 1.LEVEL 100:up/
   room       Homematic,Kevin,ASC
   statedatapoint 1.LEVEL
   stripnumber 1
   substexcl  control
   substitute LEVEL!#0-0:closed,#100-100:open;DIRECTION!0:none,1:up,2:down,3:undefined;WORKING!(0|false):no,(1|true):yes
   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_BetweenTheTime 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,awning ASC_SlatPosCmd_SlatDevice 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     control:up:stop:down
   widgetOverride control:slider,0,10,100


Der passende Drehgriffsensor:
Internals:
   DEF        0007DA49992C93
   FUUID      5fe4a2a1-f33f-e0bd-842a-62543ecfb8ff3eab
   IODev      d_ccu
   NAME       HmIP_K_WZ_Fensterkontakt_links
   NR         26
   STATE      closed
   TYPE       HMCCUDEV
   ccuaddr    0007DA49992C93
   ccudevstate active
   ccuif      HmIP-RF
   ccuname    HmIP-K-WZ-Fensterkontakt-links
   ccutype    HmIP-SRH
   channels   3
   firmware   1.2.10
   statevals  devstate
   READINGS:
     2021-01-28 21:27:55   1.STATE         closed
     2021-01-28 21:27:55   control         closed
     2021-01-28 21:27:55   hmstate         closed
     2021-01-28 21:27:55   state           closed
   hmccu:
     devspec    0007DA49992C93
     dp:
       0.CONFIG_PENDING:
         OVAL       0
         VAL        0
       0.DUTY_CYCLE:
         OVAL       0
         VAL        0
       0.ERROR_CODE:
         OVAL       0
         VAL        0
       0.INSTALL_TEST:
         OVAL       true
         VAL        true
       0.LOW_BAT:
         OVAL       0
         VAL        0
       0.OPERATING_VOLTAGE:
         OVAL       1.3
         VAL        1.3
       0.OPERATING_VOLTAGE_STATUS:
         OVAL       0
         VAL        0
       0.RSSI_DEVICE:
         OVAL       -81
         VAL        -75
       0.RSSI_PEER:
         OVAL       0
         VAL        0
       0.SABOTAGE:
         OVAL       0
         VAL        0
       0.UNREACH:
         OVAL       0
         VAL        0
       0.UPDATE_PENDING:
         OVAL       false
         VAL        false
       1.STATE:
         OSVAL      closed
         OVAL       0
         SVAL       closed
         VAL        0
Attributes:
   IODev      d_ccu
   ccureadingfilter STATE
   devStateIcon open:fts_window_1w_open@red tilted:fts_window_1w_tilt@%23cd2906 closed:fts_window_1w
   room       Homematic,Kevin,ASC
   statedatapoint 1.STATE
   substitute STATE!0:closed,1:tilted,2:open


Ich weiss aktuell echt nicht mehr weiter und bitte um Hilfe.

Falls ich noch Informationen liefern soll, bitte kurze Mitteilung was noch fehlt.

Vielen Dank euch schon vorher!
Viele Grüße

CoolTux

Du hast als ASC_Pos_Reading pct angegeben. Du hast aber kein solches Reading. Das Attribut muss ein Reading enthalten welches die aktuelle Position als numerischen Wert an gibt.
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

Kevin1804

#2
Danke für den Tipp, das hatte das System automatisch so gesetzt.

Ich hab das mal angepasst und werde damit mal weiter Testen:
Internals:
   DEF        MEQ0331279
   FUUID      5fe4a2a1-f33f-e0bd-6cb0-eaa87aa0adc7f33f
   IODev      d_ccu
   NAME       HM_K_WZ_Rollo_links
   NR         40
   STATE      0
   TYPE       HMCCUDEV
   ccuaddr    MEQ0331279
   ccudevstate active
   ccuif      BidCos-RF
   ccuname    HM-K-WZ-Rollo-links
   ccutype    HM-LC-Bl1PBU-FM
   channels   2
   firmware   2.11
   statevals  devstate
   READINGS:
     2021-01-29 07:13:14   1.DIRECTION     0
     2021-01-29 07:09:03   1.INHIBIT       false
     2021-01-29 07:13:14   1.LEVEL         0
     2021-01-29 07:13:14   1.WORKING       0
     2021-01-17 18:51:12   ASC_Enable      on
     2021-01-28 21:16:53   ASC_ShuttersLastDrive ventilate - window open
     2021-01-28 17:07:07   ASC_Time_DriveDown 29.01.2021 - 17:07
     2021-01-28 17:07:07   ASC_Time_DriveUp 29.01.2021 - 08:17
     2021-01-27 22:13:53   associatedWith  ASC,asc_Rolladenautomatik,none
     2021-01-29 07:13:14   control         0
     2021-01-29 07:13:14   hmstate         0
     2021-01-29 07:13:14   state           0
   hmccu:
     devspec    MEQ0331279
     dp:
       0.AES_KEY:
         OVAL       0
         VAL        0
       0.CONFIG_PENDING:
         OVAL       false
         VAL        false
       0.DEVICE_IN_BOOTLOADER:
         OVAL       false
         VAL        false
       0.DUTYCYCLE:
         OVAL       false
         VAL        false
       0.RSSI_DEVICE:
         OVAL       1
         VAL        1
       0.RSSI_PEER:
         OVAL       49
         VAL        49
       0.STICKY_UNREACH:
         OVAL       false
         VAL        false
       0.UNREACH:
         OVAL       false
         VAL        false
       0.UPDATE_PENDING:
         OVAL       false
         VAL        false
       1.DIRECTION:
         OSVAL      2
         OVAL       2
         SVAL       0
         VAL        0
       1.INHIBIT:
         OSVAL      false
         OVAL       false
         SVAL       false
         VAL        false
       1.LEVEL:
         OSVAL      10
         OVAL       0.100000
         SVAL       0
         VAL        0.000000
       1.WORKING:
         OSVAL      1
         OVAL       1
         SVAL       0
         VAL        0
Attributes:
   ASC        2
   ASC_Pos_Reading 1.LEVEL
   ASC_WindowRec HmIP_K_WZ_Fensterkontakt_links
   ASC_WindowRec_subType threestate
   IODev      d_ccu
   ccureadingfilter (LEVEL|INHIBIT|DIRECTION|WORKING)
   ccuscaleval LEVEL:0:1:0:100
   cmdIcon    up:fts_shutter_up stop:fts_shutter_manual down:fts_shutter_down
   controldatapoint 1.LEVEL
   eventMap   /datapoint 1.STOP true:stop/datapoint 1.LEVEL 0:down/datapoint 1.LEVEL 100:up/
   room       Homematic,Kevin,ASC
   statedatapoint 1.LEVEL
   stripnumber 1
   substexcl  control
   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_BetweenTheTime 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,awning ASC_SlatPosCmd_SlatDevice 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     control:up:stop:down
   widgetOverride control:slider,0,10,100


Vielen Dank nochmal ich werde berichten.

CoolTux

Das wird so bestimmt nicht klappen. Der Readingname muss auch als Set Kommando funktionieren.
Heißt bei Dir, funktioniert bei dir ein

set HM_K_WZ_Rollo_links 1.LEVEL 40

Wenn nicht musst du es anpassen.
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

Wolle02

Nimm "control". Damit sollte es gehen.