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

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

Vorheriges Thema - Nächstes Thema

FunkOdyssey

Up steht auf "absent".
Dennoch habe ich die Rollos manuell hochgefahren.
Es wird aber nicht nachvollziehbar sporadisch beschattet.

Ich versuche gerade irgendwie ans File zu kommen. Mein SVNUpate kann noch nicht mit der neuen Struktur umgehen. 🤪

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

moonsorrox

ich habe heute zwei weitere Rollläden dazu genommen und nun zeigt er mir im ASC Modul folgenden Fehler:
ASC_ShadingMessage  ERROR: no brightness sensor found, please set ASC_BrightnessSensor attribut  2020-06-24 13:28:29

Ich habe jetzt 3 Rollläden in Betrieb und in allen 3 ROllläden ist der ASC_BrightnessSensor eingetragen. Muss ich das jetzt auch im Modul eintragen.
Das ist grad etwas verwirrend, wo trage ich das am besten oder richtig ein.?
1x Im ASC Modul oder bei allen Rollläden oder beim ASC Modul und in den Rollläden..?

Den Brightness _Sensor nutze ich auch nur zum Be- und entschatten, mehr mache ich damit nicht.
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

CoolTux

Man kann den Brightness Sensor nur im Rollo angeben.
Gib mal bitte ein list von dem Rollodevice wo diese Meldung kommt.
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

Er zeigt den Fehler nur im ASC Modul nicht in den Rollläden, brauchst du davon das list.?

list ASC Modul

Internals:
   FUUID      5d41ae21-f33f-a6c6-55b2-831074a6285bf7e3
   FVERSION   73_AutoShuttersControl.pm:v0.10.0-s22229/2020-06-22 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       Rollladenautomatik
   NOTIFYDEV  ASC_WindowRec_PosAfterDayClosed,BU_Rollladen,GA_Rollladen,KU_Rollladen,Rollladenautomatik,Temperatur_Terrasse,global,myAstro
   NR         5889
   NTFY_ORDER 51-Rollladenautomatik
   STATE      shading in
   TYPE       AutoShuttersControl
   VERSION    v0.10.0
   OLDREADINGS:
   READINGS:
     2020-04-23 17:20:06   ASC_Enable      on
     2020-06-24 13:28:29   ASC_ShadingMessage <html> ERROR:  no brightness sensor found, please set ASC_BrightnessSensor attribut </html>
     2020-06-24 13:47:44   ASC_Time_DriveDown 24.06.2020 - 22:00
     2020-06-24 13:47:44   ASC_Time_DriveUp 25.06.2020 - 05:06
     2020-04-20 06:19:12   Automation_lastPosValue 0
     2020-06-24 14:50:56   BU_Rollladen_lastPosValue 0
     2020-06-24 13:47:44   BU_Rollladen_nextAstroTimeEvent 24.06.2020 - 22:00
     2020-06-24 14:50:56   GA_Rollladen_lastPosValue 0
     2020-06-24 13:47:44   GA_Rollladen_nextAstroTimeEvent 24.06.2020 - 22:00
     2020-06-24 14:13:31   KU_Rollladen_PosValue 45
     2020-06-24 14:13:16   KU_Rollladen_lastPosValue 100
     2020-06-24 13:47:44   KU_Rollladen_nextAstroTimeEvent 24.06.2020 - 22:00
     2020-06-24 05:06:35   Rollladenautomatik_lastPosValue 0
     2020-06-24 13:47:44   Rollladenautomatik_nextAstroTimeEvent 24.06.2020 - 22:00
     2019-10-06 14:12:17   ascEnable       on
     2020-06-24 13:47:41   associatedWith  Rollladenautomatik
     2020-06-24 14:04:56   controlShading  on
     2019-10-06 14:12:17   hardLockOut     off
     2020-06-24 13:47:41   room_Automation_K__che KU_Rollladen
     2020-06-24 13:47:41   room_Automation_OG_-_Flur BU_Rollladen
     2020-06-24 13:47:41   room_OG_-_Flur  GA_Rollladen
     2020-06-24 13:47:41   room_Rollladenautomatik Rollladenautomatik
     2019-10-06 14:12:17   selfDefense     off
     2020-06-24 14:13:31   state           shading in
     2019-11-25 17:11:54   sunriseTimeWeHoliday on
     2020-06-24 13:47:41   userAttrList    rolled out
   helper:
     shuttersList:
       BU_Rollladen
       GA_Rollladen
       KU_Rollladen
       Rollladenautomatik
   monitoredDevs:
     ASC_WindowRec_PosAfterDayClosed:
       BU_Rollladen 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,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 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,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec
       GA_Rollladen 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,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,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,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec
       GA_Rollladen 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,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec
       KU_Rollladen 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 => 'ASC_Shading_Pos:0,10,20,30,35,40,45,50,55,60,65,70,75,80,85,90,95,99 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
       KU_Rollladen 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:0,10,20,30,35,40,45,50,55,60,65,70,75,80,85,90,95,99 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
     BU_Rollladen:
     GA_Rollladen:
     KU_Rollladen:
     Temperatur_Terrasse:
       BU_Rollladen ASC_BrightnessSensor
       GA_Rollladen ASC_BrightnessSensor
       KU_Rollladen ASC_BrightnessSensor
     myAstro:
       Rollladenautomatik ASC_twilightDevice
Attributes:
   ASC        1
   ASC_Pos_Reading position
   ASC_Shading_Mode always
   ASC_autoAstroModeEvening CIVIL
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_expert 1
   ASC_freezeTemp 1
   ASC_tempSensor Temperatur_Terrasse:temperature
   ASC_twilightDevice myAstro
   alias      Rollladenautomatik
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       Rollladenautomatik
   userattr   ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforDayOpen ASC_BlockingTime_beforNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate
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

CoolTux

Dann hast Du Mist gebaut.
ASC        1

Warum steht das im ASC Device als Attribut. Ist das ein Rollo? Nein.


Alles löschen und von vorne bitte anfangen. So kommt nur Unsinn raus.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

flummy1978

Zitat von: CoolTux am 24 Juni 2020, 12:45:58
Erstmal zu Deiner 2. Frage. Auf gar keinen Fall irgendwas von ASC aus dem userattr löschen. Du kannst doch den attr
Öhm ja ... Wie peinlich ... Sorry. Da hab ich wohl vor lauter Bäumen keinen Wald mehr gesehen -.- Natürlich kann ich das so machen und entsprechend auch die Perl Funktion so nutzen ... Vergiss das schnell wieder bitte ;)

Zitat von: CoolTux am 24 Juni 2020, 12:49:00
Ich verstehe nicht so ganz auf welcher Basis Du auswertest welcher Kontakt nun offen und welcher geschlossen oder beide offen?
Warum setzt Du beide Kontakte nicht in eine structure und machst dann entsprechend open, closed und tilted.
Die Basis ist momentan noch keine:
1. Kontakt Lüften (Noch?Keine Ventilate Funktion - Rollo bleibt wie es ist) 2. Kontakt Tür offen (Hier soll das Rollo reagieren)
Warum ich das nicht mit Structure mache ? Ganz ehrlich: Weil ich glaube ich zu dämlich bin, um structure richtig zu verstehen ;( Ich habe structs drin für residents und alle Lichter, die ich mit Ach und Krach zum Laufen bekommen habe, verstanden habe ich sie nicht wirklich ..... Wäre aber wohl die einfachste Lösung, wen man weiß wie  :o
Die Frage die sich mir stellt: Auf Ventilate soll das Rollo nicht reagieren. Open wird vom entsprechendem Fensterkontakt geliefert ... Warum fährt das Rollo trotzdem nicht auf *grübel*

VG
Andreas

CoolTux

Zitat von: flummy1978 am 24 Juni 2020, 15:33:47
Öhm ja ... Wie peinlich ... Sorry. Da hab ich wohl vor lauter Bäumen keinen Wald mehr gesehen -.- Natürlich kann ich das so machen und entsprechend auch die Perl Funktion so nutzen ... Vergiss das schnell wieder bitte ;)
Die Basis ist momentan noch keine:
1. Kontakt Lüften (Noch?Keine Ventilate Funktion - Rollo bleibt wie es ist) 2. Kontakt Tür offen (Hier soll das Rollo reagieren)
Warum ich das nicht mit Structure mache ? Ganz ehrlich: Weil ich glaube ich zu dämlich bin, um structure richtig zu verstehen ;( Ich habe structs drin für residents und alle Lichter, die ich mit Ach und Krach zum Laufen bekommen habe, verstanden habe ich sie nicht wirklich ..... Wäre aber wohl die einfachste Lösung, wen man weiß wie  :o
Die Frage die sich mir stellt: Auf Ventilate soll das Rollo nicht reagieren. Open wird vom entsprechendem Fensterkontakt geliefert ... Warum fährt das Rollo trotzdem nicht auf *grübel*

VG
Andreas

Structure
Internals:
   ATTR       FensterIsa
   CHANGEDCNT 13
   DEF        FensterIsa FensterKinZimIsabel_Li FensterKinZimIsabel_Re
   FUUID      5ef35e68-f33f-5153-efa1-a1404a4eb01cc8f3
   NAME       FensterStructure
   NR         165
   NTFY_ORDER 50-FensterStructure
   STATE      closed
   TYPE       structure
   READINGS:
     2020-06-24 16:18:02   LastDevice      FensterKinZimIsabel_Li
     2020-06-24 16:18:02   LastDevice_Abs  FensterKinZimIsabel_Li
     2020-06-24 16:18:02   state           closed
Attributes:
   clientstate_behavior relative
   clientstate_priority open tilted  closed




Fensterkontakte

Internals:
   FUUID      5c928646-f33f-5153-c9cd-eed92543d3833c0d
   FVERSION   98_dummy.pm:0.206650/2019-12-06
   NAME       FensterKinZimIsabel_Li
   NR         63
   STATE      closed
   TYPE       dummy
   READINGS:
     2020-06-24 16:18:02   state           closed
Attributes:
   FensterIsa_map open:tilted
   readingList state
   room       IsabelsZimmer
   setList    tilted:noArg open:noArg closed:noArg
   userattr   FensterIsa FensterIsa_map structexclude

Das ist der Kontakt welcher open anzeigt wenn das Fenster nur gekippt ist. Achte bitte auf das Attribut _map


Internals:
   FUUID      5c928656-f33f-5153-a417-e08a83a0231b7e9d
   FVERSION   98_dummy.pm:0.206650/2019-12-06
   NAME       FensterKinZimIsabel_Re
   NR         64
   STATE      closed
   TYPE       dummy
   READINGS:
     2020-06-24 16:17:58   state           closed
Attributes:
   readingList state
   room       IsabelsZimmer
   setList    tilted:noArg open:noArg closed:noArg
   userattr   FensterIsa FensterIsa_map structexclude


Das ist der Kontakt der zusätzlich auf open geht wenn das Fenster ganz aufgemacht 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

flummy1978

Vielen Dank für das Beispiel. Werde ich morgen umsetzen und testen...

Diese Structure hast Du dann anstatt des Fensterkontaktes eingesetzt richtig ? Also steht bei Dir
ASC_Window_Rec FensterStructure
im entsprechenden Rollo Device richtig ?

Grüße Andreas

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

moonsorrox

Zitat von: CoolTux am 24 Juni 2020, 14:59:44
Dann hast Du Mist gebaut.
ASC        1

Warum steht das im ASC Device als Attribut. Ist das ein Rollo? Nein.


Alles löschen und von vorne bitte anfangen. So kommt nur Unsinn raus.

ich glaube da ist etwas falsch gelaufen, irgendein Codeschnipsel den ich gar nicht drin habe, weil ich es immer erst nach Notepad++ kopiere, da ist auch noch mehr dazu gerutscht was da nicht hingehört.
Also nochmal zur Erklärung, ich habe heute zwei Rollläden mit in die Beschattung genommen, diese habe ich beide neu angelegt, die haben auch Beschattet, sind beide etwas unterschiedlich gefahren, aber ich glaube das kommt davon weil es Somfyshutter sind, deshalb habe ich immer solange gezögert diese mit in ASC zu nehmen.

Aber was eben gestört hat ist der Fehler im ASC Modul.
Ich hänge hier nochmal ein list an:
Internals:
   FUUID      5d41ae21-f33f-a6c6-55b2-831074a6285bf7e3
   FVERSION   73_AutoShuttersControl.pm:v0.10.0-s22229/2020-06-22 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       Rollladenautomatik
   NOTIFYDEV  ASC_WindowRec_PosAfterDayClosed,BU_Rollladen,GA_Rollladen,KU_Rollladen,Rollladenautomatik,Temperatur_Terrasse,global,myAstro
   NR         5889
   NTFY_ORDER 51-Rollladenautomatik
   STATE      shading in
   TYPE       AutoShuttersControl
   VERSION    v0.10.0
   OLDREADINGS:
   READINGS:
     2020-04-23 17:20:06   ASC_Enable      on
     2020-06-24 13:28:29   ASC_ShadingMessage <html> ERROR:  no brightness sensor found, please set ASC_BrightnessSensor attribut </html>
     2020-06-24 13:47:44   ASC_Time_DriveDown 24.06.2020 - 22:00
     2020-06-24 13:47:44   ASC_Time_DriveUp 25.06.2020 - 05:06
     2020-04-20 06:19:12   Automation_lastPosValue 0
     2020-06-24 17:57:40   BU_Rollladen_lastPosValue 0
     2020-06-24 13:47:44   BU_Rollladen_nextAstroTimeEvent 24.06.2020 - 22:00
     2020-06-24 17:57:40   GA_Rollladen_lastPosValue 0
     2020-06-24 13:47:44   GA_Rollladen_nextAstroTimeEvent 24.06.2020 - 22:00
     2020-06-24 14:13:31   KU_Rollladen_PosValue 45
     2020-06-24 14:13:16   KU_Rollladen_lastPosValue 100
     2020-06-24 13:47:44   KU_Rollladen_nextAstroTimeEvent 24.06.2020 - 22:00
     2020-06-24 05:06:35   Rollladenautomatik_lastPosValue 0
     2020-06-24 13:47:44   Rollladenautomatik_nextAstroTimeEvent 24.06.2020 - 22:00
     2019-10-06 14:12:17   ascEnable       on
     2020-06-24 13:47:41   associatedWith  Rollladenautomatik
     2020-06-24 14:04:56   controlShading  on
     2019-10-06 14:12:17   hardLockOut     off
     2020-06-24 13:47:41   room_Automation_K__che KU_Rollladen
     2020-06-24 13:47:41   room_Automation_OG_-_Flur BU_Rollladen
     2020-06-24 13:47:41   room_OG_-_Flur  GA_Rollladen
     2020-06-24 13:47:41   room_Rollladenautomatik Rollladenautomatik
     2019-10-06 14:12:17   selfDefense     off
     2020-06-24 14:13:31   state           shading in
     2019-11-25 17:11:54   sunriseTimeWeHoliday on
     2020-06-24 13:47:41   userAttrList    rolled out
   helper:
     shuttersList:
       BU_Rollladen
       GA_Rollladen
       KU_Rollladen
       Rollladenautomatik
   monitoredDevs:
     ASC_WindowRec_PosAfterDayClosed:
       BU_Rollladen 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,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 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,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec
       GA_Rollladen 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,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,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,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec
       GA_Rollladen 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,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec
       KU_Rollladen 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 => 'ASC_Shading_Pos:0,10,20,30,35,40,45,50,55,60,65,70,75,80,85,90,95,99 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
       KU_Rollladen 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:0,10,20,30,35,40,45,50,55,60,65,70,75,80,85,90,95,99 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
     BU_Rollladen:
     GA_Rollladen:
     KU_Rollladen:
     Temperatur_Terrasse:
       BU_Rollladen ASC_BrightnessSensor
       GA_Rollladen ASC_BrightnessSensor
       KU_Rollladen ASC_BrightnessSensor
     myAstro:
       Rollladenautomatik ASC_twilightDevice
Attributes:
   ASC_Pos_Reading position
   ASC_Shading_Mode always
   ASC_autoAstroModeEvening CIVIL
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_expert 1
   ASC_freezeTemp 1
   ASC_tempSensor Temperatur_Terrasse:temperature
   ASC_twilightDevice myAstro
   alias      Rollladenautomatik
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       Rollladenautomatik
   userattr   ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforDayOpen ASC_BlockingTime_beforNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate


und hier mal ein list von einem heute hinzugefügten Rollladen
Internals:
   ADDRESS    000004
   CFGFN      ./FHEM/Obergeschoss.cfg
   DEF        000004 A9 035B
   FUUID      5c4319de-f33f-a6c6-61eb-d05e6e06b2f10841
   IODev      sduino
   NAME       BU_Rollladen
   NR         2839
   STATE      80
   TYPE       SOMFY
   move       none
   CODE:
     1          000004
   OLDREADINGS:
   READINGS:
     2020-06-24 13:35:40   ASC_Enable      on
     2020-06-24 18:02:37   ASC_ShadingMessage <html> </html>
     2020-06-24 13:47:44   ASC_Time_DriveDown 24.06.2020 - 22:00
     2020-06-24 13:47:44   ASC_Time_DriveUp 25.06.2020 - 08:00
     2020-06-24 13:47:41   associatedWith  Rollladenautomatik
     2020-06-24 14:25:13   enc_key         A9
     2020-06-24 17:57:40   exact           80
     2020-06-24 17:57:40   position        80
     2020-06-24 14:25:13   rolling_code    035B
     2020-06-24 17:57:40   state           80
Attributes:
   ASC        1
   ASC_AutoAstroModeEvening CIVIL
   ASC_BrightnessSensor Temperatur_Terrasse:luminosity
   ASC_Closed_Pos 40
   ASC_Down   astro
   ASC_Pos_Reading pct
   ASC_Shading_InOutAzimuth 196:291
   ASC_Shading_MinMax_Elevation 25
   ASC_Shading_Min_OutsideTemperature 22
   ASC_Shading_Mode always
   ASC_Shading_Pos 80
   ASC_Shading_StateChange_SunnyCloudy 180:65
   ASC_Shading_WaitingPeriod 600
   ASC_TempSensor Temperatur_Terrasse:temperature
   ASC_Time_Up_Early 08:00
   ASC_Up     time
   IODev      sduino
   alias      Büro - Rollladen
   devStateIcon open:fts_shutter_10@#00FA9A  closed:fts_shutter_100@blue  Home:fts_shutter_30@blue down:fts_shutter_100@blue   9\d.*:fts_shutter_90@#FF6D00 8\d.*:fts_shutter_80@#00bfff   7\d.*:fts_shutter_70@#00bfff  6\d.*:fts_shutter_60@#00bfff 5\d.*:fts_shutter_50@#20B2AA  4\d.*:fts_shutter_40@#00bfff 3\d.*:fts_shutter_30@#blue  2\d.*:fts_shutter_20@#00bfff  1\d.*:fts_shutter_10@#00bfff
   drive-down-time-to-100 18
   drive-down-time-to-close 24
   drive-up-time-to-100 6
   drive-up-time-to-open 25
   event-on-change-reading .*
   eventMap   on:on stop:Stop off:off 15:15 45:45 30:Home
   group      Rollladen Büro
   icon       fts_shutter_automatic@#778899
   model      somfyshutter
   repetition 10
   room       Automation,OG - Flur
   sortby     18
   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,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 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,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate
   verbose    3
   webCmd     on:Stop:off:15:45:Home
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

CoolTux

Das Reading ASC_ShadingMessage gibt es gar nicht im ASC Device, es sei denn man macht einen Fehler und fügt das ASC Device selbst als Rollo dem ASC hinzu. Du kannst das Reading aus dem ASC löschen. Aber das ist jetzt auch egal, dein ASC Device hat userattr bekommen welche eigentlich nur in das Rollo gehören, es wurde intern dem ASC System als Rollo bekannt gemacht.
Also bitte ASC löschen und komplett von vorne.
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

MCh76

Vielen Dank mal wieder für das tolle Update und die Shading Info! Sehr hilfreich.
Habe heute die Markise ins ASC integriert, folgende Frage: Da ich hier erstmals im Gegensatz zu den Rolläden mit Rain Protection on arbeiten möchte und diese attribut im Markisen device gesetzt habe und meine HMIP Wetterstation im Falle von Regen ein yes und bei nicht-Regen ein no liefert, passt mein Attribut im ASC so wenn ich bei ,,yes" in position 0 fahren will und bei ,,no" wieder aufheben möchte?
ASC_rainSensor out_hm_ip_wetter:1.RAINING yes:no 0
oder müssen die Werte fürs Reading numerisch sein?
Danke und LG,
Chris

meier81

Ich muss hier auch erstmal ein großes Lob aussprechen, gestern Abend geupdatet, da war sogar noch ein Rollladen in der Beschattung, FHEM neu gestartet, läuft alles bestens, Rollladen korrekt entschattet kurz darauf, heute auch alles bestens.

Werde fleißig weiter testen und hier RM geben.

Gruß

Markus
QNAP NAS mit Debian VM, darauf FHEM, debmatic, influxdb2 und Grafana || HB-RF-ETH || SIGNALduino 433MHz mit Maple mini || WS980 Wetterstation || Xiaomi Mi Robot mit valetudo-FW || Buderus web KM100 || div. Tasmota-Devices

CoolTux

Zitat von: MCh76 am 24 Juni 2020, 20:55:45
Vielen Dank mal wieder für das tolle Update und die Shading Info! Sehr hilfreich.
Habe heute die Markise ins ASC integriert, folgende Frage: Da ich hier erstmals im Gegensatz zu den Rolläden mit Rain Protection on arbeiten möchte und diese attribut im Markisen device gesetzt habe und meine HMIP Wetterstation im Falle von Regen ein yes und bei nicht-Regen ein no liefert, passt mein Attribut im ASC so wenn ich bei ,,yes" in position 0 fahren will und bei ,,no" wieder aufheben möchte?
ASC_rainSensor out_hm_ip_wetter:1.RAINING yes:no 0
oder müssen die Werte fürs Reading numerisch sein?
Danke und LG,
Chris

Es gehen bei Regen nur numerische Werte und als Ausnahme die Werte rain und dry


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