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

Begonnen von CoolTux, 15 November 2019, 12:51:08

Vorheriges Thema - Nächstes Thema

Eistee

Zitat von: CoolTux am 13 April 2020, 18:14:25
Aber das stimmt doch gar nicht.
Du kannst jeden Wert für die ShadingPos setzen

attr ROLLONAME ASC_ShadingPos 5

Dann frage ich mich warum da kein Textfeld ist sondern ein Dropdown:

CoolTux

Weil ich da ein Dropdown angelegt habe. Aber du musst es ja nicht verwenden.
Du kannst doch über die Kommandozeile in FHEMWEB jeden FHEM Befehl verwenden. So auch den attr Befehl.
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

Wscheff

Zitat von: CoolTux am 12 April 2020, 15:14:04
Roommate ist in der Tat nur für eine komplette Roommate Kontrolle ohne weitere Prüfungen gedacht.
Teste mal bitte erstmal so wie du es mir erzählt hattest. Also brightness und absent. Deine Konstellation wollte so noch keiner, möglich das wir Logik Bugs finden.

Ich habe gestern heute mal die Testversion 0.8.27 angeschaut bezgl Roommate:

* Gestern und heute abend ist der Büro Rollo bei absent nicht gefahren.

* Heute morgen ist ein anderer Rollo auch nicht gefahren bei absent, manuell ausgelöst im roommate (war aber noch vor der ASC_Time_Up_WE_Holiday Zeit). Als dann die ASC_PrivacyUpValue_beforeDayOpen Zeit erreicht wurde, ist er in die Privacy gefahren, jedoch zur ASC_Time_Up_WE_Holiday nicht mehr weiter hoch.
Dann habe ich ihn manuell hochgefahren und er ist selbst in die ASC_Shading_Pos gefahren, nachdem die Bedingungen erfüllt waren.
Jetzt das Interessante: nachdem der Roommate home war, ist er in die ASC_Ventilate_Pos gefahren (mit ASC_ShuttersLastDrive: roommate come home - ventilate mode).

Was brauchst du, um Fehler weiter einzugrenzen?

Grüsse
ws

CoolTux

Eigentlich hatte ich gehofft Du testest erstmal nur Dein eigentliches Problem. Es ging doch darum das nur bei absent gefahren wird und Du mit Brightness arbeitest.
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

Wscheff

Ok. Ich versuche nochmal das Problem zu beschreiben

Rollo soll nach brightness fahren, Aber nur wenn absent.
Ich bekomme das mit meiner Einstellung nicht hin.

Wenn always eingestellt ist, funktioniert alles wunderbar. Gemäß brightness Einstellung. Wenn absent eingestellt ist, fährt das Rollo weder hoch runter.

An manchen Tagen (unregelmäßig) bin ich schon früher weg, da ist es im Sommer ja ok, wenn um 05:30 der Rollo hochfährt.

Aber wenn ich noch schlafe, Urlaub habe.... dann soll der Rollo unten bleiben, bis absent erkannt wird. Ich will keine extra sleep/awoken routine, sondern ich habe eine automatische home/absent Erkennung. Geht das überhaupt?

Vielleicht steh ich aber auf dem Schlauch und brauche nochmal eure/deine  Hilfe, dass ich die richtigen Parameter setze (an der richtigen Stelle)

CoolTux

Ich habe es eben getestet, es sollte funktionieren.

Zeig mal ein list vom Rollo 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

Wscheff



Internals:
   .eventMapCmd stop:noArg down:noArg up:noArg
   DEF        OEQ1968xx defaults
   FUUID      5c7bf840-f33f-8b14-79fd-b336f688957b7d72
   IODev      myCCU2
   NAME       Ro_SZ_Tuer
   NR         527
   STATE      40
   TYPE       HMCCUDEV
   ccuaddr    OEQ196xxx
   ccudevstate active
   ccuif      BidCos-RF
   ccuname    HM-LC-Bl1PBU-FM OEQ196xxx
   ccutype    HM-LC-Bl1PBU-FM
   channels   2
   firmware   2.11
   statevals  devstate
   .attraggr:
   .attreocr:
     .*
   .attrminint:
   .userReadings:
     HASH(0x29e0ae8)
   OLDREADINGS:
   READINGS:
     2020-04-13 16:52:25   .ASC_AttrUpdateChanges_v0.8.27 0.STICKY_UNREACH false
     2020-04-13 16:52:31   0.UNREACH       false
     2020-04-13 22:22:38   1.DIRECTION     none
     2020-04-13 16:52:31   1.INHIBIT       false
     2020-04-13 22:22:38   1.LEVEL         40
     2020-04-13 22:22:38   1.WORKING       no
     2019-11-16 16:04:03   ASC_Enable      on
     2020-04-13 22:22:38   ASC_ShuttersLastDrive ventilate - window open
     2020-04-13 21:02:26   ASC_Time_DriveDown 14.04.2020 - 21:02
     2020-04-13 21:02:26   ASC_Time_DriveUp 14.04.2020 - 08:15
     2020-04-13 21:02:26   ASC_Time_PrivacyDriveDown 14.04.2020 - 20:52
     2020-04-13 21:02:26   ASC_Time_PrivacyDriveUp 14.04.2020 - 08:00
     2019-01-26 13:48:18   R-INTERNAL_KEYS_VISIBLE 1
     2019-01-26 13:48:18   R-LOCAL_RESET_DISABLE 0
     2020-04-13 16:52:18   associatedWith  Ro_All
     2020-04-13 22:22:38   control         40
     2020-04-13 22:22:38   hmstate         40
     2020-04-13 22:22:38   state           40
     2020-04-13 22:22:38   state_mem       40
   hmccu:
     devspec    OEQ1968238
     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       1
         VAL        1
       0.STICKY_UNREACH:
         OSVAL      false
         OVAL       false
         SVAL       false
         VAL        false
       0.UNREACH:
         OSVAL      false
         OVAL       false
         SVAL       false
         VAL        false
       0.UPDATE_PENDING:
         OVAL       false
         VAL        false
       1.DIRECTION:
         OSVAL      up
         OVAL       1
         SVAL       none
         VAL        0
       1.INHIBIT:
         OSVAL      false
         OVAL       false
         SVAL       false
         VAL        false
       1.LEVEL:
         OSVAL      29
         OVAL       0.290000
         SVAL       40
         VAL        0.400000
       1.WORKING:
         OSVAL      yes
         OVAL       1
         SVAL       no
         VAL        0
Attributes:
   ASC        2
   ASC_Antifreeze pm
   ASC_Antifreeze_Pos 5
   ASC_BlockingTime_beforNightClose 7200
   ASC_BrightnessSensor Gartenwetter:1.ILLUMINATION 180:80
   ASC_Down   brightness
   ASC_Mode_Up absent
   ASC_Partymode on
   ASC_Pos_Reading control
   ASC_PrivacyDownValue_beforeNightClose 600:60
   ASC_PrivacyUpValue_beforeDayOpen 900:300
   ASC_Roommate_Device rr_Lo
   ASC_Shading_InOutAzimuth 115:300
   ASC_Shading_MinMax_Elevation 5.0:100.0
   ASC_Shading_Min_OutsideTemperature 20
   ASC_Shading_Mode off
   ASC_Shading_Pos 30
   ASC_Shading_StateChange_SunnyCloudy 15000:0
   ASC_Shading_WaitingPeriod 1800
   ASC_Sleep_Pos 29
   ASC_TempSensor Therm_OG_SE:tempMax
   ASC_Time_Down_Late {return (ReadingsVal("Sonnenuntergang_offset","state",0))}
   ASC_Time_Up_Early 06:40
   ASC_Time_Up_Late 08:15
   ASC_Time_Up_WE_Holiday 10:00
   ASC_Up     brightness
   ASC_Ventilate_Pos 40
   ASC_WindowRec Fen_OG_SE
   IODev      myCCU2
   ccureadingfilter (LEVEL|INHIBIT|DIRECTION|WORKING|TEMPERATURE|UNREACH)
   ccuscaleval LEVEL:0:1:0:100
   cmdIcon    half:fts_shutter_50 up:fts_shutter_up stop:fts_shutter_manual down:fts_shutter_down
   controldatapoint 1.LEVEL
   devStateIcon open:fts_shutter_10@orange closed:fts_shutter_100@green ^(1[0-9]|1[0-9].[0-9])$:fts_shutter_90@yellowgreen ^(2[0-9]|2[0-9].[0-9])$:fts_shutter_80@yellowgreen ^(3[0-9]|3[0-9].[0-9])$:fts_shutter_70@yellowgreen ^(4[0-9]|4[0-9].[0-9])$:fts_shutter_60@yellow ^(5[0-9]|5[0-9].[0-9])$:fts_shutter_50@yellow ^(6[0-9]|6[0-9].[0-9])$:fts_shutter_40@yellow ^(7[0-9]|7[0-9].[0-9])$:fts_shutter_30@yellow ^(8[0-9]|8[0-9].[0-9])$:fts_shutter_20@yellow ^(9[0-9]|9[0-9].[0-9])$:fts_shutter_10@yellow
   event-on-change-reading .*
   eventMap   /datapoint 1.STOP true:stop/datapoint 1.LEVEL 0:down/datapoint 1.LEVEL 100:up/
   group      OG
   room       1.01_Rollo,2.05_CCU,9.02_Steuerung
   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
   userReadings state_mem {
if (ReadingsVal("$NAME","1.WORKING",0) eq "yes" ) {return ReadingVal("$NAME","1.DIRECTION",0);}
else {return ReadingsVal("$NAME","hmstate",0)}
}
   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,25,30,40,50,60,70,80,90,100 ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate
   webCmd     up:down:half:stop:control
   widgetOverride control:0,10,20,30,40,50,60,70,80,90,100



cornelius fillmore

Guten Morgen zusammen,
leider kommen ich mit einem Rolladen im ASC nicht weiter
Manuell fahren mit Eingabe in die Kommandozeile und durch klicken auf die up /down Felder im Rolladen Modul funktioniert, nur halt aus ASC heraus nicht.
Anbei mal die list des devices mit der Bitte um Durchsicht und Hinweise.
Dankeschön
Internals:
   FUUID      5d4119b8-f33f-4662-cf9d-f3285eff188ec8e3
   NAME       Rollo_AZ_Dach
   NR         503
   STATE      open
   TYPE       ROLLO
   stoptime   1586840098
   READINGS:
     2019-12-22 16:04:54   ASC_Enable      on
     2020-04-14 06:54:58   ASC_ShuttersLastDrive manual
     2020-04-14 06:52:02   ASC_Time_DriveDown 14.04.2020 - 22:00
     2020-04-14 06:52:02   ASC_Time_DriveUp 15.04.2020 - 06:52
     2020-04-13 08:47:53   associatedWith  ASC
     2020-04-14 06:53:56   command         open
     2020-04-14 06:53:56   desired_pct     0
     2020-04-14 06:53:56   drive-type      modul
     2020-04-14 06:53:56   last_drive      drive-up
     2020-04-14 06:54:58   pct             0
     2020-04-14 06:54:58   state           open
   helper:
     DISABLED   0
Attributes:
   ASC        1
   ASC_Antifreeze hard
   ASC_AutoAstroModeEvening HORIZON
   ASC_AutoAstroModeEveningHorizon -6
   ASC_BlockingTime_afterManual 1
   ASC_BlockingTime_beforNightClose 1
   ASC_BrightnessSensor AktuelleTemp:state
   ASC_Closed_Pos 100
   ASC_Drive_OffsetStart 1
   ASC_LockOut soft
   ASC_Open_Pos 0
   ASC_Pos_Reading pct
   ASC_Shading_Angle_Left 85
   ASC_Shading_Angle_Right 90
   ASC_Shading_Direction 315
   ASC_Shading_MinMax_Elevation -15
   ASC_Shading_Min_OutsideTemperature 18
   ASC_Shading_Mode always
   ASC_Shading_Pos 100
   ASC_Shading_StateChange_Cloudy 18
   ASC_Shading_StateChange_Sunny 22
   ASC_Shading_WaitingPeriod 5
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 22:00
   ASC_Time_Down_Late 22:15
   ASC_Time_Up_Early 06:52
   ASC_Time_Up_Late 07:30
   ASC_Time_Up_WE_Holiday 09:00
   cmdIcon    open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   devStateIcon open:fts_shutter_10:closed closed:fts_shutter_100:open half:fts_shutter_50:closed drive-up:fts_shutter_up@red:stop drive-down:fts_shutter_down@red:stop pct-100:fts_shutter_100:open pct-90:fts_shutter_80:closed pct-80:fts_shutter_80:closed pct-70:fts_shutter_70:closed pct-60:fts_shutter_60:closed pct-50:fts_shutter_50:closed pct-40:fts_shutter_40:open pct-30:fts_shutter_30:open pct-20:fts_shutter_20:open pct-10:fts_shutter_10:open pct-0:fts_shutter_10:closed
   disable    0
   rl_autoStop 0
   rl_commandDown set MQTT2_DVES_9796BC close
   rl_commandUp set MQTT2_DVES_9796BC open
   rl_excessBottom 2
   rl_excessTop 4
   rl_secondsDown 55
   rl_secondsUp 55
   rl_switchTime 1
   rl_type    normal
   room       Arbeitszimmer,Steuerung->Rolladen
   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 ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_Drive_Offset ASC_Drive_OffsetStart 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_PrivacyDownTime_beforNightClose 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_Exclude:on,off ASC_Self_Defense_Mode:absent,gone ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_Angle_Left ASC_Shading_Angle_Right ASC_Shading_Direction 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_Cloudy ASC_Shading_StateChange_Sunny ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness 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     open:closed:half:stop:pct
3 x Fhem 5.9 mit RPI

xerion

Zitat von: cornelius fillmore am 14 April 2020, 06:59:11
Guten Morgen zusammen,
leider kommen ich mit einem Rolladen im ASC nicht weiter
Manuell fahren mit Eingabe in die Kommandozeile und durch klicken auf die up /down Felder im Rolladen Modul funktioniert, nur halt aus ASC heraus nicht.
Anbei mal die list des devices mit der Bitte um Durchsicht und Hinweise.
Dankeschön
Internals:
   FUUID      5d4119b8-f33f-4662-cf9d-f3285eff188ec8e3
   NAME       Rollo_AZ_Dach
   NR         503
   STATE      open
   TYPE       ROLLO
   stoptime   1586840098
   READINGS:
     2019-12-22 16:04:54   ASC_Enable      on
     2020-04-14 06:54:58   ASC_ShuttersLastDrive manual
     2020-04-14 06:52:02   ASC_Time_DriveDown 14.04.2020 - 22:00
     2020-04-14 06:52:02   ASC_Time_DriveUp 15.04.2020 - 06:52
     2020-04-13 08:47:53   associatedWith  ASC
     2020-04-14 06:53:56   command         open
     2020-04-14 06:53:56   desired_pct     0
     2020-04-14 06:53:56   drive-type      modul
     2020-04-14 06:53:56   last_drive      drive-up
     2020-04-14 06:54:58   pct             0
     2020-04-14 06:54:58   state           open
   helper:
     DISABLED   0
Attributes:
   ASC        1
   ASC_Antifreeze hard
   ASC_AutoAstroModeEvening HORIZON
   ASC_AutoAstroModeEveningHorizon -6
   ASC_BlockingTime_afterManual 1
   ASC_BlockingTime_beforNightClose 1
   ASC_BrightnessSensor AktuelleTemp:state
   ASC_Closed_Pos 100
   ASC_Drive_OffsetStart 1
   ASC_LockOut soft
   ASC_Open_Pos 0
   ASC_Pos_Reading pct
   ASC_Shading_Angle_Left 85
   ASC_Shading_Angle_Right 90
   ASC_Shading_Direction 315
   ASC_Shading_MinMax_Elevation -15
   ASC_Shading_Min_OutsideTemperature 18
   ASC_Shading_Mode always
   ASC_Shading_Pos 100
   ASC_Shading_StateChange_Cloudy 18
   ASC_Shading_StateChange_Sunny 22
   ASC_Shading_WaitingPeriod 5
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 22:00
   ASC_Time_Down_Late 22:15
   ASC_Time_Up_Early 06:52
   ASC_Time_Up_Late 07:30
   ASC_Time_Up_WE_Holiday 09:00
   cmdIcon    open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   devStateIcon open:fts_shutter_10:closed closed:fts_shutter_100:open half:fts_shutter_50:closed drive-up:fts_shutter_up@red:stop drive-down:fts_shutter_down@red:stop pct-100:fts_shutter_100:open pct-90:fts_shutter_80:closed pct-80:fts_shutter_80:closed pct-70:fts_shutter_70:closed pct-60:fts_shutter_60:closed pct-50:fts_shutter_50:closed pct-40:fts_shutter_40:open pct-30:fts_shutter_30:open pct-20:fts_shutter_20:open pct-10:fts_shutter_10:open pct-0:fts_shutter_10:closed
   disable    0
   rl_autoStop 0
   rl_commandDown set MQTT2_DVES_9796BC close
   rl_commandUp set MQTT2_DVES_9796BC open
   rl_excessBottom 2
   rl_excessTop 4
   rl_secondsDown 55
   rl_secondsUp 55
   rl_switchTime 1
   rl_type    normal
   room       Arbeitszimmer,Steuerung->Rolladen
   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 ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_Drive_Offset ASC_Drive_OffsetStart 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_PrivacyDownTime_beforNightClose 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_Exclude:on,off ASC_Self_Defense_Mode:absent,gone ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_Angle_Left ASC_Shading_Angle_Right ASC_Shading_Direction 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_Cloudy ASC_Shading_StateChange_Sunny ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness 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     open:closed:half:stop:pct

Laut deinen Attributen nutzt du noch eine sehr alte Version vom ASC, kann das sein?

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.

cornelius fillmore

kann evtl. sein

aber beim FHEM updat check kam nichts neues heraus

kann ich diese denn zwangsweise updaten?
3 x Fhem 5.9 mit RPI

CoolTux

Zitat von: cornelius fillmore am 14 April 2020, 06:59:11
Guten Morgen zusammen,
leider kommen ich mit einem Rolladen im ASC nicht weiter
Manuell fahren mit Eingabe in die Kommandozeile und durch klicken auf die up /down Felder im Rolladen Modul funktioniert, nur halt aus ASC heraus nicht.
Anbei mal die list des devices mit der Bitte um Durchsicht und Hinweise.
Dankeschön
Internals:
   FUUID      5d4119b8-f33f-4662-cf9d-f3285eff188ec8e3
   NAME       Rollo_AZ_Dach
   NR         503
   STATE      open
   TYPE       ROLLO
   stoptime   1586840098
   READINGS:
     2019-12-22 16:04:54   ASC_Enable      on
     2020-04-14 06:54:58   ASC_ShuttersLastDrive manual
     2020-04-14 06:52:02   ASC_Time_DriveDown 14.04.2020 - 22:00
     2020-04-14 06:52:02   ASC_Time_DriveUp 15.04.2020 - 06:52
     2020-04-13 08:47:53   associatedWith  ASC
     2020-04-14 06:53:56   command         open
     2020-04-14 06:53:56   desired_pct     0
     2020-04-14 06:53:56   drive-type      modul
     2020-04-14 06:53:56   last_drive      drive-up
     2020-04-14 06:54:58   pct             0
     2020-04-14 06:54:58   state           open
   helper:
     DISABLED   0
Attributes:
   ASC        1
   ASC_Antifreeze hard
   ASC_AutoAstroModeEvening HORIZON
   ASC_AutoAstroModeEveningHorizon -6
   ASC_BlockingTime_afterManual 1
   ASC_BlockingTime_beforNightClose 1
   ASC_BrightnessSensor AktuelleTemp:state
   ASC_Closed_Pos 100
   ASC_Drive_OffsetStart 1
   ASC_LockOut soft
   ASC_Open_Pos 0
   ASC_Pos_Reading pct
   ASC_Shading_Angle_Left 85
   ASC_Shading_Angle_Right 90
   ASC_Shading_Direction 315
   ASC_Shading_MinMax_Elevation -15
   ASC_Shading_Min_OutsideTemperature 18
   ASC_Shading_Mode always
   ASC_Shading_Pos 100
   ASC_Shading_StateChange_Cloudy 18
   ASC_Shading_StateChange_Sunny 22
   ASC_Shading_WaitingPeriod 5
   ASC_ShuttersPlace window
   ASC_Time_Down_Early 22:00
   ASC_Time_Down_Late 22:15
   ASC_Time_Up_Early 06:52
   ASC_Time_Up_Late 07:30
   ASC_Time_Up_WE_Holiday 09:00
   cmdIcon    open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   devStateIcon open:fts_shutter_10:closed closed:fts_shutter_100:open half:fts_shutter_50:closed drive-up:fts_shutter_up@red:stop drive-down:fts_shutter_down@red:stop pct-100:fts_shutter_100:open pct-90:fts_shutter_80:closed pct-80:fts_shutter_80:closed pct-70:fts_shutter_70:closed pct-60:fts_shutter_60:closed pct-50:fts_shutter_50:closed pct-40:fts_shutter_40:open pct-30:fts_shutter_30:open pct-20:fts_shutter_20:open pct-10:fts_shutter_10:open pct-0:fts_shutter_10:closed
   disable    0
   rl_autoStop 0
   rl_commandDown set MQTT2_DVES_9796BC close
   rl_commandUp set MQTT2_DVES_9796BC open
   rl_excessBottom 2
   rl_excessTop 4
   rl_secondsDown 55
   rl_secondsUp 55
   rl_switchTime 1
   rl_type    normal
   room       Arbeitszimmer,Steuerung->Rolladen
   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 ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_Drive_Offset ASC_Drive_OffsetStart 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_PrivacyDownTime_beforNightClose 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_Exclude:on,off ASC_Self_Defense_Mode:absent,gone ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_Angle_Left ASC_Shading_Angle_Right ASC_Shading_Direction 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_Cloudy ASC_Shading_StateChange_Sunny ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness 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     open:closed:half:stop:pct


Wahrscheinlich hast Du über eine sehr lange Zeit kein Update gemacht.
Am besten Du löschst das ASC Device und schaust dann was in den Rollos noch übrig ist von ASC, die wirst Du dann leider von Hand löschen müssen. Werden wenn dann nur Userattribute sein.
Dann ASC neu anlegen und einrichten. Beim einrichten nur die Attribute setzen welche Du auch anders belegen willst wie sie per default sind. Neue Commandref dazu bitte lesen. Am besten die Deutsche.
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

volschin

0 kannst Du nicht auswählen, weil er nicht als Select-Wert in der Liste definiert ist.
Intel NUC+Ubuntu 24.04+Docker+FHEM6
HomeMatic: HM-MOD-RPI-PCB+HM-USB-CFG2+hmland+diverse, HUE: Hue-Bridge, RaspBee+deCONZ+diverse
Amzn Dash-Buttons, Siro Rollos
4xRPi, 4xCO20, OWL+USB, HarmonyHub, FRITZ!Box 7690, Echo Dots+Show8, HomeBridge

cornelius fillmore

#1407
Zitat von: CoolTux am 14 April 2020, 07:24:06
Welche ASC Version?
21507
21662
nun scheint es wieder zu laufen
3 x Fhem 5.9 mit RPI

daelch

Hallo CoolTux,

bis die Jalousien-kompatible ASC fertig ist, möchte ich die Beschattung der Jalousien mit einem Workaround lösen.

Folgender Gedanke kam mir:

1.) Für jede Jalousie lege ich einen zusätzlichen Rolladendummy an. Diesen Rolladendummy setze ich auf attr ASC 2. Die richtigen Jalousien bekommen keine ASC Attribute.
2.) Der Dummy bekommt in ASC die Wert zugeteilt:
    ... pct 100 Offen
    ... pct 20 Shading
    ... pct 10 Privacy
    ... pct 0 Geschlossen
3.) Über ein DOIF setze ich in Abhängigkeit des Dummies die Behanghöhe und die Lamellenstellung der richtigen Jalousie
   ... DUMMY_Rolladen_Wohnzimmer pct 100 Offen >>> Jalousie_Wohnzimmer pct 100 / Lamelle 100 Offen
   ... DUMMY_Rolladen_Wohnzimmer pct 20 Shading >>> Jalousie_Wohnzimmer pct 0 / Lamelle 100 Shading
   ... DUMMY_Rolladen_Wohnzimmer pct 10 Privacy >>> Jalousie_Wohnzimmer pct 0 / Lamelle 40 Privacy
   ... DUMMY_Rolladen_Wohnzimmer pct 0 Geschlossen >>> Jalousie_Wohnzimmer pct 0 / Lamelle 0 Geschlossen
3.) Ändere ich manuell die richtige Jalousie, setze ich den entsprechenden pct Wert 0/10/20/100 wieder in dem dummy

Funktioniert dieses Gedankenexperiment Deiner/Eurer Meinung nach?

Vielen Dank und viele Grüße

CoolTux

Zitat von: Wscheff am 13 April 2020, 22:43:11
Ok. Ich versuche nochmal das Problem zu beschreiben

Rollo soll nach brightness fahren, Aber nur wenn absent.
Ich bekomme das mit meiner Einstellung nicht hin.

Wenn always eingestellt ist, funktioniert alles wunderbar. Gemäß brightness Einstellung. Wenn absent eingestellt ist, fährt das Rollo weder hoch runter.

An manchen Tagen (unregelmäßig) bin ich schon früher weg, da ist es im Sommer ja ok, wenn um 05:30 der Rollo hochfährt.

Aber wenn ich noch schlafe, Urlaub habe.... dann soll der Rollo unten bleiben, bis absent erkannt wird. Ich will keine extra sleep/awoken routine, sondern ich habe eine automatische home/absent Erkennung. Geht das überhaupt?

Vielleicht steh ich aber auf dem Schlauch und brauche nochmal eure/deine  Hilfe, dass ich die richtigen Parameter setze (an der richtigen Stelle)

Teste mal bitte diese Version
https://git-tuxnet.ddns.net/FHEM/mod-AutoShuttersControl

Ich habe da gerade noch etwas gefunden.


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