[73_AutoShuttersControl.pm] Rolllos automatisiert steuern - Version 0.10

Begonnen von CoolTux, 22 Juni 2020, 12:38:36

Vorheriges Thema - Nächstes Thema

stefanpf

Zitat von: CoolTux am 05 Juli 2020, 21:46:04
Ich sehe das Problem. Oder besser die Probleme.

Erstmal hast Du sowohl im ASC als auch im Rollo jeweils ein Tempsensor definiert und dann auch noch den selben. Das ist Unsinn.
Und jetzt zum eigentlichen Problem. Du verwendest ein und das selbe Sensordevice für unterschiedliche Attribute. Das geht in ASC nicht auf Grund der interne Logik. Selbst bei unterschiedlichen Readings ist das nicht möglich.

Meine Empfehlung ist es Dummy Devices für die jeweiligen Readings an zu legen.

Das wind-unprotected kommt von dieser Doppelbelegung. ASC wusste nicht was genau das ist. Ich denke es war Dein Brightness Sensor aber ASC hat die erste Funktion genommen welche es dem Device zuordnen konnte und das war wohl Wind.


Oh f&$#, das erklärt vermutlich einiges... ich war immer bemüht alles sauber in einem MQTT Device zusammenzufügen :-(

Noch mal zur Sicherheit:
- Ein Device-Reading für eine Art Attribut in mehreren Rollläden gleichzeitig ist ok ?
- Ein Device-Reading für Attribute in ASC und Rollläden gleichzeitig ist pfui ?
- Ein Device-Reading für unterschiedliche Attribute ist generell pfui ?

Mag es sein, dass das gleiche auch für ASC_Roommate_Device [Rollladen] & ASC_residentsDev [ASC] gilt ?
Da das kommagetrennte auflisten von Roommates in ASC_Roommate_Device bei mir nicht funktionieren wollte, habe ich ebenfalls RESIDENTS Device als eine Art Structure dort hinterlegt (der Status ist ja der gleiche).

Sind Dummies mit userreadings ok oder müssen die Readings extern (per notify oder ähnlichen) geschrieben werden?

CoolTux

Nicht Device Readings sondern Devices. Ganz wichtig, es geht nur um Devices. Hier sollte immer nur ein Device pro Attribut verwendet werden.
Also Beispiel:
Für alle ASC_BrightnessSensor Attribute: Sensor1
Damit ist Sensor1 erledigt und darf für keinen anderen ASC Attributsnamen verwendet werden über welchen ASC Events auswertet. Das wären alle ausser Tempsensor.

Aber wie gesagt das ist nun aktuell hinfällig. So wie der aktuelle Stand der Sensorunterstützung ist und wenn kein weiterer Sensor dazu kommt dürfte ich das alles trennen können.
Mit Version 0.10.3 kommt die erste Trennung, dann wären nur noch Wind und Regen welche in unterschiedlichen Devices sein müssen und ich werde schauen das ich die Tage das mit Wind und Regen auch noch trennen kann.


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

Karflyer

Eine Frage zu dem 'Shading-Teil' im Modul. Ich habe den Eindruck, dass nach einem manuellen Fahren eines Rollladen am Tag kein Shading mehr stattfindet bis durch ASC eine automatische Fahrt durchgeführt wurde (meistens dann Abends das automatische runterfahren der Rollos den manuellen Status beendet). Ist das so gewollt?

Grüße
Stefan

CoolTux

Zitat von: Karflyer am 06 Juli 2020, 15:09:59
Eine Frage zu dem 'Shading-Teil' im Modul. Ich habe den Eindruck, dass nach einem manuellen Fahren eines Rollladen am Tag kein Shading mehr stattfindet bis durch ASC eine automatische Fahrt durchgeführt wurde (meistens dann Abends das automatische runterfahren der Rollos den manuellen Status beendet). Ist das so gewollt?

Grüße
Stefan

Jein. Wenn innerhalb einer Beschattung eine manuelle Fahrt statt findet, dann wird dieses Rollo für die Beschattung bis zur nächsten Shading in Phase nicht mehr angefasst. Dazu muss aber das Rollo einmal in Shading out gefahren sein.
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

gestein

Hallo,

ich habe für meine Türsensoren jeweils eigene Dummy-Devices angelegt, um "open/closed" darzustellen.
Bei den Terrassentüren fährt kein Rollo in die Beschattung, wenn das entsprechende Device "open" meldet. Der Rollo bleibt auf Pos=0.
Wenn ich dann die Türe zumache, dann fährt der Rollo in die Beschattungsposition (Pos=92).
So weit sollte es also passen.

Wenn ich nun allerdings die Tür aufmache, fährt der Rollo aber nicht wieder hoch (Pos=0).

Soll das so sein?

Hier ein List meines Rollos:
Internals:
   ADDRESS    12345F
   DEF        12345F AA 043F
   FUUID      5c43b914-f33f-0b7a-c764-ed8e2dee913952f4
   FVERSION   10_SOMFY.pm:v1.0.0-s12918/2016-12-31
   IODev      mySIGNALduino
   NAME       Rollo.WZ.Kueche
   NR         486
   STATE      90
   TYPE       SOMFY
   move       stop
   CODE:
     1          12345F
   OLDREADINGS:
   READINGS:
     2020-01-04 22:48:18   ASC_Enable      on
     2020-07-06 15:25:38   ASC_ShadingMessage INFO: current shading status is 'in' - next check in 5m
     2020-07-06 14:58:42   ASC_ShuttersLastDrive shading in
     2020-07-06 06:48:06   ASC_Time_DriveDown  6.07.2020 - 23:30
     2020-07-06 06:48:06   ASC_Time_DriveUp  7.07.2020 - 06:00
     2020-07-06 06:47:56   associatedWith  myASControl
     2020-07-06 14:58:41   enc_key         AA
     2020-07-06 14:58:41   exact           92
     2020-07-06 15:25:38   myBrightness    23592
     2020-07-06 15:25:38   myBrightnessForShadingCloudy 22000
     2020-07-06 15:25:38   myBrightnessForShadingSunny 55000
     2020-07-06 15:25:38   myShadingPASS_GreaterBrightnessSunny False
     2020-07-06 15:25:38   myShadingPASS_GreaterSunAzimuthLeft True
     2020-07-06 15:25:38   myShadingPASS_GreaterSunElevationMin True
     2020-07-06 15:25:38   myShadingPASS_GreaterTemperatureExternMin True
     2020-07-06 15:25:38   myShadingPASS_LowerBrightnessCloudy True
     2020-07-06 15:25:38   myShadingPASS_LowerSunAzimuthRight True
     2020-07-06 15:25:38   myShadingPASS_LowerSunElevationMax True
     2020-07-06 15:25:38   mySunAzimuth    240.26
     2020-07-06 15:25:38   mySunAzimuthLeft 223
     2020-07-06 15:25:38   mySunAzimuthRight 360
     2020-07-06 15:25:38   mySunElevation  51.41
     2020-07-06 15:25:38   mySunElevationForShadingMax 90
     2020-07-06 15:25:38   mySunElevationForShadingMin 5
     2020-07-06 15:25:38   myTemperatureExtern 28.9
     2020-07-06 15:25:38   myTemperatureExternForShadingMin 21
     2020-07-06 14:58:41   position        90
     2020-07-06 14:58:41   rolling_code    043F
     2020-07-06 14:58:41   state           90
     2020-07-06 14:58:41   usrPos          92
   helper:
     bm:
       SOMFY_Set:
         cnt        160
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        06.07. 14:58:27
         max        0.444139003753662
         tot        0.921118497848511
         mAr:
           HASH(0x4b8e2b0)
           Rollo.WZ.Kueche
           position
           92
Attributes:
   ASC        1
   ASC_BrightnessSensor TW.Helligkeit
   ASC_Closed_Pos 200
   ASC_Down   time
   ASC_Drive_DelayStart 20
   ASC_LockOut soft
   ASC_Mode_Down off
   ASC_Partymode on
   ASC_Pos_Reading usrPos
   ASC_Shading_InOutAzimuth 223:360
   ASC_Shading_MinMax_Elevation 5:90
   ASC_Shading_Min_OutsideTemperature 21
   ASC_Shading_Mode always
   ASC_Shading_Pos {my $myPos=ReadingsVal('Zuhause','state','home'); my $ret= ($myPos eq 'home' ? 92 : 190); Log 1, "Rollo.WZ.Kueche: Zuhause=" . $myPos . ", ret=". $ret; return $ret; }
   ASC_Shading_StateChange_SunnyCloudy 55000:22000
   ASC_Shading_WaitingPeriod 300
   ASC_ShuttersPlace terrace
   ASC_Sleep_Pos 95
   ASC_TempSensor OZW772:Aussentemperatur
   ASC_Time_Down_Early 23:30
   ASC_Time_Up_Early 6:00
   ASC_Up     time
   ASC_Ventilate_Window_Open off
   ASC_WindProtection on
   ASC_WindowRec WZ.FensterKueche
   ASC_WindowRec_subType twostate
   IODev      mySIGNALduino
   autoStoreRollingCode 1
   devStateIcon open:fts_shutter_10 down:fts_shutter_100 100:fts_shutter_100 9\d.*:fts_shutter_90 8\d.*:fts_shutter_80 7\d.*:fts_shutter_70 6\d.*:fts_shutter_60 5\d.*:fts_shutter_50 4\d.*:fts_shutter_40 3\d.*:fts_shutter_30 2\d.*:fts_shutter_20 1\d.*:fts_shutter_10 0\d.*:fts_shutter_10 closed:fts_shutter_100@black 200:fts_shutter_100@black 19\d.*:fts_shutter_90@black 18\d.*:fts_shutter_80@black 17\d.*:fts_shutter_70@black 16\d.*:fts_shutter_60@black 15\d.*:fts_shutter_50@black 14\d.*:fts_shutter_40@black 13\d.*:fts_shutter_30@black 12\d.*:fts_shutter_20@black 11\d.*:fts_shutter_10@black
   drive-down-time-to-100 15
   drive-down-time-to-close 35
   drive-up-time-to-100 12
   drive-up-time-to-open 30
   eventMap   on:runter stop:stop go-my:my off:rauf
   fhem_widget_channels [{"filter":"public","alias":"Rollo\nKüche","allowed_values":["0","20","40","60","80","100"],"order":206,"locations":["SIRI","APP","WIDGET"],"group":"Rollos","controlled_attribute":"position"}]
   finalPosReading usrPos
   group      Rolladenstatus
   model      somfyshutter
   positionInverse 0
   room       Homekit,Rollos,SOMFY,Wohnzimmer,Z_System->fhemwidget2
   userReadings myBrightness {ascAPIget('BrightnessAverage',$NAME)},
myBrightnessForShadingCloudy {ascAPIget('ShadingStateChangeCloudy',$NAME)},
myBrightnessForShadingSunny {ascAPIget('ShadingStateChangeSunny',$NAME)},
myTemperatureExtern {ascAPIget('OutTemp',$NAME)},
myTemperatureExternForShadingMin {AttrVal("$NAME", "ASC_Shading_Min_OutsideTemperature","")},
mySunAzimuth {ascAPIget('Azimuth')},
mySunAzimuthLeft {ascAPIget('ShadingAzimuthLeft',$NAME)},
mySunAzimuthRight {ascAPIget('ShadingAzimuthRight',$NAME)},
mySunElevation {ascAPIget('Elevation')},
mySunElevationForShadingMin {ascAPIget('ShadingMinElevation',$NAME)},
mySunElevationForShadingMax {ascAPIget('ShadingMaxElevation',$NAME)},
myShadingPASS_GreaterBrightnessSunny {if (ReadingsNum("$NAME","myBrightness",0) > ReadingsNum("$NAME","myBrightnessForShadingSunny",0)) {"True"} else {"False"}},
myShadingPASS_LowerBrightnessCloudy {if (ReadingsNum("$NAME","myBrightness",0) > ReadingsNum("$NAME","myBrightnessForShadingCloudy",0)) {"True"} else {"False"}},
myShadingPASS_GreaterSunAzimuthLeft {if (ReadingsNum("$NAME","mySunAzimuth",0) > ReadingsNum("$NAME","mySunAzimuthLeft",0)) {"True"} else {"False"}},
myShadingPASS_LowerSunAzimuthRight {if (ReadingsNum("$NAME","mySunAzimuth",0) < ReadingsNum("$NAME","mySunAzimuthRight",0)) {"True"} else {"False"}},
myShadingPASS_GreaterSunElevationMin {if (ReadingsNum("$NAME","mySunElevation",0) > ReadingsNum("$NAME","mySunElevationForShadingMin",0)) {"True"} else {"False"}},
myShadingPASS_LowerSunElevationMax {if (ReadingsNum("$NAME","mySunElevation",0) < ReadingsNum("$NAME","mySunElevationForShadingMax",0)) {"True"} else {"False"}},
myShadingPASS_GreaterTemperatureExternMin {if (ReadingsNum("$NAME","myTemperatureExtern",0) > ReadingsNum("$NAME","myTemperatureExternForShadingMin",0)) {"True"} else {"False"}}

   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_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 room_map structexclude
   verbose    0
   webCmd     stop:my:runter:20:40:60:80:100:rauf


Ich verwende die ASC V0.10.2

Danke, lg, Gerhard

flummy1978

Mahlzeit,

momentan komme ich immer besser mit den einzelnen Feinheiten klar. Eine Absolute Ausnahme-Geschichte löse ich bei mir intern aber dennoch habe ich ein "größeres" Problem:

Ich habe ein Bad Rollo, das fast nach Norden zeigt. Demnach ist dort früh Morgen Knüppelsonne drauf. Der Helligkeitssensor ist aber innerhalb des Raumes, also habe ich das mit Hilfe von ASC_PrivacyUpValue_beforeDayOpen gelöst, dass das Rollo quasi vor dem Sonnenschein auf 65 gefahren wird und dann anhand der Einstellungen beschattet oder eben nicht. Das funktioniert soweit ich bisher erkennen konnte PERFEKT Was mir halt komisch vorkam (beim ersten Mal habe ich es noch als Zufall abgetan, danach nicht mehr), ist dass wenn ich in der Shading in Zeit manuell hochfahre, der Rolladen direkt danach sofort wieder runter in Shading in fährt *verwirrtbin* Blockingaftermanuall steht aber noch auf  3600... Kannst Du da so schon erkennen, woran es liegen könnte, oder muss ich tatsächlich debuggen, wenn es soweit ist ?

Internals:
   FUUID      5c46de22-f33f-bea8-979f-89a2e7ebbf80d514
   NAME       Rollo_EG_BAD
   NR         58
   STATE      <pre>
read1:open

read2:open

read3:open
</pre>
   TYPE       ROLLO
   stoptime   1594030470
   .attraggr:
   .attreour:
     state
      ASC_ShadingMessage
      ASC_Shading_WaitingPeriod
      ASC_ShuttersLastDrive
   .attrminint:
   READINGS:
     2020-06-24 02:13:46   .ASC_AttrUpdateChanges_v0.10.0 1
     2019-05-24 15:44:05   ASC_Enable      on
     2020-07-06 15:20:17   ASC_ShadingMessage INFO: current shading status is 'out' - next check in 2.5m
     2019-04-23 15:06:42   ASC_Shading_WaitingPeriod 120
     2019-06-04 21:00:02   ASC_ShuttersLastDrive night close
     2020-07-06 09:00:02   ASC_Time_DriveDown  6.07.2020 - 21:00
     2020-07-06 09:00:02   ASC_Time_DriveUp  7.07.2020 - 09:00
     2020-07-06 09:00:02   ASC_Time_PrivacyDriveDown  6.07.2020 - 19:00
     2020-07-06 09:00:02   ASC_Time_PrivacyDriveUp  7.07.2020 - 07:00
     2020-06-27 12:40:30   associatedWith  AUTO_RolloSteuerung
     2020-07-06 12:14:19   command         pct-0
     2020-07-06 12:14:19   desired_pct     0
     2020-07-06 12:14:19   drive-type      modul
     2020-07-06 12:14:19   last_drive      drive-up
     2020-07-06 12:14:30   pct             0
     2020-07-06 12:14:30   state           open
Attributes:
   ASC        1
   ASC_Antifreeze off
   ASC_Antifreeze_Pos 95
   ASC_AutoAstroModeEvening none
   ASC_AutoAstroModeEveningHorizon none
   ASC_AutoAstroModeMorning none
   ASC_AutoAstroModeMorningHorizon none
   ASC_BlockingTime_afterManual 3600
   ASC_BlockingTime_beforDayOpen 0
   ASC_BlockingTime_beforNightClose 3600
   ASC_BrightnessSensor dev_EG_BD_LUX:illuminance
   ASC_Closed_Pos 100
   ASC_ComfortOpen_Pos 20
   ASC_Down   astro
   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 7200
   ASC_PrivacyDown_Pos 55
   ASC_PrivacyUpValue_beforeDayOpen 7200
   ASC_PrivacyUp_Pos 65
   ASC_Roommate_Device none
   ASC_Roommate_Reading state
   ASC_Shading_InOutAzimuth 50:140
   ASC_Shading_MinMax_Elevation 5
   ASC_Shading_Min_OutsideTemperature 3
   ASC_Shading_Mode always
   ASC_Shading_Pos 60
   ASC_Shading_StateChange_SunnyCloudy 26000:1700
   ASC_Shading_WaitingPeriod 300
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 19:00
   ASC_Time_Down_Late 21:00
   ASC_Time_Up_Early 09:00
   ASC_Time_Up_Late 09:30
   ASC_Time_Up_WE_Holiday 10:00
   ASC_Up     astro
   ASC_Ventilate_Pos 40
   ASC_Ventilate_Window_Open on
   ASC_WiggleValue 5
   ASC_WindowRec none
   ASC_WindowRec_subType twostate
   DbLogExclude .*
   alias      Rollo Bad
   automatic-enabled on
   cmdIcon    open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   devStateIcon 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.drive-down:rc_DOWN@red:stop read3..*:rc_DOWN@red:closed
   event-on-update-reading state, ASC_ShadingMessage, ASC_Shading_WaitingPeriod, ASC_ShuttersLastDrive
   group      Fenster
   rl_autoStop 0
   rl_blockMode none
   rl_commandDown set EG_BAD_RO_ROLLO_AUF off; set EG_BAD_RO_ROLLO_ZU on
   rl_commandStop set EG_BAD_RO_ROLLO_AUF off;set EG_BAD_RO_ROLLO_ZU off
   rl_commandUp set EG_BAD_RO_ROLLO_ZU off;set EG_BAD_RO_ROLLO_AUF on
   rl_excessBottom 2
   rl_excessTop 1
   rl_resetTime 0
   rl_secondsDown 15
   rl_secondsUp 17
   rl_switchTime 3
   rl_type    normal
   room       Bad
   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_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     pct


Vielen Dank und viele Grüße
Andreas

CoolTux

Zitat von: gestein am 06 Juli 2020, 15:27:47
Hallo,

ich habe für meine Türsensoren jeweils eigene Dummy-Devices angelegt, um "open/closed" darzustellen.
Bei den Terrassentüren fährt kein Rollo in die Beschattung, wenn das entsprechende Device "open" meldet. Der Rollo bleibt auf Pos=0.
Wenn ich dann die Türe zumache, dann fährt der Rollo in die Beschattungsposition (Pos=92).
So weit sollte es also passen.

Wenn ich nun allerdings die Tür aufmache, fährt der Rollo aber nicht wieder hoch (Pos=0).

Soll das so sein?

Hier ein List meines Rollos:
Internals:
   ADDRESS    12345F
   DEF        12345F AA 043F
   FUUID      5c43b914-f33f-0b7a-c764-ed8e2dee913952f4
   FVERSION   10_SOMFY.pm:v1.0.0-s12918/2016-12-31
   IODev      mySIGNALduino
   NAME       Rollo.WZ.Kueche
   NR         486
   STATE      90
   TYPE       SOMFY
   move       stop
   CODE:
     1          12345F
   OLDREADINGS:
   READINGS:
     2020-01-04 22:48:18   ASC_Enable      on
     2020-07-06 15:25:38   ASC_ShadingMessage INFO: current shading status is 'in' - next check in 5m
     2020-07-06 14:58:42   ASC_ShuttersLastDrive shading in
     2020-07-06 06:48:06   ASC_Time_DriveDown  6.07.2020 - 23:30
     2020-07-06 06:48:06   ASC_Time_DriveUp  7.07.2020 - 06:00
     2020-07-06 06:47:56   associatedWith  myASControl
     2020-07-06 14:58:41   enc_key         AA
     2020-07-06 14:58:41   exact           92
     2020-07-06 15:25:38   myBrightness    23592
     2020-07-06 15:25:38   myBrightnessForShadingCloudy 22000
     2020-07-06 15:25:38   myBrightnessForShadingSunny 55000
     2020-07-06 15:25:38   myShadingPASS_GreaterBrightnessSunny False
     2020-07-06 15:25:38   myShadingPASS_GreaterSunAzimuthLeft True
     2020-07-06 15:25:38   myShadingPASS_GreaterSunElevationMin True
     2020-07-06 15:25:38   myShadingPASS_GreaterTemperatureExternMin True
     2020-07-06 15:25:38   myShadingPASS_LowerBrightnessCloudy True
     2020-07-06 15:25:38   myShadingPASS_LowerSunAzimuthRight True
     2020-07-06 15:25:38   myShadingPASS_LowerSunElevationMax True
     2020-07-06 15:25:38   mySunAzimuth    240.26
     2020-07-06 15:25:38   mySunAzimuthLeft 223
     2020-07-06 15:25:38   mySunAzimuthRight 360
     2020-07-06 15:25:38   mySunElevation  51.41
     2020-07-06 15:25:38   mySunElevationForShadingMax 90
     2020-07-06 15:25:38   mySunElevationForShadingMin 5
     2020-07-06 15:25:38   myTemperatureExtern 28.9
     2020-07-06 15:25:38   myTemperatureExternForShadingMin 21
     2020-07-06 14:58:41   position        90
     2020-07-06 14:58:41   rolling_code    043F
     2020-07-06 14:58:41   state           90
     2020-07-06 14:58:41   usrPos          92
   helper:
     bm:
       SOMFY_Set:
         cnt        160
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        06.07. 14:58:27
         max        0.444139003753662
         tot        0.921118497848511
         mAr:
           HASH(0x4b8e2b0)
           Rollo.WZ.Kueche
           position
           92
Attributes:
   ASC        1
   ASC_BrightnessSensor TW.Helligkeit
   ASC_Closed_Pos 200
   ASC_Down   time
   ASC_Drive_DelayStart 20
   ASC_LockOut soft
   ASC_Mode_Down off
   ASC_Partymode on
   ASC_Pos_Reading usrPos
   ASC_Shading_InOutAzimuth 223:360
   ASC_Shading_MinMax_Elevation 5:90
   ASC_Shading_Min_OutsideTemperature 21
   ASC_Shading_Mode always
   ASC_Shading_Pos {my $myPos=ReadingsVal('Zuhause','state','home'); my $ret= ($myPos eq 'home' ? 92 : 190); Log 1, "Rollo.WZ.Kueche: Zuhause=" . $myPos . ", ret=". $ret; return $ret; }
   ASC_Shading_StateChange_SunnyCloudy 55000:22000
   ASC_Shading_WaitingPeriod 300
   ASC_ShuttersPlace terrace
   ASC_Sleep_Pos 95
   ASC_TempSensor OZW772:Aussentemperatur
   ASC_Time_Down_Early 23:30
   ASC_Time_Up_Early 6:00
   ASC_Up     time
   ASC_Ventilate_Window_Open off
   ASC_WindProtection on
   ASC_WindowRec WZ.FensterKueche
   ASC_WindowRec_subType twostate
   IODev      mySIGNALduino
   autoStoreRollingCode 1
   devStateIcon open:fts_shutter_10 down:fts_shutter_100 100:fts_shutter_100 9\d.*:fts_shutter_90 8\d.*:fts_shutter_80 7\d.*:fts_shutter_70 6\d.*:fts_shutter_60 5\d.*:fts_shutter_50 4\d.*:fts_shutter_40 3\d.*:fts_shutter_30 2\d.*:fts_shutter_20 1\d.*:fts_shutter_10 0\d.*:fts_shutter_10 closed:fts_shutter_100@black 200:fts_shutter_100@black 19\d.*:fts_shutter_90@black 18\d.*:fts_shutter_80@black 17\d.*:fts_shutter_70@black 16\d.*:fts_shutter_60@black 15\d.*:fts_shutter_50@black 14\d.*:fts_shutter_40@black 13\d.*:fts_shutter_30@black 12\d.*:fts_shutter_20@black 11\d.*:fts_shutter_10@black
   drive-down-time-to-100 15
   drive-down-time-to-close 35
   drive-up-time-to-100 12
   drive-up-time-to-open 30
   eventMap   on:runter stop:stop go-my:my off:rauf
   fhem_widget_channels [{"filter":"public","alias":"Rollo\nKüche","allowed_values":["0","20","40","60","80","100"],"order":206,"locations":["SIRI","APP","WIDGET"],"group":"Rollos","controlled_attribute":"position"}]
   finalPosReading usrPos
   group      Rolladenstatus
   model      somfyshutter
   positionInverse 0
   room       Homekit,Rollos,SOMFY,Wohnzimmer,Z_System->fhemwidget2
   userReadings myBrightness {ascAPIget('BrightnessAverage',$NAME)},
myBrightnessForShadingCloudy {ascAPIget('ShadingStateChangeCloudy',$NAME)},
myBrightnessForShadingSunny {ascAPIget('ShadingStateChangeSunny',$NAME)},
myTemperatureExtern {ascAPIget('OutTemp',$NAME)},
myTemperatureExternForShadingMin {AttrVal("$NAME", "ASC_Shading_Min_OutsideTemperature","")},
mySunAzimuth {ascAPIget('Azimuth')},
mySunAzimuthLeft {ascAPIget('ShadingAzimuthLeft',$NAME)},
mySunAzimuthRight {ascAPIget('ShadingAzimuthRight',$NAME)},
mySunElevation {ascAPIget('Elevation')},
mySunElevationForShadingMin {ascAPIget('ShadingMinElevation',$NAME)},
mySunElevationForShadingMax {ascAPIget('ShadingMaxElevation',$NAME)},
myShadingPASS_GreaterBrightnessSunny {if (ReadingsNum("$NAME","myBrightness",0) > ReadingsNum("$NAME","myBrightnessForShadingSunny",0)) {"True"} else {"False"}},
myShadingPASS_LowerBrightnessCloudy {if (ReadingsNum("$NAME","myBrightness",0) > ReadingsNum("$NAME","myBrightnessForShadingCloudy",0)) {"True"} else {"False"}},
myShadingPASS_GreaterSunAzimuthLeft {if (ReadingsNum("$NAME","mySunAzimuth",0) > ReadingsNum("$NAME","mySunAzimuthLeft",0)) {"True"} else {"False"}},
myShadingPASS_LowerSunAzimuthRight {if (ReadingsNum("$NAME","mySunAzimuth",0) < ReadingsNum("$NAME","mySunAzimuthRight",0)) {"True"} else {"False"}},
myShadingPASS_GreaterSunElevationMin {if (ReadingsNum("$NAME","mySunElevation",0) > ReadingsNum("$NAME","mySunElevationForShadingMin",0)) {"True"} else {"False"}},
myShadingPASS_LowerSunElevationMax {if (ReadingsNum("$NAME","mySunElevation",0) < ReadingsNum("$NAME","mySunElevationForShadingMax",0)) {"True"} else {"False"}},
myShadingPASS_GreaterTemperatureExternMin {if (ReadingsNum("$NAME","myTemperatureExtern",0) > ReadingsNum("$NAME","myTemperatureExternForShadingMin",0)) {"True"} else {"False"}}

   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_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 room_map structexclude
   verbose    0
   webCmd     stop:my:runter:20:40:60:80:100:rauf


Ich verwende die ASC V0.10.2

Danke, lg, Gerhard



Du musst ASC_Ventilate_Window_Open off ändern auf ASC_Ventilate_Window_Open on und die Ventilate Position entsprechend setzen so das das Rollo so weit hoch geht das Du die Terrasse betreten kannst
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

Karflyer

ZitatEine Frage zu dem 'Shading-Teil' im Modul. Ich habe den Eindruck, dass nach einem manuellen Fahren eines Rollladen am Tag kein Shading mehr stattfindet bis durch ASC eine automatische Fahrt durchgeführt wurde (meistens dann Abends das automatische runterfahren der Rollos den manuellen Status beendet). Ist das so gewollt?

Grüße
Stefan

Jein. Wenn innerhalb einer Beschattung eine manuelle Fahrt statt findet, dann wird dieses Rollo für die Beschattung bis zur nächsten Shading in Phase nicht mehr angefasst. Dazu muss aber das Rollo einmal in Shading out gefahren sein.

Gibt es eine Möglichkeit nach einer manuellen Fahrt durch einen 'Trigger' das 'Shading' wieder automatisiert aufgenommen wird, ohne vorher über 'Shading out' gekommen zu sein?

CoolTux

Zitat von: flummy1978 am 06 Juli 2020, 15:29:26
Mahlzeit,

momentan komme ich immer besser mit den einzelnen Feinheiten klar. Eine Absolute Ausnahme-Geschichte löse ich bei mir intern aber dennoch habe ich ein "größeres" Problem:

Ich habe ein Bad Rollo, das fast nach Norden zeigt. Demnach ist dort früh Morgen Knüppelsonne drauf. Der Helligkeitssensor ist aber innerhalb des Raumes, also habe ich das mit Hilfe von ASC_PrivacyUpValue_beforeDayOpen gelöst, dass das Rollo quasi vor dem Sonnenschein auf 65 gefahren wird und dann anhand der Einstellungen beschattet oder eben nicht. Das funktioniert soweit ich bisher erkennen konnte PERFEKT Was mir halt komisch vorkam (beim ersten Mal habe ich es noch als Zufall abgetan, danach nicht mehr), ist dass wenn ich in der Shading in Zeit manuell hochfahre, der Rolladen direkt danach sofort wieder runter in Shading in fährt *verwirrtbin* Blockingaftermanuall steht aber noch auf  3600... Kannst Du da so schon erkennen, woran es liegen könnte, oder muss ich tatsächlich debuggen, wenn es soweit ist ?

Internals:
   FUUID      5c46de22-f33f-bea8-979f-89a2e7ebbf80d514
   NAME       Rollo_EG_BAD
   NR         58
   STATE      <pre>
read1:open

read2:open

read3:open
</pre>
   TYPE       ROLLO
   stoptime   1594030470
   .attraggr:
   .attreour:
     state
      ASC_ShadingMessage
      ASC_Shading_WaitingPeriod
      ASC_ShuttersLastDrive
   .attrminint:
   READINGS:
     2020-06-24 02:13:46   .ASC_AttrUpdateChanges_v0.10.0 1
     2019-05-24 15:44:05   ASC_Enable      on
     2020-07-06 15:20:17   ASC_ShadingMessage INFO: current shading status is 'out' - next check in 2.5m
     2019-04-23 15:06:42   ASC_Shading_WaitingPeriod 120
     2019-06-04 21:00:02   ASC_ShuttersLastDrive night close
     2020-07-06 09:00:02   ASC_Time_DriveDown  6.07.2020 - 21:00
     2020-07-06 09:00:02   ASC_Time_DriveUp  7.07.2020 - 09:00
     2020-07-06 09:00:02   ASC_Time_PrivacyDriveDown  6.07.2020 - 19:00
     2020-07-06 09:00:02   ASC_Time_PrivacyDriveUp  7.07.2020 - 07:00
     2020-06-27 12:40:30   associatedWith  AUTO_RolloSteuerung
     2020-07-06 12:14:19   command         pct-0
     2020-07-06 12:14:19   desired_pct     0
     2020-07-06 12:14:19   drive-type      modul
     2020-07-06 12:14:19   last_drive      drive-up
     2020-07-06 12:14:30   pct             0
     2020-07-06 12:14:30   state           open
Attributes:
   ASC        1
   ASC_Antifreeze off
   ASC_Antifreeze_Pos 95
   ASC_AutoAstroModeEvening none
   ASC_AutoAstroModeEveningHorizon none
   ASC_AutoAstroModeMorning none
   ASC_AutoAstroModeMorningHorizon none
   ASC_BlockingTime_afterManual 3600
   ASC_BlockingTime_beforDayOpen 0
   ASC_BlockingTime_beforNightClose 3600
   ASC_BrightnessSensor dev_EG_BD_LUX:illuminance
   ASC_Closed_Pos 100
   ASC_ComfortOpen_Pos 20
   ASC_Down   astro
   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 7200
   ASC_PrivacyDown_Pos 55
   ASC_PrivacyUpValue_beforeDayOpen 7200
   ASC_PrivacyUp_Pos 65
   ASC_Roommate_Device none
   ASC_Roommate_Reading state
   ASC_Shading_InOutAzimuth 50:140
   ASC_Shading_MinMax_Elevation 5
   ASC_Shading_Min_OutsideTemperature 3
   ASC_Shading_Mode always
   ASC_Shading_Pos 60
   ASC_Shading_StateChange_SunnyCloudy 26000:1700
   ASC_Shading_WaitingPeriod 300
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 19:00
   ASC_Time_Down_Late 21:00
   ASC_Time_Up_Early 09:00
   ASC_Time_Up_Late 09:30
   ASC_Time_Up_WE_Holiday 10:00
   ASC_Up     astro
   ASC_Ventilate_Pos 40
   ASC_Ventilate_Window_Open on
   ASC_WiggleValue 5
   ASC_WindowRec none
   ASC_WindowRec_subType twostate
   DbLogExclude .*
   alias      Rollo Bad
   automatic-enabled on
   cmdIcon    open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   devStateIcon 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.drive-down:rc_DOWN@red:stop read3..*:rc_DOWN@red:closed
   event-on-update-reading state, ASC_ShadingMessage, ASC_Shading_WaitingPeriod, ASC_ShuttersLastDrive
   group      Fenster
   rl_autoStop 0
   rl_blockMode none
   rl_commandDown set EG_BAD_RO_ROLLO_AUF off; set EG_BAD_RO_ROLLO_ZU on
   rl_commandStop set EG_BAD_RO_ROLLO_AUF off;set EG_BAD_RO_ROLLO_ZU off
   rl_commandUp set EG_BAD_RO_ROLLO_ZU off;set EG_BAD_RO_ROLLO_AUF on
   rl_excessBottom 2
   rl_excessTop 1
   rl_resetTime 0
   rl_secondsDown 15
   rl_secondsUp 17
   rl_switchTime 3
   rl_type    normal
   room       Bad
   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_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     pct


Vielen Dank und viele Grüße
Andreas

Hallo Andreas, das kann ich selbst debuggen. Also zu mindest ob die Zeiten entsprechend eingehalten werden. Wird denn auch tatsächlich die manuelle Fahrt von Dir von ASC als manuelle Fahrt für das Rollo erkannt?
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 06 Juli 2020, 15:56:08
Wird denn auch tatsächlich die manuelle Fahrt von Dir von ASC als manuelle Fahrt für das Rollo erkannt?
Das kann ich so leider nicht mit Gewissheit sagen ;( Wäre ein Versuchsteil für morgen (sofern der Rolladen in Shading in bleibt)

shrek71

Hallo CoolTux,

ich hatte die Tage von V0.9 auf V0.10 aktualisiert. Seit einiger Zeit habe ich auch die Steuerung disabled.

Siehe:
ascEnable
off
2020-07-06 17:35:07

controlShading
off
2020-07-06 17:28:12

hardLockOut
off
2020-05-24 10:06:37

Trotzdem sind nun alle Rolladen eingeschaltet und werden gesteuert. Ich denke das ist nicht im Interesse des Erfinders. Dann bin ich über
folgendes Reading bei den einzelnen Rolläden gestolpert:
ASC_Enable
on
2020-02-24 19:25:44

Jetzt bin ich verwirrt, die globale über Rolladensteuerung eingestelltes off funktioniert nicht und eine globale Änderung dieses Parameters hat keine
Auswirkung über die einzelnen Rolläden mehr.
Was muss ich nun tun, um dieses vorher einfachen Weg wieder zu bekommen?

Gruß,
Shrek

CoolTux

Wenn Du jetzt ein Update machst ist es behoben. War ein Fehler in Version 0.10.1
Sollte in 0.10.2 behoben sein.
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

Zitat von: CoolTux am 06 Juli 2020, 15:16:48
Jein. Wenn innerhalb einer Beschattung eine manuelle Fahrt statt findet, dann wird dieses Rollo für die Beschattung bis zur nächsten Shading in Phase nicht mehr angefasst. Dazu muss aber das Rollo einmal in Shading out gefahren sein.

Zählt denn dann der ExternalTrigger auch als manuelle Fahrt? Ich habe bei mir eine separate Fernsehbeschattung umgesetzt, die zwei Rollläden in die Beschattung fährt, wenn der Fernseher eingeschaltet ist und einige Sonnenbedingungen passen. Der West Rolladen ist dabei auch für die reguläre Beschattung eingestellt, der Nord Rollladen nicht. Wenn jetzt bereits die reguläre Beschattung aktiv ist, dann fährt der West Rollladen von der Beschattungsposition in die Fernsehbeschattungsposition. Im ASC Device steht dann auch "external trigger device active".
Wenn jetzt aber der Fernseher ausgeschaltet wird, dann fährt nur der Nord Rollladen wieder hoch und im ASC Device steht "external trigger device inactive". Der West Rollladen fährt leider nicht wieder in die reguläre Beschattungsposition und im ASC Device steht weiterhin "external trigger device active".

Ich hänge mal eine List vom ASC Device und von den beiden Rollläden an:

Internals:
   FUUID      5e8c3960-f33f-bf2d-1afa-7a7a8c271e83f70f
   FVERSION   73_AutoShuttersControl.pm:v0.10.2-s22328/2020-07-02 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       Rollladensteuerung
   NOTIFYDEV  global,Rollladensteuerung,R_EG_Kueche,R_EG_WZ_Nord_Mitte,R_EG_WZ_Nord_li,R_EG_WZ_Nord_re,R_EG_WZ_Ost_li,R_EG_WZ_Ost_re,R_EG_WZ_West,R_OG_Ankleide,R_OG_Bad,R_OG_KZ_Nord,R_OG_KZ_West,R_OG_SZ_Nord,R_OG_SZ_Ost,R_UG_Buero_Nord,R_UG_Buero_Ost,R_UG_Gaestezimmer,R_OG_KZ_West,F_EG_Kueche,R_EG_WZ_Nord_re,R_OG_Bad,rr_Niklas,rgr_Bewohner,R_UG_Gaestezimmer,R_EG_WZ_Nord_Mitte,R_EG_WZ_West,R_UG_Buero_Nord,R_OG_KZ_Nord,F_OG_Ankleide,WZ_Bewegungsmelder,F_OG_Schlafzimmer_Ost,R_OG_SZ_Ost,F_EG_WZ_West,R_EG_WZ_Ost_re,myAstro,R_EG_WZ_Nord_li,R_EG_WZ_Ost_li,F_UG_Gaestezimmer,R_OG_SZ_Nord,R_EG_Kueche,F_UG_Buero,F_EG_WZ_Nord_re,R_OG_Ankleide,F_EG_WZ_Ost,R_UG_Buero_Ost,Fernsehbeschattung_dummy
   NR         132
   NTFY_ORDER 51-Rollladensteuerung
   STATE      external trigger device active
   TYPE       AutoShuttersControl
   VERSION    v0.10.2
   OLDREADINGS:
   READINGS:
     2020-07-06 13:29:34   R_EG_Kueche_PosValue 100
     2020-07-06 13:29:17   R_EG_Kueche_lastPosValue 30
     2020-07-06 05:33:56   R_EG_Kueche_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-07-06 05:34:20   R_EG_WZ_Nord_Mitte_PosValue 100
     2020-07-06 05:33:56   R_EG_WZ_Nord_Mitte_lastPosValue 0
     2020-07-06 05:33:56   R_EG_WZ_Nord_Mitte_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-07-06 18:01:21   R_EG_WZ_Nord_li_PosValue 20
     2020-07-06 18:01:04   R_EG_WZ_Nord_li_lastPosValue 100
     2020-07-06 05:33:57   R_EG_WZ_Nord_li_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-07-06 05:34:30   R_EG_WZ_Nord_re_PosValue 100
     2020-07-06 05:33:58   R_EG_WZ_Nord_re_lastPosValue 13
     2020-07-06 05:33:58   R_EG_WZ_Nord_re_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-07-06 13:29:46   R_EG_WZ_Ost_li_PosValue 100
     2020-07-06 13:29:17   R_EG_WZ_Ost_li_lastPosValue 30
     2020-07-06 05:33:58   R_EG_WZ_Ost_li_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-07-06 13:29:48   R_EG_WZ_Ost_re_PosValue 100
     2020-07-06 13:29:18   R_EG_WZ_Ost_re_lastPosValue 30
     2020-07-06 05:33:59   R_EG_WZ_Ost_re_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-07-06 16:25:13   R_EG_WZ_West_PosValue 20
     2020-07-06 18:01:04   R_EG_WZ_West_lastPosValue 29
     2020-07-06 05:33:59   R_EG_WZ_West_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-07-06 14:46:46   R_OG_Ankleide_PosValue 20
     2020-07-06 14:46:30   R_OG_Ankleide_lastPosValue 100
     2020-07-06 08:00:02   R_OG_Ankleide_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-07-06 13:29:34   R_OG_Bad_PosValue 100
     2020-07-06 13:29:18   R_OG_Bad_lastPosValue 30
     2020-07-06 05:34:00   R_OG_Bad_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-07-06 06:21:33   R_OG_KZ_Nord_PosValue 100
     2020-07-05 22:09:00   R_OG_KZ_Nord_lastPosValue 0
     2020-07-06 05:34:00   R_OG_KZ_Nord_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-07-06 14:46:47   R_OG_KZ_West_PosValue 20
     2020-07-06 14:46:31   R_OG_KZ_West_lastPosValue 100
     2020-07-06 05:34:00   R_OG_KZ_West_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-07-06 06:22:42   R_OG_SZ_Nord_PosValue 100
     2020-06-21 21:56:05   R_OG_SZ_Nord_lastPosValue 100
     2020-07-06 05:34:00   R_OG_SZ_Nord_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-07-06 13:29:46   R_OG_SZ_Ost_PosValue 100
     2020-06-12 21:52:45   R_OG_SZ_Ost_lastDelayPosValue 0
     2020-07-06 13:29:19   R_OG_SZ_Ost_lastPosValue 30
     2020-07-06 05:34:00   R_OG_SZ_Ost_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-07-06 05:34:36   R_UG_Buero_Nord_PosValue 100
     2020-07-06 05:34:00   R_UG_Buero_Nord_lastPosValue 0
     2020-07-06 05:34:00   R_UG_Buero_Nord_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-07-06 13:29:37   R_UG_Buero_Ost_PosValue 100
     2020-07-06 13:29:20   R_UG_Buero_Ost_lastPosValue 30
     2020-07-06 05:34:01   R_UG_Buero_Ost_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-07-06 05:34:24   R_UG_Gaestezimmer_PosValue 100
     2020-07-06 05:34:02   R_UG_Gaestezimmer_lastPosValue 0
     2020-07-06 05:34:02   R_UG_Gaestezimmer_nextAstroTimeEvent  6.07.2020 - 21:52
     2020-04-07 10:27:12   ascEnable       on
     2020-07-05 08:47:30   controlShading  on
     2020-04-18 19:13:50   hardLockOut     off
     2020-07-05 08:47:23   room_Haus_ASC   R_EG_Kueche,R_EG_WZ_Nord_Mitte,R_EG_WZ_Nord_li,R_EG_WZ_Nord_re,R_EG_WZ_Ost_li,R_EG_WZ_Ost_re,R_EG_WZ_West,R_OG_Ankleide,R_OG_Bad,R_OG_KZ_Nord,R_OG_KZ_West,R_OG_SZ_Nord,R_OG_SZ_Ost,R_UG_Buero_Nord,R_UG_Buero_Ost,R_UG_Gaestezimmer
     2020-07-01 13:33:25   selfDefense     on
     2020-07-06 18:01:21   state           external trigger device active
     2020-04-07 10:27:12   sunriseTimeWeHoliday off
     2020-07-05 08:47:23   userAttrList    rolled out
   helper:
     shuttersList:
       R_EG_Kueche
       R_EG_WZ_Nord_Mitte
       R_EG_WZ_Nord_li
       R_EG_WZ_Nord_re
       R_EG_WZ_Ost_li
       R_EG_WZ_Ost_re
       R_EG_WZ_West
       R_OG_Ankleide
       R_OG_Bad
       R_OG_KZ_Nord
       R_OG_KZ_West
       R_OG_SZ_Nord
       R_OG_SZ_Ost
       R_UG_Buero_Nord
       R_UG_Buero_Ost
       R_UG_Gaestezimmer
   monitoredDevs:
     F_EG_Kueche:
       R_EG_Kueche ASC_WindowRec
     F_EG_WZ_Nord_re:
       R_EG_WZ_Nord_re ASC_WindowRec
     F_EG_WZ_Ost:
       R_EG_WZ_Ost_re ASC_WindowRec
     F_EG_WZ_West:
       R_EG_WZ_West ASC_WindowRec
     F_OG_Ankleide:
       R_OG_Ankleide ASC_WindowRec
     F_OG_Schlafzimmer_Ost:
       R_OG_SZ_Ost ASC_WindowRec
     F_UG_Buero:
       R_UG_Buero_Ost ASC_WindowRec
     F_UG_Gaestezimmer:
       R_UG_Gaestezimmer ASC_WindowRec
     Fernsehbeschattung_dummy:
       R_EG_WZ_Nord_li ASC_ExternalTrigger
       R_EG_WZ_West ASC_ExternalTrigger
     R_EG_Kueche:
     R_EG_WZ_Nord_Mitte:
     R_EG_WZ_Nord_li:
     R_EG_WZ_Nord_re:
     R_EG_WZ_Ost_li:
     R_EG_WZ_Ost_re:
     R_EG_WZ_West:
     R_OG_Ankleide:
     R_OG_Bad:
     R_OG_KZ_Nord:
     R_OG_KZ_West:
     R_OG_SZ_Nord:
     R_OG_SZ_Ost:
     R_UG_Buero_Nord:
     R_UG_Buero_Ost:
     R_UG_Gaestezimmer:
     WZ_Bewegungsmelder:
       R_EG_Kueche ASC_BrightnessSensor
       R_EG_WZ_Ost_li ASC_BrightnessSensor
       R_EG_WZ_Ost_re ASC_BrightnessSensor
       R_EG_WZ_West ASC_BrightnessSensor
       R_OG_Ankleide ASC_BrightnessSensor
       R_OG_Bad   ASC_BrightnessSensor
       R_OG_KZ_West ASC_BrightnessSensor
       R_OG_SZ_Ost ASC_BrightnessSensor
       R_UG_Buero_Ost ASC_BrightnessSensor
     myAstro:
       Rollladensteuerung ASC_twilightDevice
     rgr_Bewohner:
       R_UG_Buero_Ost ASC_Roommate_Device
       Rollladensteuerung ASC_residentsDev
     rr_Niklas:
       R_OG_KZ_Nord ASC_Roommate_Device
       R_OG_KZ_West ASC_Roommate_Device
Attributes:
   ASC_autoAstroModeEvening HORIZON
   ASC_autoAstroModeEveningHorizon -4
   ASC_expert 1
   ASC_freezeTemp -5
   ASC_residentsDev rgr_Bewohner:state
   ASC_tempSensor TH_Sensor_aussen
   ASC_twilightDevice myAstro
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       ASC


Internals:
   DEF        00165A49924574
   FUUID      5e80b5c5-f33f-bf2d-626f-c1fbb2f674e21ad0
   FVERSION   88_HMCCUDEV.pm:v4.3.12-s21452/2020-03-19
   IODev      MyCCU3
   NAME       R_EG_WZ_Nord_li
   NR         49
   STATE      20
   TYPE       HMCCUDEV
   ccuaddr    00165A49924574
   ccudevstate active
   ccuif      HmIP-RF
   ccuname    Rollladenaktor_2
   ccutype    HmIPW-DRBL4
   channels   18
   firmware   1.2.10
   statevals  devstate
   OLDREADINGS:
   READINGS:
     2020-07-06 17:47:08   0.ACTUAL_TEMPERATURE 26
     2020-07-06 17:47:08   0.ERROR_CODE    0
     2020-07-06 17:47:08   0.ERROR_OVERHEAT no
     2020-07-06 18:01:21   1.ACTIVITY_STATE stop
     2020-07-06 18:01:21   1.LEVEL         20
     2020-07-06 18:01:21   1.LEVEL_2       0
     2020-07-06 18:01:21   1.LEVEL_2_STATUS 0
     2020-07-06 18:01:21   1.LEVEL_STATUS  0
     2020-07-06 18:01:21   2.ACTIVITY_STATE stop
     2020-04-07 18:56:54   ASC_Enable      on
     2020-07-01 10:31:56   ASC_ShadingMessage <html> WARN:  global shading active but ASC_Shading_Mode attribut is not set or off </html>
     2020-07-06 18:01:22   ASC_ShuttersLastDrive external trigger device active
     2020-07-06 05:33:57   ASC_Time_DriveDown  6.07.2020 - 21:52
     2020-07-06 05:33:57   ASC_Time_DriveUp  7.07.2020 - 05:34
     2020-07-05 08:47:25   associatedWith  Rollladensteuerung
     2020-07-06 18:01:21   control         20
     2020-07-06 18:01:21   hmstate         20
     2020-07-06 18:01:21   state           20
   hmccu:
     devspec    00165A49924574
     dp:
       0.ACTUAL_TEMPERATURE:
         OSVAL      26
         OVAL       26.0
         SVAL       26
         VAL        26.0
       0.CONFIG_PENDING:
         OVAL       0
         VAL        0
       0.ERROR_CODE:
         OSVAL      0
         OVAL       0
         SVAL       0
         VAL        0
       0.ERROR_OVERHEAT:
         OSVAL      no
         OVAL       0
         SVAL       no
         VAL        0
       0.ERROR_UNDERVOLTAGE:
         OVAL       0
         VAL        0
       0.INSTALL_TEST:
         OVAL       true
         VAL        true
       0.OPERATING_VOLTAGE:
         OVAL       24.3
         VAL        24.3
       0.OPERATING_VOLTAGE_STATUS:
         OVAL       0
         VAL        0
       0.UNREACH:
         OVAL       0
         VAL        0
       0.UPDATE_PENDING:
         OVAL       false
         VAL        false
       1.ACTIVITY_STATE:
         OSVAL      down
         OVAL       2
         SVAL       stop
         VAL        3
       1.LEVEL:
         OSVAL      94
         OVAL       0.945
         SVAL       20
         VAL        0.2
       1.LEVEL_2:
         OSVAL      0
         OVAL       0.0
         SVAL       0
         VAL        0.0
       1.LEVEL_2_STATUS:
         OSVAL      0
         OVAL       0
         SVAL       0
         VAL        0
       1.LEVEL_STATUS:
         OSVAL      0
         OVAL       0
         SVAL       0
         VAL        0
       1.PROCESS:
         OVAL       1
         VAL        0
       1.SECTION:
         OVAL       
         VAL       
       1.SECTION_STATUS:
         OVAL       1
         VAL        1
       10.ACTIVITY_STATE:
         OVAL       3
         VAL        3
       10.LEVEL:
         OVAL       1.0
         VAL        1.0
       10.LEVEL_2:
         OVAL       1.0
         VAL        1.0
       10.LEVEL_2_STATUS:
         OVAL       0
         VAL        0
       10.LEVEL_STATUS:
         OVAL       0
         VAL        0
       10.PROCESS:
         OVAL       0
         VAL        0
       10.SECTION:
         OVAL       4
         VAL        4
       10.SECTION_STATUS:
         OVAL       0
         VAL        0
       11.ACTIVITY_STATE:
         OVAL       3
         VAL        3
       11.LEVEL:
         OVAL       0.0
         VAL        0.0
       11.LEVEL_2:
         OVAL       0.0
         VAL        0.0
       11.LEVEL_2_STATUS:
         OVAL       0
         VAL        0
       11.LEVEL_STATUS:
         OVAL       0
         VAL        0
       11.PROCESS:
         OVAL       0
         VAL        0
       11.SECTION:
         OVAL       0
         VAL        0
       11.SECTION_STATUS:
         OVAL       0
         VAL        0
       12.ACTIVITY_STATE:
         OVAL       3
         VAL        3
       12.LEVEL:
         OVAL       0.0
         VAL        0.0
       12.LEVEL_2:
         OVAL       0.0
         VAL        0.0
       12.LEVEL_2_STATUS:
         OVAL       0
         VAL        0
       12.LEVEL_STATUS:
         OVAL       0
         VAL        0
       12.PROCESS:
         OVAL       0
         VAL        0
       12.SECTION:
         OVAL       0
         VAL        0
       12.SECTION_STATUS:
         OVAL       0
         VAL        0
       13.ACTIVITY_STATE:
         OVAL       3
         VAL        3
       13.LEVEL:
         OVAL       1.0
         VAL        1.0
       13.LEVEL_2:
         OVAL       0.0
         VAL        0.0
       13.LEVEL_2_STATUS:
         OVAL       0
         VAL        0
       13.LEVEL_STATUS:
         OVAL       0
         VAL        0
       13.PROCESS:
         OVAL       0
         VAL        0
       13.SECTION:
         OVAL       
         VAL       
       13.SECTION_STATUS:
         OVAL       1
         VAL        1
       14.ACTIVITY_STATE:
         OVAL       3
         VAL        3
       14.LEVEL:
         OVAL       1.0
         VAL        1.0
       14.LEVEL_2:
         OVAL       0.0
         VAL        0.0
       14.LEVEL_2_STATUS:
         OVAL       0
         VAL        0
       14.LEVEL_STATUS:
         OVAL       0
         VAL        0
       14.PROCESS:
         OVAL       0
         VAL        0
       14.SECTION:
         OVAL       4
         VAL        4
       14.SECTION_STATUS:
         OVAL       0
         VAL        0
       15.ACTIVITY_STATE:
         OVAL       3
         VAL        3
       15.LEVEL:
         OVAL       0.0
         VAL        0.0
       15.LEVEL_2:
         OVAL       0.0
         VAL        0.0
       15.LEVEL_2_STATUS:
         OVAL       0
         VAL        0
       15.LEVEL_STATUS:
         OVAL       0
         VAL        0
       15.PROCESS:
         OVAL       0
         VAL        0
       15.SECTION:
         OVAL       0
         VAL        0
       15.SECTION_STATUS:
         OVAL       0
         VAL        0
       16.ACTIVITY_STATE:
         OVAL       3
         VAL        3
       16.LEVEL:
         OVAL       0.0
         VAL        0.0
       16.LEVEL_2:
         OVAL       0.0
         VAL        0.0
       16.LEVEL_2_STATUS:
         OVAL       0
         VAL        0
       16.LEVEL_STATUS:
         OVAL       0
         VAL        0
       16.PROCESS:
         OVAL       0
         VAL        0
       16.SECTION:
         OVAL       0
         VAL        0
       16.SECTION_STATUS:
         OVAL       0
         VAL        0
       17.WEEK_PROGRAM_CHANNEL_LOCKS:
         OVAL       0
         VAL        0
       2.ACTIVITY_STATE:
         OSVAL      down
         OVAL       2
         SVAL       stop
         VAL        3
       2.LEVEL:
         OVAL       1.0
         VAL        0.2
       2.LEVEL_2:
         OVAL       0.0
         VAL        0.0
       2.LEVEL_2_STATUS:
         OVAL       0
         VAL        0
       2.LEVEL_STATUS:
         OVAL       0
         VAL        0
       2.PROCESS:
         OVAL       1
         VAL        0
       2.SECTION:
         OVAL       3
         VAL        4
       2.SECTION_STATUS:
         OVAL       0
         VAL        0
       3.ACTIVITY_STATE:
         OVAL       3
         VAL        3
       3.LEVEL:
         OVAL       0.0
         VAL        0.0
       3.LEVEL_2:
         OVAL       0.0
         VAL        0.0
       3.LEVEL_2_STATUS:
         OVAL       0
         VAL        0
       3.LEVEL_STATUS:
         OVAL       0
         VAL        0
       3.PROCESS:
         OVAL       0
         VAL        0
       3.SECTION:
         OVAL       0
         VAL        0
       3.SECTION_STATUS:
         OVAL       0
         VAL        0
       4.ACTIVITY_STATE:
         OVAL       3
         VAL        3
       4.LEVEL:
         OVAL       0.0
         VAL        0.0
       4.LEVEL_2:
         OVAL       0.0
         VAL        0.0
       4.LEVEL_2_STATUS:
         OVAL       0
         VAL        0
       4.LEVEL_STATUS:
         OVAL       0
         VAL        0
       4.PROCESS:
         OVAL       0
         VAL        0
       4.SECTION:
         OVAL       0
         VAL        0
       4.SECTION_STATUS:
         OVAL       0
         VAL        0
       5.ACTIVITY_STATE:
         OVAL       3
         VAL        3
       5.LEVEL:
         OVAL       1.0
         VAL        1.0
       5.LEVEL_2:
         OVAL       0.0
         VAL        0.0
       5.LEVEL_2_STATUS:
         OVAL       0
         VAL        0
       5.LEVEL_STATUS:
         OVAL       0
         VAL        0
       5.PROCESS:
         OVAL       0
         VAL        0
       5.SECTION:
         OVAL       
         VAL       
       5.SECTION_STATUS:
         OVAL       1
         VAL        1
       6.ACTIVITY_STATE:
         OVAL       3
         VAL        3
       6.LEVEL:
         OVAL       1.0
         VAL        1.0
       6.LEVEL_2:
         OVAL       0.0
         VAL        0.0
       6.LEVEL_2_STATUS:
         OVAL       0
         VAL        0
       6.LEVEL_STATUS:
         OVAL       0
         VAL        0
       6.PROCESS:
         OVAL       0
         VAL        0
       6.SECTION:
         OVAL       4
         VAL        4
       6.SECTION_STATUS:
         OVAL       0
         VAL        0
       7.ACTIVITY_STATE:
         OVAL       3
         VAL        3
       7.LEVEL:
         OVAL       0.0
         VAL        0.0
       7.LEVEL_2:
         OVAL       0.0
         VAL        0.0
       7.LEVEL_2_STATUS:
         OVAL       0
         VAL        0
       7.LEVEL_STATUS:
         OVAL       0
         VAL        0
       7.PROCESS:
         OVAL       0
         VAL        0
       7.SECTION:
         OVAL       0
         VAL        0
       7.SECTION_STATUS:
         OVAL       0
         VAL        0
       8.ACTIVITY_STATE:
         OVAL       3
         VAL        3
       8.LEVEL:
         OVAL       0.0
         VAL        0.0
       8.LEVEL_2:
         OVAL       0.0
         VAL        0.0
       8.LEVEL_2_STATUS:
         OVAL       0
         VAL        0
       8.LEVEL_STATUS:
         OVAL       0
         VAL        0
       8.PROCESS:
         OVAL       0
         VAL        0
       8.SECTION:
         OVAL       0
         VAL        0
       8.SECTION_STATUS:
         OVAL       0
         VAL        0
       9.ACTIVITY_STATE:
         OVAL       3
         VAL        3
       9.LEVEL:
         OVAL       1.0
         VAL        1.0
       9.LEVEL_2:
         OVAL       1.0
         VAL        1.0
       9.LEVEL_2_STATUS:
         OVAL       0
         VAL        0
       9.LEVEL_STATUS:
         OVAL       0
         VAL        0
       9.PROCESS:
         OVAL       0
         VAL        0
       9.SECTION:
         OVAL       
         VAL       
       9.SECTION_STATUS:
         OVAL       1
         VAL        1
Attributes:
   ASC        2
   ASC_Antifreeze soft
   ASC_ExternalTrigger Fernsehbeschattung_dummy:state Beschattung_aktiv:Beschattung_inaktiv 20
   ASC_Pos_Reading control
   IODev      MyCCU3
   ccureadingfilter 1.LEVEL;1.ACTIVITY_STATE;2.ACTIVITY_STATE;(ERROR_CODE|ERROR_OVERHEAT|ACTUAL_TEMPERATURE|SELF_CALIBRATION_RESULT)
   ccureadingname 1.LEVEL$:+control
   ccuscaleval LEVEL:0:1:0:100
   cmdIcon    up:fts_shutter_up stop:fts_shutter_manual down:fts_shutter_down
   controldatapoint 2.LEVEL
   devStateIcon open:fts_window_2w@green closed:fts_shutter_100@red 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
   event-on-change-reading .*
   eventMap   /datapoint 2.STOP true:stop/datapoint 2.LEVEL 0:down/datapoint 2.LEVEL 100:up/
   group      Rollladen
   hmstatevals ACTUAL_TEMPERATURE_STATUS!2:tempOverflow,3:tempUnderflow;ERROR_OVERHEAT!(1|true):overheat
   room       Haus,ASC
   statedatapoint 1.LEVEL
   stripnumber 0
   substexcl  control|pct
   substitute LEVEL!#0-0:closed,#100-100:open;ACTIVITY_STATE!0:unknown,1:up,2:down,3:stop;ERROR_OVERHEAT!(0|false):no,(1|true):yes;ACTUAL_TEMPERATURE_STATUS!0:normal,1:unknown,2:overflow,3:underflow;SELF_CALIBRATION_RESULT!(0|false):failed,(1|true):ok
   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_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 Rollladen Rollladen_map structexclude
   webCmd     control:up:stop:down
   widgetOverride control:slider,0,10,100


Internals:
   DEF        00165A4992444B
   FUUID      5e80b3a3-f33f-bf2d-9e0d-3ffbc137b9c62ede
   FVERSION   88_HMCCUDEV.pm:v4.3.12-s21452/2020-03-19
   IODev      MyCCU3
   NAME       R_EG_WZ_West
   NR         47
   STATE      20
   TYPE       HMCCUDEV
   ccuaddr    00165A4992444B
   ccudevstate active
   ccuif      HmIP-RF
   ccuname    Rollladenaktor_1
   ccutype    HmIPW-DRBL4
   channels   18
   firmware   1.2.10
   statevals  devstate
   OLDREADINGS:
   READINGS:
     2020-07-06 17:42:22   0.ACTUAL_TEMPERATURE 26
     2020-07-06 17:42:22   0.ERROR_CODE    0
     2020-07-06 17:42:22   0.ERROR_OVERHEAT no
     2020-07-06 17:42:24   13.ACTIVITY_STATE stop
     2020-07-06 17:42:24   13.LEVEL        20
     2020-07-06 17:42:24   13.LEVEL_2      0
     2020-07-06 17:42:24   13.LEVEL_2_STATUS 0
     2020-07-06 17:42:24   13.LEVEL_STATUS 0
     2020-07-06 17:42:24   14.ACTIVITY_STATE stop
     2020-04-07 18:56:54   ASC_Enable      on
     2020-07-06 18:06:05   ASC_ShadingMessage INFO: current shading status is 'in' - next check in 2m
     2020-07-06 16:25:14   ASC_ShuttersLastDrive external trigger device active
     2020-07-06 05:33:59   ASC_Time_DriveDown  6.07.2020 - 21:52
     2020-07-06 05:33:59   ASC_Time_DriveUp  7.07.2020 - 05:34
     2020-07-05 08:47:25   associatedWith  Rollladensteuerung
     2020-07-06 17:42:24   control         20
     2020-07-06 17:42:24   hmstate         20
     2020-07-06 17:42:24   state           20
   hmccu:
     devspec    00165A4992444B
 
Attributes:
   ASC        2
   ASC_Antifreeze soft
   ASC_BrightnessSensor WZ_Bewegungsmelder:3.ILLUMINATION
   ASC_ExternalTrigger Fernsehbeschattung_dummy:state Beschattung_aktiv:Beschattung_inaktiv 20
   ASC_Pos_Reading control
   ASC_Shading_InOutAzimuth 170:299
   ASC_Shading_Min_OutsideTemperature 20
   ASC_Shading_Mode always
   ASC_Shading_Pos 30
   ASC_Shading_StateChange_SunnyCloudy 290:30
   ASC_Shading_WaitingPeriod 120
   ASC_Ventilate_Pos 12
   ASC_Ventilate_Window_Open on
   ASC_WindowRec F_EG_WZ_West
   IODev      MyCCU3
   ccureadingfilter 13.LEVEL;13.ACTIVITY_STATE;14.ACTIVITY_STATE;(ERROR_CODE|ERROR_OVERHEAT|ACTUAL_TEMPERATURE|SELF_CALIBRATION_RESULT)
   ccureadingname 13.LEVEL$:+control
   ccuscaleval LEVEL:0:1:0:100
   cmdIcon    up:fts_shutter_up stop:fts_shutter_manual down:fts_shutter_down
   controldatapoint 14.LEVEL
   devStateIcon open:fts_window_2w@green closed:fts_shutter_100@red 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
   event-on-change-reading .*
   eventMap   /datapoint 14.STOP true:stop/datapoint 14.LEVEL 0:down/datapoint 14.LEVEL 100:up/
   group      Rollladen
   hmstatevals ACTUAL_TEMPERATURE_STATUS!2:tempOverflow,3:tempUnderflow;ERROR_OVERHEAT!(1|true):overheat
   room       Haus,ASC
   statedatapoint 13.LEVEL
   stripnumber 0
   substexcl  control|pct
   substitute LEVEL!#0-0:closed,#100-100:open;ACTIVITY_STATE!0:unknown,1:up,2:down,3:stop;ERROR_OVERHEAT!(0|false):no,(1|true):yes;ACTUAL_TEMPERATURE_STATUS!0:normal,1:unknown,2:overflow,3:underflow;SELF_CALIBRATION_RESULT!(0|false):failed,(1|true):ok
   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_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 Rollladen Rollladen_map structexclude
   webCmd     control:up:stop:down
   widgetOverride control:slider,0,10,100

phoenix-anasazi

Hallo zusammen,

ich habe auch eine Wetterstation mit den entsprechenden Problemen. Bin ja froh, dass es euch auch so geht  ;) Freue mich also auch über die Unterstützung mehrerer Readings eines Sensors. Bei mir betrifft das aktuell nur Brightness und Regen.

Aber noch eine andere Sache. Bei mir ist die Anzeige von ASC_LastDrive sehr unzuverlässig. D.h. es steht nicht immer der aktuelle Grund für die letzte Fahrt drin. Oft wird das einfach nicht aktualisiert. Hat noch jemand das Problem? Gibt es dazu evtl. auch eine Lösung?

Danke und Grüße

D3ltorohd

Ich bräuchte hier mal generell Hilfe, wie ich nun den State meines Regensensor ins ASC bekomme ? Der liefert mir ganz simpel true / false. Das ganze sieht so aus.



Internals:
   CFGFN     
   FUUID      5f035c36-f33f-fc62-ff58-9555b8155d934df2
   NAME       zigbee.0.00158d00045a3466.detected
   NR         112
   STATE      false
   TYPE       dummy
   READINGS:
     2020-07-06 19:15:34   state           false
Attributes:
   alias      Regensensor Water leak detected
   comment    Auto-created by ioBroker fhem.0
   group      zigbee.0.00158d00045a3466
   room       ioB_IN


So wie müsste ich das beim ASC rainsensor attr eintragen ? Oder geht nicht, weil kein rain oder dry vorkommt, genau so wenig, wie ein Zahlenwert ?
Base : Intel NUC Debian 9, FHEM aktuell || Zigbee (Coordinator FW Z-Stack 1.2 default Koenkk) || MaxCUL (culfw V 1.67 nanoCUL868) || SIGNALduino 433MHz (V 3.3.2.1-rc8 ) || Shelly s1