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

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

Vorheriges Thema - Nächstes Thema

CoolTux

 ASC_Shading_InOutAzimuth 200:290

Das Attribute und die Werte sollten selbsterklärend sein. Beschattung (In) ab 200 bis Endschattung (Out) ab 290. Sollte also Fensterwinkel 270 - den alten In Wert und plus den alten Outwert
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

moonsorrox

Jau, genau so..! Super das es jetzt so drin ist, finde ich persönlich besser.
Hast du gut gemacht
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

xerion

Hallo,

habe vorgestern alle Rollos mit der Attribute selfDefense absent versehen und als ich heute nach Hause gekommen bin, also Status wechselt von abwesend auf zuhause, sind alles geschlossene Rollos hochgefahren die einen Fenster Sensor haben.

Internals:
   FUUID      5db8051c-f33f-26f5-0441-6238c483361be61f
   FVERSION   73_AutoShuttersControl.pm:v0.8.2-s20531/2019-11-18 UNDER DEVELOP
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       ASC
   NOTIFYDEV  global,ASC,Rollo_ASC,Rollo_ASC2,Rollo_Anbau,Rollo_Kueche_Carport,Rollo_Kueche_Strasse,Rollo_SZ,Rollo_WC,Rollo_WZ,wc_fenster,Daemmerungswert,kuechen_fenster_strasse,Sonoff_Daemmerung,kuechen_fenster_carport,terrassen_tuer,wohnzimmer_fenster,rgr_Residents
   NR         294
   NTFY_ORDER 51-ASC
   STATE      selfDefense inactive
   TYPE       AutoShuttersControl
   VERSION    v0.8.2
   OLDREADINGS:
   READINGS:
     2019-11-14 16:30:55   Kueche_lastPosValue 0
     2019-11-27 17:42:29   Rollo_ASC2_PosValue 0
     2019-11-27 16:42:42   Rollo_ASC2_lastPosValue 0
     2019-11-27 17:41:45   Rollo_ASC2_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-27 17:42:29   Rollo_ASC_PosValue 0
     2019-11-27 16:42:43   Rollo_ASC_lastPosValue 50
     2019-11-27 17:41:45   Rollo_ASC_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-24 16:38:04   Rollo_ASC_shadow_PosValue 100
     2019-11-24 16:37:54   Rollo_ASC_shadow_lastPosValue 50
     2019-11-27 17:42:30   Rollo_Anbau_PosValue 0
     2019-11-27 16:51:32   Rollo_Anbau_lastPosValue 0
     2019-11-27 17:41:45   Rollo_Anbau_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-27 17:42:29   Rollo_Kueche_Carport_PosValue 0
     2019-11-27 16:42:42   Rollo_Kueche_Carport_lastPosValue 20
     2019-11-27 17:41:45   Rollo_Kueche_Carport_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-27 17:42:29   Rollo_Kueche_Strasse_PosValue 0
     2019-11-27 16:42:42   Rollo_Kueche_Strasse_lastPosValue 40
     2019-11-27 17:41:45   Rollo_Kueche_Strasse_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-27 17:42:29   Rollo_SZ_PosValue 0
     2019-11-27 16:51:32   Rollo_SZ_lastPosValue 0
     2019-11-27 17:41:45   Rollo_SZ_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-27 17:42:29   Rollo_WC_PosValue 0
     2019-11-27 16:51:32   Rollo_WC_lastPosValue 0
     2019-11-27 17:41:46   Rollo_WC_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-27 17:42:29   Rollo_WZ_PosValue 0
     2019-11-27 16:42:43   Rollo_WZ_lastPosValue 30
     2019-11-27 17:41:46   Rollo_WZ_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-14 16:30:55   Rollos_lastPosValue 0
     2019-11-14 19:20:20   ascEnable       on
     2019-10-29 10:23:40   controlShading  off
     2019-10-29 10:23:40   hardLockOut     off
     2019-11-27 17:41:37   room_Kueche_Rollos Rollo_Kueche_Strasse
     2019-11-27 17:41:37   room_Rollos     Rollo_ASC,Rollo_ASC2,Rollo_Anbau
     2019-11-27 17:41:37   room_Rollos_Kueche Rollo_Kueche_Carport
     2019-11-27 17:41:37   room_Rollos_Schlafzimmer Rollo_SZ
     2019-11-27 17:41:37   room_Rollos_Wohnzimmer Rollo_WZ
     2019-11-27 17:41:37   room_WC_Rollos  Rollo_WC
     2019-10-31 13:54:57   selfDefense     on
     2019-11-27 17:42:30   state           selfDefense inactive
     2019-11-25 00:01:00   sunriseTimeWeHoliday off
     2019-11-27 17:41:37   userAttrList    rolled out
   helper:
     shuttersList:
       Rollo_ASC
       Rollo_ASC2
       Rollo_Anbau
       Rollo_Kueche_Carport
       Rollo_Kueche_Strasse
       Rollo_SZ
       Rollo_WC
       Rollo_WZ
   monitoredDevs:
     Daemmerungswert:
       ASC        ASC_twilightDevice
     Rollo_ASC:
     Rollo_ASC2:
     Rollo_Anbau:
     Rollo_Kueche_Carport:
     Rollo_Kueche_Strasse:
     Rollo_SZ:
     Rollo_WC:
     Rollo_WZ:
     Sonoff_Daemmerung:
       Rollo_ASC  ASC_BrightnessSensor
       Rollo_ASC2 ASC_BrightnessSensor
       Rollo_Anbau ASC_BrightnessSensor
       Rollo_Kueche_Carport ASC_BrightnessSensor
       Rollo_Kueche_Strasse ASC_BrightnessSensor
       Rollo_SZ   ASC_BrightnessSensor
       Rollo_WC   ASC_BrightnessSensor
       Rollo_WZ   ASC_BrightnessSensor
     kuechen_fenster_carport:
       Rollo_Kueche_Carport ASC_WindowRec
     kuechen_fenster_strasse:
       Rollo_Kueche_Strasse ASC_WindowRec
     rgr_Residents:
       ASC        ASC_residentsDev
     terrassen_tuer:
       Rollo_Anbau ASC_WindowRec
     wc_fenster:
       Rollo_WC   ASC_WindowRec
     wohnzimmer_fenster:
       Rollo_WZ   ASC_WindowRec
Attributes:
   ASC_brightnessDriveUpDown 10:8
   ASC_expert 1
   ASC_residentsDev rgr_Residents:state
   ASC_tempSensor Temperatur_draussen:temperature
   ASC_twilightDevice Daemmerungswert
   DbLogExclude .*
   devStateIcon selfDefense.terrace:fts_door_tilt created.new.drive.timer:clock .*asleep:scene_sleeping roommate.(awoken|home):user_available residents.(home|awoken):status_available manual:fts_shutter_manual selfDefense.active:status_locked selfDefense.inactive:status_open day.open:scene_day night.close:scene_night shading.in:weather_sun shading.out:weather_cloudy
   icon       fts_shutter_automatic
   room       Rollos


list device
Internals:
   FUUID      5d37398b-f33f-26f5-1332-cfedb96efcc54141
   FVERSION   44_ROLLO.pm:v1.403.0-s18436/2019-01-27
   NAME       Rollo_Kueche_Carport
   NR         224
   STATE      open
   TYPE       ROLLO
   stoptime   1574872929
   READINGS:
     2019-10-29 10:28:49   ASC_Enable      on
     2019-11-27 17:42:31   ASC_ShuttersLastDrive residents home
     2019-11-27 17:41:45   ASC_Time_DriveDown 27.11.2019 - 22:30
     2019-11-27 17:41:45   ASC_Time_DriveUp 28.11.2019 - 08:30
     2019-11-27 17:41:45   ASC_Time_PrivacyDriveDown 27.11.2019 - 22:15
     2019-11-27 17:41:45   ASC_Time_PrivacyDriveUp 28.11.2019 - 08:20
     2019-11-27 17:41:39   associatedWith  ASC
     2019-11-27 17:41:51   command         pct-0
     2019-11-27 17:41:51   desired_pct     0
     2019-11-27 17:41:51   drive-type      modul
     2019-11-27 17:41:51   last_drive      drive-up
     2019-11-27 17:42:29   pct             0
     2019-11-27 17:42:29   state           open
Attributes:
   ASC        1
   ASC_BlockingTime_afterManual 0
   ASC_BrightnessSensor Sonoff_Daemmerung:sonoff-bh1750-illuminance
   ASC_Down   brightness
   ASC_Pos_Reading pct
   ASC_PrivacyDownValue_beforeNightClose 900:45
   ASC_PrivacyDown_Pos 20
   ASC_PrivacyUpValue_beforeDayOpen 600:2
   ASC_PrivacyUp_Pos 40
   ASC_Self_Defense_Mode absent
   ASC_Time_Down_Late 22:30
   ASC_Time_Up_Early 06:00
   ASC_Up     brightness
   ASC_Ventilate_Pos 30
   ASC_Ventilate_Window_Open on
   ASC_WindowRec kuechen_fenster_carport
   DbLogExclude .*
   alexaName  Rollo Küche Carport
   alias      Rollo Küche (Carport)
   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
   group      Rollos
   icon       scene_dinner
   rl_autoStop 1
   rl_blockMode blocked
   rl_commandDown set Rollo_Kueche_Carport_Schliessen Schliessen
   rl_commandStop set  Rollo_Kueche_Carport_Oeffnen OFF
   rl_commandUp set Rollo_Kueche_Carport_Oeffnen Oeffnen
   rl_excessBottom 0
   rl_excessTop 0
   rl_secondsDown 20
   rl_secondsUp 18
   rl_switchTime 1
   rl_type    normal
   room       Rollos,Kueche
   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_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
   webCmd     open:closed:half:stop:pct
Wechsel jetzt zu Octopus Energy und bekomme 150,00 € Bonus auf deine Rechnung. Die Anmeldung geht super leicht und schnell, klicke dafür einfach meinen persönlichen Empfehlungslink:
 https://share.octopusenergy.de/loved-heron-220.

CoolTux

Ich gehe davon aus das es zu dem Zeitpunkt schon sehr dunkel war unterhalb Deiner brightness Einstellung 8?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

xerion

Ja genau Rollos waren unten wegen Brightness. Die war schon auf 0.

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.

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

xerion

Habe gerade noch ein Info von meiner Frau bekommen. Als sie heute Nachmittag aus dem Haus war und wieder  gekommen ist waren  4   Rollos auch runter. Also als wenn das self defense spiegelverkehrt arbeitet denn die Fenster waren alle geschlossen.

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.

CoolTux

Das hat mit den Fenstern nichts zu tun. Wenn man absent verwendet als selfdefense dann gehen auch die Rollos nach 5 Minuten an den geschlossenen Fenstern runter.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

xerion

Zitat von: CoolTux am 27 November 2019, 18:39:53
Das hat mit den Fenstern nichts zu tun. Wenn man absent verwendet als selfdefense dann gehen auch die Rollos nach 5 Minuten an den geschlossenen Fenstern runter.

Ah ich hatte das Atribut wohl falsch verstanden. Habe das nochmal in der commandref nachgelesen Wenn ich möchte, dass offene Fenster bei absent automatisch geschlossen werden,dann reicht es aus wenn man im ASC Modul SelfDefense auf on stellt.
Aber komisch ist nur das ich vorgestern nach Hause kam und ein Fenster auf war und das Rollo noch hoch trotz absent. Das muss ich wohl nochmal testen.
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.

drpen

Hi CoolTux,

nochmal kurzes Feedback zum letzen Update 8.4

Bezüglich der ASC_Up time - Uhrzeitformate werden nun wieder beide verarbeitet - d.h. 7:00 und 07:00 Uhr.

Nach dem Update von 8.3 auf 8.4 wurden alle Zeiten mit ASC_Up time für den nächsten ASC_Time_DriveUp auf die errechnete astro Zeit vorbelegt (bei mir aktuell 07:08).

Die  ASC_Time_Up_Early 06:45 wurde per Update "ignoriert".

-> Abhilfe schaffte hier kurz im ASC_Control renewAllTimer. Nun ist alles noch schöner.

Echt gute Arbeit CoolTux - weiter so!


Internals:
   FUUID      5cb23c72-f33f-17b9-6329-9d7f8c6594b30129
   NAME       RoFlurOG
   NR         214
   STATE      open
   TYPE       ROLLO
   OLDREADINGS:
   READINGS:
     2019-08-06 23:25:49   ASC_Enable      on
     2019-11-28 06:45:38   ASC_ShuttersLastDrive day open
     2019-11-28 11:17:42   ASC_Time_DriveDown 28.11.2019 - 20:30
     2019-11-28 11:17:42   ASC_Time_DriveUp 29.11.2019 - 07:08
     2019-11-28 11:17:43   ASC_Time_PrivacyDriveDown 28.11.2019 - 19:30
     2019-11-28 11:17:39   associatedWith  myASControl
     2019-11-28 06:45:01   command         pct-0
     2019-11-28 06:45:01   desired_pct     0
     2019-11-28 06:45:01   drive-type      modul
     2019-11-28 06:45:01   last_drive      drive-up
     2019-11-28 06:45:37   pct             0
     2019-11-28 06:45:38   state           open
Attributes:
   ASC        1
   ASC_Pos_Reading pct
   ASC_PrivacyDownValue_beforeNightClose 3600
   ASC_PrivacyDown_Pos 40
   ASC_Roommate_Reading state
   ASC_Time_Down_Early 20:30
   ASC_Time_Up_Early 06:45
   ASC_Time_Up_WE_Holiday 09:01
   ASC_Up     time

CoolTux

Zitat von: xerion am 27 November 2019, 17:56:00
Hallo,

habe vorgestern alle Rollos mit der Attribute selfDefense absent versehen und als ich heute nach Hause gekommen bin, also Status wechselt von abwesend auf zuhause, sind alles geschlossene Rollos hochgefahren die einen Fenster Sensor haben.

Internals:
   FUUID      5db8051c-f33f-26f5-0441-6238c483361be61f
   FVERSION   73_AutoShuttersControl.pm:v0.8.2-s20531/2019-11-18 UNDER DEVELOP
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       ASC
   NOTIFYDEV  global,ASC,Rollo_ASC,Rollo_ASC2,Rollo_Anbau,Rollo_Kueche_Carport,Rollo_Kueche_Strasse,Rollo_SZ,Rollo_WC,Rollo_WZ,wc_fenster,Daemmerungswert,kuechen_fenster_strasse,Sonoff_Daemmerung,kuechen_fenster_carport,terrassen_tuer,wohnzimmer_fenster,rgr_Residents
   NR         294
   NTFY_ORDER 51-ASC
   STATE      selfDefense inactive
   TYPE       AutoShuttersControl
   VERSION    v0.8.2
   OLDREADINGS:
   READINGS:
     2019-11-14 16:30:55   Kueche_lastPosValue 0
     2019-11-27 17:42:29   Rollo_ASC2_PosValue 0
     2019-11-27 16:42:42   Rollo_ASC2_lastPosValue 0
     2019-11-27 17:41:45   Rollo_ASC2_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-27 17:42:29   Rollo_ASC_PosValue 0
     2019-11-27 16:42:43   Rollo_ASC_lastPosValue 50
     2019-11-27 17:41:45   Rollo_ASC_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-24 16:38:04   Rollo_ASC_shadow_PosValue 100
     2019-11-24 16:37:54   Rollo_ASC_shadow_lastPosValue 50
     2019-11-27 17:42:30   Rollo_Anbau_PosValue 0
     2019-11-27 16:51:32   Rollo_Anbau_lastPosValue 0
     2019-11-27 17:41:45   Rollo_Anbau_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-27 17:42:29   Rollo_Kueche_Carport_PosValue 0
     2019-11-27 16:42:42   Rollo_Kueche_Carport_lastPosValue 20
     2019-11-27 17:41:45   Rollo_Kueche_Carport_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-27 17:42:29   Rollo_Kueche_Strasse_PosValue 0
     2019-11-27 16:42:42   Rollo_Kueche_Strasse_lastPosValue 40
     2019-11-27 17:41:45   Rollo_Kueche_Strasse_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-27 17:42:29   Rollo_SZ_PosValue 0
     2019-11-27 16:51:32   Rollo_SZ_lastPosValue 0
     2019-11-27 17:41:45   Rollo_SZ_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-27 17:42:29   Rollo_WC_PosValue 0
     2019-11-27 16:51:32   Rollo_WC_lastPosValue 0
     2019-11-27 17:41:46   Rollo_WC_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-27 17:42:29   Rollo_WZ_PosValue 0
     2019-11-27 16:42:43   Rollo_WZ_lastPosValue 30
     2019-11-27 17:41:46   Rollo_WZ_nextAstroTimeEvent 27.11.2019 - 22:30
     2019-11-14 16:30:55   Rollos_lastPosValue 0
     2019-11-14 19:20:20   ascEnable       on
     2019-10-29 10:23:40   controlShading  off
     2019-10-29 10:23:40   hardLockOut     off
     2019-11-27 17:41:37   room_Kueche_Rollos Rollo_Kueche_Strasse
     2019-11-27 17:41:37   room_Rollos     Rollo_ASC,Rollo_ASC2,Rollo_Anbau
     2019-11-27 17:41:37   room_Rollos_Kueche Rollo_Kueche_Carport
     2019-11-27 17:41:37   room_Rollos_Schlafzimmer Rollo_SZ
     2019-11-27 17:41:37   room_Rollos_Wohnzimmer Rollo_WZ
     2019-11-27 17:41:37   room_WC_Rollos  Rollo_WC
     2019-10-31 13:54:57   selfDefense     on
     2019-11-27 17:42:30   state           selfDefense inactive
     2019-11-25 00:01:00   sunriseTimeWeHoliday off
     2019-11-27 17:41:37   userAttrList    rolled out
   helper:
     shuttersList:
       Rollo_ASC
       Rollo_ASC2
       Rollo_Anbau
       Rollo_Kueche_Carport
       Rollo_Kueche_Strasse
       Rollo_SZ
       Rollo_WC
       Rollo_WZ
   monitoredDevs:
     Daemmerungswert:
       ASC        ASC_twilightDevice
     Rollo_ASC:
     Rollo_ASC2:
     Rollo_Anbau:
     Rollo_Kueche_Carport:
     Rollo_Kueche_Strasse:
     Rollo_SZ:
     Rollo_WC:
     Rollo_WZ:
     Sonoff_Daemmerung:
       Rollo_ASC  ASC_BrightnessSensor
       Rollo_ASC2 ASC_BrightnessSensor
       Rollo_Anbau ASC_BrightnessSensor
       Rollo_Kueche_Carport ASC_BrightnessSensor
       Rollo_Kueche_Strasse ASC_BrightnessSensor
       Rollo_SZ   ASC_BrightnessSensor
       Rollo_WC   ASC_BrightnessSensor
       Rollo_WZ   ASC_BrightnessSensor
     kuechen_fenster_carport:
       Rollo_Kueche_Carport ASC_WindowRec
     kuechen_fenster_strasse:
       Rollo_Kueche_Strasse ASC_WindowRec
     rgr_Residents:
       ASC        ASC_residentsDev
     terrassen_tuer:
       Rollo_Anbau ASC_WindowRec
     wc_fenster:
       Rollo_WC   ASC_WindowRec
     wohnzimmer_fenster:
       Rollo_WZ   ASC_WindowRec
Attributes:
   ASC_brightnessDriveUpDown 10:8
   ASC_expert 1
   ASC_residentsDev rgr_Residents:state
   ASC_tempSensor Temperatur_draussen:temperature
   ASC_twilightDevice Daemmerungswert
   DbLogExclude .*
   devStateIcon selfDefense.terrace:fts_door_tilt created.new.drive.timer:clock .*asleep:scene_sleeping roommate.(awoken|home):user_available residents.(home|awoken):status_available manual:fts_shutter_manual selfDefense.active:status_locked selfDefense.inactive:status_open day.open:scene_day night.close:scene_night shading.in:weather_sun shading.out:weather_cloudy
   icon       fts_shutter_automatic
   room       Rollos


list device
Internals:
   FUUID      5d37398b-f33f-26f5-1332-cfedb96efcc54141
   FVERSION   44_ROLLO.pm:v1.403.0-s18436/2019-01-27
   NAME       Rollo_Kueche_Carport
   NR         224
   STATE      open
   TYPE       ROLLO
   stoptime   1574872929
   READINGS:
     2019-10-29 10:28:49   ASC_Enable      on
     2019-11-27 17:42:31   ASC_ShuttersLastDrive residents home
     2019-11-27 17:41:45   ASC_Time_DriveDown 27.11.2019 - 22:30
     2019-11-27 17:41:45   ASC_Time_DriveUp 28.11.2019 - 08:30
     2019-11-27 17:41:45   ASC_Time_PrivacyDriveDown 27.11.2019 - 22:15
     2019-11-27 17:41:45   ASC_Time_PrivacyDriveUp 28.11.2019 - 08:20
     2019-11-27 17:41:39   associatedWith  ASC
     2019-11-27 17:41:51   command         pct-0
     2019-11-27 17:41:51   desired_pct     0
     2019-11-27 17:41:51   drive-type      modul
     2019-11-27 17:41:51   last_drive      drive-up
     2019-11-27 17:42:29   pct             0
     2019-11-27 17:42:29   state           open
Attributes:
   ASC        1
   ASC_BlockingTime_afterManual 0
   ASC_BrightnessSensor Sonoff_Daemmerung:sonoff-bh1750-illuminance
   ASC_Down   brightness
   ASC_Pos_Reading pct
   ASC_PrivacyDownValue_beforeNightClose 900:45
   ASC_PrivacyDown_Pos 20
   ASC_PrivacyUpValue_beforeDayOpen 600:2
   ASC_PrivacyUp_Pos 40
   ASC_Self_Defense_Mode absent
   ASC_Time_Down_Late 22:30
   ASC_Time_Up_Early 06:00
   ASC_Up     brightness
   ASC_Ventilate_Pos 30
   ASC_Ventilate_Window_Open on
   ASC_WindowRec kuechen_fenster_carport
   DbLogExclude .*
   alexaName  Rollo Küche Carport
   alias      Rollo Küche (Carport)
   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
   group      Rollos
   icon       scene_dinner
   rl_autoStop 1
   rl_blockMode blocked
   rl_commandDown set Rollo_Kueche_Carport_Schliessen Schliessen
   rl_commandStop set  Rollo_Kueche_Carport_Oeffnen OFF
   rl_commandUp set Rollo_Kueche_Carport_Oeffnen Oeffnen
   rl_excessBottom 0
   rl_excessTop 0
   rl_secondsDown 20
   rl_secondsUp 18
   rl_switchTime 1
   rl_type    normal
   room       Rollos,Kueche
   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_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
   webCmd     open:closed:half:stop:pct



Habe ich hoffentlich gefixt. Ab morgen mit Version 0.8.5


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

darkness

Hey,

ich verwende ASC schon lange und bisher hat es für meine Anwendungsfälle gereicht. Hetzt würde ich aber gerne folgendes Umsetzen.

Wenn Helligkeit unter Wert x dann in Privacy-Modus fahren.
Um Uhrzeit y dann schließen.

Wenn ich es richtig verstehe geht es mit den jetzigen Möglichkeiten nicht, oder?


CoolTux

Es ginge bedingt. Deine Uhrzeit zum schließen müsste eine feste Zeit sein.
Stelle Down auf brightness. Du gibst als DownTimeLate die feste Uhrzeit ein. 22 Uhr z.B. und PrivacyDownTime machst 1600:<Brightnesswert> dann fährt er schon Mal in Privacy. Und als Close Wert nimmst 0 und schaust mal ob es geht, alternativ müsste man schauen ob man den Brightness Sensor irgendwie bei 1 begrenzen kann. Ich muss mal schauen ob ein Wert von -1 möglich ist ohne das alles deaktiviert wird.
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

darkness


kjmEjfu

Bei mir ist gerade folgendes Rollo in den Nachtmodus gefahren, obwohl die zugehörige Brightness noch gar nicht unterschritten wurde


Internals:
   DEF        xxxx
   FUUID      dddddddd
   FVERSION   88_HMCCUDEV.pm:v4.3.11-s20414/2019-10-27
   IODev      d_ccu
   NAME       HM_Rollo_EG_Bad_Ost
   NR         138
   STATE      none
   TYPE       HMCCUDEV
   ccuaddr    xxx
   ccudevstate active
   ccuif      BidCos-RF
   ccuname    HM-Rollo-EG-Bad-Ost
   ccutype    HM-LC-Bl1-FM
   channels   2
   firmware   2.8
   statevals  devstate
   OLDREADINGS:
   READINGS:
     2019-09-16 19:22:29   ASC_Enable      on
     2019-11-29 15:57:01   ASC_ShuttersLastDrive night close
     2019-11-29 15:56:39   ASC_Time_DriveDown 30.11.2019 - 15:56
     2019-11-29 15:56:39   ASC_Time_DriveUp 30.11.2019 - 08:28
     2019-11-29 08:48:45   associatedWith  myASControl
     2019-11-29 15:57:01   control         0
     2019-11-29 15:57:01   direction       stop
     2019-11-29 15:57:01   hmstate         off
     2019-11-29 08:48:48   inhibit         unlocked
     2019-11-29 15:57:01   level           none
     2019-11-29 08:48:48   lock            unlocked
     2019-11-29 15:57:01   motor           stop
     2019-11-29 15:57:01   pct             0
     2019-11-29 15:57:01   state           none
     2019-11-29 15:57:01   working         no
   hmccu:
     devspec    xxx
     dp:
       0.AES_KEY:
         OVAL       1
         VAL        1
       0.CONFIG_PENDING:
         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:
         OVAL       false
         VAL        false
       0.UNREACH:
         OVAL       false
         VAL        false
       1.DIRECTION:
         OSVAL      down
         OVAL       2
         SVAL       stop
         VAL        0
       1.INHIBIT:
         OSVAL      unlocked
         OVAL       false
         SVAL       unlocked
         VAL        false
       1.LEVEL:
         OSVAL      open
         OVAL       1.000000
         SVAL       none
         VAL        0.000000
       1.WORKING:
         OSVAL      yes
         OVAL       1
         SVAL       no
         VAL        0
Attributes:
   ASC        2
   ASC_AutoAstroModeEvening HORIZON
   ASC_AutoAstroModeEveningHorizon 3
   ASC_AutoAstroModeMorning HORIZON
   ASC_AutoAstroModeMorningHorizon 3
   ASC_BlockingTime_beforDayOpen 900
   ASC_BlockingTime_beforNightClose 900
   ASC_BrightnessSensor HM_Sonne_Aussen_Ankleide:control 425:500
   ASC_ComfortOpen_Pos 100
   ASC_LockOut_Cmd inhibit
   ASC_Pos_Reading pct
   ASC_Shading_InOutAzimuth 86:191
   ASC_Shading_MinMax_Elevation 25
   ASC_Shading_Min_OutsideTemperature 107.5
   ASC_Shading_Mode always
   ASC_Shading_Pos 25
   ASC_Shading_StateChange_SunnyCloudy 58000:37500
   ASC_Shading_WaitingPeriod 600
   ASC_Time_Down_Early 15:30
   ASC_Time_Down_Late 22:00
   ASC_Time_Up_Early 06:30
   ASC_Time_Up_Late 09:00
   ASC_Time_Up_WE_Holiday 07:45
   ASC_Ventilate_Pos 20
   ASC_WindowRec_subType twostate
   IODev      d_ccu
   alias      Rollo Gästebad
   ccureadingfilter (LEVEL|INHIBIT|DIRECTION|WORKING)
   ccureadingname ^(.+\.)?DIRECTION$:+motor
   ccuscaleval LEVEL:0:1:0:100
   cmdIcon    up:fts_shutter_up stop:fts_shutter_manual down:fts_shutter_down
   controldatapoint 1.LEVEL
   event-on-change-reading .*
   eventMap   /datapoint 1.STOP true:stop/datapoint 1.LEVEL 0:down/datapoint 1.LEVEL 100:up/datapoint 1.INHIBIT 0:inhibit off/datapoint 1.INHIBIT 1:inhibit on/
   genericDeviceType blind
   group      Rolladen
   room       Gästebad,Homematic
   statedatapoint 1.LEVEL
   stripnumber 1
   subType    blindActuator
   substexcl  control|pct
   substitute LEVEL!#0-0:none,#100-100:open;DIRECTION!0:stop,1:up,2:down,3:undefined;WORKING!(0|false):no,(1|true):yes
   userattr   ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforDayOpen ASC_BlockingTime_beforNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_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_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate
   webCmd     control:up:stop:down
   widgetOverride control:slider,0,10,100


hier der zugehörige Helligkeitsmesser

Internals:
   DEF        xxxx
   FUUID      dfgdsfsd
   FVERSION   88_HMCCUDEV.pm:v4.3.11-s20414/2019-10-27
   IODev      d_ccu
   NAME       HM_Sonne_Aussen_Ankleide
   NR         285
   STATE      678.4
   TYPE       HMCCUDEV
   ccuaddr    xxx
   ccudevstate active
   ccuif      HmIP-RF
   ccuname    HM-Sonne-Aussen-Ankleide
   ccutype    HmIP-SLO
   channels   4
   firmware   1.0.16
   statevals  devstate
   READINGS:
     2019-11-29 16:00:05   1.AVERAGE_ILLUMINATION 817.6
     2019-11-29 16:00:05   1.CURRENT_ILLUMINATION 678.4
     2019-11-29 16:00:05   1.HIGHEST_ILLUMINATION 936.9
     2019-11-29 16:00:05   1.LOWEST_ILLUMINATION 678.4
     2019-11-29 16:00:05   control         678.4
     2019-11-29 16:00:05   hmstate         ok
     2019-11-29 16:00:05   state           678.4
   hmccu:
     devspec    xxx
     dp:
       0.CONFIG_PENDING:
         OVAL       0
         VAL        0
       0.DUTY_CYCLE:
         OVAL       0
         VAL        0
       0.INSTALL_TEST:
         OVAL       true
         VAL        true
       0.LOW_BAT:
         OVAL       0
         VAL        0
       0.OPERATING_VOLTAGE:
         OVAL       2.9
         VAL        2.9
       0.OPERATING_VOLTAGE_STATUS:
         OVAL       0
         VAL        0
       0.RSSI_DEVICE:
         OVAL       -67
         VAL        -65
       0.RSSI_PEER:
         OVAL       0
         VAL        0
       0.UNREACH:
         OVAL       0
         VAL        0
       0.UPDATE_PENDING:
         OVAL       false
         VAL        false
       1.AVERAGE_ILLUMINATION:
         OSVAL      900.7
         OVAL       900.7
         SVAL       817.6
         VAL        817.6
       1.AVERAGE_ILLUMINATION_STATUS:
         OVAL       0
         VAL        0
       1.CURRENT_ILLUMINATION:
         OSVAL      762.5
         OVAL       762.5
         SVAL       678.4
         VAL        678.4
       1.CURRENT_ILLUMINATION_STATUS:
         OVAL       0
         VAL        0
       1.HIGHEST_ILLUMINATION:
         OSVAL      1081.6
         OVAL       1081.6
         SVAL       936.9
         VAL        936.9
       1.HIGHEST_ILLUMINATION_STATUS:
         OVAL       0
         VAL        0
       1.LOWEST_ILLUMINATION:
         OSVAL      762.5
         OVAL       762.5
         SVAL       678.4
         VAL        678.4
       1.LOWEST_ILLUMINATION_STATUS:
         OVAL       0
         VAL        0
Attributes:
   IODev      d_ccu
   alias      Sonnensensor Ost
   ccureadingfilter _ILLUMINATION$
   event-on-update-reading control,state
   room       Homematic
   statedatapoint 1.CURRENT_ILLUMINATION
   stripnumber 1


ASC hat die Version v0.8.5
Migriere derzeit zu Home Assistant