[ASC] [gelöst] Markise fährt nicht in Schattenstellung

Begonnen von Romoker, 23 März 2022, 17:29:07

Vorheriges Thema - Nächstes Thema

CoolTux

Du kannst das auch testen

{ ascAPIget('IsDay','JALOUSIENAME') }

Im FHEMWEB Kommandozeile eingeben
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

Romoker

Test leider negativ:
IsDay war kurz nach 16 Uhr noch 1 und in Schattestellung.
Um 16:03 Uhr wechselte der Status von 'shading in' nach 'shading out', aber die Markise fuhr nicht und blieb ausgefahren in Schattenstellung. ShuttersLastDrive "shading in". IsDay Markise ist 0.

Ich habe ASC_Down von time auf brightness geändert, aber da IsDay weiterhin 0 ist, tut sich für heute nichts mehr.

Viele Grüße
BeagleBoneBlack & Raspberry Pi 4; FB7490; div. Homematic Komponenten; CUL433: CUL_TX, Conbee II, SOMFY, 1-Wire, Z-Wave, Zigbee, SmartPlugs von Sonoff und Shelly mit MQTT

CoolTux

Das ist seltsam. ShuttersPlace ist für die Markise awning?

{ ascAPIget('ShuttersPlace','JALOUSIENAME') }
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

Romoker

ZitatDas ist seltsam. ShuttersPlace ist für die Markise awning?
Richtig. { ascAPIget('ShuttersPlace','Markise') } => awning

Viele Grüße
BeagleBoneBlack & Raspberry Pi 4; FB7490; div. Homematic Komponenten; CUL433: CUL_TX, Conbee II, SOMFY, 1-Wire, Z-Wave, Zigbee, SmartPlugs von Sonoff und Shelly mit MQTT

CoolTux

Zitat von: Romoker am 24 März 2022, 16:31:47
Test leider negativ:
IsDay war kurz nach 16 Uhr noch 1 und in Schattestellung.
Um 16:03 Uhr wechselte der Status von 'shading in' nach 'shading out', aber die Markise fuhr nicht und blieb ausgefahren in Schattenstellung. ShuttersLastDrive "shading in". IsDay Markise ist 0.

Ich habe ASC_Down von time auf brightness geändert, aber da IsDay weiterhin 0 ist, tut sich für heute nichts mehr.

Viele Grüße

Ich habe das jetzt mal bei mir getestet. Irgendetwas scheint bei Dir mit der Einbindung der neuen Helper.pm nicht geklappt zu haben. Bei mir hat das funktioniert mit IsDay
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

Romoker

Ich habe gestern Helper.pm in das Verzeichnis /opt/fhem/lib/FHEM/Automation/ShuttersControl kopiert und die entsprechenen Rechte vergeben. Danach wurde FHEM neu gestartet.
Der FHEM-Befehl "version Helper.pm" findet das Programm nicht: "no loaded modules found that match: Helper.pm".

Gib mir bitte einen Tipp, wie ich Deinen Patch richtig einbinde.

Vielen Dank und viele Grüße
BeagleBoneBlack & Raspberry Pi 4; FB7490; div. Homematic Komponenten; CUL433: CUL_TX, Conbee II, SOMFY, 1-Wire, Z-Wave, Zigbee, SmartPlugs von Sonoff und Shelly mit MQTT

CoolTux

Zitat von: Romoker am 25 März 2022, 08:55:42
Ich habe gestern Helper.pm in das Verzeichnis /opt/fhem/lib/FHEM/Automation/ShuttersControl kopiert und die entsprechenen Rechte vergeben. Danach wurde FHEM neu gestartet.
Der FHEM-Befehl "version Helper.pm" findet das Programm nicht: "no loaded modules found that match: Helper.pm".

Gib mir bitte einen Tipp, wie ich Deinen Patch richtig einbinde.

Vielen Dank und viele Grüße

version kennt die Datei auch nicht. Es ist kein Patch sondern eine Datei. Wenn Du sie wirklich richtig kopiert hast sollte gemeckert worden sein das schon eine des selben Namens existiert und ob Du sie überschreiben willst.

Alternativ kannst Du auch machen

update add https://git.cooltux.net/FHEM/mod-AutoShuttersControl/raw/branch/patch-shading_markise_IsDay/controls_AutoShuttersControl.txt

danach dann

update

und

shutdown restart
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

Romoker

Nach der von Dir beschriebenen Update-Prozedur wurden anscheinend alle ASC-Dateien ausgetauscht:
2022.03.25 11:29:05.235 1: Downloading https://git.cooltux.net/FHEM/mod-AutoShuttersControl/raw/branch/patch-shading_markise_IsDay/controls_AutoShuttersControl.txt
2022.03.25 11:29:05.236 1:
2022.03.25 11:29:05.237 1: AutoShuttersControl
2022.03.25 11:29:05.319 1: UPD FHEM/73_AutoShuttersControl.pm
2022.03.25 11:29:05.348 1: UPD lib/FHEM/Automation/ShuttersControl.pm
2022.03.25 11:29:05.401 1: UPD lib/FHEM/Automation/ShuttersControl/Dev.pm
2022.03.25 11:29:05.432 1: UPD lib/FHEM/Automation/ShuttersControl/Roommate.pm
2022.03.25 11:29:05.465 1: UPD lib/FHEM/Automation/ShuttersControl/Shutters.pm
2022.03.25 11:29:05.496 1: UPD lib/FHEM/Automation/ShuttersControl/Shading.pm
2022.03.25 11:29:05.530 1: UPD lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm
2022.03.25 11:29:05.577 1: UPD lib/FHEM/Automation/ShuttersControl/Helper.pm
2022.03.25 11:29:05.613 1: UPD lib/FHEM/Automation/ShuttersControl/Window.pm
2022.03.25 11:29:05.644 1: UPD lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm
2022.03.25 11:29:05.676 1: UPD lib/FHEM/Automation/ShuttersControl/Dev/Readings.pm
2022.03.25 11:29:05.708 1: UPD lib/FHEM/Automation/ShuttersControl/Shutters/Attr.pm
2022.03.25 11:29:05.745 1: UPD lib/FHEM/Automation/ShuttersControl/Shutters/Readings.pm
2022.03.25 11:29:05.775 1: UPD lib/FHEM/Automation/ShuttersControl/Window/Attr.pm
2022.03.25 11:29:05.853 1: UPD lib/FHEM/Automation/ShuttersControl/Window/Readings.pm
2022.03.25 11:29:05.854 1: UPD lib/FHEM/Automation/ShuttersControl/Rainprotection.pm


Nach "shutdown restart" ist mir noch folgende Fehlermeldung im Log aufgefallen:
2022.03.25 12:01:26.776 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/73_AutoShuttersControl.pm belongs to source repository "fhem". Ignoring identical file name from source repository AutoShuttersControl

Kann ich den Fehler ignorieren?

Viele Grüße
BeagleBoneBlack & Raspberry Pi 4; FB7490; div. Homematic Komponenten; CUL433: CUL_TX, Conbee II, SOMFY, 1-Wire, Z-Wave, Zigbee, SmartPlugs von Sonoff und Shelly mit MQTT

CoolTux

Ja kannst Du ignorieren.

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

Romoker

Hier das ASC-Device:
Internals:
   FUUID      6183fe38-f33f-df6c-9dc2-a1fccd2b45c766c2
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       myASControl
   NOTIFYDEV  KontaktFensterEGWohnenLinks,KontaktFensterOGArbeitRechts,KontaktFensterOGBad,global,h_wetterComHandorf,myASControl,myTwilight,ws980wifi,Markise,RolloEGBad,RolloEGGaesteWC,RolloEGKuecheLinks,RolloEGKuecheRechts,RolloEGSchlafen,RolloEGWohnenLinks,RolloEGWohnenMitte,RolloEGWohnenRechts,RolloOGArbeitLinks,RolloOGArbeitRechts,RolloOGBad,RolloOGFlur,RolloOGKind1Gaube,RolloOGKind1Giebel,RolloOGKind2Gaube,RolloOGKind2Giebel
   NR         570
   NTFY_ORDER 51-myASControl
   STATE      created new drive timer
   TYPE       AutoShuttersControl
   VERSION    v0.10.23
   OLDREADINGS:
   READINGS:
     2022-03-25 12:09:05   Markise_PosValue 0
     2022-03-25 12:59:03   Markise_lastPosValue 0
     2022-03-25 12:02:03   Markise_nextAstroTimeEvent 25.03.2022 - 22:00
     2022-03-22 05:37:42   Rollo.EG.Kueche.Links_lastPosValue 0
     2022-03-25 12:23:14   RolloEGBad_PosValue 30
     2022-03-25 12:23:02   RolloEGBad_lastPosValue 100
     2022-03-25 12:02:03   RolloEGBad_nextAstroTimeEvent 25.03.2022 - 19:17
     2022-03-25 05:30:48   RolloEGGaesteWC_PosValue 100
     2022-03-25 05:30:31   RolloEGGaesteWC_lastPosValue 0
     2022-03-25 12:02:03   RolloEGGaesteWC_nextAstroTimeEvent 25.03.2022 - 18:57
     2022-03-25 05:30:34   RolloEGKuecheLinks_PosValue 2
     2022-03-25 05:30:31   RolloEGKuecheLinks_lastPosValue 0
     2022-03-25 12:02:03   RolloEGKuecheLinks_nextAstroTimeEvent 25.03.2022 - 19:10
     2022-03-25 10:21:41   RolloEGKuecheRechts_PosValue 1
     2022-03-25 10:21:37   RolloEGKuecheRechts_lastPosValue 2
     2022-03-25 12:02:03   RolloEGKuecheRechts_nextAstroTimeEvent 25.03.2022 - 19:37
     2022-03-25 12:23:29   RolloEGSchlafen_PosValue 25
     2022-03-25 12:23:02   RolloEGSchlafen_lastPosValue 100
     2022-03-25 12:02:03   RolloEGSchlafen_nextAstroTimeEvent 25.03.2022 - 19:23
     2022-03-25 11:01:06   RolloEGWohnenLinks_PosValue 25
     2022-03-25 11:00:44   RolloEGWohnenLinks_lastPosValue 100
     2022-03-25 12:02:03   RolloEGWohnenLinks_nextAstroTimeEvent 25.03.2022 - 19:37
     2022-03-24 05:33:29   RolloEGWohnenMitte_PosValue 100
     2022-03-25 05:30:31   RolloEGWohnenMitte_lastPosValue 100
     2022-03-25 12:02:03   RolloEGWohnenMitte_nextAstroTimeEvent 25.03.2022 - 20:32
     2022-03-25 05:31:02   RolloEGWohnenRechts_PosValue 100
     2022-03-25 05:30:31   RolloEGWohnenRechts_lastPosValue 0
     2022-03-25 12:02:03   RolloEGWohnenRechts_nextAstroTimeEvent 25.03.2022 - 19:50
     2022-03-25 06:00:31   RolloOGArbeitLinks_PosValue 100
     2022-03-25 06:00:03   RolloOGArbeitLinks_lastPosValue 0
     2022-03-25 12:02:03   RolloOGArbeitLinks_nextAstroTimeEvent 25.03.2022 - 19:17
     2022-03-25 09:34:50   RolloOGArbeitRechts_PosValue 100
     2022-03-25 09:34:37   RolloOGArbeitRechts_lastPosValue 65
     2022-03-25 12:02:03   RolloOGArbeitRechts_nextAstroTimeEvent 25.03.2022 - 19:10
     2022-03-25 06:00:43   RolloOGBad_PosValue 100
     2022-03-25 06:00:03   RolloOGBad_lastPosValue 100
     2022-03-25 12:02:03   RolloOGBad_nextAstroTimeEvent 25.03.2022 - 19:10
     2022-03-25 06:00:33   RolloOGFlur_PosValue 100
     2022-03-25 06:00:03   RolloOGFlur_lastPosValue 100
     2022-03-25 12:02:03   RolloOGFlur_nextAstroTimeEvent 25.03.2022 - 19:10
     2022-03-25 12:54:10   RolloOGKind1Gaube_PosValue 68
     2022-02-15 12:58:59   RolloOGKind1Gaube_lastPosValue 100
     2022-03-25 12:02:03   RolloOGKind1Gaube_nextAstroTimeEvent 25.03.2022 - 19:23
     2022-03-16 07:14:18   RolloOGKind1Giebel_PosValue 100
     2022-02-03 18:03:02   RolloOGKind1Giebel_lastPosValue 100
     2022-03-25 12:02:03   RolloOGKind1Giebel_nextAstroTimeEvent 25.03.2022 - 19:10
     2021-11-18 16:42:51   RolloOGKind1_PosValue 0
     2021-11-19 16:41:17   RolloOGKind1_lastPosValue 0
     2022-03-25 08:53:50   RolloOGKind2Gaube_PosValue 0
     2022-03-25 06:30:02   RolloOGKind2Gaube_lastPosValue 100
     2022-03-25 12:02:03   RolloOGKind2Gaube_nextAstroTimeEvent 25.03.2022 - 19:10
     2022-03-25 08:53:38   RolloOGKind2Giebel_PosValue 0
     2022-03-25 06:30:02   RolloOGKind2Giebel_lastPosValue 100
     2022-03-25 12:02:03   RolloOGKind2Giebel_nextAstroTimeEvent 25.03.2022 - 19:10
     2021-11-18 17:33:52   RolloOGKind2_PosValue 0
     2021-11-19 17:33:24   RolloOGKind2_lastPosValue 0
     2022-02-12 16:21:28   ascEnable       on
     2022-03-25 12:02:06   controlShading  on
     2021-11-04 21:43:18   hardLockOut     off
     2022-03-25 12:01:58   room_Administration-_CUL_HM RolloEGBad,RolloEGGaesteWC,RolloEGKuecheLinks,RolloEGKuecheRechts,RolloEGSchlafen,RolloEGWohnenLinks,RolloEGWohnenMitte,RolloEGWohnenRechts,RolloOGArbeitLinks,RolloOGArbeitRechts
     2022-03-25 12:01:58   room_Administration-_MQTT2 RolloOGBad,RolloOGFlur,RolloOGKind1Gaube,RolloOGKind1Giebel,RolloOGKind2Gaube,RolloOGKind2Giebel
     2022-03-25 12:01:58   room_Administration-_Other_Devices_Administration-_alexa Markise
     2021-11-04 21:43:18   selfDefense     off
     2022-03-25 12:59:34   state           created new drive timer
     2021-11-04 21:43:18   sunriseTimeWeHoliday off
     2022-03-25 12:01:58   userAttrList    rolled out
   helper:
     shuttersList:
       Markise
       RolloEGBad
       RolloEGGaesteWC
       RolloEGKuecheLinks
       RolloEGKuecheRechts
       RolloEGSchlafen
       RolloEGWohnenLinks
       RolloEGWohnenMitte
       RolloEGWohnenRechts
       RolloOGArbeitLinks
       RolloOGArbeitRechts
       RolloOGBad
       RolloOGFlur
       RolloOGKind1Gaube
       RolloOGKind1Giebel
       RolloOGKind2Gaube
       RolloOGKind2Giebel
   monitoredDevs:
     KontaktFensterEGWohnenLinks:
       RolloEGWohnenLinks ASC_WindowRec
     KontaktFensterOGArbeitRechts:
       RolloOGArbeitRechts ASC_WindowRec
     KontaktFensterOGBad:
       RolloOGBad ASC_WindowRec
     RolloOGKind1Gaube:
     RolloOGKind1Giebel:
     h_wetterComHandorf:
       myASControl ASC_rainSensor
     myTwilight:
       myASControl ASC_twilightDevice
     ws980wifi:
       Markise    ASC_BrightnessSensor
       RolloEGBad ASC_BrightnessSensor
       RolloEGGaesteWC ASC_BrightnessSensor
       RolloEGKuecheLinks ASC_BrightnessSensor
       RolloEGKuecheRechts ASC_BrightnessSensor
       RolloEGSchlafen ASC_BrightnessSensor
       RolloEGWohnenLinks ASC_BrightnessSensor
       RolloEGWohnenMitte ASC_BrightnessSensor
       RolloEGWohnenRechts ASC_BrightnessSensor
       RolloOGArbeitLinks ASC_BrightnessSensor
       RolloOGArbeitRechts ASC_BrightnessSensor
       RolloOGKind1Gaube ASC_BrightnessSensor
       myASControl ASC_windSensor
Attributes:
   ASC_autoAstroModeEvening HORIZON
   ASC_autoAstroModeEveningHorizon -4
   ASC_autoAstroModeMorning HORIZON
   ASC_autoAstroModeMorningHorizon -9
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_blockAscDrivesAfterManual 0
   ASC_debug  0
   ASC_expert 1
   ASC_rainSensor h_wetterComHandorf:Status 1:0
   ASC_tempSensor ws980wifi:temperature
   ASC_twilightDevice myTwilight
   ASC_windSensor ws980wifi:windGusts
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   group      System
   icon       fts_shutter_automatic


Mir fällt auf, dass "Markise_lastPosValue 0" nicht stimmt. Die Markise steht aktuell in Schattenstellung auf position 95.

Viele Grüße
BeagleBoneBlack & Raspberry Pi 4; FB7490; div. Homematic Komponenten; CUL433: CUL_TX, Conbee II, SOMFY, 1-Wire, Z-Wave, Zigbee, SmartPlugs von Sonoff und Shelly mit MQTT

CoolTux

Zitat von: Romoker am 25 März 2022, 13:05:03
Hier das ASC-Device:
Internals:
   FUUID      6183fe38-f33f-df6c-9dc2-a1fccd2b45c766c2
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       myASControl
   NOTIFYDEV  KontaktFensterEGWohnenLinks,KontaktFensterOGArbeitRechts,KontaktFensterOGBad,global,h_wetterComHandorf,myASControl,myTwilight,ws980wifi,Markise,RolloEGBad,RolloEGGaesteWC,RolloEGKuecheLinks,RolloEGKuecheRechts,RolloEGSchlafen,RolloEGWohnenLinks,RolloEGWohnenMitte,RolloEGWohnenRechts,RolloOGArbeitLinks,RolloOGArbeitRechts,RolloOGBad,RolloOGFlur,RolloOGKind1Gaube,RolloOGKind1Giebel,RolloOGKind2Gaube,RolloOGKind2Giebel
   NR         570
   NTFY_ORDER 51-myASControl
   STATE      created new drive timer
   TYPE       AutoShuttersControl
   VERSION    v0.10.23
   OLDREADINGS:
   READINGS:
     2022-03-25 12:09:05   Markise_PosValue 0
     2022-03-25 12:59:03   Markise_lastPosValue 0
     2022-03-25 12:02:03   Markise_nextAstroTimeEvent 25.03.2022 - 22:00
     2022-03-22 05:37:42   Rollo.EG.Kueche.Links_lastPosValue 0
     2022-03-25 12:23:14   RolloEGBad_PosValue 30
     2022-03-25 12:23:02   RolloEGBad_lastPosValue 100
     2022-03-25 12:02:03   RolloEGBad_nextAstroTimeEvent 25.03.2022 - 19:17
     2022-03-25 05:30:48   RolloEGGaesteWC_PosValue 100
     2022-03-25 05:30:31   RolloEGGaesteWC_lastPosValue 0
     2022-03-25 12:02:03   RolloEGGaesteWC_nextAstroTimeEvent 25.03.2022 - 18:57
     2022-03-25 05:30:34   RolloEGKuecheLinks_PosValue 2
     2022-03-25 05:30:31   RolloEGKuecheLinks_lastPosValue 0
     2022-03-25 12:02:03   RolloEGKuecheLinks_nextAstroTimeEvent 25.03.2022 - 19:10
     2022-03-25 10:21:41   RolloEGKuecheRechts_PosValue 1
     2022-03-25 10:21:37   RolloEGKuecheRechts_lastPosValue 2
     2022-03-25 12:02:03   RolloEGKuecheRechts_nextAstroTimeEvent 25.03.2022 - 19:37
     2022-03-25 12:23:29   RolloEGSchlafen_PosValue 25
     2022-03-25 12:23:02   RolloEGSchlafen_lastPosValue 100
     2022-03-25 12:02:03   RolloEGSchlafen_nextAstroTimeEvent 25.03.2022 - 19:23
     2022-03-25 11:01:06   RolloEGWohnenLinks_PosValue 25
     2022-03-25 11:00:44   RolloEGWohnenLinks_lastPosValue 100
     2022-03-25 12:02:03   RolloEGWohnenLinks_nextAstroTimeEvent 25.03.2022 - 19:37
     2022-03-24 05:33:29   RolloEGWohnenMitte_PosValue 100
     2022-03-25 05:30:31   RolloEGWohnenMitte_lastPosValue 100
     2022-03-25 12:02:03   RolloEGWohnenMitte_nextAstroTimeEvent 25.03.2022 - 20:32
     2022-03-25 05:31:02   RolloEGWohnenRechts_PosValue 100
     2022-03-25 05:30:31   RolloEGWohnenRechts_lastPosValue 0
     2022-03-25 12:02:03   RolloEGWohnenRechts_nextAstroTimeEvent 25.03.2022 - 19:50
     2022-03-25 06:00:31   RolloOGArbeitLinks_PosValue 100
     2022-03-25 06:00:03   RolloOGArbeitLinks_lastPosValue 0
     2022-03-25 12:02:03   RolloOGArbeitLinks_nextAstroTimeEvent 25.03.2022 - 19:17
     2022-03-25 09:34:50   RolloOGArbeitRechts_PosValue 100
     2022-03-25 09:34:37   RolloOGArbeitRechts_lastPosValue 65
     2022-03-25 12:02:03   RolloOGArbeitRechts_nextAstroTimeEvent 25.03.2022 - 19:10
     2022-03-25 06:00:43   RolloOGBad_PosValue 100
     2022-03-25 06:00:03   RolloOGBad_lastPosValue 100
     2022-03-25 12:02:03   RolloOGBad_nextAstroTimeEvent 25.03.2022 - 19:10
     2022-03-25 06:00:33   RolloOGFlur_PosValue 100
     2022-03-25 06:00:03   RolloOGFlur_lastPosValue 100
     2022-03-25 12:02:03   RolloOGFlur_nextAstroTimeEvent 25.03.2022 - 19:10
     2022-03-25 12:54:10   RolloOGKind1Gaube_PosValue 68
     2022-02-15 12:58:59   RolloOGKind1Gaube_lastPosValue 100
     2022-03-25 12:02:03   RolloOGKind1Gaube_nextAstroTimeEvent 25.03.2022 - 19:23
     2022-03-16 07:14:18   RolloOGKind1Giebel_PosValue 100
     2022-02-03 18:03:02   RolloOGKind1Giebel_lastPosValue 100
     2022-03-25 12:02:03   RolloOGKind1Giebel_nextAstroTimeEvent 25.03.2022 - 19:10
     2021-11-18 16:42:51   RolloOGKind1_PosValue 0
     2021-11-19 16:41:17   RolloOGKind1_lastPosValue 0
     2022-03-25 08:53:50   RolloOGKind2Gaube_PosValue 0
     2022-03-25 06:30:02   RolloOGKind2Gaube_lastPosValue 100
     2022-03-25 12:02:03   RolloOGKind2Gaube_nextAstroTimeEvent 25.03.2022 - 19:10
     2022-03-25 08:53:38   RolloOGKind2Giebel_PosValue 0
     2022-03-25 06:30:02   RolloOGKind2Giebel_lastPosValue 100
     2022-03-25 12:02:03   RolloOGKind2Giebel_nextAstroTimeEvent 25.03.2022 - 19:10
     2021-11-18 17:33:52   RolloOGKind2_PosValue 0
     2021-11-19 17:33:24   RolloOGKind2_lastPosValue 0
     2022-02-12 16:21:28   ascEnable       on
     2022-03-25 12:02:06   controlShading  on
     2021-11-04 21:43:18   hardLockOut     off
     2022-03-25 12:01:58   room_Administration-_CUL_HM RolloEGBad,RolloEGGaesteWC,RolloEGKuecheLinks,RolloEGKuecheRechts,RolloEGSchlafen,RolloEGWohnenLinks,RolloEGWohnenMitte,RolloEGWohnenRechts,RolloOGArbeitLinks,RolloOGArbeitRechts
     2022-03-25 12:01:58   room_Administration-_MQTT2 RolloOGBad,RolloOGFlur,RolloOGKind1Gaube,RolloOGKind1Giebel,RolloOGKind2Gaube,RolloOGKind2Giebel
     2022-03-25 12:01:58   room_Administration-_Other_Devices_Administration-_alexa Markise
     2021-11-04 21:43:18   selfDefense     off
     2022-03-25 12:59:34   state           created new drive timer
     2021-11-04 21:43:18   sunriseTimeWeHoliday off
     2022-03-25 12:01:58   userAttrList    rolled out
   helper:
     shuttersList:
       Markise
       RolloEGBad
       RolloEGGaesteWC
       RolloEGKuecheLinks
       RolloEGKuecheRechts
       RolloEGSchlafen
       RolloEGWohnenLinks
       RolloEGWohnenMitte
       RolloEGWohnenRechts
       RolloOGArbeitLinks
       RolloOGArbeitRechts
       RolloOGBad
       RolloOGFlur
       RolloOGKind1Gaube
       RolloOGKind1Giebel
       RolloOGKind2Gaube
       RolloOGKind2Giebel
   monitoredDevs:
     KontaktFensterEGWohnenLinks:
       RolloEGWohnenLinks ASC_WindowRec
     KontaktFensterOGArbeitRechts:
       RolloOGArbeitRechts ASC_WindowRec
     KontaktFensterOGBad:
       RolloOGBad ASC_WindowRec
     RolloOGKind1Gaube:
     RolloOGKind1Giebel:
     h_wetterComHandorf:
       myASControl ASC_rainSensor
     myTwilight:
       myASControl ASC_twilightDevice
     ws980wifi:
       Markise    ASC_BrightnessSensor
       RolloEGBad ASC_BrightnessSensor
       RolloEGGaesteWC ASC_BrightnessSensor
       RolloEGKuecheLinks ASC_BrightnessSensor
       RolloEGKuecheRechts ASC_BrightnessSensor
       RolloEGSchlafen ASC_BrightnessSensor
       RolloEGWohnenLinks ASC_BrightnessSensor
       RolloEGWohnenMitte ASC_BrightnessSensor
       RolloEGWohnenRechts ASC_BrightnessSensor
       RolloOGArbeitLinks ASC_BrightnessSensor
       RolloOGArbeitRechts ASC_BrightnessSensor
       RolloOGKind1Gaube ASC_BrightnessSensor
       myASControl ASC_windSensor
Attributes:
   ASC_autoAstroModeEvening HORIZON
   ASC_autoAstroModeEveningHorizon -4
   ASC_autoAstroModeMorning HORIZON
   ASC_autoAstroModeMorningHorizon -9
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_blockAscDrivesAfterManual 0
   ASC_debug  0
   ASC_expert 1
   ASC_rainSensor h_wetterComHandorf:Status 1:0
   ASC_tempSensor ws980wifi:temperature
   ASC_twilightDevice myTwilight
   ASC_windSensor ws980wifi:windGusts
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   group      System
   icon       fts_shutter_automatic


Mir fällt auf, dass "Markise_lastPosValue 0" nicht stimmt. Die Markise steht aktuell in Schattenstellung auf position 95.

Viele Grüße

Und die Position davor war bestimmt 0. Passt also.
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

Romoker

Irgendetwas stimmt nicht. Mit der neuen Helper.pm habe ich um 16:07 Uhr den isDay-Status geprüft. Er ist erwartungsgemäß 1, also OK.

Da ich die Entschattenbedingung zeitlich etwas vorziehen wollte, habe ich ASC_Shading_InOutAzimuth von 170:288 auf 170:270 geändert.
Die Markise ging kurz danach in den shading status 'out', ohne zu fahren und steht weiterhin in der Schattenstellung.
ASC DEBUG lieferte folgende Hinweise:
ASC_DEBUG!!! 2022.03.25 16:08:37 - EventProcessingBrightness: Markise - Event von einem Helligkeitssensor erkannt. Verarbeitung läuft. Sollten keine weitere Meldungen aus der Funktion kommen, so befindet sich die aktuelle Zeit nicht innerhalb der Verarbeitungszeit für Sunset oder Sunrise

ASC_DEBUG!!! 2022.03.25 16:08:37 - EventProcessingBrightness: Markise - Die aktuelle Zeit befindet sich innerhalb der Sunset/Sunrise Brightness Verarbeitungszeit. Also zwischen Time Early und Time Late

ASC_DEBUG!!! 2022.03.25 16:08:37 - EventProcessingBrightness: Markise - Leider konnte kein Korrekter Brightnesswert aus dem Event erkannt werden. Entweder passt das Reading oder der tatsächliche nummerishce Wert des Events nicht


Ich kann keine unkorrekten Brightnesswerte in meinen Einstellungen identifizieren, dazu ist die Debug-Ausgabe zu allgemein. Leider kann ich die Hinweise nicht weiter analysieren.

Hier das aktuelle List der Markise:
Internals:
   ADDRESS    000001
   DEF        000001
   FUUID      5c42dd77-f33f-df6c-090b-f82886255cd9f219
   IODev      sduino
   NAME       Markise
   NR         166
   STATE      90
   TYPE       SOMFY
   move       none
   CODE:
     1          000001
   OLDREADINGS:
   READINGS:
     2022-03-15 20:13:42   ASC_Enable      on
     2022-03-25 16:24:41   ASC_ShadingMessage INFO: current shading status is 'out' - next check in 0.5m
     2022-03-25 12:09:05   ASC_ShuttersLastDrive shading in
     2022-03-25 12:59:34   ASC_Time_DriveDown 25.03.2022 - 22:00
     2022-03-25 12:59:34   ASC_Time_DriveUp 26.03.2022 - 08:30
     2022-03-25 12:01:49   IODev           sduino
     2022-03-25 12:02:00   associatedWith  myASControl
     2022-03-25 12:09:38   enc_key         AA
     2022-03-25 16:05:37   exact           90
     2022-03-25 12:09:38   finalPos        90
     2022-02-25 10:26:27   parsestate      off
     2022-03-25 12:09:37   pct             90
     2022-03-25 16:05:37   position        90
     2022-02-25 10:26:27   received        20
     2022-03-25 12:09:38   rolling_code    240A
     2022-03-25 16:05:37   state           90
     2022-01-29 16:40:34   warning_wind    1
Attributes:
   ASC        1
   ASC_BlockingTime_afterManual 60
   ASC_BrightnessSensor ws980wifi:u_beleuchtungsstaerkeLx
   ASC_Down   brightness
   ASC_Mode_Down off
   ASC_Mode_Up off
   ASC_Pos_Reading pos
   ASC_RainProtection on
   ASC_Shading_InOutAzimuth 170:270
   ASC_Shading_Min_OutsideTemperature 0
   ASC_Shading_Mode always
   ASC_Shading_Pos 90
   ASC_Shading_StateChange_SunnyCloudy 1000:500 1
   ASC_Shading_WaitingPeriod 60
   ASC_ShuttersPlace awning
   ASC_Up     brightness
   ASC_WindParameters 40:20 0
   ASC_WindProtection on
   IODev      sduino
   additionalPosReading pct
   alexaName  hugo
   alexaRoom  terrasse
   autoStoreRollingCode 1
   devStateIcon devStateIcon stop:rc_REC closed:fts_sunblind_100:open open:fts_sunblind_0:close 10:fts_sunblind_10 2.*:fts_sunblind_20 3.*:fts_sunblind_30 4.*:fts_sunblind_40 5.*:fts_sunblind_50 6.*:sfts_sunblind_60 7.*:fts_sunblind_70 8.*:fts_sunblind_80 9.*:fts_sunblind_90
   drive-down-time-to-100 40
   drive-down-time-to-close 40.1
   drive-up-time-to-100 .1
   drive-up-time-to-open 43
   event-on-change-reading .*
   eventMap   on:close off:open
   finalPosReading finalPos
   genericDeviceType blind
   homebridgeMapping clear CurrentPosition=position TargetPosition=pos::position
   model      somfyblinds
   positionInverse 0
   room       Administration->Other_Devices,Administration->alexa
   userReadings pct:position.* {ReadingsVal($name,'position',0)}
   userattr   ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_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,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
   verbose    3
   webCmd     open:close:half:stop:position
   widgetOverride position:slider,0,5,100


Viele Grüße
BeagleBoneBlack & Raspberry Pi 4; FB7490; div. Homematic Komponenten; CUL433: CUL_TX, Conbee II, SOMFY, 1-Wire, Z-Wave, Zigbee, SmartPlugs von Sonoff und Shelly mit MQTT

Romoker

Es geht weiter. Da die brightness-Einstellung von ASC_Down/Down Probleme machte, habe ich auf "time" umgestellt. Jetzt wird ein korrekter Brightness-Wert erkannt, aber ich rätsele wieder, welche Schattenbedingung nicht erfüllt ist. Hinweis: "FnIsDay Markise Allgemein" wird in Debug mit 0 ausgegeben. Ich interpretiere das mal auf Nachtmodus, obwohl isDay immer noch auf 1 steht, oder ist FnIsDay anders zu interpretieren als isDay?

ASC_DEBUG!!! 2022.03.25 16:48:46 - EventProcessingShadingBrightness: Markise - Nummerischer Brightness-Wert wurde erkannt. Der Brightness Average Wert ist: 11518 RainProtection: unprotected WindProtection: unprotected

ASC_DEBUG!!! 2022.03.25 16:48:46 - FnIsDay: Markise Allgemein: 0

ASC_DEBUG!!! 2022.03.25 16:48:46 - FnIsDay: Markise getDownBrightness: 0 Brightness: 11518 BrightnessMin: 500 Sunset: 0

ASC_DEBUG!!! 2022.03.25 16:48:46 - FnIsDay: Markise getUpBrightness: 0 Brightness: 11518 BrightnessMax: 800 Sunrise: 1

ASC_DEBUG!!! 2022.03.25 16:48:46 - FnIsDay: Markise Allgemein: 0

ASC_DEBUG!!! 2022.03.25 16:48:46 - FnIsDay: Markise getDownBrightness: 0 Brightness: 11518 BrightnessMin: 500 Sunset: 0

ASC_DEBUG!!! 2022.03.25 16:48:46 - FnIsDay: Markise getUpBrightness: 0 Brightness: 11518 BrightnessMax: 800 Sunrise: 1

ASC_DEBUG!!! 2022.03.25 16:48:46 - ShadingProcessing: Markise - Übergebende Werte - Azimuth:250.6, Elevation: 19, Brightness: 11518, OutTemp: 17.2, Azimut Beschattung: 170, Azimut Endschattung: 270, 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.03.25 16:48:46 - ShadingProcessing: Markise - Alle Werte für die weitere Verarbeitung sind korrekt vorhanden und es wird nun mit der Beschattungsverarbeitung begonnen

ASC_DEBUG!!! 2022.03.25 16:48:46 - FnIsDay: Markise Allgemein: 0

ASC_DEBUG!!! 2022.03.25 16:48:46 - FnIsDay: Markise getDownBrightness: 0 Brightness: 11518 BrightnessMin: 500 Sunset: 0

ASC_DEBUG!!! 2022.03.25 16:48:46 - FnIsDay: Markise getUpBrightness: 0 Brightness: 11518 BrightnessMax: 800 Sunrise: 1

ASC_DEBUG!!! 2022.03.25 16:48:46 - ShadingProcessing: Markise - Einer der Beschattungsbedingungen wird nicht mehr erfüllt und somit wird der Beschattungsstatus um eine Stufe reduziert. Alter Status: out Neuer Status: out


Viele Grüße
BeagleBoneBlack & Raspberry Pi 4; FB7490; div. Homematic Komponenten; CUL433: CUL_TX, Conbee II, SOMFY, 1-Wire, Z-Wave, Zigbee, SmartPlugs von Sonoff und Shelly mit MQTT

CoolTux

Lösch mal ASC_Up und ASC_,Down als Attribut ganz.
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

Romoker

#29
Ich habe beide Attribute gelöscht. Dann müsste der Default-Modus "astro" aktiv sein. FnIsDay ist jetzt wie IsDay 1. Markise ist in "shading out", fährt aber nicht in Schattenstellung.
Ich weiss immer noch nicht, welche Beschattungsbedingungen nicht erfüllt sind.

DEBUG-Ausgabe:
ASC_DEBUG!!! 2022.03.25 17:40:39 - FnIsDay: Markise Allgemein: 1

ASC_DEBUG!!! 2022.03.25 17:40:39 - FnIsDay: Markise getDownBrightness: 1 Brightness: 6455 BrightnessMin: 500 Sunset: 0

ASC_DEBUG!!! 2022.03.25 17:40:39 - FnIsDay: Markise getUpBrightness: 1 Brightness: 6455 BrightnessMax: 800 Sunrise: 1

ASC_DEBUG!!! 2022.03.25 17:40:39 - FnIsDay: Markise Allgemein: 1

ASC_DEBUG!!! 2022.03.25 17:40:39 - FnIsDay: Markise getDownBrightness: 1 Brightness: 6455 BrightnessMin: 500 Sunset: 0

ASC_DEBUG!!! 2022.03.25 17:40:39 - FnIsDay: Markise getUpBrightness: 1 Brightness: 6455 BrightnessMax: 800 Sunrise: 1

ASC_DEBUG!!! 2022.03.25 17:40:39 - ShadingProcessing: Markise - Übergebende Werte - Azimuth:260.91, Elevation: 11.61, Brightness: 6455, OutTemp: 16.3, Azimut Beschattung: 170, Azimut Endschattung: 288, 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.03.25 17:40:39 - ShadingProcessing: Markise - Alle Werte für die weitere Verarbeitung sind korrekt vorhanden und es wird nun mit der Beschattungsverarbeitung begonnen

ASC_DEBUG!!! 2022.03.25 17:40:39 - FnIsDay: Markise Allgemein: 1

ASC_DEBUG!!! 2022.03.25 17:40:39 - FnIsDay: Markise getDownBrightness: 1 Brightness: 6455 BrightnessMin: 500 Sunset: 0

ASC_DEBUG!!! 2022.03.25 17:40:40 - FnIsDay: Markise getUpBrightness: 1 Brightness: 6455 BrightnessMax: 800 Sunrise: 1

ASC_DEBUG!!! 2022.03.25 17:40:40 - ShadingProcessing: Markise - Einer der Beschattungsbedingungen wird nicht mehr erfüllt und somit wird der Beschattungsstatus um eine Stufe reduziert. Alter Status: out Neuer Status: out

ASC_DEBUG!!! 2022.03.25 17:40:40 - FnIsDay: Markise Allgemein: 1

ASC_DEBUG!!! 2022.03.25 17:40:40 - FnIsDay: Markise getDownBrightness: 1 Brightness: 6455 BrightnessMin: 500 Sunset: 0

ASC_DEBUG!!! 2022.03.25 17:40:40 - FnIsDay: Markise getUpBrightness: 1 Brightness: 6455 BrightnessMax: 800 Sunrise: 1

ASC_DEBUG!!! 2022.03.25 17:40:40 - FnIsDay: Markise Allgemein: 1

ASC_DEBUG!!! 2022.03.25 17:40:40 - FnIsDay: Markise getDownBrightness: 1 Brightness: 6455 BrightnessMin: 500 Sunset: 0

ASC_DEBUG!!! 2022.03.25 17:40:40 - FnIsDay: Markise getUpBrightness: 1 Brightness: 6455 BrightnessMax: 800 Sunrise: 1

ASC_DEBUG!!! 2022.03.25 17:40:40 - ShadingProcessingDriveCommand: Markise - Der aktuelle Beschattungsstatus ist: out, Beschattungsstatus Zeitstempel: 2022.03.25 17:40:40

ASC_DEBUG!!! 2022.03.25 17:40:40 - EventProcessingShadingBrightness: Markise - Alle Bedingungen zur weiteren Beschattungsverarbeitung sind erfüllt. Es wird nun die eigentliche Beschattungsfunktion aufgerufen

ASC_DEBUG!!! 2022.03.25 17:40:40 - EventProcessingShadingBrightness: RolloEGKuecheLinks - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.

ASC_DEBUG!!! 2022.03.25 17:40:40 - EventProcessingShadingBrightness: RolloEGKuecheLinks - Nummerischer Brightness-Wert wurde erkannt. Der Brightness Average Wert ist: 6666 RainProtection: unprotected WindProtection: unprotected


Viele Grüße
BeagleBoneBlack & Raspberry Pi 4; FB7490; div. Homematic Komponenten; CUL433: CUL_TX, Conbee II, SOMFY, 1-Wire, Z-Wave, Zigbee, SmartPlugs von Sonoff und Shelly mit MQTT