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

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

Vorheriges Thema - Nächstes Thema

balli1187

Zitat von: CoolTux am 09 Juli 2021, 04:06:25
Dann stell mal verbose auf 4 im ASC Device und löse den ExternalTrigger aus. Dann das log hier Posten.

Hier das Ergebnis aus dem Log
2021.07.09 13:59:52.359 4: AutoShuttersControl (OUT_AutoShutterControl) - Devname: AlexaGuteNacht Name: OUT_AutoShutterControl Notify: $VAR1 = [
  'on',
  'state: undef'
];


Wie erwähnt hab ich noch ein notify auf dem Dummy sitzen, welches den Zustand immer wieder zurück auf undef setzt. Wenn ich in die Ausgabe schaue, sieht es ein bisschen so aus als würde das für das ASC zu schnell gehen... Kann das sein?

Ich werd da zurücksetzen mal verzögern und auch mal versuchen das 'state' aus der definition des External Trigger zu löschen und dann berichten.
FHEM auf QNAP im docker, nanoCUL per ser2net an VU+, 2x Echo Dot, 3x HM-ES-PMSw1-Pl, 3x HM-LC-Bl1PBU-FM, 6x Sonoff Basic, div. "Shelly Eigenbauten" von Papa Romeo, ESPRGBWW-Controller, ...
Projekte: Smart Mirror in Spiegelschrank auf RPi Zero

Damu

Hallo

Ich möchte mit einer Fernbedienung die Jalosie wenn nötig auf oder ab fahren.
Im ASC Device hab ich bei einigen Jalosie zeitlich für AB auf 40 gestellt.
(attr Jalosie Kueche ASC_Closed_Pos 40) gesetzt.
Gibt es eine Möglichkeit das bei ON und OFF die eingestellten Fahrzeiten übernommen werden?

CoolTux

Zitat von: balli1187 am 09 Juli 2021, 14:16:36
Hier das Ergebnis aus dem Log
2021.07.09 13:59:52.359 4: AutoShuttersControl (OUT_AutoShutterControl) - Devname: AlexaGuteNacht Name: OUT_AutoShutterControl Notify: $VAR1 = [
  'on',
  'state: undef'
];


Wie erwähnt hab ich noch ein notify auf dem Dummy sitzen, welches den Zustand immer wieder zurück auf undef setzt. Wenn ich in die Ausgabe schaue, sieht es ein bisschen so aus als würde das für das ASC zu schnell gehen... Kann das sein?

Ich werd da zurücksetzen mal verzögern und auch mal versuchen das 'state' aus der definition des External Trigger zu löschen und dann berichten.

Wie man sehen kann ist das Event für state undef und nicht wie konfiguriert on oder off. Ist das ein Dummy oder was ist das?
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

balli1187

Zitat von: CoolTux am 10 Juli 2021, 08:25:09
Wie man sehen kann ist das Event für state undef und nicht wie konfiguriert on oder off. Ist das ein Dummy oder was ist das?
Genau. Ist es dummy.

Gestern Abend noch ein bissl probiert:
- wenn ich das notify, in dem der dummy zurückgesetzt wird, abschalte, reagiert auch das ASC.
- wenn ich nur "state" aus der def des externalTrigger lösche, bleibt es wie gehabt.

Wie sieht es denn bezüglich der Trigger-Option für morgendliche und abendliche Fahrten aus?
Liese sich das realisieren? Oder wurde das schon diskutiert???
FHEM auf QNAP im docker, nanoCUL per ser2net an VU+, 2x Echo Dot, 3x HM-ES-PMSw1-Pl, 3x HM-LC-Bl1PBU-FM, 6x Sonoff Basic, div. "Shelly Eigenbauten" von Papa Romeo, ESPRGBWW-Controller, ...
Projekte: Smart Mirror in Spiegelschrank auf RPi Zero

FFHEM

Mein zuletzt hinzugefügter Shelly-Rolladen "RolladenGaestezimmer" (5 andere funktionieren) klappt nicht mit dem ASC, da ist irgendwie durch meine Konfiguration der Wurm drin.
Er fährt nicht in die Schattierung, und ein Test soeben zeigt, dass er noch nicht einmal die (testweise ausprobierte) Time_Down_Early (16:03) berücksichtigt.
Ich habe bereits diesen Rolladen über ASC = 0 aus dem ASC herausgenommen, dann alle ASC_-Attribute gelöscht, dann wieder neu angelegt, keine Änderung.
Was mich auch stutzig macht, ist, dass beim Reading
associatedWith  Rolladensteuerung,none
plötzlich nicht nur Rolladensteuerung, sondern auch "none" auftritt, das war vorher nicht so.
Bevor ich den Rolladen aus dem ASC herausnahm, stimmte auch die Debugausgabe im Log nicht mit der Rainprotection überein. Also alles merkwürdige Sachen.

Habe dann das ASC-Device gelöscht, danach waren wie erwartet auch alle ASC-Attribute in allen Rolladen gelöscht. Dann ASC neu angelegt. Habe dann den RolladenGaestezimmer als einzigen Rolladen eingetragen - keine Wirkung. Jetzt habe ich eine vorherige fhem.cfg-Sicherung wieder eingespielt.
Und jetzt scheint auch z. B. RolladenArbeitszimmer nicht mehr aus der Schattierung herauszufahren.

Wie kann ich nun am besten systematisch vorgehen? Vielen Dank!
ASC-Device:
Internals:
   FUUID      60c617ec-f33f-26cd-34ab-c889e2099b294d9a
   FVERSION   73_AutoShuttersControl.pm:v0.10.15-s24586/2021-06-05
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       Rolladensteuerung
   NOTIFYDEV  global,Rolladensteuerung,RolladenArbeitszimmer,RolladenFlur,RolladenGaesteWC,RolladenGaestezimmer,RolladenKuecheLinks,RolladenKuecheRechts,RolladenWohnzimmerLinks,RolladenWohnzimmerRechts,Twilight,ASC_Residents,di_RegensensorVerzoegerung,Lichtsensor
   NR         1278
   NTFY_ORDER 51-Rolladensteuerung
   STATE      manual
   TYPE       AutoShuttersControl
   VERSION    v0.10.15
   OLDREADINGS:
   READINGS:
     2021-07-10 15:59:26   RolladenArbeitszimmer_nextAstroTimeEvent 10.07.2021 - 22:30
     2021-07-10 15:59:26   RolladenFlur_nextAstroTimeEvent 10.07.2021 - 22:43
     2021-07-10 15:59:26   RolladenGaesteWC_nextAstroTimeEvent 10.07.2021 - 22:15
     2021-07-10 16:28:06   RolladenGaestezimmer_PosValue 60
     2021-07-10 16:27:29   RolladenGaestezimmer_nextAstroTimeEvent 10.07.2021 - 22:00
     2021-07-10 15:59:26   RolladenKuecheLinks_nextAstroTimeEvent 10.07.2021 - 22:30
     2021-07-10 15:59:27   RolladenKuecheRechts_nextAstroTimeEvent 10.07.2021 - 22:24
     2021-07-10 15:59:27   RolladenWohnzimmerLinks_nextAstroTimeEvent 10.07.2021 - 22:34
     2021-07-10 15:59:27   RolladenWohnzimmerRechts_nextAstroTimeEvent 10.07.2021 - 22:34
     2021-07-10 15:31:58   ascEnable       on
     2021-07-10 16:22:23   controlShading  on
     2021-07-10 15:58:13   hardLockOut     off
     2021-07-10 15:59:22   room_ASC_MQTT2_DEVICE RolladenArbeitszimmer,RolladenGaestezimmer
     2021-07-10 15:59:22   room_ASC_MQTT2_DEVICE___bersicht RolladenFlur,RolladenGaesteWC,RolladenKuecheLinks,RolladenKuecheRechts
     2021-07-10 15:59:22   room_ASC___bersicht RolladenWohnzimmerLinks,RolladenWohnzimmerRechts
     2021-07-10 15:58:13   selfDefense     off
     2021-07-10 16:28:06   state           manual
     2021-07-10 15:58:13   sunriseTimeWeHoliday off
     2021-07-10 15:59:22   userAttrList    rolled out
   helper:
     shuttersList:
       RolladenArbeitszimmer
       RolladenFlur
       RolladenGaesteWC
       RolladenGaestezimmer
       RolladenKuecheLinks
       RolladenKuecheRechts
       RolladenWohnzimmerLinks
       RolladenWohnzimmerRechts
   monitoredDevs:
     ASC_Residents:
       Rolladensteuerung ASC_residentsDev
     Lichtsensor:
       RolladenGaestezimmer ASC_BrightnessSensor
     RolladenArbeitszimmer:
     RolladenFlur:
     RolladenGaesteWC:
     RolladenGaestezimmer:
     RolladenKuecheLinks:
     RolladenKuecheRechts:
     RolladenWohnzimmerLinks:
     RolladenWohnzimmerRechts:
     Twilight:
       Rolladensteuerung ASC_twilightDevice
     di_RegensensorVerzoegerung:
       Rolladensteuerung ASC_rainSensor
Attributes:
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_rainSensor di_RegensensorVerzoegerung:Regen
   ASC_residentsDev ASC_Residents:state
   ASC_tempSensor Aussen_Temperatur:temperature
   ASC_twilightDevice Twilight
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       ASC
   webCmd     ascEnable


Der hartnäckige Rolladen, der nicht schattieren und nicht fahren will (manuell natürlich möglich):
Internals:
   CID        shellyswitch25_8CAAB54CCBC8
   DEF        shellyswitch25_8CAAB54CCBC8
   DEVICETOPIC RolladenGaestezimmer
   FUUID      60e5ac77-f33f-26cd-9819-a944d7a6fc0756e9
   IODev      MQTT2_FHEM_Server
   LASTInputDev MQTT2_FHEM_Server
   MQTT2_FHEM_Server_MSGCNT 861
   MQTT2_FHEM_Server_TIME 2021-07-10 16:30:36
   MSGCNT     861
   NAME       RolladenGaestezimmer
   NR         1288
   STATE      60
   TYPE       MQTT2_DEVICE
   READINGS:
     2021-07-10 15:23:47   ASC_Enable      on
     2021-07-10 16:28:29   ASC_ShadingMessage INFO: current shading status is 'in reserved' - next check in 2.5m
     2021-07-10 16:28:06   ASC_ShuttersLastDrive manual
     2021-07-10 16:27:29   ASC_Time_DriveDown 10.07.2021 - 22:00
     2021-07-10 16:27:29   ASC_Time_DriveUp 11.07.2021 - 08:00
     2021-07-10 15:58:13   IODev           MQTT2_FHEM_Server
     2021-07-10 15:59:23   associatedWith  Rolladensteuerung,none
     2021-07-07 15:57:12   attrTemplateVersion 20210126
     2021-07-10 16:30:36   current         stop
     2021-07-10 16:30:36   energy          4548
     2021-07-10 15:58:32   fw_ver          20210429-100559/v1.10.4-g3f94cd7
     2021-07-10 15:58:32   id              shellyswitch25-8CAAB54CCBC8
     2021-07-07 15:57:13   info_actions_stats_skipped 0
     2021-07-07 15:57:13   info_cfg_changed_cnt 0
     2021-07-07 15:57:13   info_cloud_connected false
     2021-07-07 15:57:13   info_cloud_enabled false
     2021-07-07 15:57:13   info_fs_free    146584
     2021-07-07 15:57:13   info_fs_size    233681
     2021-07-07 15:57:13   info_has_update false
     2021-07-07 15:57:13   info_inputs_1_event
     2021-07-07 15:57:13   info_inputs_1_event_cnt 0
     2021-07-07 15:57:13   info_inputs_1_input 0
     2021-07-07 15:57:13   info_inputs_2_event
     2021-07-07 15:57:13   info_inputs_2_event_cnt 0
     2021-07-07 15:57:13   info_inputs_2_input 0
     2021-07-07 15:57:13   info_mac        8CAAB54CCBC8
     2021-07-07 15:57:13   info_meters_1_counters_1 0.000
     2021-07-07 15:57:13   info_meters_1_counters_2 0.000
     2021-07-07 15:57:13   info_meters_1_counters_3 0.000
     2021-07-07 15:57:13   info_meters_1_is_valid true
     2021-07-07 15:57:13   info_meters_1_overpower 0.00
     2021-07-07 15:57:13   info_meters_1_power 0.00
     2021-07-07 15:57:13   info_meters_1_timestamp 1625673433
     2021-07-07 15:57:13   info_meters_1_total 0
     2021-07-07 15:57:13   info_meters_2_counters_1 0.000
     2021-07-07 15:57:13   info_meters_2_counters_2 0.000
     2021-07-07 15:57:13   info_meters_2_counters_3 0.000
     2021-07-07 15:57:13   info_meters_2_is_valid true
     2021-07-07 15:57:13   info_meters_2_overpower 0.00
     2021-07-07 15:57:13   info_meters_2_power 0.00
     2021-07-07 15:57:13   info_meters_2_timestamp 1625673433
     2021-07-07 15:57:13   info_meters_2_total 0
     2021-07-07 15:57:13   info_mqtt_connected true
     2021-07-07 15:57:13   info_overtemperature false
     2021-07-07 15:57:13   info_ping_check true
     2021-07-07 15:57:13   info_ram_free   34852
     2021-07-07 15:57:13   info_ram_total  49272
     2021-07-07 15:57:13   info_rollers_1_calibrating false
     2021-07-07 15:57:13   info_rollers_1_current_pos 101
     2021-07-07 15:57:13   info_rollers_1_is_valid true
     2021-07-07 15:57:13   info_rollers_1_last_direction close
     2021-07-07 15:57:13   info_rollers_1_overtemperature false
     2021-07-07 15:57:13   info_rollers_1_positioning true
     2021-07-07 15:57:13   info_rollers_1_power 0.00
     2021-07-07 15:57:13   info_rollers_1_safety_switch false
     2021-07-07 15:57:13   info_rollers_1_source input
     2021-07-07 15:57:13   info_rollers_1_state stop
     2021-07-07 15:57:13   info_rollers_1_stop_reason normal
     2021-07-07 15:57:13   info_serial     2
     2021-07-07 15:57:13   info_temperature 57.29
     2021-07-07 15:57:13   info_temperature_status Normal
     2021-07-07 15:57:13   info_time       15:57
     2021-07-07 15:57:13   info_tmp_is_valid true
     2021-07-07 15:57:13   info_tmp_tC     57.29
     2021-07-07 15:57:13   info_tmp_tF     135.12
     2021-07-07 15:57:13   info_unixtime   1625666233
     2021-07-07 15:57:13   info_update_beta_version 20210702-121359/v1.11.0-rc2-g7766530
     2021-07-07 15:57:13   info_update_has_update false
     2021-07-07 15:57:13   info_update_new_version 20210429-100559/v1.10.4-g3f94cd7
     2021-07-07 15:57:13   info_update_old_version 20210429-100559/v1.10.4-g3f94cd7
     2021-07-07 15:57:13   info_update_status idle
     2021-07-07 15:57:13   info_uptime     1607
     2021-07-07 15:57:13   info_voltage    236.91
     2021-07-07 15:57:13   info_wifi_sta_connected true
     2021-07-07 15:57:13   info_wifi_sta_ip 192.168.178.60
     2021-07-07 15:57:13   info_wifi_sta_rssi -52
     2021-07-07 15:57:13   info_wifi_sta_ssid HAL 9000
     2021-07-10 16:30:36   input0          1
     2021-07-10 16:30:36   input1          0
     2021-07-10 15:58:32   ip              192.168.178.60
     2021-07-10 15:58:32   mac             8CAAB54CCBC8
     2021-07-10 15:58:32   model           SHSW-25
     2021-07-10 15:58:32   new_fw          false
     2021-07-10 15:58:32   online          true
     2021-07-10 16:30:36   overtemperature 0
     2021-07-10 16:30:36   pct             60
     2021-07-10 16:30:36   power           0.00
     2021-07-10 16:30:36   roller_0_energy 4548
     2021-07-10 16:30:36   roller_0_power  0.00
     2021-07-10 16:30:36   roller_0_stop_reason normal
     2021-07-10 16:30:36   state           60
     2021-07-10 16:30:36   temperature     55.96
     2021-07-10 16:30:36   temperature_f   132.73
     2021-07-10 16:30:36   temperature_status Normal
     2021-07-07 15:57:12   x_mqttcom       set announce
Attributes:
   ASC        2
   ASC_AutoAstroModeEvening HORIZON
   ASC_AutoAstroModeEveningHorizon -7
   ASC_AutoAstroModeMorning CIVIL
   ASC_AutoAstroModeMorningHorizon -5
   ASC_BrightnessSensor Lichtsensor:brightnessInt
   ASC_Down   astro
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Pos_Reading pct
   ASC_RainProtection on
   ASC_Shading_BetweenTheTime 08:00-18:00
   ASC_Shading_InOutAzimuth 90:270
   ASC_Shading_MinMax_Elevation 10.0:100.0
   ASC_Shading_Min_OutsideTemperature 13
   ASC_Shading_Mode always
   ASC_Shading_Pos 0
   ASC_Shading_StateChange_SunnyCloudy 7000:4500
   ASC_Shading_WaitingPeriod 300
   ASC_Time_Down_Early 16:00
   ASC_Time_Down_Late 22:00
   ASC_Time_Up_Early 08:00
   ASC_Time_Up_Late 09:00
   ASC_Up     astro
   ASC_Ventilate_Pos 50
   ASC_Ventilate_Window_Open on
   ASC_WindowRec Melder_Gaestezimmer
   ASC_WindowRec_subType twostate
   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");; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "0" ? 'fts_shutter_100' : $con eq "100" ? 'fts_shutter_10' : $con =~ /9\d/ ? 'fts_shutter_10' : $con =~ /8\d/ ? 'fts_shutter_20' : $con =~ /7\d/ ? 'fts_shutter_30' : $con =~ /6\d/ ? 'fts_shutter_40' : $con =~ /5\d/ ? 'fts_shutter_50' : $con =~ /4\d/ ? 'fts_shutter_60' : $con =~ /3\d/ ? 'fts_shutter_70' : $con =~ /2\d/ ? 'fts_shutter_80' : $con =~ /1\d/ ? 'fts_shutter_90' : 'fts_shutter_updown';; my $show = "$amp" eq "gelb" ? "".FW_makeImage("10px-kreis-".$amp)."" : "".FW_makeImage("10px-kreis-".$amp)."";; "
$show ".FW_makeImage($pic)."
" }
   event-on-change-reading (?!.*?(temperature)).*
   eventMap   open:opens close:closes
   group      Rolladen
   model      shelly25_roller_invert_0
   readingList shellies/shellyswitch25-8CAAB54CCBC8/roller/0/pos:.* pct
  shellies/shellyswitch25-8CAAB54CCBC8/status/0/rollers:.* power
  shellies/shellyswitch25-8CAAB54CCBC8/online:.* online
  shellies/shellyswitch25-8CAAB54CCBC8/announce:.* { json2nameValue($EVENT) }
  shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-8CAAB54CCBC8...mac.*, ? json2nameValue($EVENT) : return }
  shellies/shellyswitch25-8CAAB54CCBC8/roller/0:.* current
  shellies/shellyswitch25-8CAAB54CCBC8/roller/0:open {{'state' => 'opening'}}
  shellies/shellyswitch25-8CAAB54CCBC8/roller/0:close {{'state' => 'closing'}}
  shellies/shellyswitch25-8CAAB54CCBC8/roller/0/pos:.* state
  shellies/shellyswitch25-8CAAB54CCBC8/input/1:.* input1
  shellies/shellyswitch25-8CAAB54CCBC8/input/0:.* input0
  shellies/shellyswitch25-8CAAB54CCBC8/relay/power:.* power
  shellies/shellyswitch25-8CAAB54CCBC8/relay/energy:.* energy
  shellies/shellyswitch25-8CAAB54CCBC8/temperature:.* temperature
  shellies/shellyswitch25-8CAAB54CCBC8/overtemperature:.* overtemperature
  shellies/shellyswitch25-8CAAB54CCBC8/roller/0/power:.* roller_0_power
  shellies/shellyswitch25-8CAAB54CCBC8/roller/0/energy:.* roller_0_energy
  shellies/shellyswitch25-8CAAB54CCBC8/temperature_f:.* temperature_f
shellyswitch25_8CAAB54CCBC8:shellies/shellyswitch25-8CAAB54CCBC8/info:.* { json2nameValue($EVENT, 'info_', $JSONMAP) }
shellyswitch25_8CAAB54CCBC8:shellies/shellyswitch25-8CAAB54CCBC8/temperature_status:.* temperature_status
shellyswitch25_8CAAB54CCBC8:shellies/shellyswitch25-8CAAB54CCBC8/roller/0/stop_reason:.* roller_0_stop_reason
   room       ASC,MQTT2_DEVICE
   setList    open:noArg shellies/shellyswitch25-8CAAB54CCBC8/roller/0/command open
  close:noArg shellies/shellyswitch25-8CAAB54CCBC8/roller/0/command close
  half:noArg shellies/shellyswitch25-8CAAB54CCBC8/roller/0/command/pos 50
  stop:noArg shellies/shellyswitch25-8CAAB54CCBC8/roller/0/command stop
  pct:slider,0,1,100 shellies/shellyswitch25-8CAAB54CCBC8/roller/0/command/pos $EVTPART1
  x_recalibration:noArg shellies/shellyswitch25-8CAAB54CCBC8/roller/0/command rc
  x_update:noArg shellies/shellyswitch25-8CAAB54CCBC8/command update_fw
  x_mqttcom shellies/shellyswitch25-8CAAB54CCBC8/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:0,10,20,30,40,50,60,70,80,90,100 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



EDIT: Der hier klappt wieder, weiß aber nicht warum:
Und dieser hier, der vorher geklappt hatte, will trotz der Brightness von 4500 nicht entschatten:
Internals:
   CID        shellyswitch25_8CAAB54CC9C2
   DEF        shellyswitch25_8CAAB54CC9C2
   DEVICETOPIC RolladenArbeitszimmer
   FUUID      60dc8a7d-f33f-26cd-f289-3c99fee09a939aa1
   IODev      MQTT2_FHEM_Server
   LASTInputDev MQTT2_FHEM_Server
   MQTT2_FHEM_Server_MSGCNT 946
   MQTT2_FHEM_Server_TIME 2021-07-10 16:34:02
   MSGCNT     946
   NAME       RolladenArbeitszimmer
   NR         1284
   STATE      0
   TYPE       MQTT2_DEVICE
   READINGS:
     2021-07-10 15:58:13   ASC_Enable      on
     2021-07-10 16:33:14   ASC_ShadingMessage INFO: current shading status is 'in' - next check in 20m
     2021-07-10 15:59:26   ASC_Time_DriveDown 10.07.2021 - 22:30
     2021-07-10 15:59:26   ASC_Time_DriveUp 11.07.2021 - 07:15
     2021-07-10 15:58:12   IODev           MQTT2_FHEM_Server
     2021-07-10 15:59:23   associatedWith  Rolladensteuerung,none
     2021-06-30 17:18:49   attrTemplateVersion 20210126
     2021-07-10 16:34:02   current         stop
     2021-07-10 16:34:02   energy          15558
     2021-07-10 15:58:31   fw_ver          20210429-100559/v1.10.4-g3f94cd7
     2021-07-10 15:58:31   id              shellyswitch25-8CAAB54CC9C2
     2021-06-30 17:18:49   info_actions_stats_skipped 0
     2021-06-30 17:18:49   info_cfg_changed_cnt 0
     2021-06-30 17:18:49   info_cloud_connected false
     2021-06-30 17:18:49   info_cloud_enabled false
     2021-06-30 17:18:49   info_fs_free    146333
     2021-06-30 17:18:49   info_fs_size    233681
     2021-06-30 17:18:49   info_has_update false
     2021-06-30 17:18:49   info_inputs_1_event
     2021-06-30 17:18:49   info_inputs_1_event_cnt 0
     2021-06-30 17:18:49   info_inputs_1_input 0
     2021-06-30 17:18:49   info_inputs_2_event
     2021-06-30 17:18:49   info_inputs_2_event_cnt 0
     2021-06-30 17:18:49   info_inputs_2_input 0
     2021-06-30 17:18:49   info_mac        8CAAB54CC9C2
     2021-06-30 17:18:49   info_meters_1_counters_1 0.000
     2021-06-30 17:18:49   info_meters_1_counters_2 0.000
     2021-06-30 17:18:49   info_meters_1_counters_3 0.000
     2021-06-30 17:18:49   info_meters_1_is_valid true
     2021-06-30 17:18:49   info_meters_1_overpower 0.00
     2021-06-30 17:18:49   info_meters_1_power 0.00
     2021-06-30 17:18:49   info_meters_1_timestamp 1625073529
     2021-06-30 17:18:49   info_meters_1_total 0
     2021-06-30 17:18:49   info_meters_2_counters_1 0.000
     2021-06-30 17:18:49   info_meters_2_counters_2 0.000
     2021-06-30 17:18:49   info_meters_2_counters_3 0.000
     2021-06-30 17:18:49   info_meters_2_is_valid true
     2021-06-30 17:18:49   info_meters_2_overpower 0.00
     2021-06-30 17:18:49   info_meters_2_power 0.00
     2021-06-30 17:18:49   info_meters_2_timestamp 1625073529
     2021-06-30 17:18:49   info_meters_2_total 0
     2021-06-30 17:18:49   info_mqtt_connected true
     2021-06-30 17:18:49   info_overtemperature false
     2021-06-30 17:18:49   info_ping_check true
     2021-06-30 17:18:49   info_ram_free   35004
     2021-06-30 17:18:49   info_ram_total  49272
     2021-06-30 17:18:49   info_rollers_1_calibrating false
     2021-06-30 17:18:49   info_rollers_1_current_pos 101
     2021-06-30 17:18:49   info_rollers_1_is_valid true
     2021-06-30 17:18:49   info_rollers_1_last_direction close
     2021-06-30 17:18:49   info_rollers_1_overtemperature false
     2021-06-30 17:18:49   info_rollers_1_positioning true
     2021-06-30 17:18:49   info_rollers_1_power 0.00
     2021-06-30 17:18:49   info_rollers_1_safety_switch false
     2021-06-30 17:18:49   info_rollers_1_source input
     2021-06-30 17:18:49   info_rollers_1_state stop
     2021-06-30 17:18:49   info_rollers_1_stop_reason normal
     2021-06-30 17:18:49   info_serial     2
     2021-06-30 17:18:49   info_temperature 57.29
     2021-06-30 17:18:49   info_temperature_status Normal
     2021-06-30 17:18:49   info_time       17:18
     2021-06-30 17:18:49   info_tmp_is_valid true
     2021-06-30 17:18:49   info_tmp_tC     57.29
     2021-06-30 17:18:49   info_tmp_tF     135.12
     2021-06-30 17:18:49   info_unixtime   1625066329
     2021-06-30 17:18:49   info_update_has_update false
     2021-06-30 17:18:49   info_update_new_version 20210429-100559/v1.10.4-g3f94cd7
     2021-06-30 17:18:49   info_update_old_version 20210429-100559/v1.10.4-g3f94cd7
     2021-06-30 17:18:49   info_update_status idle
     2021-06-30 17:18:49   info_uptime     224
     2021-06-30 17:18:49   info_voltage    239.32
     2021-06-30 17:18:49   info_wifi_sta_connected true
     2021-06-30 17:18:49   info_wifi_sta_ip 192.168.178.59
     2021-06-30 17:18:49   info_wifi_sta_rssi -48
     2021-06-30 17:18:49   info_wifi_sta_ssid HAL 9000
     2021-07-10 16:34:02   input0          0
     2021-07-10 16:34:02   input1          0
     2021-07-10 15:58:31   ip              192.168.178.59
     2021-07-10 15:58:31   mac             8CAAB54CC9C2
     2021-07-10 15:58:31   model           SHSW-25
     2021-07-10 15:58:31   new_fw          false
     2021-07-10 15:58:31   online          true
     2021-07-10 16:34:02   overtemperature 0
     2021-07-10 16:34:02   pct             0
     2021-07-10 16:34:02   power           0.00
     2021-07-10 16:34:02   roller_0_energy 15558
     2021-07-10 16:34:02   roller_0_power  0.00
     2021-07-10 16:34:02   roller_0_stop_reason normal
     2021-07-10 16:34:02   state           0
     2021-07-10 16:34:02   temperature     56.62
     2021-07-10 16:34:02   temperature_f   133.91
     2021-07-10 16:34:02   temperature_status Normal
     2021-06-30 17:18:48   x_mqttcom       set announce
Attributes:
   ASC        2
   ASC_AutoAstroModeEvening HORIZON
   ASC_AutoAstroModeEveningHorizon -7
   ASC_AutoAstroModeMorning CIVIL
   ASC_AutoAstroModeMorningHorizon -5
   ASC_BrightnessSensor Lichtsensor:brightnessInt
   ASC_Down   astro
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Pos_Reading pct
   ASC_RainProtection on
   ASC_Shading_BetweenTheTime 08:00-18:00
   ASC_Shading_InOutAzimuth 90:255
   ASC_Shading_MinMax_Elevation 10.0:100.0
   ASC_Shading_Min_OutsideTemperature 18
   ASC_Shading_Mode always
   ASC_Shading_Pos {ASC_Shading_Pos_RolladenArbeitszimmer()}
   ASC_Shading_StateChange_SunnyCloudy 8000:6900
   ASC_Shading_WaitingPeriod 1200
   ASC_Time_Down_Early 20:00
   ASC_Time_Down_Late 22:30
   ASC_Time_Up_Early 07:15
   ASC_Time_Up_Late 09:00
   ASC_Up     astro
   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");; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "0" ? 'fts_shutter_100' : $con eq "100" ? 'fts_shutter_10' : $con =~ /9\d/ ? 'fts_shutter_10' : $con =~ /8\d/ ? 'fts_shutter_20' : $con =~ /7\d/ ? 'fts_shutter_30' : $con =~ /6\d/ ? 'fts_shutter_40' : $con =~ /5\d/ ? 'fts_shutter_50' : $con =~ /4\d/ ? 'fts_shutter_60' : $con =~ /3\d/ ? 'fts_shutter_70' : $con =~ /2\d/ ? 'fts_shutter_80' : $con =~ /1\d/ ? 'fts_shutter_90' : 'fts_shutter_updown';; my $show = "$amp" eq "gelb" ? "".FW_makeImage("10px-kreis-".$amp)."" : "".FW_makeImage("10px-kreis-".$amp)."";; "
$show ".FW_makeImage($pic)."
" }
   event-on-change-reading (?!.*?(temperature)).*
   eventMap   open:opens close:closes
   group      Rolladen
   model      shelly25_roller_invert_0
   readingList shellies/shellyswitch25-8CAAB54CC9C2/roller/0/pos:.* pct
  shellies/shellyswitch25-8CAAB54CC9C2/status/0/rollers:.* power
  shellies/shellyswitch25-8CAAB54CC9C2/online:.* online
  shellies/shellyswitch25-8CAAB54CC9C2/announce:.* { json2nameValue($EVENT) }
  shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-8CAAB54CC9C2...mac.*, ? json2nameValue($EVENT) : return }
  shellies/shellyswitch25-8CAAB54CC9C2/roller/0:.* current
  shellies/shellyswitch25-8CAAB54CC9C2/roller/0:open {{'state' => 'opening'}}
  shellies/shellyswitch25-8CAAB54CC9C2/roller/0:close {{'state' => 'closing'}}
  shellies/shellyswitch25-8CAAB54CC9C2/roller/0/pos:.* state
  shellies/shellyswitch25-8CAAB54CC9C2/input/1:.* input1
  shellies/shellyswitch25-8CAAB54CC9C2/input/0:.* input0
  shellies/shellyswitch25-8CAAB54CC9C2/relay/power:.* power
  shellies/shellyswitch25-8CAAB54CC9C2/relay/energy:.* energy
  shellies/shellyswitch25-8CAAB54CC9C2/temperature:.* temperature
  shellies/shellyswitch25-8CAAB54CC9C2/overtemperature:.* overtemperature
  shellies/shellyswitch25-8CAAB54CC9C2/roller/0/power:.* roller_0_power
  shellies/shellyswitch25-8CAAB54CC9C2/roller/0/energy:.* roller_0_energy
  shellies/shellyswitch25-8CAAB54CC9C2/temperature_f:.* temperature_f
shellyswitch25_8CAAB54CC9C2:shellies/shellyswitch25-8CAAB54CC9C2/info:.* { json2nameValue($EVENT, 'info_', $JSONMAP) }
shellyswitch25_8CAAB54CC9C2:shellies/shellyswitch25-8CAAB54CC9C2/roller/0/stop_reason:.* roller_0_stop_reason
shellyswitch25_8CAAB54CC9C2:shellies/shellyswitch25-8CAAB54CC9C2/temperature_status:.* temperature_status
   room       ASC,MQTT2_DEVICE
   setList    open:noArg shellies/shellyswitch25-8CAAB54CC9C2/roller/0/command open
  close:noArg shellies/shellyswitch25-8CAAB54CC9C2/roller/0/command close
  half:noArg shellies/shellyswitch25-8CAAB54CC9C2/roller/0/command/pos 50
  stop:noArg shellies/shellyswitch25-8CAAB54CC9C2/roller/0/command stop
  pct:slider,0,1,100 shellies/shellyswitch25-8CAAB54CC9C2/roller/0/command/pos $EVTPART1
  x_recalibration:noArg shellies/shellyswitch25-8CAAB54CC9C2/roller/0/command rc
  x_update:noArg shellies/shellyswitch25-8CAAB54CC9C2/command update_fw
  x_mqttcom shellies/shellyswitch25-8CAAB54CC9C2/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




Raspberry Pi 4B, Homematic, Sonoff, Shelly, Worx, Arduino, ESP8266

CoolTux

Zitat von: balli1187 am 10 Juli 2021, 15:56:46

Wie sieht es denn bezüglich der Trigger-Option für morgendliche und abendliche Fahrten aus?
Liese sich das realisieren? Oder wurde das schon diskutiert???

Was meinst du genau?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Zitat von: FFHEM am 10 Juli 2021, 16:36:37
Mein zuletzt hinzugefügter Shelly-Rolladen "RolladenGaestezimmer" (5 andere funktionieren) klappt nicht mit dem ASC, da ist irgendwie durch meine Konfiguration der Wurm drin.
Er fährt nicht in die Schattierung, und ein Test soeben zeigt, dass er noch nicht einmal die (testweise ausprobierte) Time_Down_Early (16:03) berücksichtigt.
Ich habe bereits diesen Rolladen über ASC = 0 aus dem ASC herausgenommen, dann alle ASC_-Attribute gelöscht, dann wieder neu angelegt, keine Änderung.
Was mich auch stutzig macht, ist, dass beim Reading
associatedWith  Rolladensteuerung,none
plötzlich nicht nur Rolladensteuerung, sondern auch "none" auftritt, das war vorher nicht so.
Bevor ich den Rolladen aus dem ASC herausnahm, stimmte auch die Debugausgabe im Log nicht mit der Rainprotection überein. Also alles merkwürdige Sachen.

Habe dann das ASC-Device gelöscht, danach waren wie erwartet auch alle ASC-Attribute in allen Rolladen gelöscht. Dann ASC neu angelegt. Habe dann den RolladenGaestezimmer als einzigen Rolladen eingetragen - keine Wirkung. Jetzt habe ich eine vorherige fhem.cfg-Sicherung wieder eingespielt.
Und jetzt scheint auch z. B. RolladenArbeitszimmer nicht mehr aus der Schattierung herauszufahren.

Wie kann ich nun am besten systematisch vorgehen? Vielen Dank!
ASC-Device:
Internals:
   FUUID      60c617ec-f33f-26cd-34ab-c889e2099b294d9a
   FVERSION   73_AutoShuttersControl.pm:v0.10.15-s24586/2021-06-05
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       Rolladensteuerung
   NOTIFYDEV  global,Rolladensteuerung,RolladenArbeitszimmer,RolladenFlur,RolladenGaesteWC,RolladenGaestezimmer,RolladenKuecheLinks,RolladenKuecheRechts,RolladenWohnzimmerLinks,RolladenWohnzimmerRechts,Twilight,ASC_Residents,di_RegensensorVerzoegerung,Lichtsensor
   NR         1278
   NTFY_ORDER 51-Rolladensteuerung
   STATE      manual
   TYPE       AutoShuttersControl
   VERSION    v0.10.15
   OLDREADINGS:
   READINGS:
     2021-07-10 15:59:26   RolladenArbeitszimmer_nextAstroTimeEvent 10.07.2021 - 22:30
     2021-07-10 15:59:26   RolladenFlur_nextAstroTimeEvent 10.07.2021 - 22:43
     2021-07-10 15:59:26   RolladenGaesteWC_nextAstroTimeEvent 10.07.2021 - 22:15
     2021-07-10 16:28:06   RolladenGaestezimmer_PosValue 60
     2021-07-10 16:27:29   RolladenGaestezimmer_nextAstroTimeEvent 10.07.2021 - 22:00
     2021-07-10 15:59:26   RolladenKuecheLinks_nextAstroTimeEvent 10.07.2021 - 22:30
     2021-07-10 15:59:27   RolladenKuecheRechts_nextAstroTimeEvent 10.07.2021 - 22:24
     2021-07-10 15:59:27   RolladenWohnzimmerLinks_nextAstroTimeEvent 10.07.2021 - 22:34
     2021-07-10 15:59:27   RolladenWohnzimmerRechts_nextAstroTimeEvent 10.07.2021 - 22:34
     2021-07-10 15:31:58   ascEnable       on
     2021-07-10 16:22:23   controlShading  on
     2021-07-10 15:58:13   hardLockOut     off
     2021-07-10 15:59:22   room_ASC_MQTT2_DEVICE RolladenArbeitszimmer,RolladenGaestezimmer
     2021-07-10 15:59:22   room_ASC_MQTT2_DEVICE___bersicht RolladenFlur,RolladenGaesteWC,RolladenKuecheLinks,RolladenKuecheRechts
     2021-07-10 15:59:22   room_ASC___bersicht RolladenWohnzimmerLinks,RolladenWohnzimmerRechts
     2021-07-10 15:58:13   selfDefense     off
     2021-07-10 16:28:06   state           manual
     2021-07-10 15:58:13   sunriseTimeWeHoliday off
     2021-07-10 15:59:22   userAttrList    rolled out
   helper:
     shuttersList:
       RolladenArbeitszimmer
       RolladenFlur
       RolladenGaesteWC
       RolladenGaestezimmer
       RolladenKuecheLinks
       RolladenKuecheRechts
       RolladenWohnzimmerLinks
       RolladenWohnzimmerRechts
   monitoredDevs:
     ASC_Residents:
       Rolladensteuerung ASC_residentsDev
     Lichtsensor:
       RolladenGaestezimmer ASC_BrightnessSensor
     RolladenArbeitszimmer:
     RolladenFlur:
     RolladenGaesteWC:
     RolladenGaestezimmer:
     RolladenKuecheLinks:
     RolladenKuecheRechts:
     RolladenWohnzimmerLinks:
     RolladenWohnzimmerRechts:
     Twilight:
       Rolladensteuerung ASC_twilightDevice
     di_RegensensorVerzoegerung:
       Rolladensteuerung ASC_rainSensor
Attributes:
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_rainSensor di_RegensensorVerzoegerung:Regen
   ASC_residentsDev ASC_Residents:state
   ASC_tempSensor Aussen_Temperatur:temperature
   ASC_twilightDevice Twilight
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       ASC
   webCmd     ascEnable


Der hartnäckige Rolladen, der nicht schattieren und nicht fahren will (manuell natürlich möglich):
Internals:
   CID        shellyswitch25_8CAAB54CCBC8
   DEF        shellyswitch25_8CAAB54CCBC8
   DEVICETOPIC RolladenGaestezimmer
   FUUID      60e5ac77-f33f-26cd-9819-a944d7a6fc0756e9
   IODev      MQTT2_FHEM_Server
   LASTInputDev MQTT2_FHEM_Server
   MQTT2_FHEM_Server_MSGCNT 861
   MQTT2_FHEM_Server_TIME 2021-07-10 16:30:36
   MSGCNT     861
   NAME       RolladenGaestezimmer
   NR         1288
   STATE      60
   TYPE       MQTT2_DEVICE
   READINGS:
     2021-07-10 15:23:47   ASC_Enable      on
     2021-07-10 16:28:29   ASC_ShadingMessage INFO: current shading status is 'in reserved' - next check in 2.5m
     2021-07-10 16:28:06   ASC_ShuttersLastDrive manual
     2021-07-10 16:27:29   ASC_Time_DriveDown 10.07.2021 - 22:00
     2021-07-10 16:27:29   ASC_Time_DriveUp 11.07.2021 - 08:00
     2021-07-10 15:58:13   IODev           MQTT2_FHEM_Server
     2021-07-10 15:59:23   associatedWith  Rolladensteuerung,none
     2021-07-07 15:57:12   attrTemplateVersion 20210126
     2021-07-10 16:30:36   current         stop
     2021-07-10 16:30:36   energy          4548
     2021-07-10 15:58:32   fw_ver          20210429-100559/v1.10.4-g3f94cd7
     2021-07-10 15:58:32   id              shellyswitch25-8CAAB54CCBC8
     2021-07-07 15:57:13   info_actions_stats_skipped 0
     2021-07-07 15:57:13   info_cfg_changed_cnt 0
     2021-07-07 15:57:13   info_cloud_connected false
     2021-07-07 15:57:13   info_cloud_enabled false
     2021-07-07 15:57:13   info_fs_free    146584
     2021-07-07 15:57:13   info_fs_size    233681
     2021-07-07 15:57:13   info_has_update false
     2021-07-07 15:57:13   info_inputs_1_event
     2021-07-07 15:57:13   info_inputs_1_event_cnt 0
     2021-07-07 15:57:13   info_inputs_1_input 0
     2021-07-07 15:57:13   info_inputs_2_event
     2021-07-07 15:57:13   info_inputs_2_event_cnt 0
     2021-07-07 15:57:13   info_inputs_2_input 0
     2021-07-07 15:57:13   info_mac        8CAAB54CCBC8
     2021-07-07 15:57:13   info_meters_1_counters_1 0.000
     2021-07-07 15:57:13   info_meters_1_counters_2 0.000
     2021-07-07 15:57:13   info_meters_1_counters_3 0.000
     2021-07-07 15:57:13   info_meters_1_is_valid true
     2021-07-07 15:57:13   info_meters_1_overpower 0.00
     2021-07-07 15:57:13   info_meters_1_power 0.00
     2021-07-07 15:57:13   info_meters_1_timestamp 1625673433
     2021-07-07 15:57:13   info_meters_1_total 0
     2021-07-07 15:57:13   info_meters_2_counters_1 0.000
     2021-07-07 15:57:13   info_meters_2_counters_2 0.000
     2021-07-07 15:57:13   info_meters_2_counters_3 0.000
     2021-07-07 15:57:13   info_meters_2_is_valid true
     2021-07-07 15:57:13   info_meters_2_overpower 0.00
     2021-07-07 15:57:13   info_meters_2_power 0.00
     2021-07-07 15:57:13   info_meters_2_timestamp 1625673433
     2021-07-07 15:57:13   info_meters_2_total 0
     2021-07-07 15:57:13   info_mqtt_connected true
     2021-07-07 15:57:13   info_overtemperature false
     2021-07-07 15:57:13   info_ping_check true
     2021-07-07 15:57:13   info_ram_free   34852
     2021-07-07 15:57:13   info_ram_total  49272
     2021-07-07 15:57:13   info_rollers_1_calibrating false
     2021-07-07 15:57:13   info_rollers_1_current_pos 101
     2021-07-07 15:57:13   info_rollers_1_is_valid true
     2021-07-07 15:57:13   info_rollers_1_last_direction close
     2021-07-07 15:57:13   info_rollers_1_overtemperature false
     2021-07-07 15:57:13   info_rollers_1_positioning true
     2021-07-07 15:57:13   info_rollers_1_power 0.00
     2021-07-07 15:57:13   info_rollers_1_safety_switch false
     2021-07-07 15:57:13   info_rollers_1_source input
     2021-07-07 15:57:13   info_rollers_1_state stop
     2021-07-07 15:57:13   info_rollers_1_stop_reason normal
     2021-07-07 15:57:13   info_serial     2
     2021-07-07 15:57:13   info_temperature 57.29
     2021-07-07 15:57:13   info_temperature_status Normal
     2021-07-07 15:57:13   info_time       15:57
     2021-07-07 15:57:13   info_tmp_is_valid true
     2021-07-07 15:57:13   info_tmp_tC     57.29
     2021-07-07 15:57:13   info_tmp_tF     135.12
     2021-07-07 15:57:13   info_unixtime   1625666233
     2021-07-07 15:57:13   info_update_beta_version 20210702-121359/v1.11.0-rc2-g7766530
     2021-07-07 15:57:13   info_update_has_update false
     2021-07-07 15:57:13   info_update_new_version 20210429-100559/v1.10.4-g3f94cd7
     2021-07-07 15:57:13   info_update_old_version 20210429-100559/v1.10.4-g3f94cd7
     2021-07-07 15:57:13   info_update_status idle
     2021-07-07 15:57:13   info_uptime     1607
     2021-07-07 15:57:13   info_voltage    236.91
     2021-07-07 15:57:13   info_wifi_sta_connected true
     2021-07-07 15:57:13   info_wifi_sta_ip 192.168.178.60
     2021-07-07 15:57:13   info_wifi_sta_rssi -52
     2021-07-07 15:57:13   info_wifi_sta_ssid HAL 9000
     2021-07-10 16:30:36   input0          1
     2021-07-10 16:30:36   input1          0
     2021-07-10 15:58:32   ip              192.168.178.60
     2021-07-10 15:58:32   mac             8CAAB54CCBC8
     2021-07-10 15:58:32   model           SHSW-25
     2021-07-10 15:58:32   new_fw          false
     2021-07-10 15:58:32   online          true
     2021-07-10 16:30:36   overtemperature 0
     2021-07-10 16:30:36   pct             60
     2021-07-10 16:30:36   power           0.00
     2021-07-10 16:30:36   roller_0_energy 4548
     2021-07-10 16:30:36   roller_0_power  0.00
     2021-07-10 16:30:36   roller_0_stop_reason normal
     2021-07-10 16:30:36   state           60
     2021-07-10 16:30:36   temperature     55.96
     2021-07-10 16:30:36   temperature_f   132.73
     2021-07-10 16:30:36   temperature_status Normal
     2021-07-07 15:57:12   x_mqttcom       set announce
Attributes:
   ASC        2
   ASC_AutoAstroModeEvening HORIZON
   ASC_AutoAstroModeEveningHorizon -7
   ASC_AutoAstroModeMorning CIVIL
   ASC_AutoAstroModeMorningHorizon -5
   ASC_BrightnessSensor Lichtsensor:brightnessInt
   ASC_Down   astro
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Pos_Reading pct
   ASC_RainProtection on
   ASC_Shading_BetweenTheTime 08:00-18:00
   ASC_Shading_InOutAzimuth 90:270
   ASC_Shading_MinMax_Elevation 10.0:100.0
   ASC_Shading_Min_OutsideTemperature 13
   ASC_Shading_Mode always
   ASC_Shading_Pos 0
   ASC_Shading_StateChange_SunnyCloudy 7000:4500
   ASC_Shading_WaitingPeriod 300
   ASC_Time_Down_Early 16:00
   ASC_Time_Down_Late 22:00
   ASC_Time_Up_Early 08:00
   ASC_Time_Up_Late 09:00
   ASC_Up     astro
   ASC_Ventilate_Pos 50
   ASC_Ventilate_Window_Open on
   ASC_WindowRec Melder_Gaestezimmer
   ASC_WindowRec_subType twostate
   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");; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "0" ? 'fts_shutter_100' : $con eq "100" ? 'fts_shutter_10' : $con =~ /9\d/ ? 'fts_shutter_10' : $con =~ /8\d/ ? 'fts_shutter_20' : $con =~ /7\d/ ? 'fts_shutter_30' : $con =~ /6\d/ ? 'fts_shutter_40' : $con =~ /5\d/ ? 'fts_shutter_50' : $con =~ /4\d/ ? 'fts_shutter_60' : $con =~ /3\d/ ? 'fts_shutter_70' : $con =~ /2\d/ ? 'fts_shutter_80' : $con =~ /1\d/ ? 'fts_shutter_90' : 'fts_shutter_updown';; my $show = "$amp" eq "gelb" ? "".FW_makeImage("10px-kreis-".$amp)."" : "".FW_makeImage("10px-kreis-".$amp)."";; "
$show ".FW_makeImage($pic)."
" }
   event-on-change-reading (?!.*?(temperature)).*
   eventMap   open:opens close:closes
   group      Rolladen
   model      shelly25_roller_invert_0
   readingList shellies/shellyswitch25-8CAAB54CCBC8/roller/0/pos:.* pct
  shellies/shellyswitch25-8CAAB54CCBC8/status/0/rollers:.* power
  shellies/shellyswitch25-8CAAB54CCBC8/online:.* online
  shellies/shellyswitch25-8CAAB54CCBC8/announce:.* { json2nameValue($EVENT) }
  shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-8CAAB54CCBC8...mac.*, ? json2nameValue($EVENT) : return }
  shellies/shellyswitch25-8CAAB54CCBC8/roller/0:.* current
  shellies/shellyswitch25-8CAAB54CCBC8/roller/0:open {{'state' => 'opening'}}
  shellies/shellyswitch25-8CAAB54CCBC8/roller/0:close {{'state' => 'closing'}}
  shellies/shellyswitch25-8CAAB54CCBC8/roller/0/pos:.* state
  shellies/shellyswitch25-8CAAB54CCBC8/input/1:.* input1
  shellies/shellyswitch25-8CAAB54CCBC8/input/0:.* input0
  shellies/shellyswitch25-8CAAB54CCBC8/relay/power:.* power
  shellies/shellyswitch25-8CAAB54CCBC8/relay/energy:.* energy
  shellies/shellyswitch25-8CAAB54CCBC8/temperature:.* temperature
  shellies/shellyswitch25-8CAAB54CCBC8/overtemperature:.* overtemperature
  shellies/shellyswitch25-8CAAB54CCBC8/roller/0/power:.* roller_0_power
  shellies/shellyswitch25-8CAAB54CCBC8/roller/0/energy:.* roller_0_energy
  shellies/shellyswitch25-8CAAB54CCBC8/temperature_f:.* temperature_f
shellyswitch25_8CAAB54CCBC8:shellies/shellyswitch25-8CAAB54CCBC8/info:.* { json2nameValue($EVENT, 'info_', $JSONMAP) }
shellyswitch25_8CAAB54CCBC8:shellies/shellyswitch25-8CAAB54CCBC8/temperature_status:.* temperature_status
shellyswitch25_8CAAB54CCBC8:shellies/shellyswitch25-8CAAB54CCBC8/roller/0/stop_reason:.* roller_0_stop_reason
   room       ASC,MQTT2_DEVICE
   setList    open:noArg shellies/shellyswitch25-8CAAB54CCBC8/roller/0/command open
  close:noArg shellies/shellyswitch25-8CAAB54CCBC8/roller/0/command close
  half:noArg shellies/shellyswitch25-8CAAB54CCBC8/roller/0/command/pos 50
  stop:noArg shellies/shellyswitch25-8CAAB54CCBC8/roller/0/command stop
  pct:slider,0,1,100 shellies/shellyswitch25-8CAAB54CCBC8/roller/0/command/pos $EVTPART1
  x_recalibration:noArg shellies/shellyswitch25-8CAAB54CCBC8/roller/0/command rc
  x_update:noArg shellies/shellyswitch25-8CAAB54CCBC8/command update_fw
  x_mqttcom shellies/shellyswitch25-8CAAB54CCBC8/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:0,10,20,30,40,50,60,70,80,90,100 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



EDIT: Der hier klappt wieder, weiß aber nicht warum:
Und dieser hier, der vorher geklappt hatte, will trotz der Brightness von 4500 nicht entschatten:
Internals:
   CID        shellyswitch25_8CAAB54CC9C2
   DEF        shellyswitch25_8CAAB54CC9C2
   DEVICETOPIC RolladenArbeitszimmer
   FUUID      60dc8a7d-f33f-26cd-f289-3c99fee09a939aa1
   IODev      MQTT2_FHEM_Server
   LASTInputDev MQTT2_FHEM_Server
   MQTT2_FHEM_Server_MSGCNT 946
   MQTT2_FHEM_Server_TIME 2021-07-10 16:34:02
   MSGCNT     946
   NAME       RolladenArbeitszimmer
   NR         1284
   STATE      0
   TYPE       MQTT2_DEVICE
   READINGS:
     2021-07-10 15:58:13   ASC_Enable      on
     2021-07-10 16:33:14   ASC_ShadingMessage INFO: current shading status is 'in' - next check in 20m
     2021-07-10 15:59:26   ASC_Time_DriveDown 10.07.2021 - 22:30
     2021-07-10 15:59:26   ASC_Time_DriveUp 11.07.2021 - 07:15
     2021-07-10 15:58:12   IODev           MQTT2_FHEM_Server
     2021-07-10 15:59:23   associatedWith  Rolladensteuerung,none
     2021-06-30 17:18:49   attrTemplateVersion 20210126
     2021-07-10 16:34:02   current         stop
     2021-07-10 16:34:02   energy          15558
     2021-07-10 15:58:31   fw_ver          20210429-100559/v1.10.4-g3f94cd7
     2021-07-10 15:58:31   id              shellyswitch25-8CAAB54CC9C2
     2021-06-30 17:18:49   info_actions_stats_skipped 0
     2021-06-30 17:18:49   info_cfg_changed_cnt 0
     2021-06-30 17:18:49   info_cloud_connected false
     2021-06-30 17:18:49   info_cloud_enabled false
     2021-06-30 17:18:49   info_fs_free    146333
     2021-06-30 17:18:49   info_fs_size    233681
     2021-06-30 17:18:49   info_has_update false
     2021-06-30 17:18:49   info_inputs_1_event
     2021-06-30 17:18:49   info_inputs_1_event_cnt 0
     2021-06-30 17:18:49   info_inputs_1_input 0
     2021-06-30 17:18:49   info_inputs_2_event
     2021-06-30 17:18:49   info_inputs_2_event_cnt 0
     2021-06-30 17:18:49   info_inputs_2_input 0
     2021-06-30 17:18:49   info_mac        8CAAB54CC9C2
     2021-06-30 17:18:49   info_meters_1_counters_1 0.000
     2021-06-30 17:18:49   info_meters_1_counters_2 0.000
     2021-06-30 17:18:49   info_meters_1_counters_3 0.000
     2021-06-30 17:18:49   info_meters_1_is_valid true
     2021-06-30 17:18:49   info_meters_1_overpower 0.00
     2021-06-30 17:18:49   info_meters_1_power 0.00
     2021-06-30 17:18:49   info_meters_1_timestamp 1625073529
     2021-06-30 17:18:49   info_meters_1_total 0
     2021-06-30 17:18:49   info_meters_2_counters_1 0.000
     2021-06-30 17:18:49   info_meters_2_counters_2 0.000
     2021-06-30 17:18:49   info_meters_2_counters_3 0.000
     2021-06-30 17:18:49   info_meters_2_is_valid true
     2021-06-30 17:18:49   info_meters_2_overpower 0.00
     2021-06-30 17:18:49   info_meters_2_power 0.00
     2021-06-30 17:18:49   info_meters_2_timestamp 1625073529
     2021-06-30 17:18:49   info_meters_2_total 0
     2021-06-30 17:18:49   info_mqtt_connected true
     2021-06-30 17:18:49   info_overtemperature false
     2021-06-30 17:18:49   info_ping_check true
     2021-06-30 17:18:49   info_ram_free   35004
     2021-06-30 17:18:49   info_ram_total  49272
     2021-06-30 17:18:49   info_rollers_1_calibrating false
     2021-06-30 17:18:49   info_rollers_1_current_pos 101
     2021-06-30 17:18:49   info_rollers_1_is_valid true
     2021-06-30 17:18:49   info_rollers_1_last_direction close
     2021-06-30 17:18:49   info_rollers_1_overtemperature false
     2021-06-30 17:18:49   info_rollers_1_positioning true
     2021-06-30 17:18:49   info_rollers_1_power 0.00
     2021-06-30 17:18:49   info_rollers_1_safety_switch false
     2021-06-30 17:18:49   info_rollers_1_source input
     2021-06-30 17:18:49   info_rollers_1_state stop
     2021-06-30 17:18:49   info_rollers_1_stop_reason normal
     2021-06-30 17:18:49   info_serial     2
     2021-06-30 17:18:49   info_temperature 57.29
     2021-06-30 17:18:49   info_temperature_status Normal
     2021-06-30 17:18:49   info_time       17:18
     2021-06-30 17:18:49   info_tmp_is_valid true
     2021-06-30 17:18:49   info_tmp_tC     57.29
     2021-06-30 17:18:49   info_tmp_tF     135.12
     2021-06-30 17:18:49   info_unixtime   1625066329
     2021-06-30 17:18:49   info_update_has_update false
     2021-06-30 17:18:49   info_update_new_version 20210429-100559/v1.10.4-g3f94cd7
     2021-06-30 17:18:49   info_update_old_version 20210429-100559/v1.10.4-g3f94cd7
     2021-06-30 17:18:49   info_update_status idle
     2021-06-30 17:18:49   info_uptime     224
     2021-06-30 17:18:49   info_voltage    239.32
     2021-06-30 17:18:49   info_wifi_sta_connected true
     2021-06-30 17:18:49   info_wifi_sta_ip 192.168.178.59
     2021-06-30 17:18:49   info_wifi_sta_rssi -48
     2021-06-30 17:18:49   info_wifi_sta_ssid HAL 9000
     2021-07-10 16:34:02   input0          0
     2021-07-10 16:34:02   input1          0
     2021-07-10 15:58:31   ip              192.168.178.59
     2021-07-10 15:58:31   mac             8CAAB54CC9C2
     2021-07-10 15:58:31   model           SHSW-25
     2021-07-10 15:58:31   new_fw          false
     2021-07-10 15:58:31   online          true
     2021-07-10 16:34:02   overtemperature 0
     2021-07-10 16:34:02   pct             0
     2021-07-10 16:34:02   power           0.00
     2021-07-10 16:34:02   roller_0_energy 15558
     2021-07-10 16:34:02   roller_0_power  0.00
     2021-07-10 16:34:02   roller_0_stop_reason normal
     2021-07-10 16:34:02   state           0
     2021-07-10 16:34:02   temperature     56.62
     2021-07-10 16:34:02   temperature_f   133.91
     2021-07-10 16:34:02   temperature_status Normal
     2021-06-30 17:18:48   x_mqttcom       set announce
Attributes:
   ASC        2
   ASC_AutoAstroModeEvening HORIZON
   ASC_AutoAstroModeEveningHorizon -7
   ASC_AutoAstroModeMorning CIVIL
   ASC_AutoAstroModeMorningHorizon -5
   ASC_BrightnessSensor Lichtsensor:brightnessInt
   ASC_Down   astro
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Pos_Reading pct
   ASC_RainProtection on
   ASC_Shading_BetweenTheTime 08:00-18:00
   ASC_Shading_InOutAzimuth 90:255
   ASC_Shading_MinMax_Elevation 10.0:100.0
   ASC_Shading_Min_OutsideTemperature 18
   ASC_Shading_Mode always
   ASC_Shading_Pos {ASC_Shading_Pos_RolladenArbeitszimmer()}
   ASC_Shading_StateChange_SunnyCloudy 8000:6900
   ASC_Shading_WaitingPeriod 1200
   ASC_Time_Down_Early 20:00
   ASC_Time_Down_Late 22:30
   ASC_Time_Up_Early 07:15
   ASC_Time_Up_Late 09:00
   ASC_Up     astro
   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");; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "0" ? 'fts_shutter_100' : $con eq "100" ? 'fts_shutter_10' : $con =~ /9\d/ ? 'fts_shutter_10' : $con =~ /8\d/ ? 'fts_shutter_20' : $con =~ /7\d/ ? 'fts_shutter_30' : $con =~ /6\d/ ? 'fts_shutter_40' : $con =~ /5\d/ ? 'fts_shutter_50' : $con =~ /4\d/ ? 'fts_shutter_60' : $con =~ /3\d/ ? 'fts_shutter_70' : $con =~ /2\d/ ? 'fts_shutter_80' : $con =~ /1\d/ ? 'fts_shutter_90' : 'fts_shutter_updown';; my $show = "$amp" eq "gelb" ? "".FW_makeImage("10px-kreis-".$amp)."" : "".FW_makeImage("10px-kreis-".$amp)."";; "
$show ".FW_makeImage($pic)."
" }
   event-on-change-reading (?!.*?(temperature)).*
   eventMap   open:opens close:closes
   group      Rolladen
   model      shelly25_roller_invert_0
   readingList shellies/shellyswitch25-8CAAB54CC9C2/roller/0/pos:.* pct
  shellies/shellyswitch25-8CAAB54CC9C2/status/0/rollers:.* power
  shellies/shellyswitch25-8CAAB54CC9C2/online:.* online
  shellies/shellyswitch25-8CAAB54CC9C2/announce:.* { json2nameValue($EVENT) }
  shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-8CAAB54CC9C2...mac.*, ? json2nameValue($EVENT) : return }
  shellies/shellyswitch25-8CAAB54CC9C2/roller/0:.* current
  shellies/shellyswitch25-8CAAB54CC9C2/roller/0:open {{'state' => 'opening'}}
  shellies/shellyswitch25-8CAAB54CC9C2/roller/0:close {{'state' => 'closing'}}
  shellies/shellyswitch25-8CAAB54CC9C2/roller/0/pos:.* state
  shellies/shellyswitch25-8CAAB54CC9C2/input/1:.* input1
  shellies/shellyswitch25-8CAAB54CC9C2/input/0:.* input0
  shellies/shellyswitch25-8CAAB54CC9C2/relay/power:.* power
  shellies/shellyswitch25-8CAAB54CC9C2/relay/energy:.* energy
  shellies/shellyswitch25-8CAAB54CC9C2/temperature:.* temperature
  shellies/shellyswitch25-8CAAB54CC9C2/overtemperature:.* overtemperature
  shellies/shellyswitch25-8CAAB54CC9C2/roller/0/power:.* roller_0_power
  shellies/shellyswitch25-8CAAB54CC9C2/roller/0/energy:.* roller_0_energy
  shellies/shellyswitch25-8CAAB54CC9C2/temperature_f:.* temperature_f
shellyswitch25_8CAAB54CC9C2:shellies/shellyswitch25-8CAAB54CC9C2/info:.* { json2nameValue($EVENT, 'info_', $JSONMAP) }
shellyswitch25_8CAAB54CC9C2:shellies/shellyswitch25-8CAAB54CC9C2/roller/0/stop_reason:.* roller_0_stop_reason
shellyswitch25_8CAAB54CC9C2:shellies/shellyswitch25-8CAAB54CC9C2/temperature_status:.* temperature_status
   room       ASC,MQTT2_DEVICE
   setList    open:noArg shellies/shellyswitch25-8CAAB54CC9C2/roller/0/command open
  close:noArg shellies/shellyswitch25-8CAAB54CC9C2/roller/0/command close
  half:noArg shellies/shellyswitch25-8CAAB54CC9C2/roller/0/command/pos 50
  stop:noArg shellies/shellyswitch25-8CAAB54CC9C2/roller/0/command stop
  pct:slider,0,1,100 shellies/shellyswitch25-8CAAB54CC9C2/roller/0/command/pos $EVTPART1
  x_recalibration:noArg shellies/shellyswitch25-8CAAB54CC9C2/roller/0/command rc
  x_update:noArg shellies/shellyswitch25-8CAAB54CC9C2/command update_fw
  x_mqttcom shellies/shellyswitch25-8CAAB54CC9C2/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


ASC löschen. Neustart FHEM. Schauen das alle ASC Attribute aus den Rollos sind ebenso die Readings. Dann ASC anlegen und erstmal nur ein Rollo konfigurieren.
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

balli1187

Zitat von: CoolTux am 10 Juli 2021, 17:09:48
Was meinst du genau?
Dies hier aus meinem ersten Post:

Über die SuFu habe im Thread zur Version 0.8.0 den folgenden Beitrag gefunden:
Zitat von: CoolTux am 03 November 2019, 14:20:44
Zitat von: Zitat von: MichaelO am 03 November 2019, 14:11:55
    Toll, danke für die schnelle Reaktion auf meinen Vorschlag.

    Das mit der Vorrangsteuerung ist tatsächlich eine Frage, die noch zu klären ist. Würde es das Device zu komplex machen, wenn man zu den bisherigen Modes ein entsprechendes Attribut einführt, ins Unreine gesprochen etwa

    ASC_ExternalTriggerMorningOverride
    ASC_ExternalTriggerEveningOverride
    ASC_ExternalTriggerSelfDefenseOverride
    ASC_ExternalTriggerShadingOverride
    ASC_ExternalTriggerPrivacyOverride
    etc.

    Wichtig wäre meiner Meinung nach, dass ASC nach Wegfall der ExternalTriggerDevice-Bedingung das tut, was zwischenzeitlich auch ohne den Trigger passiert wäre.


Ich schaue mir die Tage mal die nötigen Logiken an.
Die Variante fände ich sehr sehr schön.
Aktuell kann man ja per ASC_Down/ASC_Up wählen zwischen astro,time,brigtness und roommate (wobei zu roommate die Erklärung in der deutschen commandref und im Wiki fehlt). hier wäre es toll, wenn man auch einen eigenen (externen) Trigger definieren könnte. Also nicht als override sondern ganz regulär als Auslöser für die morgendlichen und abendlichen Fahrten.

Aktuell löse ich Routinen per Sprachbefehl aus, wenn ich morgens ins EG komme bzw., wenn ich abends ins Bett gehe. Das würde ich gern ins Modul überführen.
FHEM auf QNAP im docker, nanoCUL per ser2net an VU+, 2x Echo Dot, 3x HM-ES-PMSw1-Pl, 3x HM-LC-Bl1PBU-FM, 6x Sonoff Basic, div. "Shelly Eigenbauten" von Papa Romeo, ESPRGBWW-Controller, ...
Projekte: Smart Mirror in Spiegelschrank auf RPi Zero

Damu

Zitat von: Damu am 09 Juli 2021, 19:31:06
Hallo

Ich möchte mit einer Fernbedienung die Jalosie wenn nötig auf oder ab fahren.
Im ASC Device hab ich bei einigen Jalosie zeitlich für AB auf 40 gestellt.
(attr Jalosie Kueche ASC_Closed_Pos 40) gesetzt.
Gibt es eine Möglichkeit das bei ON und OFF die eingestellten Fahrzeiten übernommen werden?

Hab mir ein DOIF gemacht das OFF bei den gewünschten Jalosie mit eventMap umbiegt.
(attr St_Zimmer_R eventMap 40:off) Begrenzt
(attr St_Zimmer_R eventMap 0:off) Voll
Hoffe das funktioniert so zuverläsig?

nagelreo

Hallo CoolTux,

zwischenzeitlich konnte ich das Problem lösen, habe aber noch eine Frage.
Im ASC werden in Internals (NOTIFYDEV) teilweise Rollos gelistet, die nicht aktiviert und auch nicht in "ASC Configuration and Information Summary" aufgeführt sind. Es werden aber nicht alle deaktivierten gelistet. Zudem sind einige doppelt gelistet.
Ist da noch etwas ind er Installation "verbogen"?

NOTIFYDEV
global,Somfy_Controls,Abstell,Kueche_1,Kueche_2,Kueche_3,Wohnen_1,Wohnen_2,Wohnen_3,Wohnen_4,Kueche_3,Bad,Kueche_2,Wohnen_2,Wohnen_3,ASC_WindowRec_PosAfterDayClosed,Abstell,Kueche_1,Wohnen_4,Wohnen_1


Posotion der mit Handsender gesteuerten Rollos wird überschrieben:
ZitatLeider ist das Thema immer noch offen.
Als Alternative zum shutterASCenableToggle habe ich die Rollläden auf "ASC 0" gesetzt, in ASC "scanForShutters" durchgeführt.
Das Ergebnis ist gleich.
- die Rolläden erscheinen nicht mehr in "ASC Configuration and Information Summary", werden wie gewollt nicht mehr gesteuert
- die Position der mit den Handsendern gestuerten Rollläden wird aber überschrieben
- im Rollladen device Readings sind die Fahrzeiten trotz "ASC_Enable off" und dem "Deaktivieren über "ASC 0 mit scanForShutters" gelistet.

In meinem DOIF Modul wurde nach der Auswahl der Rollläden zur Aktivierung bzw. Deaktivierung in ASC zwar "scanForShutters" und "save" durchgeführt, der save Befehl aber nicht durchgeführt, da in Global "autosave" nicht aktiviert war.
Nun funktioniert alles wie ich es will, die Position (deviceStateIcon) der über die Handsender gesteurten Rollos wird bei den daktivierten Rollos nicht überschrieben.

Gruß
Rolf




FFHEM

Zitat von: CoolTux am 10 Juli 2021, 17:16:31
ASC löschen. Neustart FHEM. Schauen das alle ASC Attribute aus den Rollos sind ebenso die Readings. Dann ASC anlegen und erstmal nur ein Rollo konfigurieren.
Sieht bis jetzt gut aus, habe 2 Rolladen eingebunden, die jetzt einwandfrei funktionieren, darunter das "störrische"!
Vielen Dank!
Raspberry Pi 4B, Homematic, Sonoff, Shelly, Worx, Arduino, ESP8266

CoolTux

Zitat von: balli1187 am 10 Juli 2021, 17:26:48
Dies hier aus meinem ersten Post:

Über die SuFu habe im Thread zur Version 0.8.0 den folgenden Beitrag gefunden:

Ich schaue mir die Tage mal die nötigen Logiken an.
Die Variante fände ich sehr sehr schön.
Aktuell kann man ja per ASC_Down/ASC_Up wählen zwischen astro,time,brigtness und roommate (wobei zu roommate die Erklärung in der deutschen commandref und im Wiki fehlt). hier wäre es toll, wenn man auch einen eigenen (externen) Trigger definieren könnte. Also nicht als override sondern ganz regulär als Auslöser für die morgendlichen und abendlichen Fahrten.

Aktuell löse ich Routinen per Sprachbefehl aus, wenn ich morgens ins EG komme bzw., wenn ich abends ins Bett gehe. Das würde ich gern ins Modul überführen.

Sowas wird es in absehbarer Zeit vorerst nicht geben. Mir fehlt da die Zeit für.
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

balli1187

Zitat von: CoolTux am 10 Juli 2021, 20:08:35
Sowas wird es in absehbarer Zeit vorerst nicht geben. Mir fehlt da die Zeit für.
Okay, verstehe. Könntest du dir eine Art workaround mit den aktuellen Möglichkeiten vorstellen?

Ich hatte zum Beispiel überlegt alles auf Time zu stellen und dann die Uhrzeiten entsprechend nach Dummy-Druck zu manipulieren.
Muss ich da mit (großen) Verzögerungen oder sowas rechnen?
FHEM auf QNAP im docker, nanoCUL per ser2net an VU+, 2x Echo Dot, 3x HM-ES-PMSw1-Pl, 3x HM-LC-Bl1PBU-FM, 6x Sonoff Basic, div. "Shelly Eigenbauten" von Papa Romeo, ESPRGBWW-Controller, ...
Projekte: Smart Mirror in Spiegelschrank auf RPi Zero

CoolTux

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

DerTom71

Hallo Zusammen,

ich habe das Problem das ich teilweise nach einer day-open Fahrt innerhalb weniger Sekunden eine shading-out Fahrt bekomme.
Wahrscheinlich kann man das mit ASC_Shutter_IdleDetection verhindern.

Ich benutze das Modul ROLLO. Da gibt es den state "drive-down" und "drive-up". Wenn ich diese 2 Werte nicht habe bin ich quasi "Idle"
Kann mir jemand einen Tipp geben wie ich das in ASC_Shutter_IdleDetection bekomme? Vielen Dank.

2021-07-12 [Update]:
Ich habe das jetzt so gelöst:
userReadings motor {if(ReadingsVal($NAME,"state","") eq "drive-up" or ReadingsVal($NAME,"state","") eq "drive-down") {return "on"} else {return "off"}}
ASC_Shutter_IdleDetection motor:off

Gruß
Tom