Hallo zusammen,
ich beschäftige mich gerade mit dem Einrichten der Beschattung im AutoShuttersControl Modul und stoße da jetzt doch auf einige Schwierigkeiten. Ich bin der Doku soweit ich konnte gefolgt und habe mir an einigen Stellen mit Readings geholfen, da ich keine Sensoren für Helligkeit, etc. habe. Ich habe dann mal das Debugging aktiviert, um zu sehen, was passiert, dabei kommt dann das heraus:
ASC_DEBUG!!! 2022.06.21 09:45:02 - EventProcessingTwilightDevice: Rollladen_HWR - Alle Bedingungen zur weiteren Beschattungsverarbeitung sind erfüllt. Es wird nun die Beschattungsfunktion ausgeführt
ASC_DEBUG!!! 2022.06.21 09:45:02 - ShadingProcessing: Rollladen_HWR - Übergebende Werte - Azimuth:104.89, Elevation: 39.58, Brightness: -1, OutTemp: 15.8, Azimut Beschattung: 15, Azimut Endschattung: 120, Ist es nach der Zeitblockadezeit: JA, Das Rollo ist in der Beschattung und wurde manuell gefahren: NEIN, Ist es nach der Hälfte der Beschattungswartezeit: JA
ASC_DEBUG!!! 2022.06.21 09:45:02 - FnIsDay: Rollladen_HWR Allgemein: 1
ASC_DEBUG!!! 2022.06.21 09:45:02 - FnIsDay: Rollladen_HWR Allgemein: 1
ASC_DEBUG!!! 2022.06.21 09:45:02 - EventProcessingTwilightDevice: Rollladen_HWR RainProtection: unprotected WindProtection: unprotected
ASC_DEBUG!!! 2022.06.21 09:45:02 - EventProcessingTwilightDevice: Rollladensteuerung - Passendes Event wurde erkannt. Verarbeitung über alle Rollos beginnt
ASC_DEBUG!!! 2022.06.21 09:45:02 - EventProcessingTwilightDevice: Rollladen_HWR - Event vom Astro oder Twilight Device wurde erkannt. Event wird verarbeitet
Dabei fällt mir der negative Wert für die Brightness auf. Kann mir den aber nicht so ganz erklären. Hier noch die Listings der Devices:
Globales ASC:
Internals:
FUUID 607a8f1d-f33f-9c6a-de85-9f61df5811b1f1a7
MID da39a3ee5e6b4b0d3255bfef95601890afd80709
NAME Rollladensteuerung
NOTIFYDEV global,Rollladensteuerung,Rollladen_HWR,Rollladen,Twilight.Zuhause
NR 45
NTFY_ORDER 51-Rollladensteuerung
STATE day open
TYPE AutoShuttersControl
VERSION v0.10.21
OLDREADINGS:
READINGS:
2022-06-21 08:00:02 Rollladen_HWR_PosValue 100
2022-06-21 08:00:02 Rollladen_HWR_lastPosValue 0
2022-06-21 08:00:02 Rollladen_HWR_nextAstroTimeEvent 21.06.2022 - 22:00
2022-06-18 07:50:18 Rollladen_PosValue 0
2022-06-19 05:21:41 Rollladen_lastPosValue 0
2021-08-01 09:41:27 ascEnable on
2022-06-21 08:21:35 controlShading on
2021-08-01 09:41:27 hardLockOut off
2022-06-19 08:33:11 room_HWR Rollladen_HWR
2021-08-01 09:41:27 selfDefense off
2022-06-21 08:00:02 state day open
2021-08-01 09:41:27 sunriseTimeWeHoliday off
2022-06-19 08:33:11 userAttrList rolled out
helper:
shuttersList:
Rollladen_HWR
monitoredDevs:
Rollladen:
Rollladen_HWR:
Twilight.Zuhause:
Rollladensteuerung ASC_twilightDevice
Attributes:
ASC_autoAstroModeEvening CIVIL
ASC_autoShuttersControlEvening on
ASC_autoShuttersControlMorning on
ASC_debug 1
ASC_tempSensor Heizung:Aussentemperatur_Gedaempft
ASC_twilightDevice Twilight.Zuhause
devStateIcon { ShuttersControl_DevStateIcon($name) }
icon fts_shutter_automatic
room ASC
ASC des Rollladens:
Internals:
DEF 192.168.10.40
DURATION 0
FUUID 5f8b0d58-f33f-9c6a-b116-3357b45549b74825
INTERVAL 60
MOVING stopped
NAME Rollladen_HWR
NR 43
SHELLYID shellyswitch25-10521C45D7A7
STATE stopped
TARGETPCT 100
TCPIP 192.168.10.40
TYPE Shelly
READINGS:
2021-09-09 09:15:16 ASC_Enable on
2022-06-21 08:21:36 ASC_ShadingMessage <html> INFO: shading active, global temp sensor is set, but shutters temperature sensor is not set </html>
2022-06-21 08:00:02 ASC_ShuttersLastDrive day open
2022-06-21 08:00:02 ASC_Time_DriveDown 21.06.2022 - 22:00
2022-06-21 08:00:02 ASC_Time_DriveUp 22.06.2022 - 08:00
2022-06-19 08:33:11 associatedWith Rollladensteuerung
2022-06-07 12:44:48 cloud enabled(connected)
2022-06-21 08:00:03 energy_0 2.8
2022-06-15 16:24:32 firmware (update needed to v1.11.8)
2022-06-21 10:06:36 inttemp 65.17
2022-06-21 08:00:20 last_dir up
2022-06-15 16:24:32 network <html>connected to <a href="http://192.168.10.40">192.168.10.40</a></html>
2022-06-21 08:00:02 pct 100
2022-06-21 08:00:02 position open
2022-06-20 22:01:07 power 0
2022-06-21 08:00:03 power_0 0
2022-06-21 08:00:20 state stopped
2020-10-18 10:36:39 stop_reason normal
Attributes:
ASC 2
ASC_BrightnessSensor Twilight.Zuhause:twilight
ASC_Pos_Reading pct
ASC_Shading_InOutAzimuth 15:120
ASC_Shading_Min_OutsideTemperature 15.0
ASC_Shading_Mode always
ASC_Shading_StateChange_SunnyCloudy 100:99
ASC_Time_Up_Early 08:00
mode roller
model shelly2.5
room HWR
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_beforeDayOpen ASC_BlockingTime_beforeNightClose 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_CommandTemplate 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_BetweenTheTime 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,awning ASC_ShuttersPlace:window,terrace,awning,EG_window 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
Ich hoffe, ihr könnt mir da etwas helfen.
Danke und Gruß
Matthias