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

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

Vorheriges Thema - Nächstes Thema

BigGB

Hallo Cooltux,
Danke, jetzt laufen im Log auch wieder die Routine zur Beschattung.
Haste 'ne Idee woran das gelegen hat?
Güße Gerald
FHEM 5.8 auf NUC6CAYH, Fritzbox,
MAX-, Homematic-Komponenten, WLAN-Steckdosen mit Tasmota u. MQTT
Tablet UI3

CoolTux

Hast Du mal viel umgestellt oder experimentiert? Dann kann das schon mal passieren.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Borkk

Ich nochmal mit meinem absent Problem.

Ich habe 4 Rollos an Fenstern die in Richtung 345° zeigen (siehe ASC4.png) davon stehen 3 auf Shade mode absent und einer auf always. Alle 4 Rollos sind in Shade In gefahren wobei eigentlich hätten die 3, die auf absent stehen nicht fahren dürfen, da wir zu hause waren. Ich war allerdings mal kurz Eis holen, kann sein das in der Zeit Shade in war. Aber egal wie, sie sind bis jetzt nicht wieder hoch gefahren, Sie stehen immer noch auf shade_in um 2 Uhr nachts (ASC4.png). Der Rollo der auf Absent steht ist sauber runter und wieder hoch gefahren. Nachdem heute mittag alles ok war, hatte ich dummerweise Debug wieder abgeschaltet. Also irgendwo ist da noch der Wurm drin.
Docker@DS220+ FHEM, ConBeeII, Homebridge, Nginx ReverseProxy, ConfigDB, MQTT, NodeRed, InfluxDB, Grafana,
Raspberrymatic@Raspi3: HmIP Akt- /Sensoren, Shelly´s, Tibber Puls, Alexa, ASC, Gardena, Netatmo, E-Paper, FritzBox; Tado°, HOMEMODE, iBeacon, OLED ; ESP32/8266, SwitchBot ...

hubiuwe

Hallo

mit dem Selfdefence passt etwas nicht mehr.
Ich fahre in den Urlaub und Residens haben den Status auf gone gesetzt. Die Rollos sind oben geblieben.

Ich nutze die Selfdevence Funktion nur bei "gone"

Das Ursprüngliche Verhalten war so:

Im RolloDevice


ASC_Self_Defense_Exclude on
ASC_ShuttersPlace terrace


Im ASC Device

selfDefense off


Dabei sind alle Rollos runter gefahren und wurden auch nicht mehr gesteuert.
Das wurde auch hier im Forum so beschrieben daß bei gone immer die Automatische Steuerung blockiert wird und die Fenster mit "ASC_ShuttersPlace terrace", selbst wenn "selfDefence =off" gesclossen werde.
Das hatte auch mal funktioniert.





Jetzt haben die Rollos gar nicht reagiert und sind auch nach 20min noch oben.

Ein List:

Internals:
   FUUID      5ca7a118-f33f-e2e1-98bd-d7f3f78ef551761c
   FVERSION   73_AutoShuttersControl.pm:v0.6.27-s19998/2019-08-14 UNDER DEVELOP
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       Rollosteuerung
   NOTIFYDEV  Fenster_SZ,Fenster_WZ,Rollosteuerung,SonnSens,Sonnenstand,global,rgr_Bewohner,rr_Uwe,AK_KU_ROL,AK_SZ_ROL,AK_WZ_ROL
   NR         60
   NTFY_ORDER 51-Rollosteuerung
   STATE      maximum brightness threshold exceeded
   TYPE       AutoShuttersControl
   VERSION    v0.6.27
   Helper:
     DBLOG:
       AK_KU_ROL_PosValue:
         DBLogging:
           TIME       1565928091.22668
           VALUE      0
       AK_KU_ROL_lastPosValue:
         DBLogging:
           TIME       1566015049.82474
           VALUE      100
       AK_KU_ROL_nextAstroTimeEvent:
         DBLogging:
           TIME       1565986501.00531
           VALUE      17.08.2019 - 08:00
       AK_SZ_ROL_PosValue:
         DBLogging:
           TIME       1566015049.80185
           VALUE      0
       AK_SZ_ROL_lastPosValue:
         DBLogging:
           TIME       1566015049.81136
           VALUE      50
       AK_SZ_ROL_nextAstroTimeEvent:
         DBLogging:
           TIME       1565985601.00452
           VALUE      17.08.2019 - 08:00
       AK_WZ_ROL_PosValue:
         DBLogging:
           TIME       1565928106.66281
           VALUE      0
       AK_WZ_ROL_lastPosValue:
         DBLogging:
           TIME       1566015049.81755
           VALUE      10
       AK_WZ_ROL_nextAstroTimeEvent:
         DBLogging:
           TIME       1565985601.02852
           VALUE      17.08.2019 - 08:00
       state:
         DBLogging:
           TIME       1566015049.8058
           VALUE      maximum brightness threshold exceeded
   OLDREADINGS:
   READINGS:
     2019-08-16 06:01:31   AK_KU_ROL_PosValue 0
     2019-08-17 06:10:49   AK_KU_ROL_lastPosValue 100
     2019-08-16 22:15:01   AK_KU_ROL_nextAstroTimeEvent 17.08.2019 - 08:00
     2019-08-17 06:10:49   AK_SZ_ROL_PosValue 0
     2019-08-17 06:10:49   AK_SZ_ROL_lastPosValue 50
     2019-08-16 22:00:01   AK_SZ_ROL_nextAstroTimeEvent 17.08.2019 - 08:00
     2019-08-16 06:01:46   AK_WZ_ROL_PosValue 0
     2019-08-17 06:10:49   AK_WZ_ROL_lastPosValue 10
     2019-08-16 22:00:01   AK_WZ_ROL_nextAstroTimeEvent 17.08.2019 - 08:00
     2019-08-14 21:43:02   ascEnable       on
     2019-08-14 21:43:02   controlShading  off
     2019-08-14 21:43:02   hardLockOut     off
     2019-08-15 18:43:13   room_10_Wohnzimmer_90_Devices AK_WZ_ROL
     2019-08-15 18:43:13   room_20_Kueche_90_Devices AK_KU_ROL
     2019-08-15 18:43:13   room_40_Schlafzimmer_90_Devices AK_SZ_ROL
     2019-08-14 21:43:02   selfDefense     off
     2019-08-17 06:10:49   state           maximum brightness threshold exceeded
     2019-08-14 21:43:02   sunriseTimeWeHoliday off
     2019-08-15 18:43:13   userAttrList    rolled out
   helper:
     shuttersList:
       AK_KU_ROL
       AK_SZ_ROL
       AK_WZ_ROL
   monitoredDevs:
     AK_KU_ROL:
     AK_SZ_ROL:
     AK_WZ_ROL:
     Fenster_SZ:
       AK_SZ_ROL  ASC_WindowRec
     Fenster_WZ:
       AK_WZ_ROL  ASC_WindowRec
     SonnSens:
       AK_KU_ROL  ASC_BrightnessSensor
       AK_SZ_ROL  ASC_BrightnessSensor
       AK_WZ_ROL  ASC_BrightnessSensor
     Sonnenstand:
       Rollosteuerung ASC_twilightDevice
     rgr_Bewohner:
       Rollosteuerung ASC_residentsDev
     rr_Uwe:
       AK_SZ_ROL  ASC_Roommate_Device
Attributes:
   ASC_autoAstroModeEvening CIVIL
   ASC_autoAstroModeMorning CIVIL
   ASC_autoShuttersControlComfort on
   ASC_autoShuttersControlEvening off
   ASC_autoShuttersControlMorning on
   ASC_blockAscDrivesAfterManual 0
   ASC_brightnessDriveUpDown 25:50
   ASC_expert 1
   ASC_residentsDev rgr_Bewohner
   ASC_tempSensor KS300:temperature
   ASC_twilightDevice Sonnenstand
   DbLogExclude .*
   DbLogInclude .*
   devStateIcon selfeDefense.terrace:fts_door_tilt created.new.drive.timer:clock .*asleep:scene_sleeping roommate.(awoken|home):user_available residents.(home|awoken):status_available manual:fts_shutter_manual selfeDefense.active:status_locked selfeDefense.inactive:status_open day.open:scene_day night.close:scene_night shading.in:weather_sun shading.out:weather_cloudy
   group      Wohnung
   icon       fts_shutter_automatic
   room       01_Wohnung


Internals:
   DEF        0500ECB5
   FUUID      5ca65646-f33f-e2e1-ec26-1d8036a71435abce
   IODev      TCM_ESP3_0
   LASTInputDev TCM_ESP3_0
   MSGCNT     8
   NAME       AK_WZ_ROL
   NR         58
   NTFY_ORDER 50-AK_WZ_ROL
   STATE      0
   TCM_ESP3_0_DestinationID FFFFFFFF
   TCM_ESP3_0_MSGCNT 8
   TCM_ESP3_0_PacketType 1
   TCM_ESP3_0_RSSI -89
   TCM_ESP3_0_ReceivingQuality bad
   TCM_ESP3_0_RepeatingCounter 1
   TCM_ESP3_0_SubTelNum 4
   TCM_ESP3_0_TIME 2019-08-16 06:01:46
   TYPE       EnOcean
   Helper:
     DBLOG:
       ASC_ShuttersLastDrive:
         DBLogging:
           TIME       1565928106.77016
           VALUE      maximum brightness threshold exceeded
       anglePos:
         DBLogging:
           TIME       1565928106.65238
           VALUE      -90
       block:
         DBLogging:
           TIME       1565900676.15059
           VALUE      unlock
       endPosition:
         DBLogging:
           TIME       1565928106.65238
           VALUE      open_ack
       position:
         DBLogging:
           TIME       1565928106.65238
           VALUE      0
       state:
         DBLogging:
           TIME       1565928106.65238
           VALUE      open_ack
   READINGS:
     2019-06-20 20:46:50   ASC_Enable      on
     2019-08-16 06:01:46   ASC_ShuttersLastDrive maximum brightness threshold exceeded
     2019-08-16 22:00:01   ASC_Time_DriveDown AutoShuttersControl off
     2019-08-16 22:00:01   ASC_Time_DriveUp 17.08.2019 - 08:00
     2019-08-16 06:01:46   anglePos        -90
     2019-08-15 18:43:14   associatedWith  Rollosteuerung
     2019-08-15 22:24:36   block           unlock
     2019-08-16 06:01:46   endPosition     open_ack
     2019-08-16 06:01:46   position        0
     2019-08-16 06:01:46   state           open_ack
     2019-05-19 10:41:55   statePosition   70
     2019-04-06 20:14:41   teach           4BS teach-in sent
   helper:
Attributes:
   ASC        1
   ASC_Antifreeze off
   ASC_Antifreeze_Pos 85
   ASC_AutoAstroModeEvening none
   ASC_AutoAstroModeEveningHorizon none
   ASC_AutoAstroModeMorning none
   ASC_AutoAstroModeMorningHorizon none
   ASC_BlockingTime_afterManual 1200
   ASC_BlockingTime_beforDayOpen 3600
   ASC_BlockingTime_beforNightClose 3600
   ASC_BrightnessSensor SonnSens:brightness
   ASC_Closed_Pos 100
   ASC_ComfortOpen_Pos 10
   ASC_Down   brightness
   ASC_DriveUpMaxDuration 60
   ASC_Drive_Offset -1
   ASC_Drive_OffsetStart -1
   ASC_GuestRoom none
   ASC_Mode_Down off
   ASC_Mode_Up always
   ASC_Open_Pos 0
   ASC_Partymode off
   ASC_Pos_Reading position
   ASC_PrivacyDownTime_beforNightClose -1
   ASC_PrivacyDown_Pos 50
   ASC_Self_Defense_Exclude on
   ASC_Shading_Angle_Left 75
   ASC_Shading_Angle_Right 60
   ASC_Shading_Direction 147
   ASC_Shading_MinMax_Elevation 21
   ASC_Shading_Min_OutsideTemperature 23.0
   ASC_Shading_Mode always
   ASC_Shading_Pos 75
   ASC_Shading_StateChange_Sunny 30000
   ASC_Shading_WaitingPeriod 1200
   ASC_ShuttersPlace terrace
   ASC_TempSensor Alpha2:Ist-Temperatur-4
   ASC_Time_Down_Early 18:00
   ASC_Time_Down_Late 22:00
   ASC_Time_Up_Early 05:00
   ASC_Time_Up_Late 08:00
   ASC_Time_Up_WE_Holiday 06:45
   ASC_Up     brightness
   ASC_Ventilate_Pos 75
   ASC_Ventilate_Window_Open on
   ASC_WiggleValue 5
   ASC_WindProtection off
   ASC_WindowRec Fenster_WZ
   ASC_WindowRec_subType threestate
   DbLogExclude .*
   DbLogInclude .*
   IODev      TCM_ESP3_0
   alias      Rollo Wohnzimmer
   calAtEndpoints yes
   devStateIcon 100:fts_shutter_100 1\d.*:fts_shutter_10 2\d.*:fts_shutter_20 3\d.*:fts_shutter_30 4\d.*:fts_shutter_40 5\d.*:fts_shutter_50 6\d.*:fts_shutter_60 7\d.*:fts_shutter_70 8\d.*:fts_shutter_80 9\d.*:fts_shutter_90 \d.*:fts_shutter_10 open_ack:fts_window_2w closed:fts_shutter_100
   eep        A5-3F-7F
   group      Rollos
   icon       fts_shutter_100
   manufID    00D
   model      Eltako_FSB_ACK
   room       10_Wohnzimmer,90_Devices
   settingAccuracy high
   shutTime   24
   shutTimeCloses 40
   stateFormat position
   subDef     FFB45103
   subType    manufProfile
   userattr   ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforDayOpen ASC_BlockingTime_beforNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Down:time,astro,brightness ASC_DriveUpMaxDuration ASC_Drive_Offset ASC_Drive_OffsetStart ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownTime_beforNightClose ASC_PrivacyDown_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Exclude:on,off ASC_Self_Defense_Mode:absent,gone ASC_Shading_Angle_Left ASC_Shading_Angle_Right ASC_Shading_Direction ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_Cloudy ASC_Shading_StateChange_Sunny ASC_Shading_WaitingPeriod ASC_ShuttersPlace:window,terrace ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate
   webCmd     opens:stop:closes


Ich bin dann mal weg .-)
Die beste Automatik ist die, die man abschalten kann!

hubiuwe

Hallo ich noch mal
ZitatHallo

mit dem Selfdefence passt etwas nicht mehr.
Ich fahre in den Urlaub und Residens haben den Status auf gone gesetzt. Die Rollos sind oben geblieben.

Ich nutze die Selfdevence Funktion nur bei "gone"

Das Ursprüngliche Verhalten war so:

Im RolloDevice

Code: [Auswählen]

ASC_Self_Defense_Exclude on
ASC_ShuttersPlace terrace


Im ASC Device
Code: [Auswählen]

selfDefense off


Dabei sind alle Rollos runter gefahren und wurden auch nicht mehr gesteuert.
Das wurde auch hier im Forum so beschrieben daß bei gone immer die Automatische Steuerung blockiert wird und die Fenster mit "ASC_ShuttersPlace terrace", selbst wenn "selfDefence =off" gesclossen werde.
Das hatte auch mal funktioniert.

Ich hatte die Rollos zwischenzeitlich manuell geschlossen, mein Status ist immer noch "gone".
Obwohl Reidens noch auf gone steht hat "day open" zugeschlagen das sollte eigentlich nicht sein.
ASC_ShuttersLastDrive day open 2019-08-17 08:00:26

Ich werde ASC solange ich verreist bin wohl abschalten.
Die beste Automatik ist die, die man abschalten kann!

hubiuwe

Mir ist gerade eingefallen ich habe vor einiger Zeit ROOMMATE und RESIDENTS von Deutsch auf Englisch umgestellt.
Aber gone bleibt ja gone????
Die beste Automatik ist die, die man abschalten kann!

CoolTux

Hallo,

Also bei dieser Einstellung
ASC_Self_Defense_Exclude on
ASC_ShuttersPlace terrace

selfDefense off


Fährt kein Rollo in SelfDefense. Du hast es ja nicht eingeschalten Global und sogar extra noch im Rollo ausgeschlossen.

Das mit den Morgens und Abends Fahrten bei gone oder absend trotz SelfDefense ist noch ein Logik Fehler den ich korrigieren muss.


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

CoolTux

Zitat von: Borkk am 17 August 2019, 02:02:07
Ich nochmal mit meinem absent Problem.

Ich habe 4 Rollos an Fenstern die in Richtung 345° zeigen (siehe ASC4.png) davon stehen 3 auf Shade mode absent und einer auf always. Alle 4 Rollos sind in Shade In gefahren wobei eigentlich hätten die 3, die auf absent stehen nicht fahren dürfen, da wir zu hause waren. Ich war allerdings mal kurz Eis holen, kann sein das in der Zeit Shade in war. Aber egal wie, sie sind bis jetzt nicht wieder hoch gefahren, Sie stehen immer noch auf shade_in um 2 Uhr nachts (ASC4.png). Der Rollo der auf Absent steht ist sauber runter und wieder hoch gefahren. Nachdem heute mittag alles ok war, hatte ich dummerweise Debug wieder abgeschaltet. Also irgendwo ist da noch der Wurm drin.

Ich schaue es mir noch mal die Tage an.
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

Alex76

Hallo,

kennt jemand den Grund für die Fehlermeldung im Log:
Use of uninitalized value in subtraction (-) at ./FHEM/73_AutoShutterControl.pm line 3412


CoolTux

Zitat von: Alex76 am 17 August 2019, 10:59:12
Hallo,

kennt jemand den Grund für die Fehlermeldung im Log:
Use of uninitalized value in subtraction (-) at ./FHEM/73_AutoShutterControl.pm line 3412

Bitte mach ein Update dann ist die Meldung weg. Der Ulf war so nett und hat einen Patch vor einer Woche dafür geschrieben.
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


Alex76

aja - bei so einer schnellen Hilfe *Top*

hätte ich gleich die nächste Dumme Frage, bei mir fahren leider keine Rollläden. in der Oberfläche sieht das wie in den Bildern aus.

Die Definition hab ich wie folgt im Moment drinnen:

ASC:
define ASC_Astro Astro
setuuid ASC_Astro 5d37050c-f33f-7f88-1e21-3f145f84d0370713
attr ASC_Astro icon telescope
attr ASC_Astro interval 600
attr ASC_Astro recomputeAt NewDay,SunRise,SunSet,AstroTwilightEvening,AstroTwilightMorning,CivilTwilightEvening,CivilTwilightMorning,CustomTwilightEvening,CustomTwilightMorning
attr ASC_Astro room Rollos


define ASC AutoShuttersControl
setuuid ASC 5d37050c-f33f-7f88-126b-6d96b2d6818bd722
attr ASC ASC_autoAstroModeEvening CIVIL
attr ASC ASC_autoAstroModeEveningHorizon 0
attr ASC ASC_autoAstroModeMorning CIVIL
attr ASC ASC_autoAstroModeMorningHorizon 0
attr ASC ASC_autoShuttersControlComfort on
attr ASC ASC_autoShuttersControlEvening on
attr ASC ASC_autoShuttersControlMorning on
attr ASC ASC_debug 1
attr ASC ASC_tempSensor Waermepumpe:ambientTemperature
attr ASC ASC_twilightDevice ASC_Astro
attr ASC devStateIcon selfeDefense.terrace:fts_door_tilt created.new.drive.timer:clock .*asleep:scene_sleeping roommate.(awoken|home):user_available residents.(home|awoken):status_available manual:fts_shutter_manual selfeDefense.active:status_locked selfeDefense.inactive:status_open day.open:scene_day night.close:scene_night shading.in:weather_sun shading.out:weather_cloudy
attr ASC icon fts_shutter_automatic
attr ASC room Rollos
attr ASC verbose 5


und ein Device:

define Rollo_HM_66B2B9 CUL_HM 66B2B9
setuuid Rollo_HM_66B2B9 5d50109b-f33f-7f88-fdcf-7a119861d26cbf9c
attr Rollo_HM_66B2B9 userattr ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforDayOpen ASC_BlockingTime_beforNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Down:time,astro,brightness ASC_DriveUpMaxDuration ASC_Drive_Offset ASC_Drive_OffsetStart ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownTime_beforNightClose ASC_PrivacyDown_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Exclude:on,off ASC_Self_Defense_Mode:absent,gone ASC_Shading_Angle_Left ASC_Shading_Angle_Right ASC_Shading_Direction ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_Cloudy ASC_Shading_StateChange_Sunny ASC_Shading_WaitingPeriod ASC_ShuttersPlace:window,terrace ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness 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
attr Rollo_HM_66B2B9 .mId 0107
attr Rollo_HM_66B2B9 ASC 2
attr Rollo_HM_66B2B9 ASC_BrightnessSensor HM_56D055
attr Rollo_HM_66B2B9 ASC_Mode_Down always
attr Rollo_HM_66B2B9 ASC_Mode_Up always
attr Rollo_HM_66B2B9 ASC_Pos_Reading pct
attr Rollo_HM_66B2B9 ASC_Shading_Angle_Left 270
attr Rollo_HM_66B2B9 ASC_Shading_Angle_Right 360
attr Rollo_HM_66B2B9 ASC_Shading_Direction 274
attr Rollo_HM_66B2B9 ASC_Shading_MinMax_Elevation 8
attr Rollo_HM_66B2B9 ASC_Shading_Mode always
attr Rollo_HM_66B2B9 ASC_Shading_Pos 10
attr Rollo_HM_66B2B9 ASC_Shading_StateChange_Cloudy 4680
attr Rollo_HM_66B2B9 ASC_Shading_StateChange_Sunny 21140
attr Rollo_HM_66B2B9 IODev HMLAN1
attr Rollo_HM_66B2B9 IOgrp vccu:HMLAN1
attr Rollo_HM_66B2B9 alias JalousieTuerArbeitszimmer
attr Rollo_HM_66B2B9 autoReadReg 4_reqStatus
attr Rollo_HM_66B2B9 expert 2_raw
attr Rollo_HM_66B2B9 firmware 2.11
attr Rollo_HM_66B2B9 model HM-LC-JA1PBU-FM
attr Rollo_HM_66B2B9 peerIDs 00000000,
attr Rollo_HM_66B2B9 room Arbeitszimmer,CUL_HM,Rollos
attr Rollo_HM_66B2B9 serialNr PEQ0098419
attr Rollo_HM_66B2B9 subType blindActuator
attr Rollo_HM_66B2B9 webCmd statusRequest:toggleDir:on:off:up:down:stop


Log:
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Devname: HM_56D055 Name: ASC Notify: $VAR1 = [ 'battery: ok', 'brightness: 12486.27', 'state: B: 12486.27' ];
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B42B) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B42B) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B42B Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B2A2) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B2A2) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B2A2 Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B494) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B494) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B494 Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B2B9) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B2B9) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B2B9 Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B458) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B458) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B458 Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B2EA) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B2EA) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B2EA Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B3CD) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B3CD) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B3CD Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B4A0) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B4A0) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B4A0 Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B420) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B420) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B420 Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6



Borkk

Hallo CoolTux,

ich hatte in meiner Erläuterung einen Fehler!!! War auch schon spät ;-)

Zitat von: Borkk am 17 August 2019, 02:02:07
Ich nochmal mit meinem absent Problem.

Ich habe 4 Rollos an Fenstern die in Richtung 345° zeigen (siehe ASC4.png) davon stehen 3 auf Shade mode absent und einer auf always. Alle 4 Rollos sind in Shade In gefahren wobei eigentlich hätten die 3, die auf absent stehen nicht fahren dürfen, da wir zu hause waren. Ich war allerdings mal kurz Eis holen, kann sein das in der Zeit Shade in war. Aber egal wie, sie sind bis jetzt nicht wieder hoch gefahren, Sie stehen immer noch auf shade_in um 2 Uhr nachts (ASC4.png). Der Rollo der auf Always steht ist sauber runter und wieder hoch gefahren. Nachdem heute mittag alles ok war, hatte ich dummerweise Debug wieder abgeschaltet. Also irgendwo ist da noch der Wurm drin.

Docker@DS220+ FHEM, ConBeeII, Homebridge, Nginx ReverseProxy, ConfigDB, MQTT, NodeRed, InfluxDB, Grafana,
Raspberrymatic@Raspi3: HmIP Akt- /Sensoren, Shelly´s, Tibber Puls, Alexa, ASC, Gardena, Netatmo, E-Paper, FritzBox; Tado°, HOMEMODE, iBeacon, OLED ; ESP32/8266, SwitchBot ...

CoolTux

Zitat von: Alex76 am 17 August 2019, 11:11:29
aja - bei so einer schnellen Hilfe *Top*

hätte ich gleich die nächste Dumme Frage, bei mir fahren leider keine Rollläden. in der Oberfläche sieht das wie in den Bildern aus.

Die Definition hab ich wie folgt im Moment drinnen:

ASC:
define ASC_Astro Astro
setuuid ASC_Astro 5d37050c-f33f-7f88-1e21-3f145f84d0370713
attr ASC_Astro icon telescope
attr ASC_Astro interval 600
attr ASC_Astro recomputeAt NewDay,SunRise,SunSet,AstroTwilightEvening,AstroTwilightMorning,CivilTwilightEvening,CivilTwilightMorning,CustomTwilightEvening,CustomTwilightMorning
attr ASC_Astro room Rollos


define ASC AutoShuttersControl
setuuid ASC 5d37050c-f33f-7f88-126b-6d96b2d6818bd722
attr ASC ASC_autoAstroModeEvening CIVIL
attr ASC ASC_autoAstroModeEveningHorizon 0
attr ASC ASC_autoAstroModeMorning CIVIL
attr ASC ASC_autoAstroModeMorningHorizon 0
attr ASC ASC_autoShuttersControlComfort on
attr ASC ASC_autoShuttersControlEvening on
attr ASC ASC_autoShuttersControlMorning on
attr ASC ASC_debug 1
attr ASC ASC_tempSensor Waermepumpe:ambientTemperature
attr ASC ASC_twilightDevice ASC_Astro
attr ASC devStateIcon selfeDefense.terrace:fts_door_tilt created.new.drive.timer:clock .*asleep:scene_sleeping roommate.(awoken|home):user_available residents.(home|awoken):status_available manual:fts_shutter_manual selfeDefense.active:status_locked selfeDefense.inactive:status_open day.open:scene_day night.close:scene_night shading.in:weather_sun shading.out:weather_cloudy
attr ASC icon fts_shutter_automatic
attr ASC room Rollos
attr ASC verbose 5


und ein Device:

define Rollo_HM_66B2B9 CUL_HM 66B2B9
setuuid Rollo_HM_66B2B9 5d50109b-f33f-7f88-fdcf-7a119861d26cbf9c
attr Rollo_HM_66B2B9 userattr ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforDayOpen ASC_BlockingTime_beforNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Down:time,astro,brightness ASC_DriveUpMaxDuration ASC_Drive_Offset ASC_Drive_OffsetStart ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownTime_beforNightClose ASC_PrivacyDown_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Exclude:on,off ASC_Self_Defense_Mode:absent,gone ASC_Shading_Angle_Left ASC_Shading_Angle_Right ASC_Shading_Direction ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_Cloudy ASC_Shading_StateChange_Sunny ASC_Shading_WaitingPeriod ASC_ShuttersPlace:window,terrace ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness 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
attr Rollo_HM_66B2B9 .mId 0107
attr Rollo_HM_66B2B9 ASC 2
attr Rollo_HM_66B2B9 ASC_BrightnessSensor HM_56D055
attr Rollo_HM_66B2B9 ASC_Mode_Down always
attr Rollo_HM_66B2B9 ASC_Mode_Up always
attr Rollo_HM_66B2B9 ASC_Pos_Reading pct
attr Rollo_HM_66B2B9 ASC_Shading_Angle_Left 270
attr Rollo_HM_66B2B9 ASC_Shading_Angle_Right 360
attr Rollo_HM_66B2B9 ASC_Shading_Direction 274
attr Rollo_HM_66B2B9 ASC_Shading_MinMax_Elevation 8
attr Rollo_HM_66B2B9 ASC_Shading_Mode always
attr Rollo_HM_66B2B9 ASC_Shading_Pos 10
attr Rollo_HM_66B2B9 ASC_Shading_StateChange_Cloudy 4680
attr Rollo_HM_66B2B9 ASC_Shading_StateChange_Sunny 21140
attr Rollo_HM_66B2B9 IODev HMLAN1
attr Rollo_HM_66B2B9 IOgrp vccu:HMLAN1
attr Rollo_HM_66B2B9 alias JalousieTuerArbeitszimmer
attr Rollo_HM_66B2B9 autoReadReg 4_reqStatus
attr Rollo_HM_66B2B9 expert 2_raw
attr Rollo_HM_66B2B9 firmware 2.11
attr Rollo_HM_66B2B9 model HM-LC-JA1PBU-FM
attr Rollo_HM_66B2B9 peerIDs 00000000,
attr Rollo_HM_66B2B9 room Arbeitszimmer,CUL_HM,Rollos
attr Rollo_HM_66B2B9 serialNr PEQ0098419
attr Rollo_HM_66B2B9 subType blindActuator
attr Rollo_HM_66B2B9 webCmd statusRequest:toggleDir:on:off:up:down:stop


Log:
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Devname: HM_56D055 Name: ASC Notify: $VAR1 = [ 'battery: ok', 'brightness: 12486.27', 'state: B: 12486.27' ];
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B42B) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B42B) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B42B Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B2A2) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B2A2) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B2A2 Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B494) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B494) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B494 Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B2B9) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B2B9) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B2B9 Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B458) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B458) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B458 Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B2EA) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B2EA) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B2EA Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B3CD) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B3CD) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B3CD Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B4A0) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B4A0) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B4A0 Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B420) - EventProcessingShadingBrightness
2019.08.17 11:18:35 4 : AutoShuttersControl (HM_66B420) - EventProcessingShadingBrightness Brightness: 12486.27
2019.08.17 11:18:35 4 : AutoShuttersControl (ASC) - Shading Processing, Rollladen: HM_66B420 Azimuth: 138.3 Elevation: 48.9 Brightness: 12486.27 OutTemp: 22.6


Hallo Alex,

Bitte immer ein list machen, kein raw.
Wie wo wann sollten sie denn fahren? Beschattung?
21140 steht bei Deinem Sunny und der Sensor meldet irgendwas um 12000 da ist also noch Luft bis er beschatten soll.

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

ch.eick

RPI4; Docker; CUNX; Eltako FSB61NP; SamsungTV H-Serie; Sonos; Vallox; Luxtronik; 3x FB7490; Stromzähler mit DvLIR; wunderground; Plenticore 10 mit BYD; EM410; SMAEM; Modbus TCP
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/ch.eick