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

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

Vorheriges Thema - Nächstes Thema

CoolTux

Zitat von: kjmEjfu am 04 Januar 2021, 10:40:49
Ich habe es befürchtet  ...

Also, ich habe gerade für heute und morgen in meiner holiday einen Feiertag definiert.

{IsWe("tomorrow")}
{IsWe()}


liefert entsprechend beides eine 1 zurück.

Meine installierte ASC-Version ist:
VERSION v0.10.11
und natürlich im ASC gesetzt:

sunriseTimeWeHoliday on

Beim Rollo ist definiert:

ASC_Time_Down_Early 15:30
ASC_Time_Down_Late 22:00
ASC_Time_Up_Early 06:30
ASC_Time_Up_Late 09:00
ASC_Time_Up_WE_Holiday 09:30


Und nach einem RenewAllTimers sind die Readings:

ASC_Time_DriveDown 04.01.2021 - 22:00 2021-01-04 10:35:14
ASC_Time_DriveUp 05.01.2021 - 09:30 2021-01-04 10:35:14


Also ASC_Time_Up_Late mit ASC_Time_Up_WE_Holiday überschrieben.

Wieso passiert das nun bei mir, aber bei dir nicht?

Vergiss was ich geschrieben habe. Vielen Dank für Deine Hartnäckigkeit. Ich hatte in der Tat im ASC vergessen das Reading sunriseTimeWeHoliday auf on zu setzen. Jetzt ist es in der Tat bei mir auch so.
Jetzt ist nur die Frage wir genau sollte es noch mal sein  ;D
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

kjmEjfu

Zitat von: CoolTux am 04 Januar 2021, 11:00:36
Vergiss was ich geschrieben habe. Vielen Dank für Deine Hartnäckigkeit. Ich hatte in der Tat im ASC vergessen das Reading sunriseTimeWeHoliday auf on zu setzen. Jetzt ist es in der Tat bei mir auch so.
Jetzt ist nur die Frage wir genau sollte es noch mal sein  ;D

Puh, und ich fing schon an zu verzweifeln :-)

Also bis zur vorletzten(?) ASC-Version war es immer so, dass ASC_Time_Up_WE_Holiday dann ASC_Time_Up_Early überschrieben hat, nicht ASC_Time_Up_Late. (So ist es auch in der Commandref beschrieben.)
Macht aus meiner Sicht auch Sinn, weil ich am Wochenende (Feiertag) ja eigentlich das Rollo nicht schon zu ASC_Time_Up_Early hochgefahren haben möchte. Bleibt es so, wie es jetzt ist, dann kann ich Early gar nicht mehr anpassen, sondern nur Late. Hmm.

Davon unabhängig verstehe ich aber nicht, warum in der jetzigen Version am Wochenende der Brightness-Wert ignoriert und erst zu ASC_Time_Up_WE_Holiday gefahren wird. Ich hätte vermutet, dass ASC_Time_DriveUp genutzt wird und deshalb, zumindest für Brightness, völlig egal ist, ob ASC_Time_DriveUp nun aus Attribut a oder b gesetzt wird.

Migriere derzeit zu Home Assistant

wk

Nach langer Zeit problemlosen arbeitens, gibt es ein neues Problem.
Einer meiner Rollläden ist jetzt den zweiten Tag in Folge am Morgen in shading In gefahren obwohl keines der Kriterien passt.
Es ist weder hell genug, noch warm genug, noch stimmt der Azimuth.

Das List:
Internals:
   CID        shellyswitch25_00B43C
   DEF        shellyswitch25_00B43C
   DEVICETOPIC Sh_W_Be
   FUUID      5fe206c3-f33f-b6b9-ab24-08eab7c722b0d405
   IODev      MQTT2_FHEM_Server
   LASTInputDev MQTT2_FHEM_Server
   MQTT2_FHEM_Server_MSGCNT 90352
   MQTT2_FHEM_Server_TIME 2021-01-08 10:27:19
   MSGCNT     90352
   NAME       Sh_W_Be
   NR         57
   STATE      20
   TYPE       MQTT2_DEVICE
   READINGS:
     2020-12-22 17:15:00   ASC_Enable      on
     2021-01-08 08:30:14   ASC_ShuttersLastDrive shading in
     2021-01-08 08:30:01   ASC_Time_DriveDown 08.01.2021 - 23:00
     2021-01-08 08:30:01   ASC_Time_DriveUp 09.01.2021 - 08:30
     2021-01-05 14:21:48   associatedWith  Rolladen
     2021-01-08 08:30:14   current         stop
     2021-01-08 10:27:18   energy          14416
     2021-01-08 08:31:15   energy_total_kWh 0.6654
     2021-01-05 14:22:25   fw_ver          20200827-065456/v1.8.3@4a8bc427
     2021-01-05 14:22:25   id              shellyswitch25-00B43C
     2021-01-08 10:27:18   input0          0
     2021-01-08 10:27:18   input1          0
     2021-01-05 14:22:25   ip              172.16.5.26
     2021-01-05 14:22:25   mac             2462AB00B43C
     2021-01-05 14:22:25   model           SHSW-25
     2021-01-05 14:22:25   new_fw          true
     2021-01-05 14:22:25   online          true
     2021-01-08 10:27:19   overtemperature 0
     2021-01-08 10:27:18   pct             20
     2021-01-08 10:27:18   power           0.00
     2021-01-08 10:27:18   roller_0_energy 14416
     2021-01-08 10:27:18   roller_0_power  0.00
     2021-01-08 10:27:18   roller_0_stop_reason normal
     2021-01-08 10:27:18   state           20
     2021-01-08 10:27:18   temperature     43.52
Attributes:
   ASC        2
   ASC_BrightnessSensor FW1:reading 340:360
   ASC_Down   brightness
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Pos_Reading pct
   ASC_Shading_InOutAzimuth 190:315
   ASC_Shading_MinMax_Elevation 0:100
   ASC_Shading_Min_OutsideTemperature 24.0
   ASC_Shading_Mode always
   ASC_Shading_Pos { (ReadingsVal('OWX_28_AA6843501401','temperature',0) >= (ascAPIget('ShadingMinOutsideTemperature','Sh_W_Be')+2) ? 5 : 20) }
   ASC_Shading_StateChange_SunnyCloudy 880:870
   ASC_Shading_WaitingPeriod 600
   ASC_TempSensor OWX_28_AA6843501401:temperature
   ASC_Time_Down_Early 16:00
   ASC_Time_Down_Late 23:00
   ASC_Time_Up_Early 08:30
   ASC_Time_Up_Late 08:30
   ASC_Up     brightness
   IODev      MQTT2_FHEM_Server
   alias      Rollo Bett
   cmdIcon    open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   comment    Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
   devStateIcon { my $amp = ReadingsVal($name,"online","false") eq "false" ? "rot" : ReadingsVal($name,"new_fw","false") eq "true" ? "gelb" : "gruen";; my $con = ReadingsVal($name,"state","undef");; $con = 100 - $con if $con =~ /\d+/;; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "100" ? 'fts_shutter_100' : $con =~ /(\d)\d/ ? 'fts_shutter_'.$1.'0' : $con =~ /\b\d\b/ ? 'fts_shutter_10' : 'fts_shutter_updown';; my $show = "$amp" eq "gelb" ? "<a href=\"/fhem?cmd.dummy=set $name x_update&XHR=1\">".FW_makeImage("10px-kreis-".$amp)."</a>" : "<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage("10px-kreis-".$amp)."</a>";; "<div> $show <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\"></a>".FW_makeImage($pic)." </div>"}
   event-on-change-reading temperature:1,.*
   icon       fts_shutter_automatic
   model      A_11b1a_shelly25_roller_invert_0
   readingList shellies/shellyswitch25-00B43C/roller/0/pos:.* pct
  shellies/shellyswitch25-00B43C/online:.* online
  shellies/shellyswitch25-00B43C/announce:.* { json2nameValue($EVENT) }
  shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-00B43C...mac.*, ? json2nameValue($EVENT) : undef }
  shellies/shellyswitch25-00B43C/roller/0:.* current
  shellies/shellyswitch25-00B43C/roller/0:open {{'state' => 'opening'}}
  shellies/shellyswitch25-00B43C/roller/0:close {{'state' => 'closing'}}
  shellies/shellyswitch25-00B43C/roller/0/pos:.* state
  shellies/shellyswitch25-00B43C/input/1:.* input1
  shellies/shellyswitch25-00B43C/input/0:.* input0
  shellies/shellyswitch25-00B43C/temperature:.* temperature
  shellies/shellyswitch25-00B43C/overtemperature:.* overtemperature
shellyswitch25_00B43C:shellies/shellyswitch25-00B43C/roller/0/power:.* roller_0_power
shellyswitch25_00B43C:shellies/shellyswitch25-00B43C/roller/0/energy:.* roller_0_energy
shellyswitch25_00B43C:shellies/shellyswitch25-00B43C/temperature_f:.* temperature_f
shellyswitch25_00B43C:shellies/shellyswitch25-00B43C/relay/power:.* power
shellyswitch25_00B43C:shellies/shellyswitch25-00B43C/relay/energy:.* energy
shellyswitch25_00B43C:shellies/shellyswitch25-00B43C/roller/0/stop_reason:.* roller_0_stop_reason
   room       MQTT2_DEVICE,Rolladen,Shelly
   setList    open:noArg shellies/shellyswitch25-00B43C/roller/0/command open
  close:noArg shellies/shellyswitch25-00B43C/roller/0/command close
  half:noArg shellies/shellyswitch25-00B43C/roller/0/command/pos 50
  stop:noArg shellies/shellyswitch25-00B43C/roller/0/command stop
  pct:slider,0,1,100 shellies/shellyswitch25-00B43C/roller/0/command/pos $EVTPART1
  x_recalibration:noArg shellies/shellyswitch25-00B43C/roller/0/command rc
  x_update:noArg shellies/shellyswitch25-00B43C/command update_fw
  x_mqttcom shellies/shellyswitch25-00B43C/command $EVTPART1
   setStateList open close half stop pct
   sortby     110
   suppressReading temperature_f
   userReadings energy_total_kWh:roller_0_energy:.* monotonic {sprintf("%.4f",ReadingsNum("$name","roller_0_energy",0)/60000)}
   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_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_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
   webCmd     :open:close:half:stop:pct
   widgetOverride devStateIcon:textFieldNL-long


Das log bringt mir auch keine Erleuchtung:

ASC_DEBUG!!! 2021.01.08 10:41:17 - EventProcessingBrightness: Sh_W_Be - 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!!! 2021.01.08 10:41:17 - EventProcessingShadingBrightness: Sh_W_Be - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.
ASC_DEBUG!!! 2021.01.08 10:41:17 - EventProcessingShadingBrightness: Sh_W_Be - Nummerischer Brightness-Wert wurde erkannt. Der Brightness Average Wert ist: 821 RainProtection: unprotected WindProtection: unprotected


CoolTux

Zitat von: wk am 08 Januar 2021, 10:45:37
Nach langer Zeit problemlosen arbeitens, gibt es ein neues Problem.
Einer meiner Rollläden ist jetzt den zweiten Tag in Folge am Morgen in shading In gefahren obwohl keines der Kriterien passt.
Es ist weder hell genug, noch warm genug, noch stimmt der Azimuth.

Das List:
Internals:
   CID        shellyswitch25_00B43C
   DEF        shellyswitch25_00B43C
   DEVICETOPIC Sh_W_Be
   FUUID      5fe206c3-f33f-b6b9-ab24-08eab7c722b0d405
   IODev      MQTT2_FHEM_Server
   LASTInputDev MQTT2_FHEM_Server
   MQTT2_FHEM_Server_MSGCNT 90352
   MQTT2_FHEM_Server_TIME 2021-01-08 10:27:19
   MSGCNT     90352
   NAME       Sh_W_Be
   NR         57
   STATE      20
   TYPE       MQTT2_DEVICE
   READINGS:
     2020-12-22 17:15:00   ASC_Enable      on
     2021-01-08 08:30:14   ASC_ShuttersLastDrive shading in
     2021-01-08 08:30:01   ASC_Time_DriveDown 08.01.2021 - 23:00
     2021-01-08 08:30:01   ASC_Time_DriveUp 09.01.2021 - 08:30
     2021-01-05 14:21:48   associatedWith  Rolladen
     2021-01-08 08:30:14   current         stop
     2021-01-08 10:27:18   energy          14416
     2021-01-08 08:31:15   energy_total_kWh 0.6654
     2021-01-05 14:22:25   fw_ver          20200827-065456/v1.8.3@4a8bc427
     2021-01-05 14:22:25   id              shellyswitch25-00B43C
     2021-01-08 10:27:18   input0          0
     2021-01-08 10:27:18   input1          0
     2021-01-05 14:22:25   ip              172.16.5.26
     2021-01-05 14:22:25   mac             2462AB00B43C
     2021-01-05 14:22:25   model           SHSW-25
     2021-01-05 14:22:25   new_fw          true
     2021-01-05 14:22:25   online          true
     2021-01-08 10:27:19   overtemperature 0
     2021-01-08 10:27:18   pct             20
     2021-01-08 10:27:18   power           0.00
     2021-01-08 10:27:18   roller_0_energy 14416
     2021-01-08 10:27:18   roller_0_power  0.00
     2021-01-08 10:27:18   roller_0_stop_reason normal
     2021-01-08 10:27:18   state           20
     2021-01-08 10:27:18   temperature     43.52
Attributes:
   ASC        2
   ASC_BrightnessSensor FW1:reading 340:360
   ASC_Down   brightness
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Pos_Reading pct
   ASC_Shading_InOutAzimuth 190:315
   ASC_Shading_MinMax_Elevation 0:100
   ASC_Shading_Min_OutsideTemperature 24.0
   ASC_Shading_Mode always
   ASC_Shading_Pos { (ReadingsVal('OWX_28_AA6843501401','temperature',0) >= (ascAPIget('ShadingMinOutsideTemperature','Sh_W_Be')+2) ? 5 : 20) }
   ASC_Shading_StateChange_SunnyCloudy 880:870
   ASC_Shading_WaitingPeriod 600
   ASC_TempSensor OWX_28_AA6843501401:temperature
   ASC_Time_Down_Early 16:00
   ASC_Time_Down_Late 23:00
   ASC_Time_Up_Early 08:30
   ASC_Time_Up_Late 08:30
   ASC_Up     brightness
   IODev      MQTT2_FHEM_Server
   alias      Rollo Bett
   cmdIcon    open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   comment    Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
   devStateIcon { my $amp = ReadingsVal($name,"online","false") eq "false" ? "rot" : ReadingsVal($name,"new_fw","false") eq "true" ? "gelb" : "gruen";; my $con = ReadingsVal($name,"state","undef");; $con = 100 - $con if $con =~ /\d+/;; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "100" ? 'fts_shutter_100' : $con =~ /(\d)\d/ ? 'fts_shutter_'.$1.'0' : $con =~ /\b\d\b/ ? 'fts_shutter_10' : 'fts_shutter_updown';; my $show = "$amp" eq "gelb" ? "<a href=\"/fhem?cmd.dummy=set $name x_update&XHR=1\">".FW_makeImage("10px-kreis-".$amp)."</a>" : "<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage("10px-kreis-".$amp)."</a>";; "<div> $show <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\"></a>".FW_makeImage($pic)." </div>"}
   event-on-change-reading temperature:1,.*
   icon       fts_shutter_automatic
   model      A_11b1a_shelly25_roller_invert_0
   readingList shellies/shellyswitch25-00B43C/roller/0/pos:.* pct
  shellies/shellyswitch25-00B43C/online:.* online
  shellies/shellyswitch25-00B43C/announce:.* { json2nameValue($EVENT) }
  shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-00B43C...mac.*, ? json2nameValue($EVENT) : undef }
  shellies/shellyswitch25-00B43C/roller/0:.* current
  shellies/shellyswitch25-00B43C/roller/0:open {{'state' => 'opening'}}
  shellies/shellyswitch25-00B43C/roller/0:close {{'state' => 'closing'}}
  shellies/shellyswitch25-00B43C/roller/0/pos:.* state
  shellies/shellyswitch25-00B43C/input/1:.* input1
  shellies/shellyswitch25-00B43C/input/0:.* input0
  shellies/shellyswitch25-00B43C/temperature:.* temperature
  shellies/shellyswitch25-00B43C/overtemperature:.* overtemperature
shellyswitch25_00B43C:shellies/shellyswitch25-00B43C/roller/0/power:.* roller_0_power
shellyswitch25_00B43C:shellies/shellyswitch25-00B43C/roller/0/energy:.* roller_0_energy
shellyswitch25_00B43C:shellies/shellyswitch25-00B43C/temperature_f:.* temperature_f
shellyswitch25_00B43C:shellies/shellyswitch25-00B43C/relay/power:.* power
shellyswitch25_00B43C:shellies/shellyswitch25-00B43C/relay/energy:.* energy
shellyswitch25_00B43C:shellies/shellyswitch25-00B43C/roller/0/stop_reason:.* roller_0_stop_reason
   room       MQTT2_DEVICE,Rolladen,Shelly
   setList    open:noArg shellies/shellyswitch25-00B43C/roller/0/command open
  close:noArg shellies/shellyswitch25-00B43C/roller/0/command close
  half:noArg shellies/shellyswitch25-00B43C/roller/0/command/pos 50
  stop:noArg shellies/shellyswitch25-00B43C/roller/0/command stop
  pct:slider,0,1,100 shellies/shellyswitch25-00B43C/roller/0/command/pos $EVTPART1
  x_recalibration:noArg shellies/shellyswitch25-00B43C/roller/0/command rc
  x_update:noArg shellies/shellyswitch25-00B43C/command update_fw
  x_mqttcom shellies/shellyswitch25-00B43C/command $EVTPART1
   setStateList open close half stop pct
   sortby     110
   suppressReading temperature_f
   userReadings energy_total_kWh:roller_0_energy:.* monotonic {sprintf("%.4f",ReadingsNum("$name","roller_0_energy",0)/60000)}
   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_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_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
   webCmd     :open:close:half:stop:pct
   widgetOverride devStateIcon:textFieldNL-long


Das log bringt mir auch keine Erleuchtung:

ASC_DEBUG!!! 2021.01.08 10:41:17 - EventProcessingBrightness: Sh_W_Be - 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!!! 2021.01.08 10:41:17 - EventProcessingShadingBrightness: Sh_W_Be - Es wird nun geprüft ob der übergebene Event ein nummerischer Wert vom Brightnessreading ist.
ASC_DEBUG!!! 2021.01.08 10:41:17 - EventProcessingShadingBrightness: Sh_W_Be - Nummerischer Brightness-Wert wurde erkannt. Der Brightness Average Wert ist: 821 RainProtection: unprotected WindProtection: unprotected



Welche Version verwendest Du aktuell?
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

Das ist seltsam. Dir fehlt das Reading "ASC_ShadingMessage" für diese Version.
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

wk

Ich hab's gefunden.

In meinem ASC-Device war set controlShading auf 'off', daher kein Reading. Jetzt habe ich das Reading.
Warum aber genau einer von zwölf Rolladen zur Unzeit 'shading in' machte ist sicher kurios aber kaum einer Untersuchung wert.

Danke für den Schubs in die richtige Richtung.  ;)

kabanett

Hallo,
ich wollte mich auch mal näher mit diesem Modul beschäftigen und habe gleich ein Problem. :(
Seit ca. einem dreiviertel Jahr wird ein Rolladen mit ASC gesteuert. Abends zu, morgens auf. Mehr nicht!
Nun steht ein weiteres Zimmer längere Zeit leer, also habe ich die beiden Rollläden hinzu gefügt. Leider funktioniert bei einem die fahrt am Abend nicht.
Zwar fährt er morgens mit auf (nach händischen heruntefahren am Abend) bleibt aber im Modul- Device auf manuell stehen und fährt abends nicht zu.
Hier mal ein list der Devices bevor sie abends zufahren.

ASC-Modul
Internals:
   .FhemMetaInternals 1
   FUUID      5ef230a4-f33f-0fc8-42c8-cba71f05e556913f
   FVERSION   73_AutoShuttersControl.pm:v0.10.10-s23008/2020-10-23 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       Rolladensteuerung_allgemein
   NOTIFYDEV  Astro_Sonne_Mond,Rolladensteuerung_allgemein,global,Rollladen_Gaestezimmer,Rollladen_Michelle_Balkon,Rollladen_Michelle_Fenster
   NR         298
   NTFY_ORDER 51-Rolladensteuerung_allgemein
   STATE      manual
   TYPE       AutoShuttersControl
   VERSION    v0.10.10
   .attraggr:
   .attrminint:
   OLDREADINGS:
   READINGS:
     2021-01-13 19:03:52   .monitoredDevs  {"Astro_Sonne_Mond":{"Rolladensteuerung_allgemein":"ASC_twilightDevice"}}
     2020-06-24 05:06:25   Rollladen_GWC_PosValue 100
     2020-06-28 05:08:02   Rollladen_GWC_lastPosValue 100
     2021-01-14 08:30:20   Rollladen_Gaestezimmer_PosValue 100
     2021-01-14 08:30:02   Rollladen_Gaestezimmer_lastPosValue 0
     2021-01-14 08:30:02   Rollladen_Gaestezimmer_nextAstroTimeEvent 14.01.2021 - 16:28
     2021-01-14 15:53:09   Rollladen_Michelle_Balkon_PosValue 100
     2021-01-14 08:30:02   Rollladen_Michelle_Balkon_lastPosValue 0
     2021-01-14 08:30:02   Rollladen_Michelle_Balkon_nextAstroTimeEvent 14.01.2021 - 16:28
     2021-01-14 08:30:21   Rollladen_Michelle_Fenster_PosValue 100
     2021-01-14 08:30:02   Rollladen_Michelle_Fenster_lastPosValue 0
     2021-01-14 08:30:02   Rollladen_Michelle_Fenster_nextAstroTimeEvent 14.01.2021 - 16:28
     2020-06-23 18:41:08   ascEnable       on
     2020-06-23 18:41:08   controlShading  off
     2020-06-23 18:41:08   hardLockOut     off
     2021-01-13 17:49:25   room_G__stezimmer_Rollo Rollladen_Gaestezimmer
     2021-01-13 17:49:25   room_Michelleszimmer_Rollo Rollladen_Michelle_Balkon,Rollladen_Michelle_Fenster
     2020-06-23 18:41:08   selfDefense     off
     2021-01-14 15:53:09   state           manual
     2020-06-23 18:41:08   sunriseTimeWeHoliday off
     2021-01-13 17:49:25   userAttrList    rolled out
   helper:
     shuttersList:
       Rollladen_Gaestezimmer
       Rollladen_Michelle_Balkon
       Rollladen_Michelle_Fenster
   monitoredDevs:
     Astro_Sonne_Mond:
       Rolladensteuerung_allgemein ASC_twilightDevice
     Rollladen_Gaestezimmer:
     Rollladen_Michelle_Balkon:
     Rollladen_Michelle_Fenster:
Attributes:
   ASC_expert 1
   ASC_twilightDevice Astro_Sonne_Mond
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       Software_Geräte


Der funktionierende Rollladen.
Internals:
   CID        shellyswitch25_xxxxxx
   DEF        shellyswitch25_xxxxxx
   DEVICETOPIC Rollladen_Michelle_Fenster
   FUUID      5da6211d-f33f-0fc8-b4b7-bcbfb6ab4053a32b
   IODev      MQTT2_Server
   LASTInputDev MQTT2_Server
   MQTT2_Server_MSGCNT 148099
   MQTT2_Server_TIME 2021-01-14 15:59:33
   MSGCNT     148099
   NAME       Rollladen_Michelle_Fenster
   NR         224
   STATE      <a href="http://192.168.xx.xx" target="_blank">
true
</a>
100
   TYPE       MQTT2_DEVICE
   .attraggr:
   .attreocr:
     .*
   .attrminint:
   READINGS:
     2021-01-10 15:40:19   ASC_Enable      on
     2021-01-14 08:30:21   ASC_ShuttersLastDrive day open
     2021-01-14 08:30:02   ASC_Time_DriveDown 14.01.2021 - 16:28
     2021-01-14 08:30:02   ASC_Time_DriveUp 15.01.2021 - 08:30
     2021-01-13 17:49:26   associatedWith  Rolladensteuerung_allgemein
     2021-01-14 08:30:21   current         stop
     2021-01-14 15:59:33   energy          362
     2021-01-10 15:36:44   fw_ver          20201128-102046/v1.9.2@e83f7025
     2021-01-10 15:36:44   id              shellyswitch25-xxxxxx
     2021-01-14 15:59:33   input0          0
     2021-01-14 15:59:33   input1          0
     2021-01-10 15:36:44   ip              192.168.xx.xx
     2021-01-10 15:36:44   mac             2CF432xxxxxx
     2021-01-10 15:36:44   model           SHSW-25
     2021-01-10 15:36:44   new_fw          false
     2021-01-10 15:36:44   online          true
     2021-01-14 15:59:33   overtemperature 0
     2021-01-14 15:59:33   pct             100
     2021-01-14 15:59:33   power           0.00
     2021-01-14 15:59:33   roller_0_energy 362
     2021-01-14 15:59:33   roller_0_power  0.00
     2021-01-14 15:59:33   roller_0_stop_reason normal
     2021-01-14 15:59:33   state           100
     2021-01-14 15:59:33   temperature     53.16
     2021-01-14 15:59:33   temperature_f   127.69
Attributes:
   ASC        2
   ASC_AutoAstroModeEvening REAL
   ASC_AutoAstroModeMorning REAL
   ASC_Pos_Reading pct
   IODev      MQTT2_Server
   cmdIcon    open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   comment    Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
   devStateIcon opening:fts_shutter_up@red closing:fts_shutter_down@red true:10px-kreis-gruen false:10px-kreis-rot 0:fts_shutter_100 100:fts_shutter_10 9\d:fts_shutter_10 8\d:fts_shutter_20 7\d:fts_shutter_30 6\d:fts_shutter_40 5\d:fts_shutter_50 4\d:fts_shutter_60 3\d:fts_shutter_70 2\d:fts_shutter_80 1\d:fts_shutter_90 0\d:fts_shutter_100 set_.*:fts_shutter_updown
   event-on-change-reading .*
   model      shelly25_roller_invert_0
   readingList shellies/shellyswitch25-xxxxxx/roller/0/pos:.* pct
  shellies/shellyswitch25-xxxxxx/status/0/rollers:.* power
  shellies/shellyswitch25-xxxxxx/online:.* online
  shellies/shellyswitch25-xxxxxx/announce:.* { json2nameValue($EVENT) }
  shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-xxxxxx...mac.*, ? json2nameValue($EVENT) : undef }
  shellies/shellyswitch25-xxxxxx/roller/0:.* current
  shellies/shellyswitch25-xxxxxx/roller/0:open {{'state' => 'opening'}}
  shellies/shellyswitch25-xxxxxx/roller/0:close {{'state' => 'closing'}}
  shellies/shellyswitch25-xxxxxx/roller/0/pos:.* state
  shellies/shellyswitch25-xxxxxx/input/1:.* input1
  shellies/shellyswitch25-xxxxxx/input/0:.* input0
  shellies/shellyswitch25-xxxxxx/relay/power:.* power
  shellies/shellyswitch25-xxxxxx/relay/energy:.* energy
  shellies/shellyswitch25-xxxxxx/temperature:.* temperature
  shellies/shellyswitch25-xxxxxx/overtemperature:.* overtemperature
shellyswitch25_xxxxxx:shellies/shellyswitch25-xxxxxx/roller/0/power:.* roller_0_power
shellyswitch25_xxxxxx:shellies/shellyswitch25-xxxxxx/roller/0/energy:.* roller_0_energy
shellyswitch25_xxxxxx:shellies/shellyswitch25-xxxxxx/temperature_f:.* temperature_f
shellyswitch25_xxxxxx:shellies/shellyswitch25-xxxxxx/roller/0/stop_reason:.* roller_0_stop_reason
   room       Michelleszimmer,Rollo
   setList    open:noArg shellies/shellyswitch25-xxxxxx/roller/0/command open
  close:noArg shellies/shellyswitch25-xxxxxx/roller/0/command close
  half:noArg shellies/shellyswitch25-xxxxxx/roller/0/command/pos 50
  stop:noArg shellies/shellyswitch25-xxxxxx/roller/0/command stop
  pct:slider,0,1,100 shellies/shellyswitch25-xxxxxx/roller/0/command/pos $EVTPART1
  x_recalibration:noArg shellies/shellyswitch25-xxxxxx/roller/0/command rc
  x_update:noArg shellies/shellyswitch25-xxxxxx/command update_fw
  x_mqttcom shellies/shellyswitch25-xxxxxx/command $EVTPART1
   setStateList open close half stop pct
   stateFormat <a href="http://ip" target="_blank">
online
</a>
state
   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_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_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
   webCmd     :open:close:half:stop:pct


Der Fehlerhafte  ;)
Internals:
   .eventMapCmd opens:noArg closes:noArg
   CFGFN     
   CID        shellyswitch25_xxxxxxxxxxxx
   DEF        shellyswitch25_xxxxxxxxxxxx
   DEVICETOPIC Rollladen_Michelle_Balkon
   FUUID      5ffdd7f1-f33f-0fc8-6218-6602a024ef69a3a3
   IODev      MQTT2_Server
   LASTInputDev MQTT2_Server
   MQTT2_Server_MSGCNT 60433
   MQTT2_Server_TIME 2021-01-14 15:55:39
   MSGCNT     60433
   NAME       Rollladen_Michelle_Balkon
   NR         24107
   STATE      100
   TYPE       MQTT2_DEVICE
   .attraggr:
   .attrminint:
   OLDREADINGS:
   READINGS:
     2021-01-12 18:18:36   ASC_Enable      on
     2021-01-14 15:55:39   ASC_ShuttersLastDrive manual
     2021-01-14 08:30:02   ASC_Time_DriveDown 14.01.2021 - 16:28
     2021-01-14 08:30:02   ASC_Time_DriveUp 15.01.2021 - 08:30
     2021-01-12 18:13:23   actions_stats_skipped 0
     2021-01-13 17:49:26   associatedWith  Rolladensteuerung_allgemein
     2021-01-12 18:13:23   attrTemplateVersion 20201206
     2021-01-12 18:13:23   cfg_changed_cnt 1
     2021-01-12 18:13:23   cloud_connected false
     2021-01-12 18:13:23   cloud_enabled   false
     2021-01-14 08:30:30   current         stop
     2021-01-14 15:55:39   energy          391
     2021-01-12 18:13:23   fs_free         122488
     2021-01-12 18:13:23   fs_size         233681
     2021-01-12 18:13:23   fw_ver          20201228-092242/v1.9.3@ad2bb4e3
     2021-01-12 18:13:23   has_update      false
     2021-01-12 18:13:23   id              shellyswitch25-xxxxxxxxxxxx
     2021-01-14 15:55:39   input0          0
     2021-01-14 15:55:39   input1          0
     2021-01-12 18:13:23   inputs_1_event 
     2021-01-12 18:13:23   inputs_1_event_cnt 0
     2021-01-12 18:13:23   inputs_1_input  0
     2021-01-12 18:13:23   inputs_2_event 
     2021-01-12 18:13:23   inputs_2_event_cnt 0
     2021-01-12 18:13:23   inputs_2_input  0
     2021-01-12 18:13:23   ip              192.168.xx.xx
     2021-01-12 18:13:23   mac             xxxxxxxxxxxx
     2021-01-12 18:13:23   meters_1_counters_1 0.000
     2021-01-12 18:13:23   meters_1_counters_2 0.000
     2021-01-12 18:13:23   meters_1_counters_3 0.000
     2021-01-12 18:13:23   meters_1_is_valid true
     2021-01-12 18:13:23   meters_1_overpower 0.00
     2021-01-12 18:13:23   meters_1_power  0.00
     2021-01-12 18:13:23   meters_1_timestamp 1610475203
     2021-01-12 18:13:23   meters_1_total  50
     2021-01-12 18:13:23   meters_2_counters_1 0.000
     2021-01-12 18:13:23   meters_2_counters_2 0.000
     2021-01-12 18:13:23   meters_2_counters_3 0.000
     2021-01-12 18:13:23   meters_2_is_valid true
     2021-01-12 18:13:23   meters_2_overpower 0.00
     2021-01-12 18:13:23   meters_2_power  0.00
     2021-01-12 18:13:23   meters_2_timestamp 1610475203
     2021-01-12 18:13:23   meters_2_total  44
     2021-01-12 18:13:23   model           SHSW-25
     2021-01-12 18:13:23   mqtt_connected  true
     2021-01-12 18:13:23   new_fw          false
     2021-01-12 18:13:23   online          true
     2021-01-14 15:55:39   overtemperature 0
     2021-01-14 15:55:39   pct             100
     2021-01-14 15:55:39   power           0.00
     2021-01-12 18:13:23   ram_free        35236
     2021-01-12 18:13:23   ram_total       49360
     2021-01-14 15:55:39   roller_0_energy 391
     2021-01-14 15:55:39   roller_0_power  0.00
     2021-01-14 15:55:39   roller_0_stop_reason normal
     2021-01-12 18:13:23   rollers_1_calibrating false
     2021-01-12 18:13:23   rollers_1_current_pos 100
     2021-01-12 18:13:23   rollers_1_is_valid true
     2021-01-12 18:13:23   rollers_1_last_direction open
     2021-01-12 18:13:23   rollers_1_overtemperature false
     2021-01-12 18:13:23   rollers_1_positioning true
     2021-01-12 18:13:23   rollers_1_power 0.00
     2021-01-12 18:13:23   rollers_1_safety_switch false
     2021-01-12 18:13:23   rollers_1_source mqtt
     2021-01-12 18:13:23   rollers_1_state stop
     2021-01-12 18:13:23   rollers_1_stop_reason normal
     2021-01-12 18:13:23   serial          1735
     2021-01-14 15:55:39   state           100
     2021-01-14 15:55:39   temperature     53.56
     2021-01-14 15:55:39   temperature_f   128.41
     2021-01-12 18:13:23   temperature_status Normal
     2021-01-12 18:13:23   time            18:13
     2021-01-12 18:13:23   tmp_is_valid    true
     2021-01-12 18:13:23   tmp_tC          54.90
     2021-01-12 18:13:23   tmp_tF          130.81
     2021-01-12 18:13:23   unixtime        1610471603
     2021-01-12 18:13:23   update_beta_version 20210112-125258/v1.9.4-rc1@9bee2b20
     2021-01-12 18:13:23   update_has_update false
     2021-01-12 18:13:23   update_new_version 20201228-092242/v1.9.3@ad2bb4e3
     2021-01-12 18:13:23   update_old_version 20201228-092242/v1.9.3@ad2bb4e3
     2021-01-12 18:13:23   update_status   idle
     2021-01-12 18:13:23   uptime          103575
     2021-01-12 18:13:23   voltage         220.75
     2021-01-12 18:13:23   wifi_sta_connected true
     2021-01-12 18:13:23   wifi_sta_ip     192.168.xx.xx
     2021-01-12 18:13:23   wifi_sta_rssi   -76
     2021-01-12 18:13:23   wifi_sta_ssid   Einbruch lohnt nicht!!!
     2021-01-12 18:13:23   x_mqttcom       set announce
Attributes:
   ASC        2
   ASC_AutoAstroModeEvening REAL
   ASC_AutoAstroModeMorning REAL
   ASC_Pos_Reading pct
   IODev      MQTT2_Server
   cmdIcon    open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   comment    Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
   devStateIcon { my $amp = ReadingsVal($name,"online","false") eq "false" ? "rot" : ReadingsVal($name,"new_fw","false") eq "true" ? "gelb" : "gruen"; my $con = ReadingsVal($name,"state","unknown"); $con = 100 - $con if $con =~ /\d+/; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "100" ? 'fts_shutter_100' : $con =~ /(\d)\d/ ? 'fts_shutter_'.$1.'0' : $con =~ /\b\d\b/ ? 'fts_shutter_10' : 'fts_shutter_updown'; my $show = "$amp" eq "gelb" ? "<a href=\"/fhem?cmd.dummy=set $name x_update&XHR=1\">".FW_makeImage("10px-kreis-".$amp)."</a>" : "<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage("10px-kreis-".$amp)."</a>"; "<div> $show <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\"></a>".FW_makeImage($pic)." </div>"}
   eventMap   open:opens close:closes
   model      shelly25_roller_invert_0
   readingList shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/pos:.* pct
  shellies/shellyswitch25-xxxxxxxxxxxx/status/0/rollers:.* power
  shellies/shellyswitch25-xxxxxxxxxxxx/online:.* online
  shellies/shellyswitch25-xxxxxxxxxxxx/announce:.* { json2nameValue($EVENT) }
  shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-xxxxxxxxxxxx...mac.*, ? json2nameValue($EVENT) : return }
  shellies/shellyswitch25-xxxxxxxxxxxx/roller/0:.* current
  shellies/shellyswitch25-xxxxxxxxxxxx/roller/0:open {{'state' => 'opening'}}
  shellies/shellyswitch25-xxxxxxxxxxxx/roller/0:close {{'state' => 'closing'}}
  shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/pos:.* state
  shellies/shellyswitch25-xxxxxxxxxxxx/input/1:.* input1
  shellies/shellyswitch25-xxxxxxxxxxxx/input/0:.* input0
  shellies/shellyswitch25-xxxxxxxxxxxx/relay/power:.* power
  shellies/shellyswitch25-xxxxxxxxxxxx/relay/energy:.* energy
  shellies/shellyswitch25-xxxxxxxxxxxx/temperature:.* temperature
  shellies/shellyswitch25-xxxxxxxxxxxx/overtemperature:.* overtemperature
  shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/power:.* roller_0_power
  shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/energy:.* roller_0_energy
  shellies/shellyswitch25-xxxxxxxxxxxx/temperature_f:.* temperature_f
shellyswitch25_xxxxxxxxxxxx:shellies/shellyswitch25-xxxxxxxxxxxx/info:.* { json2nameValue($EVENT) }
shellyswitch25_xxxxxxxxxxxx:shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/stop_reason:.* roller_0_stop_reason
   room       Michelleszimmer,Rollo
   setList    open:noArg shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/command open
  close:noArg shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/command close
  half:noArg shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/command/pos 50
  stop:noArg shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/command stop
  pct:slider,0,1,100 shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/command/pos $EVTPART1
  x_recalibration:noArg shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/command rc
  x_update:noArg shellies/shellyswitch25-xxxxxxxxxxxx/command update_fw
  x_mqttcom shellies/shellyswitch25-xxxxxxxxxxxx/command $EVTPART1
   setStateList open close half stop pct
   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_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_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
   webCmd     :open:close:half:stop:pct


und hier ein Ausschnitt des Logs
morgens
2021.01.14 08:30:02 3: MQTT2_DEVICE set Rollladen_Gaestezimmer pct 100
2021.01.14 08:30:02 3: MQTT2_DEVICE set Rollladen_Michelle_Balkon pct 100
2021.01.14 08:30:02 3: MQTT2_DEVICE set Rollladen_Michelle_Fenster pct 100

abends
2021.01.14 16:28:08 3: MQTT2_DEVICE set Rollladen_Gaestezimmer pct 0
2021.01.14 16:28:08 3: MQTT2_DEVICE set Rollladen_Michelle_Fenster pct 0


Ich habe den Rolladen auch aus ASC entfernt, was leider die Atrribute aus dem Rollladen- Device nicht entfernt. Dann habe ich das Gerät komplett in Fhem entfernt
und neu angelegt. Leider ohne Erfolg ???
Im Anhang noch ein Bild der config info vom ASC vor der abendlichen Fahrt.

Gruß
Hardware: Fhem auf Raspi3 / selbtsbau CUL 433 und 868 MHz / MAX Thermostate / IT-Dosen nur noch Weihnachten / diverse ESP Aktoren/Sensoren / X10 Fernbedienung / Shelly 1, 1L, 2, 2.5, Dimmer, RGB2 / LaCrosseGateway / Zigbee2531 / diverse Zigbee Aktoren/Sensoren

xerion

Zitat von: kabanett am 14 Januar 2021, 19:14:49
Hallo,
ich wollte mich auch mal näher mit diesem Modul beschäftigen und habe gleich ein Problem. :(
Seit ca. einem dreiviertel Jahr wird ein Rolladen mit ASC gesteuert. Abends zu, morgens auf. Mehr nicht!
Nun steht ein weiteres Zimmer längere Zeit leer, also habe ich die beiden Rollläden hinzu gefügt. Leider funktioniert bei einem die fahrt am Abend nicht.
Zwar fährt er morgens mit auf (nach händischen heruntefahren am Abend) bleibt aber im Modul- Device auf manuell stehen und fährt abends nicht zu.
Hier mal ein list der Devices bevor sie abends zufahren.

ASC-Modul
Internals:
   .FhemMetaInternals 1
   FUUID      5ef230a4-f33f-0fc8-42c8-cba71f05e556913f
   FVERSION   73_AutoShuttersControl.pm:v0.10.10-s23008/2020-10-23 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       Rolladensteuerung_allgemein
   NOTIFYDEV  Astro_Sonne_Mond,Rolladensteuerung_allgemein,global,Rollladen_Gaestezimmer,Rollladen_Michelle_Balkon,Rollladen_Michelle_Fenster
   NR         298
   NTFY_ORDER 51-Rolladensteuerung_allgemein
   STATE      manual
   TYPE       AutoShuttersControl
   VERSION    v0.10.10
   .attraggr:
   .attrminint:
   OLDREADINGS:
   READINGS:
     2021-01-13 19:03:52   .monitoredDevs  {"Astro_Sonne_Mond":{"Rolladensteuerung_allgemein":"ASC_twilightDevice"}}
     2020-06-24 05:06:25   Rollladen_GWC_PosValue 100
     2020-06-28 05:08:02   Rollladen_GWC_lastPosValue 100
     2021-01-14 08:30:20   Rollladen_Gaestezimmer_PosValue 100
     2021-01-14 08:30:02   Rollladen_Gaestezimmer_lastPosValue 0
     2021-01-14 08:30:02   Rollladen_Gaestezimmer_nextAstroTimeEvent 14.01.2021 - 16:28
     2021-01-14 15:53:09   Rollladen_Michelle_Balkon_PosValue 100
     2021-01-14 08:30:02   Rollladen_Michelle_Balkon_lastPosValue 0
     2021-01-14 08:30:02   Rollladen_Michelle_Balkon_nextAstroTimeEvent 14.01.2021 - 16:28
     2021-01-14 08:30:21   Rollladen_Michelle_Fenster_PosValue 100
     2021-01-14 08:30:02   Rollladen_Michelle_Fenster_lastPosValue 0
     2021-01-14 08:30:02   Rollladen_Michelle_Fenster_nextAstroTimeEvent 14.01.2021 - 16:28
     2020-06-23 18:41:08   ascEnable       on
     2020-06-23 18:41:08   controlShading  off
     2020-06-23 18:41:08   hardLockOut     off
     2021-01-13 17:49:25   room_G__stezimmer_Rollo Rollladen_Gaestezimmer
     2021-01-13 17:49:25   room_Michelleszimmer_Rollo Rollladen_Michelle_Balkon,Rollladen_Michelle_Fenster
     2020-06-23 18:41:08   selfDefense     off
     2021-01-14 15:53:09   state           manual
     2020-06-23 18:41:08   sunriseTimeWeHoliday off
     2021-01-13 17:49:25   userAttrList    rolled out
   helper:
     shuttersList:
       Rollladen_Gaestezimmer
       Rollladen_Michelle_Balkon
       Rollladen_Michelle_Fenster
   monitoredDevs:
     Astro_Sonne_Mond:
       Rolladensteuerung_allgemein ASC_twilightDevice
     Rollladen_Gaestezimmer:
     Rollladen_Michelle_Balkon:
     Rollladen_Michelle_Fenster:
Attributes:
   ASC_expert 1
   ASC_twilightDevice Astro_Sonne_Mond
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       Software_Geräte


Der funktionierende Rollladen.
Internals:
   CID        shellyswitch25_xxxxxx
   DEF        shellyswitch25_xxxxxx
   DEVICETOPIC Rollladen_Michelle_Fenster
   FUUID      5da6211d-f33f-0fc8-b4b7-bcbfb6ab4053a32b
   IODev      MQTT2_Server
   LASTInputDev MQTT2_Server
   MQTT2_Server_MSGCNT 148099
   MQTT2_Server_TIME 2021-01-14 15:59:33
   MSGCNT     148099
   NAME       Rollladen_Michelle_Fenster
   NR         224
   STATE      <a href="http://192.168.xx.xx" target="_blank">
true
</a>
100
   TYPE       MQTT2_DEVICE
   .attraggr:
   .attreocr:
     .*
   .attrminint:
   READINGS:
     2021-01-10 15:40:19   ASC_Enable      on
     2021-01-14 08:30:21   ASC_ShuttersLastDrive day open
     2021-01-14 08:30:02   ASC_Time_DriveDown 14.01.2021 - 16:28
     2021-01-14 08:30:02   ASC_Time_DriveUp 15.01.2021 - 08:30
     2021-01-13 17:49:26   associatedWith  Rolladensteuerung_allgemein
     2021-01-14 08:30:21   current         stop
     2021-01-14 15:59:33   energy          362
     2021-01-10 15:36:44   fw_ver          20201128-102046/v1.9.2@e83f7025
     2021-01-10 15:36:44   id              shellyswitch25-xxxxxx
     2021-01-14 15:59:33   input0          0
     2021-01-14 15:59:33   input1          0
     2021-01-10 15:36:44   ip              192.168.xx.xx
     2021-01-10 15:36:44   mac             2CF432xxxxxx
     2021-01-10 15:36:44   model           SHSW-25
     2021-01-10 15:36:44   new_fw          false
     2021-01-10 15:36:44   online          true
     2021-01-14 15:59:33   overtemperature 0
     2021-01-14 15:59:33   pct             100
     2021-01-14 15:59:33   power           0.00
     2021-01-14 15:59:33   roller_0_energy 362
     2021-01-14 15:59:33   roller_0_power  0.00
     2021-01-14 15:59:33   roller_0_stop_reason normal
     2021-01-14 15:59:33   state           100
     2021-01-14 15:59:33   temperature     53.16
     2021-01-14 15:59:33   temperature_f   127.69
Attributes:
   ASC        2
   ASC_AutoAstroModeEvening REAL
   ASC_AutoAstroModeMorning REAL
   ASC_Pos_Reading pct
   IODev      MQTT2_Server
   cmdIcon    open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   comment    Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
   devStateIcon opening:fts_shutter_up@red closing:fts_shutter_down@red true:10px-kreis-gruen false:10px-kreis-rot 0:fts_shutter_100 100:fts_shutter_10 9\d:fts_shutter_10 8\d:fts_shutter_20 7\d:fts_shutter_30 6\d:fts_shutter_40 5\d:fts_shutter_50 4\d:fts_shutter_60 3\d:fts_shutter_70 2\d:fts_shutter_80 1\d:fts_shutter_90 0\d:fts_shutter_100 set_.*:fts_shutter_updown
   event-on-change-reading .*
   model      shelly25_roller_invert_0
   readingList shellies/shellyswitch25-xxxxxx/roller/0/pos:.* pct
  shellies/shellyswitch25-xxxxxx/status/0/rollers:.* power
  shellies/shellyswitch25-xxxxxx/online:.* online
  shellies/shellyswitch25-xxxxxx/announce:.* { json2nameValue($EVENT) }
  shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-xxxxxx...mac.*, ? json2nameValue($EVENT) : undef }
  shellies/shellyswitch25-xxxxxx/roller/0:.* current
  shellies/shellyswitch25-xxxxxx/roller/0:open {{'state' => 'opening'}}
  shellies/shellyswitch25-xxxxxx/roller/0:close {{'state' => 'closing'}}
  shellies/shellyswitch25-xxxxxx/roller/0/pos:.* state
  shellies/shellyswitch25-xxxxxx/input/1:.* input1
  shellies/shellyswitch25-xxxxxx/input/0:.* input0
  shellies/shellyswitch25-xxxxxx/relay/power:.* power
  shellies/shellyswitch25-xxxxxx/relay/energy:.* energy
  shellies/shellyswitch25-xxxxxx/temperature:.* temperature
  shellies/shellyswitch25-xxxxxx/overtemperature:.* overtemperature
shellyswitch25_xxxxxx:shellies/shellyswitch25-xxxxxx/roller/0/power:.* roller_0_power
shellyswitch25_xxxxxx:shellies/shellyswitch25-xxxxxx/roller/0/energy:.* roller_0_energy
shellyswitch25_xxxxxx:shellies/shellyswitch25-xxxxxx/temperature_f:.* temperature_f
shellyswitch25_xxxxxx:shellies/shellyswitch25-xxxxxx/roller/0/stop_reason:.* roller_0_stop_reason
   room       Michelleszimmer,Rollo
   setList    open:noArg shellies/shellyswitch25-xxxxxx/roller/0/command open
  close:noArg shellies/shellyswitch25-xxxxxx/roller/0/command close
  half:noArg shellies/shellyswitch25-xxxxxx/roller/0/command/pos 50
  stop:noArg shellies/shellyswitch25-xxxxxx/roller/0/command stop
  pct:slider,0,1,100 shellies/shellyswitch25-xxxxxx/roller/0/command/pos $EVTPART1
  x_recalibration:noArg shellies/shellyswitch25-xxxxxx/roller/0/command rc
  x_update:noArg shellies/shellyswitch25-xxxxxx/command update_fw
  x_mqttcom shellies/shellyswitch25-xxxxxx/command $EVTPART1
   setStateList open close half stop pct
   stateFormat <a href="http://ip" target="_blank">
online
</a>
state
   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_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_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
   webCmd     :open:close:half:stop:pct


Der Fehlerhafte  ;)
Internals:
   .eventMapCmd opens:noArg closes:noArg
   CFGFN     
   CID        shellyswitch25_xxxxxxxxxxxx
   DEF        shellyswitch25_xxxxxxxxxxxx
   DEVICETOPIC Rollladen_Michelle_Balkon
   FUUID      5ffdd7f1-f33f-0fc8-6218-6602a024ef69a3a3
   IODev      MQTT2_Server
   LASTInputDev MQTT2_Server
   MQTT2_Server_MSGCNT 60433
   MQTT2_Server_TIME 2021-01-14 15:55:39
   MSGCNT     60433
   NAME       Rollladen_Michelle_Balkon
   NR         24107
   STATE      100
   TYPE       MQTT2_DEVICE
   .attraggr:
   .attrminint:
   OLDREADINGS:
   READINGS:
     2021-01-12 18:18:36   ASC_Enable      on
     2021-01-14 15:55:39   ASC_ShuttersLastDrive manual
     2021-01-14 08:30:02   ASC_Time_DriveDown 14.01.2021 - 16:28
     2021-01-14 08:30:02   ASC_Time_DriveUp 15.01.2021 - 08:30
     2021-01-12 18:13:23   actions_stats_skipped 0
     2021-01-13 17:49:26   associatedWith  Rolladensteuerung_allgemein
     2021-01-12 18:13:23   attrTemplateVersion 20201206
     2021-01-12 18:13:23   cfg_changed_cnt 1
     2021-01-12 18:13:23   cloud_connected false
     2021-01-12 18:13:23   cloud_enabled   false
     2021-01-14 08:30:30   current         stop
     2021-01-14 15:55:39   energy          391
     2021-01-12 18:13:23   fs_free         122488
     2021-01-12 18:13:23   fs_size         233681
     2021-01-12 18:13:23   fw_ver          20201228-092242/v1.9.3@ad2bb4e3
     2021-01-12 18:13:23   has_update      false
     2021-01-12 18:13:23   id              shellyswitch25-xxxxxxxxxxxx
     2021-01-14 15:55:39   input0          0
     2021-01-14 15:55:39   input1          0
     2021-01-12 18:13:23   inputs_1_event 
     2021-01-12 18:13:23   inputs_1_event_cnt 0
     2021-01-12 18:13:23   inputs_1_input  0
     2021-01-12 18:13:23   inputs_2_event 
     2021-01-12 18:13:23   inputs_2_event_cnt 0
     2021-01-12 18:13:23   inputs_2_input  0
     2021-01-12 18:13:23   ip              192.168.xx.xx
     2021-01-12 18:13:23   mac             xxxxxxxxxxxx
     2021-01-12 18:13:23   meters_1_counters_1 0.000
     2021-01-12 18:13:23   meters_1_counters_2 0.000
     2021-01-12 18:13:23   meters_1_counters_3 0.000
     2021-01-12 18:13:23   meters_1_is_valid true
     2021-01-12 18:13:23   meters_1_overpower 0.00
     2021-01-12 18:13:23   meters_1_power  0.00
     2021-01-12 18:13:23   meters_1_timestamp 1610475203
     2021-01-12 18:13:23   meters_1_total  50
     2021-01-12 18:13:23   meters_2_counters_1 0.000
     2021-01-12 18:13:23   meters_2_counters_2 0.000
     2021-01-12 18:13:23   meters_2_counters_3 0.000
     2021-01-12 18:13:23   meters_2_is_valid true
     2021-01-12 18:13:23   meters_2_overpower 0.00
     2021-01-12 18:13:23   meters_2_power  0.00
     2021-01-12 18:13:23   meters_2_timestamp 1610475203
     2021-01-12 18:13:23   meters_2_total  44
     2021-01-12 18:13:23   model           SHSW-25
     2021-01-12 18:13:23   mqtt_connected  true
     2021-01-12 18:13:23   new_fw          false
     2021-01-12 18:13:23   online          true
     2021-01-14 15:55:39   overtemperature 0
     2021-01-14 15:55:39   pct             100
     2021-01-14 15:55:39   power           0.00
     2021-01-12 18:13:23   ram_free        35236
     2021-01-12 18:13:23   ram_total       49360
     2021-01-14 15:55:39   roller_0_energy 391
     2021-01-14 15:55:39   roller_0_power  0.00
     2021-01-14 15:55:39   roller_0_stop_reason normal
     2021-01-12 18:13:23   rollers_1_calibrating false
     2021-01-12 18:13:23   rollers_1_current_pos 100
     2021-01-12 18:13:23   rollers_1_is_valid true
     2021-01-12 18:13:23   rollers_1_last_direction open
     2021-01-12 18:13:23   rollers_1_overtemperature false
     2021-01-12 18:13:23   rollers_1_positioning true
     2021-01-12 18:13:23   rollers_1_power 0.00
     2021-01-12 18:13:23   rollers_1_safety_switch false
     2021-01-12 18:13:23   rollers_1_source mqtt
     2021-01-12 18:13:23   rollers_1_state stop
     2021-01-12 18:13:23   rollers_1_stop_reason normal
     2021-01-12 18:13:23   serial          1735
     2021-01-14 15:55:39   state           100
     2021-01-14 15:55:39   temperature     53.56
     2021-01-14 15:55:39   temperature_f   128.41
     2021-01-12 18:13:23   temperature_status Normal
     2021-01-12 18:13:23   time            18:13
     2021-01-12 18:13:23   tmp_is_valid    true
     2021-01-12 18:13:23   tmp_tC          54.90
     2021-01-12 18:13:23   tmp_tF          130.81
     2021-01-12 18:13:23   unixtime        1610471603
     2021-01-12 18:13:23   update_beta_version 20210112-125258/v1.9.4-rc1@9bee2b20
     2021-01-12 18:13:23   update_has_update false
     2021-01-12 18:13:23   update_new_version 20201228-092242/v1.9.3@ad2bb4e3
     2021-01-12 18:13:23   update_old_version 20201228-092242/v1.9.3@ad2bb4e3
     2021-01-12 18:13:23   update_status   idle
     2021-01-12 18:13:23   uptime          103575
     2021-01-12 18:13:23   voltage         220.75
     2021-01-12 18:13:23   wifi_sta_connected true
     2021-01-12 18:13:23   wifi_sta_ip     192.168.xx.xx
     2021-01-12 18:13:23   wifi_sta_rssi   -76
     2021-01-12 18:13:23   wifi_sta_ssid   Einbruch lohnt nicht!!!
     2021-01-12 18:13:23   x_mqttcom       set announce
Attributes:
   ASC        2
   ASC_AutoAstroModeEvening REAL
   ASC_AutoAstroModeMorning REAL
   ASC_Pos_Reading pct
   IODev      MQTT2_Server
   cmdIcon    open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   comment    Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
   devStateIcon { my $amp = ReadingsVal($name,"online","false") eq "false" ? "rot" : ReadingsVal($name,"new_fw","false") eq "true" ? "gelb" : "gruen"; my $con = ReadingsVal($name,"state","unknown"); $con = 100 - $con if $con =~ /\d+/; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "100" ? 'fts_shutter_100' : $con =~ /(\d)\d/ ? 'fts_shutter_'.$1.'0' : $con =~ /\b\d\b/ ? 'fts_shutter_10' : 'fts_shutter_updown'; my $show = "$amp" eq "gelb" ? "<a href=\"/fhem?cmd.dummy=set $name x_update&XHR=1\">".FW_makeImage("10px-kreis-".$amp)."</a>" : "<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage("10px-kreis-".$amp)."</a>"; "<div> $show <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\"></a>".FW_makeImage($pic)." </div>"}
   eventMap   open:opens close:closes
   model      shelly25_roller_invert_0
   readingList shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/pos:.* pct
  shellies/shellyswitch25-xxxxxxxxxxxx/status/0/rollers:.* power
  shellies/shellyswitch25-xxxxxxxxxxxx/online:.* online
  shellies/shellyswitch25-xxxxxxxxxxxx/announce:.* { json2nameValue($EVENT) }
  shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-xxxxxxxxxxxx...mac.*, ? json2nameValue($EVENT) : return }
  shellies/shellyswitch25-xxxxxxxxxxxx/roller/0:.* current
  shellies/shellyswitch25-xxxxxxxxxxxx/roller/0:open {{'state' => 'opening'}}
  shellies/shellyswitch25-xxxxxxxxxxxx/roller/0:close {{'state' => 'closing'}}
  shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/pos:.* state
  shellies/shellyswitch25-xxxxxxxxxxxx/input/1:.* input1
  shellies/shellyswitch25-xxxxxxxxxxxx/input/0:.* input0
  shellies/shellyswitch25-xxxxxxxxxxxx/relay/power:.* power
  shellies/shellyswitch25-xxxxxxxxxxxx/relay/energy:.* energy
  shellies/shellyswitch25-xxxxxxxxxxxx/temperature:.* temperature
  shellies/shellyswitch25-xxxxxxxxxxxx/overtemperature:.* overtemperature
  shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/power:.* roller_0_power
  shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/energy:.* roller_0_energy
  shellies/shellyswitch25-xxxxxxxxxxxx/temperature_f:.* temperature_f
shellyswitch25_xxxxxxxxxxxx:shellies/shellyswitch25-xxxxxxxxxxxx/info:.* { json2nameValue($EVENT) }
shellyswitch25_xxxxxxxxxxxx:shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/stop_reason:.* roller_0_stop_reason
   room       Michelleszimmer,Rollo
   setList    open:noArg shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/command open
  close:noArg shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/command close
  half:noArg shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/command/pos 50
  stop:noArg shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/command stop
  pct:slider,0,1,100 shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/command/pos $EVTPART1
  x_recalibration:noArg shellies/shellyswitch25-xxxxxxxxxxxx/roller/0/command rc
  x_update:noArg shellies/shellyswitch25-xxxxxxxxxxxx/command update_fw
  x_mqttcom shellies/shellyswitch25-xxxxxxxxxxxx/command $EVTPART1
   setStateList open close half stop pct
   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_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_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
   webCmd     :open:close:half:stop:pct


und hier ein Ausschnitt des Logs
morgens
2021.01.14 08:30:02 3: MQTT2_DEVICE set Rollladen_Gaestezimmer pct 100
2021.01.14 08:30:02 3: MQTT2_DEVICE set Rollladen_Michelle_Balkon pct 100
2021.01.14 08:30:02 3: MQTT2_DEVICE set Rollladen_Michelle_Fenster pct 100

abends
2021.01.14 16:28:08 3: MQTT2_DEVICE set Rollladen_Gaestezimmer pct 0
2021.01.14 16:28:08 3: MQTT2_DEVICE set Rollladen_Michelle_Fenster pct 0


Ich habe den Rolladen auch aus ASC entfernt, was leider die Atrribute aus dem Rollladen- Device nicht entfernt. Dann habe ich das Gerät komplett in Fhem entfernt
und neu angelegt. Leider ohne Erfolg ???
Im Anhang noch ein Bild der config info vom ASC vor der abendlichen Fahrt.

Gruß
Wenn ich es richtig gesehen habe, fehlt deinem fehlerhaften Rollo  das "event-on-change-reading"  Attribut, was zu ständigen aktualisieren der Readings führt und dann ASC denken lässt das es manuell fährt. Versuche das mal zu setzen und teste neu.
Ich würde mich  freuen, wenn du meinen Einladungscode für Tibber, der Stromanbieter, der dir hilft, deinen Stromverbrauch zu verstehen und zu reduzieren, nutzt: https://invite.tibber.com/5fc08jbs. So bekommen wir beide 50 Euro und 100 % Ökostrom / https://geld-fuer-eauto.de/ref/334561880

kabanett

Ich habe das Atrribut gesetzt! Da bin ich auf morgen Abend gespannt!!!

Vertehe gerade nicht warum er dann morgens nach abendlicher Handfahrt zuverlässig mit hochfährt :o

Vielen Dank
Hardware: Fhem auf Raspi3 / selbtsbau CUL 433 und 868 MHz / MAX Thermostate / IT-Dosen nur noch Weihnachten / diverse ESP Aktoren/Sensoren / X10 Fernbedienung / Shelly 1, 1L, 2, 2.5, Dimmer, RGB2 / LaCrosseGateway / Zigbee2531 / diverse Zigbee Aktoren/Sensoren

CoolTux

Zitat von: kabanett am 14 Januar 2021, 19:56:57
Ich habe das Atrribut gesetzt! Da bin ich auf morgen Abend gespannt!!!

Vertehe gerade nicht warum er dann morgens nach abendlicher Handfahrt zuverlässig mit hochfährt :o

Vielen Dank

Weil beim öffnen keine Bedingung bezüglich manual abgefragt wird. Abends hingegen schon.
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

kabanett

Vielen Dank! Es funktioniert! :)

Zitat von: CoolTux am 14 Januar 2021, 20:14:50
Weil beim öffnen keine Bedingung bezüglich manual abgefragt wird. Abends hingegen schon.
Ich nehm das einfach mal so hin ;) Man muss ja nicht gleich alles verstehen ::)

Bezüglich event-on-change-reading  .* habe ich im Wiki nur etwas im Bezug auf eine "privacy Funktion" gefunden.
Ist das bei allen Aktoren pflicht die gesteuert werden? Oder nur Shelly spezifisch? Funktioniert das auch bei Eintragungen/Einschränkungen im event-on-change-reading?
Hardware: Fhem auf Raspi3 / selbtsbau CUL 433 und 868 MHz / MAX Thermostate / IT-Dosen nur noch Weihnachten / diverse ESP Aktoren/Sensoren / X10 Fernbedienung / Shelly 1, 1L, 2, 2.5, Dimmer, RGB2 / LaCrosseGateway / Zigbee2531 / diverse Zigbee Aktoren/Sensoren

CoolTux

Zitat von: kabanett am 15 Januar 2021, 17:38:48
Vielen Dank! Es funktioniert! :)
Ich nehm das einfach mal so hin ;) Man muss ja nicht gleich alles verstehen ::)

Bezüglich event-on-change-reading  .* habe ich im Wiki nur etwas im Bezug auf eine "privacy Funktion" gefunden.
Ist das bei allen Aktoren pflicht die gesteuert werden? Oder nur Shelly spezifisch? Funktioniert das auch bei Eintragungen/Einschränkungen im event-on-change-reading?

In Bezug auf ASC sollte es bei allen Rollo Devices gesetzt werden welche zyklisch den Status abfragen und alle Readings neu setzen auch wenn der Wert der selbe ist.
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

wk

Mir ist diesen Winter wieder auf die Füsse gefallen, dass ich als Temperatursensor für das Shading ein Innenthermometer verwende. Da wird es Gott-sei-Dank nie so kalt, dass die AntiFreeze-Funktion greift.
Es war einmal angedacht, dass es dafür zwei verschiedene Sensoren sein könnten. Gibt es die Überlegungen noch oder könnte man hier die Eingabe einer Perl-Funktion ermöglichen?
Es ist kein großer Auswand zweimal im Jahr den Sensor umzustellen, aber für Automatikfans ein GAU.  ;)

kjmEjfu

@CoolTux: hast du nochmal nach einem Fix für https://forum.fhem.de/index.php/topic,112325.msg1117667.html#msg1117667 geschaut?

Unabhängig davon, ob du die CommandRef anpasst (und damit weiterhin ASC_Time_Up_Late überschrieben wird) oder es so korrigierst, dass die CommandRef wieder stimmt (und somit ASC_Time_Up_Early überschrieben wird), wäre mit ja wichtig, dass einfach innerhalb der Zeit Brightness wieder funktioniert :-)
Jetzt wird es langsam morgens wieder heller und es ist verwirrend, wenn dann bestimmte Räume noch abgedunkelt sind.

Wobei ich ja grundsätzlich nicht verstehe, wieso das Verhalten überhaupt Auswirkungen auf Brightness hat. Aber Mo-Fr fahren die Rollos morgens problemlos nach Brightness. Am Wochenende wird es ignoriert und sie fahren erst mit Ablauf von ASC_Time_Up_Late.
Migriere derzeit zu Home Assistant