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

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

Vorheriges Thema - Nächstes Thema

Alcamar

In meinem Log finde ich mehrere dieser Einträge, die wohl mit ASC zusammenhängen.
2020.10.13 07:12:02 1: ERROR: empty name in readingsBeginUpdate
2020.10.13 07:12:02 1: stacktrace:
2020.10.13 07:12:02 1:     main::readingsBeginUpdate           called by lib/FHEM/Automation/ShuttersControl.pm (1074)
2020.10.13 07:12:02 1:     FHEM::Automation::ShuttersControl::CreateSunRiseSetShuttersTimer called by lib/FHEM/Automation/ShuttersControl.pm (1507)
2020.10.13 07:12:02 1:     FHEM::Automation::ShuttersControl::SunRiseShuttersAfterTimerFn called by fhem.pl (3350)
2020.10.13 07:12:02 1:     main::HandleTimeout                 called by fhem.pl (685)
2020.10.13 07:12:02 1: readingsUpdate(,ASC_Time_DriveDown,13.10.2020 - 19:10) missed to call readingsBeginUpdate first.
2020.10.13 07:12:02 1: stacktrace:
2020.10.13 07:12:02 1:     main::readingsBulkUpdate            called by lib/FHEM/Automation/ShuttersControl.pm (1075)
2020.10.13 07:12:02 1:     FHEM::Automation::ShuttersControl::CreateSunRiseSetShuttersTimer called by lib/FHEM/Automation/ShuttersControl.pm (1507)
2020.10.13 07:12:02 1:     FHEM::Automation::ShuttersControl::SunRiseShuttersAfterTimerFn called by fhem.pl (3350)
2020.10.13 07:12:02 1:     main::HandleTimeout                 called by fhem.pl (685)
2020.10.13 07:12:02 1: readingsUpdate(,ASC_Time_DriveUp,14.10.2020 - 07:13) missed to call readingsBeginUpdate first.
2020.10.13 07:12:02 1: stacktrace:
2020.10.13 07:12:02 1:     main::readingsBulkUpdate            called by lib/FHEM/Automation/ShuttersControl.pm (1089)
2020.10.13 07:12:02 1:     FHEM::Automation::ShuttersControl::CreateSunRiseSetShuttersTimer called by lib/FHEM/Automation/ShuttersControl.pm (1507)
2020.10.13 07:12:02 1:     FHEM::Automation::ShuttersControl::SunRiseShuttersAfterTimerFn called by fhem.pl (3350)
2020.10.13 07:12:02 1:     main::HandleTimeout                 called by fhem.pl (685)
2020.10.13 07:12:02 1: ERROR: empty name in readingsBeginUpdate
2020.10.13 07:12:02 1: stacktrace:
2020.10.13 07:12:02 1:     main::readingsBeginUpdate           called by lib/FHEM/Automation/ShuttersControl.pm (1074)
2020.10.13 07:12:02 1:     FHEM::Automation::ShuttersControl::CreateSunRiseSetShuttersTimer called by lib/FHEM/Automation/ShuttersControl.pm (1507)
2020.10.13 07:12:02 1:     FHEM::Automation::ShuttersControl::SunRiseShuttersAfterTimerFn called by fhem.pl (3350)
2020.10.13 07:12:02 1:     main::HandleTimeout                 called by fhem.pl (685)
2020.10.13 07:12:02 1: readingsUpdate(,ASC_Time_DriveDown,13.10.2020 - 19:10) missed to call readingsBeginUpdate first.
2020.10.13 07:12:02 1: stacktrace:
2020.10.13 07:12:02 1:     main::readingsBulkUpdate            called by lib/FHEM/Automation/ShuttersControl.pm (1075)
2020.10.13 07:12:02 1:     FHEM::Automation::ShuttersControl::CreateSunRiseSetShuttersTimer called by lib/FHEM/Automation/ShuttersControl.pm (1507)
2020.10.13 07:12:02 1:     FHEM::Automation::ShuttersControl::SunRiseShuttersAfterTimerFn called by fhem.pl (3350)
2020.10.13 07:12:02 1:     main::HandleTimeout                 called by fhem.pl (685)
2020.10.13 07:12:02 1: readingsUpdate(,ASC_Time_DriveUp,14.10.2020 - 07:13) missed to call readingsBeginUpdate first.
2020.10.13 07:12:02 1: stacktrace:
2020.10.13 07:12:02 1:     main::readingsBulkUpdate            called by lib/FHEM/Automation/ShuttersControl.pm (1089)
2020.10.13 07:12:02 1:     FHEM::Automation::ShuttersControl::CreateSunRiseSetShuttersTimer called by lib/FHEM/Automation/ShuttersControl.pm (1507)
2020.10.13 07:12:02 1:     FHEM::Automation::ShuttersControl::SunRiseShuttersAfterTimerFn called by fhem.pl (3350)
2020.10.13 07:12:02 1:     main::HandleTimeout                 called by fhem.pl (685)

ist es das gleiche Problem wie in diese Forumsbeitrag im Zusammenhang mit einem anderen Modul?
https://forum.fhem.de/index.php?topic=107211.0

Ich kann leider auch nicht für mich ableiten, was ich tun kann, um den Eintrag im Log zu vermeiden.

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

Alcamar


CoolTux

Zitat von: Alcamar am 13 Oktober 2020, 11:25:48
73_AutoShuttersControl.pm 22743 2020-09-07 07:32:13Z CoolTux


Schau mal bitte im ASC Device da steht direkt eine Entwicklerversion hinter dem Internal 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

Alcamar

sorry. Dann meinst Du wohl das:
73_AutoShuttersControl.pm:v0.10.9-s22743/2020-09-07 TESTING

CoolTux

Kann es sein das Du ein Rollo noch in der Liste hast welches Du eigentlich nicht mehr besitzt.
Ich empfehle entweder ein neustart oder mal ein rescan machen. Und dann beobachten.
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

Alcamar

ich habe zwei Aktoren von Rollos ersetzt, die auch wie die alten funktionieren.
ich mache mal einen Rescan und schaue mal wieder in das Log.
Danke!

Alcamar

Interessant. Die beiden alten Rollos, die ich in *_OLD umbenannt hatte, erscheinen nach dem scanForShutters wieder.
Die Devices sind aber schon längst gelöscht. Nach save und Restart von fhem sind die alten Devices nun weg. Ein weiteres scanForShutters bringt sie offensichtlich auch nicht zurück. Nun schaue ich die nächsten Tage im Log nach. Könnte sein, dass dies schon das Problem gelöst hat.

Als Hinweis leite ich für mich ab, dass ich beim löschen eines Rollos immer ein Rescan des ASC-Devices und Restart von fhem mache.  :)

CoolTux

Zitat von: Alcamar am 13 Oktober 2020, 11:49:11
Interessant. Die beiden alten Rollos, die ich in *_OLD umbenannt hatte, erscheinen nach dem scanForShutters wieder.
Die Devices sind aber schon längst gelöscht. Nach save und Restart von fhem sind die alten Devices nun weg. Ein weiteres scanForShutters bringt sie offensichtlich auch nicht zurück. Nun schaue ich die nächsten Tage im Log nach. Könnte sein, dass dies schon das Problem gelöst hat.

Als Hinweis leite ich für mich ab, dass ich beim löschen eines Rollos immer ein Rescan des ASC-Devices und Restart von fhem mache.  :)

Sehr schön. Ich nehme mit das ich mir mal anschaue wie ich das löschen erfassen kann um ein rescan zu machen  :)
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

zife

Ich mag ja eigentlich nicht schon wieder hier ankommen, aber nachdem nun 3 Tage lang das abendliche Fahren mit Privacy nach Brightness und NightClose nach Zeit geklappt hat, sind heute nur 2 Rolläden gefahren und der Rest nicht. Ich habe aber an der Konfig nichts geändert, nur einmal gestern Abend fhem aktualisiert und durchgestartet.

Ich habe testweise je 2 Rolläden mit verschiedenen Brightness-Werten ausgestattet (das hat bisher auch funktioniert), nur heute hat meine Frau nach der Privacy-Fahrt der ersten beiden diese manuell wieder hochgefahren. Das sollte doch aber ASC nicht komplett zum Abbruch der Abendfahrten bringen, oder ist das so gewollt?

@CoolTux: hast Du an der Devel was geändert, was ich mir durch das Update dann "unabsichtlich" geladen habe?

EDIT: Ich sehe gerade, dass mein Brightness-Sensor keine korrekten Werte mehr liefert - er hängt seit knapp 2 Stunden auf einem Brightness-Wert fest. Das ist anscheinend ein ganz anders Problem - sorry, stelle diesen Teil der Frage erstmal zurück.


Zusätzlich habe ich das Problem, das ein Rolladen bei allen Fahrten immer ausgelassen wird, obwohl er von ASC erkannt wurde und von fhem auch manuell gesteuert werden kann. Findet jemand einen Fehler? Ich muss Tomaten auf den Augen haben. In der ASC Summary sind alle Daten identisch mit den anderen (funktionierenden) Rolläden, nur bei "last Drive" steht "none".

Internals:
   DEF        05892CDC
   FUUID      5e5ad5f8-f33f-6ef9-bf09-3ec4fab6e29f256c
   IODev      TCM_ESP3_0
   NAME       RO_KO_Ost_FSB61_OG
   NR         1853
   NTFY_ORDER 50-RO_KO_Ost_FSB61_OG
   STATE      position
   TYPE       EnOcean
   READINGS:
     2020-09-26 13:35:42   ASC_Enable      on
     2020-09-26 13:50:21   ASC_ShadingMessage <html> WARN:  global shading active but ASC_Shading_Mode attribut is not set or off </html>
     2020-10-14 07:30:02   ASC_Time_DriveDown 14.10.2020 - 22:01
     2020-10-14 07:30:02   ASC_Time_DriveUp 15.10.2020 - 07:30
     2020-10-14 07:30:02   ASC_Time_PrivacyDriveDown 14.10.2020 - 22:00
     2020-10-13 22:31:58   associatedWith  RolladenSteuerung
   helper:
Attributes:
   ASC        1
   ASC_Adv    off
   ASC_BlockingTime_afterManual 300
   ASC_BrightnessSensor MS_GT_Sued_FAH60:brightness 1000000:-1
   ASC_Down   brightness
   ASC_Partymode off
   ASC_Pos_Reading position
   ASC_PrivacyDownValue_beforeNightClose 30:100
   ASC_PrivacyDown_Pos 60
   ASC_Time_Down_Early 18:15
   ASC_Time_Down_Late 22:01
   ASC_Time_Up_Early 7:30
   ASC_Time_Up_Late 9:01
   ASC_Time_Up_WE_Holiday 9:00
   ASC_Up     time
   IODev      TCM_ESP3_0
   calAtEndpoints yes
   eep        A5-3F-7F
   manufID    00D
   model      Eltako_FSB_ACK
   room       EnOcean,OG Kinderzimmer Ost
   settingAccuracy high
   shutTime   24
   shutTimeCloses 45
   stateFormat position
   subDef     FFBE4104
   subType    manufProfile
   teachMethod RPS
   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     opens:stop:closes


fhem mit EnOcean, Gardena, Vorwerk, Miele und Teufel/Raumfeld-Integration... nur meine Kinder wollen sich damit nicht anständig steuern lassen. Wer weiß Rat?

alpinestars

Hallo zusammen,

ich benutze nun schon seit einigen Monaten ASC in Verbindung mit einer eigenen Steuerung meiner Rollläden (EG) mittels ROLLO und MQTT2 ohne Probleme. ASC ist wirklich super!
Meine kürzlich verbauten Shelly 2.5 (OG) laufen auch prima, allerdings können diese nicht von ASC gesteuert werden.

Rolllade 1 im EG, die ASC steuern kann
Internals:
   DEVICETOPIC Rolllade.EG.1
   FUUID      5ea6e231-f33f-b7d9-d99f-d14c178b523e4897
   IODev      MQTT2Server
   LASTInputDev MQTT2Server
   MQTT2Server_MSGCNT 28
   MQTT2Server_TIME 2020-10-14 19:49:50
   MSGCNT     28
   NAME       Rolllade.EG.1
   NR         76
   STATE      closed
   TYPE       MQTT2_DEVICE
   READINGS:
     2020-05-12 23:56:28   ASC_Enable      on
     2020-10-14 19:49:50   ASC_ShuttersLastDrive night close
     2020-10-14 19:49:26   ASC_Time_DriveDown 15.10.2020 - 19:49
     2020-10-14 19:49:26   ASC_Time_DriveUp 15.10.2020 - 07:20
     2020-10-11 15:03:22   associatedWith  RollladenSteuerung
     2020-10-14 19:49:26   last_drive      drive-down
     2020-05-12 22:54:29   online          true
     2020-10-14 19:49:50   pct             100
     2020-10-14 19:49:50   state           closed
Attributes:
   ASC        1
   ASC_Closed_Pos 100
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Open_Pos 0
   ASC_Partymode on
   ASC_Pos_Reading pct
   ASC_Shading_Pos 40
   ASC_Time_Down_Late 23:00
   ASC_Time_Up_Early 07:00
   ASC_Time_Up_Late 09:00
   ASC_Time_Up_WE_Holiday 08:00
   ASC_Ventilate_Pos 80
   DbLogExclude .*
   IODev      MQTT2Server
   alexaName  Rolllade Gäste-WC
   cmdIcon    open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   devStateIcon open:fts_shutter_10 closed:fts_shutter_100:open half:fts_shutter_50 drive-up:fts_shutter_up@red:stop drive-down:fts_shutter_down@red:stop pct-100:fts_shutter_100:open pct-90:fts_shutter_90 pct-80:fts_shutter_80 pct-70:fts_shutter_70 pct-60:fts_shutter_60 pct-50:fts_shutter_50 pct-40:fts_shutter_40:open pct-30:fts_shutter_30:open pct-20:fts_shutter_20:open pct-10:fts_shutter_10:open pct-0:fts_shutter_0
   genericDeviceType blind
   group      Rolllaeden EG
   icon       fts_shutter
   readingList Shutter1/state:.* state
Shutter1/pct:.* pct
Shutter1/last_drive:.* last_drive
   room       Rolllaeden
   setList    open:noArg Shutter1/state/set open
closed:noArg Shutter1/state/set closed
half:noArg Shutter1/state/set half
stop:noArg Shutter1/state/set stop
pct:slider,0,1,100 Shutter1/state/set pct
   stateFormat state
   userReadings 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 room_map structexclude
   webCmd     open:closed:half:stop:pct


Rolllade 1 im OG, die ASC nicht steuern kann
Internals:
   CID        shellyswitch25_76C3F0
   DEF        shellyswitch25_76C3F0
   DEVICETOPIC Rolllade.OG.1
   FUUID      5ea0b183-f33f-b7d9-e306-745dab2b1b780f64
   IODev      MQTT2Server
   LASTInputDev MQTT2Server
   MQTT2Server_MSGCNT 103951
   MQTT2Server_TIME 2020-10-14 21:43:58
   MSGCNT     103951
   NAME       Rolllade.OG.1
   NR         81
   STATE      0
   TYPE       MQTT2_DEVICE
   Helper:
     DBLOG:
       state:
         DBLogging:
           TIME       1602704638.68505
           VALUE      0
   READINGS:
     2020-05-29 18:02:27   ASC_Enable      on
     2020-10-14 21:43:58   ASC_ShuttersLastDrive manual
     2020-10-14 19:49:26   ASC_Time_DriveDown 15.10.2020 - 19:49
     2020-10-14 19:49:26   ASC_Time_DriveUp 15.10.2020 - 07:20
     2020-10-11 15:03:22   associatedWith  RollladenSteuerung
     2020-05-29 18:01:24   attrTemplateVersion 20200522 or prior
     2020-10-04 15:21:55   current         stop
     2020-10-14 21:43:58   energy          0
     2020-10-11 14:57:36   fw_ver          20200827-065456/v1.8.3@4a8bc427
     2020-10-11 14:57:36   id              shellyswitch25-76C3F0
     2020-10-14 21:43:58   input0          0
     2020-10-14 21:43:58   input1          0
     2020-10-11 14:57:36   ip              192.168.1.25
     2020-10-11 14:57:36   mac             DC4F2276C3F0
     2020-10-11 14:57:36   model           SHSW-25
     2020-10-11 14:57:36   new_fw          false
     2020-10-11 14:57:36   online          true
     2020-10-14 21:43:58   overtemperature 0
     2020-10-14 21:43:58   pct             0
     2020-10-14 21:43:58   power           0.00
     2020-10-14 21:43:58   roller_0_energy 0
     2020-10-14 21:43:58   roller_0_power  0.00
     2020-10-14 21:43:58   roller_0_stop_reason normal
     2020-10-14 21:43:58   state           0
     2020-10-14 21:43:58   temperature     60.49
     2020-10-14 21:43:58   temperature_f   140.88
     2020-05-29 18:01:24   x_mqttcom       set announce
     2020-10-04 15:21:34   x_update        set
Attributes:
   ASC        1
   ASC_Closed_Pos 100
   ASC_Mode_Down off
   ASC_Mode_Up off
   ASC_Open_Pos 0
   ASC_Pos_Reading pct
   ASC_Shading_Pos 50
   ASC_Ventilate_Pos 80
   DbLogExclude .*
   DbLogInclude state
   IODev      MQTT2Server
   alexaName  Rolllade Badezimmer
   cmdIcon    open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   comment    Shelly 2.5 in Roller-Mode. 0=opened / 100=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");; 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>"}
   genericDeviceType blind
   group      Rolllaeden OG
   icon       fts_shutter
   model      shelly25_roller_invert_1
   readingList shellies/shellyswitch25-76C3F0/roller/0/pos:.* {'pct' => 100-$EVENT}
  shellies/shellyswitch25-76C3F0/status/0/rollers:.* power
  shellies/shellyswitch25-76C3F0/online:.* online
  shellies/shellyswitch25-76C3F0/announce:.* { json2nameValue($EVENT) }
  shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-76C3F0...mac.*, ? json2nameValue($EVENT) : return }
  shellies/shellyswitch25-76C3F0/roller/0:.* current
  shellies/shellyswitch25-76C3F0/roller/0:open {{'state' => 'opening'}}
  shellies/shellyswitch25-76C3F0/roller/0:close {{'state' => 'closing'}}
  shellies/shellyswitch25-76C3F0/roller/0/pos:.* {'state' => 100-$EVENT}
  shellies/shellyswitch25-76C3F0/input/1:.* input1
  shellies/shellyswitch25-76C3F0/input/0:.* input0
  shellies/shellyswitch25-76C3F0/relay/power:.* power
  shellies/shellyswitch25-76C3F0/relay/energy:.* energy
  shellies/shellyswitch25-76C3F0/temperature:.* temperature
  shellies/shellyswitch25-76C3F0/overtemperature:.* overtemperature
shellyswitch25_76C3F0:shellies/shellyswitch25-76C3F0/roller/0/power:.* roller_0_power
shellyswitch25_76C3F0:shellies/shellyswitch25-76C3F0/roller/0/energy:.* roller_0_energy
shellyswitch25_76C3F0:shellies/shellyswitch25-76C3F0/temperature_f:.* temperature_f
shellyswitch25_76C3F0:shellies/shellyswitch25-76C3F0/roller/0/stop_reason:.* roller_0_stop_reason
   room       Rolllaeden
   setList    open:noArg shellies/shellyswitch25-76C3F0/roller/0/command open
  close:noArg shellies/shellyswitch25-76C3F0/roller/0/command close
  half:noArg shellies/shellyswitch25-76C3F0/roller/0/command/pos 50
  stop:noArg shellies/shellyswitch25-76C3F0/roller/0/command stop
  pct:slider,0,1,100 {"shellies/shellyswitch25-76C3F0/roller/0/command/pos ".(100-$EVTPART1)}
  x_recalibration:noArg shellies/shellyswitch25-76C3F0/roller/0/command rc
  x_update:noArg shellies/shellyswitch25-76C3F0/command update_fw
  x_mqttcom shellies/shellyswitch25-76C3F0/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 room_map structexclude
   webCmd     open:close:half:stop:pct


Hier noch das ASC Device
Internals:
   FUUID      5ebb1b28-f33f-b7d9-ae99-f6775aef309f74cf
   FVERSION   73_AutoShuttersControl.pm:v0.10.9-s22743/2020-09-07 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       RollladenSteuerung
   NOTIFYDEV  OUT_Twilight,RollladenSteuerung,SonyTV,global,Rolllade.EG.1,Rolllade.EG.2,Rolllade.EG.3,Rolllade.EG.4,Rolllade.EG.5,Rolllade.OG.1,Rolllade.OG.2,Rolllade.OG.3,Rolllade.OG.4,Rolllade.OG.5,Rolllade.OG.6
   NR         93
   NTFY_ORDER 51-RollladenSteuerung
   STATE      manual
   TYPE       AutoShuttersControl
   VERSION    v0.10.9
   OLDREADINGS:
   READINGS:
     2020-10-14 19:49:50   Rolllade.EG.1_PosValue 100
     2020-10-13 19:51:30   Rolllade.EG.1_lastDelayPosValue 100
     2020-10-14 19:49:26   Rolllade.EG.1_lastPosValue 0
     2020-10-14 19:49:26   Rolllade.EG.1_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 19:49:50   Rolllade.EG.2_PosValue 100
     2020-10-13 19:51:30   Rolllade.EG.2_lastDelayPosValue 100
     2020-10-14 19:49:26   Rolllade.EG.2_lastPosValue 0
     2020-10-14 19:49:26   Rolllade.EG.2_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 19:49:48   Rolllade.EG.3_PosValue 100
     2020-10-14 19:49:26   Rolllade.EG.3_lastPosValue 40
     2020-10-14 19:49:26   Rolllade.EG.3_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 19:50:01   Rolllade.EG.4_PosValue 100
     2020-10-13 19:51:30   Rolllade.EG.4_lastDelayPosValue 100
     2020-10-14 19:49:26   Rolllade.EG.4_lastPosValue 0
     2020-10-14 19:49:26   Rolllade.EG.4_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 19:50:01   Rolllade.EG.5_PosValue 100
     2020-10-13 20:23:30   Rolllade.EG.5_lastDelayPosValue 100
     2020-10-14 19:49:26   Rolllade.EG.5_lastPosValue 0
     2020-10-14 19:49:26   Rolllade.EG.5_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 21:44:28   Rolllade.OG.1_PosValue 0
     2020-10-14 19:49:26   Rolllade.OG.1_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 21:44:29   Rolllade.OG.2_PosValue 100
     2020-10-14 18:31:46   Rolllade.OG.2_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 21:44:31   Rolllade.OG.3_PosValue 100
     2020-10-14 18:31:46   Rolllade.OG.3_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 21:44:24   Rolllade.OG.4_PosValue 100
     2020-10-14 18:31:46   Rolllade.OG.4_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 21:44:30   Rolllade.OG.5_PosValue 100
     2020-10-14 18:31:46   Rolllade.OG.5_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 21:44:27   Rolllade.OG.6_PosValue 87
     2020-10-14 07:45:02   Rolllade.OG.6_lastPosValue 88
     2020-10-14 18:31:46   Rolllade.OG.6_nextAstroTimeEvent 15.10.2020 - 07:45
     2020-09-06 10:22:36   ascEnable       on
     2020-05-23 16:29:00   controlShading  off
     2020-05-23 16:29:00   hardLockOut     off
     2020-10-13 21:28:28   partyMode       off
     2020-10-11 15:03:21   room_Rolllaeden Rolllade.EG.1,Rolllade.EG.2,Rolllade.EG.3,Rolllade.EG.4,Rolllade.EG.5,Rolllade.OG.1,Rolllade.OG.2,Rolllade.OG.3,Rolllade.OG.4,Rolllade.OG.5,Rolllade.OG.6
     2020-05-23 16:29:00   selfDefense     off
     2020-10-14 21:44:31   state           manual
     2020-06-02 15:35:29   sunriseTimeWeHoliday on
     2020-10-11 15:03:21   userAttrList    rolled out
   helper:
     shuttersList:
       Rolllade.EG.1
       Rolllade.EG.2
       Rolllade.EG.3
       Rolllade.EG.4
       Rolllade.EG.5
       Rolllade.OG.1
       Rolllade.OG.2
       Rolllade.OG.3
       Rolllade.OG.4
       Rolllade.OG.5
       Rolllade.OG.6
   monitoredDevs:
     OUT_Twilight:
       RollladenSteuerung ASC_twilightDevice
     Rolllade.EG.1:
     Rolllade.EG.2:
     Rolllade.EG.3:
     Rolllade.EG.4:
     Rolllade.EG.5:
     Rolllade.OG.1:
     Rolllade.OG.2:
     Rolllade.OG.3:
     Rolllade.OG.4:
     Rolllade.OG.5:
     Rolllade.OG.6:
     SonyTV:
       Rolllade.EG.5 ASC_ExternalTrigger
Attributes:
   ASC_autoAstroModeEvening NAUTIC
   ASC_autoAstroModeMorning CIVIL
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_expert 1
   ASC_tempSensor netatmo_M02_00_00_32_f4_70:temperature
   ASC_twilightDevice OUT_Twilight
   DbLogExclude .*
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       Rolllaeden
   userReadings EnableShadingControl


Hat jemand vielleicht eine Idee, warum sich die Shelly-Rolllade nicht automatisch steuern lässt? Liegt es ggf. an "close" vs. "closed"? Positionen etc. werden richtig erkannt.

Vielen Dank!

CoolTux

Zitat von: zife am 14 Oktober 2020, 19:53:18
Ich mag ja eigentlich nicht schon wieder hier ankommen, aber nachdem nun 3 Tage lang das abendliche Fahren mit Privacy nach Brightness und NightClose nach Zeit geklappt hat, sind heute nur 2 Rolläden gefahren und der Rest nicht. Ich habe aber an der Konfig nichts geändert, nur einmal gestern Abend fhem aktualisiert und durchgestartet.

Ich habe testweise je 2 Rolläden mit verschiedenen Brightness-Werten ausgestattet (das hat bisher auch funktioniert), nur heute hat meine Frau nach der Privacy-Fahrt der ersten beiden diese manuell wieder hochgefahren. Das sollte doch aber ASC nicht komplett zum Abbruch der Abendfahrten bringen, oder ist das so gewollt?

@CoolTux: hast Du an der Devel was geändert, was ich mir durch das Update dann "unabsichtlich" geladen habe?

EDIT: Ich sehe gerade, dass mein Brightness-Sensor keine korrekten Werte mehr liefert - er hängt seit knapp 2 Stunden auf einem Brightness-Wert fest. Das ist anscheinend ein ganz anders Problem - sorry, stelle diesen Teil der Frage erstmal zurück.


Zusätzlich habe ich das Problem, das ein Rolladen bei allen Fahrten immer ausgelassen wird, obwohl er von ASC erkannt wurde und von fhem auch manuell gesteuert werden kann. Findet jemand einen Fehler? Ich muss Tomaten auf den Augen haben. In der ASC Summary sind alle Daten identisch mit den anderen (funktionierenden) Rolläden, nur bei "last Drive" steht "none".

Internals:
   DEF        05892CDC
   FUUID      5e5ad5f8-f33f-6ef9-bf09-3ec4fab6e29f256c
   IODev      TCM_ESP3_0
   NAME       RO_KO_Ost_FSB61_OG
   NR         1853
   NTFY_ORDER 50-RO_KO_Ost_FSB61_OG
   STATE      position
   TYPE       EnOcean
   READINGS:
     2020-09-26 13:35:42   ASC_Enable      on
     2020-09-26 13:50:21   ASC_ShadingMessage <html> WARN:  global shading active but ASC_Shading_Mode attribut is not set or off </html>
     2020-10-14 07:30:02   ASC_Time_DriveDown 14.10.2020 - 22:01
     2020-10-14 07:30:02   ASC_Time_DriveUp 15.10.2020 - 07:30
     2020-10-14 07:30:02   ASC_Time_PrivacyDriveDown 14.10.2020 - 22:00
     2020-10-13 22:31:58   associatedWith  RolladenSteuerung
   helper:
Attributes:
   ASC        1
   ASC_Adv    off
   ASC_BlockingTime_afterManual 300
   ASC_BrightnessSensor MS_GT_Sued_FAH60:brightness 1000000:-1
   ASC_Down   brightness
   ASC_Partymode off
   ASC_Pos_Reading position
   ASC_PrivacyDownValue_beforeNightClose 30:100
   ASC_PrivacyDown_Pos 60
   ASC_Time_Down_Early 18:15
   ASC_Time_Down_Late 22:01
   ASC_Time_Up_Early 7:30
   ASC_Time_Up_Late 9:01
   ASC_Time_Up_WE_Holiday 9:00
   ASC_Up     time
   IODev      TCM_ESP3_0
   calAtEndpoints yes
   eep        A5-3F-7F
   manufID    00D
   model      Eltako_FSB_ACK
   room       EnOcean,OG Kinderzimmer Ost
   settingAccuracy high
   shutTime   24
   shutTimeCloses 45
   stateFormat position
   subDef     FFBE4104
   subType    manufProfile
   teachMethod RPS
   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     opens:stop:closes


Es wird an dem neustartzeitpunkt gelegen haben. Er war bestimmt nach UpEarly und vor UpLast. Der beste Zeitpunkt für ASC für einen Neustart ist mitten am Tag.



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

CoolTux

Zitat von: alpinestars am 14 Oktober 2020, 21:48:12
Hallo zusammen,

ich benutze nun schon seit einigen Monaten ASC in Verbindung mit einer eigenen Steuerung meiner Rollläden (EG) mittels ROLLO und MQTT2 ohne Probleme. ASC ist wirklich super!
Meine kürzlich verbauten Shelly 2.5 (OG) laufen auch prima, allerdings können diese nicht von ASC gesteuert werden.

Rolllade 1 im EG, die ASC steuern kann
Internals:
   DEVICETOPIC Rolllade.EG.1
   FUUID      5ea6e231-f33f-b7d9-d99f-d14c178b523e4897
   IODev      MQTT2Server
   LASTInputDev MQTT2Server
   MQTT2Server_MSGCNT 28
   MQTT2Server_TIME 2020-10-14 19:49:50
   MSGCNT     28
   NAME       Rolllade.EG.1
   NR         76
   STATE      closed
   TYPE       MQTT2_DEVICE
   READINGS:
     2020-05-12 23:56:28   ASC_Enable      on
     2020-10-14 19:49:50   ASC_ShuttersLastDrive night close
     2020-10-14 19:49:26   ASC_Time_DriveDown 15.10.2020 - 19:49
     2020-10-14 19:49:26   ASC_Time_DriveUp 15.10.2020 - 07:20
     2020-10-11 15:03:22   associatedWith  RollladenSteuerung
     2020-10-14 19:49:26   last_drive      drive-down
     2020-05-12 22:54:29   online          true
     2020-10-14 19:49:50   pct             100
     2020-10-14 19:49:50   state           closed
Attributes:
   ASC        1
   ASC_Closed_Pos 100
   ASC_Mode_Down always
   ASC_Mode_Up always
   ASC_Open_Pos 0
   ASC_Partymode on
   ASC_Pos_Reading pct
   ASC_Shading_Pos 40
   ASC_Time_Down_Late 23:00
   ASC_Time_Up_Early 07:00
   ASC_Time_Up_Late 09:00
   ASC_Time_Up_WE_Holiday 08:00
   ASC_Ventilate_Pos 80
   DbLogExclude .*
   IODev      MQTT2Server
   alexaName  Rolllade Gäste-WC
   cmdIcon    open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   devStateIcon open:fts_shutter_10 closed:fts_shutter_100:open half:fts_shutter_50 drive-up:fts_shutter_up@red:stop drive-down:fts_shutter_down@red:stop pct-100:fts_shutter_100:open pct-90:fts_shutter_90 pct-80:fts_shutter_80 pct-70:fts_shutter_70 pct-60:fts_shutter_60 pct-50:fts_shutter_50 pct-40:fts_shutter_40:open pct-30:fts_shutter_30:open pct-20:fts_shutter_20:open pct-10:fts_shutter_10:open pct-0:fts_shutter_0
   genericDeviceType blind
   group      Rolllaeden EG
   icon       fts_shutter
   readingList Shutter1/state:.* state
Shutter1/pct:.* pct
Shutter1/last_drive:.* last_drive
   room       Rolllaeden
   setList    open:noArg Shutter1/state/set open
closed:noArg Shutter1/state/set closed
half:noArg Shutter1/state/set half
stop:noArg Shutter1/state/set stop
pct:slider,0,1,100 Shutter1/state/set pct
   stateFormat state
   userReadings 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 room_map structexclude
   webCmd     open:closed:half:stop:pct


Rolllade 1 im OG, die ASC nicht steuern kann
Internals:
   CID        shellyswitch25_76C3F0
   DEF        shellyswitch25_76C3F0
   DEVICETOPIC Rolllade.OG.1
   FUUID      5ea0b183-f33f-b7d9-e306-745dab2b1b780f64
   IODev      MQTT2Server
   LASTInputDev MQTT2Server
   MQTT2Server_MSGCNT 103951
   MQTT2Server_TIME 2020-10-14 21:43:58
   MSGCNT     103951
   NAME       Rolllade.OG.1
   NR         81
   STATE      0
   TYPE       MQTT2_DEVICE
   Helper:
     DBLOG:
       state:
         DBLogging:
           TIME       1602704638.68505
           VALUE      0
   READINGS:
     2020-05-29 18:02:27   ASC_Enable      on
     2020-10-14 21:43:58   ASC_ShuttersLastDrive manual
     2020-10-14 19:49:26   ASC_Time_DriveDown 15.10.2020 - 19:49
     2020-10-14 19:49:26   ASC_Time_DriveUp 15.10.2020 - 07:20
     2020-10-11 15:03:22   associatedWith  RollladenSteuerung
     2020-05-29 18:01:24   attrTemplateVersion 20200522 or prior
     2020-10-04 15:21:55   current         stop
     2020-10-14 21:43:58   energy          0
     2020-10-11 14:57:36   fw_ver          20200827-065456/v1.8.3@4a8bc427
     2020-10-11 14:57:36   id              shellyswitch25-76C3F0
     2020-10-14 21:43:58   input0          0
     2020-10-14 21:43:58   input1          0
     2020-10-11 14:57:36   ip              192.168.1.25
     2020-10-11 14:57:36   mac             DC4F2276C3F0
     2020-10-11 14:57:36   model           SHSW-25
     2020-10-11 14:57:36   new_fw          false
     2020-10-11 14:57:36   online          true
     2020-10-14 21:43:58   overtemperature 0
     2020-10-14 21:43:58   pct             0
     2020-10-14 21:43:58   power           0.00
     2020-10-14 21:43:58   roller_0_energy 0
     2020-10-14 21:43:58   roller_0_power  0.00
     2020-10-14 21:43:58   roller_0_stop_reason normal
     2020-10-14 21:43:58   state           0
     2020-10-14 21:43:58   temperature     60.49
     2020-10-14 21:43:58   temperature_f   140.88
     2020-05-29 18:01:24   x_mqttcom       set announce
     2020-10-04 15:21:34   x_update        set
Attributes:
   ASC        1
   ASC_Closed_Pos 100
   ASC_Mode_Down off
   ASC_Mode_Up off
   ASC_Open_Pos 0
   ASC_Pos_Reading pct
   ASC_Shading_Pos 50
   ASC_Ventilate_Pos 80
   DbLogExclude .*
   DbLogInclude state
   IODev      MQTT2Server
   alexaName  Rolllade Badezimmer
   cmdIcon    open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
   comment    Shelly 2.5 in Roller-Mode. 0=opened / 100=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");; 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>"}
   genericDeviceType blind
   group      Rolllaeden OG
   icon       fts_shutter
   model      shelly25_roller_invert_1
   readingList shellies/shellyswitch25-76C3F0/roller/0/pos:.* {'pct' => 100-$EVENT}
  shellies/shellyswitch25-76C3F0/status/0/rollers:.* power
  shellies/shellyswitch25-76C3F0/online:.* online
  shellies/shellyswitch25-76C3F0/announce:.* { json2nameValue($EVENT) }
  shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-76C3F0...mac.*, ? json2nameValue($EVENT) : return }
  shellies/shellyswitch25-76C3F0/roller/0:.* current
  shellies/shellyswitch25-76C3F0/roller/0:open {{'state' => 'opening'}}
  shellies/shellyswitch25-76C3F0/roller/0:close {{'state' => 'closing'}}
  shellies/shellyswitch25-76C3F0/roller/0/pos:.* {'state' => 100-$EVENT}
  shellies/shellyswitch25-76C3F0/input/1:.* input1
  shellies/shellyswitch25-76C3F0/input/0:.* input0
  shellies/shellyswitch25-76C3F0/relay/power:.* power
  shellies/shellyswitch25-76C3F0/relay/energy:.* energy
  shellies/shellyswitch25-76C3F0/temperature:.* temperature
  shellies/shellyswitch25-76C3F0/overtemperature:.* overtemperature
shellyswitch25_76C3F0:shellies/shellyswitch25-76C3F0/roller/0/power:.* roller_0_power
shellyswitch25_76C3F0:shellies/shellyswitch25-76C3F0/roller/0/energy:.* roller_0_energy
shellyswitch25_76C3F0:shellies/shellyswitch25-76C3F0/temperature_f:.* temperature_f
shellyswitch25_76C3F0:shellies/shellyswitch25-76C3F0/roller/0/stop_reason:.* roller_0_stop_reason
   room       Rolllaeden
   setList    open:noArg shellies/shellyswitch25-76C3F0/roller/0/command open
  close:noArg shellies/shellyswitch25-76C3F0/roller/0/command close
  half:noArg shellies/shellyswitch25-76C3F0/roller/0/command/pos 50
  stop:noArg shellies/shellyswitch25-76C3F0/roller/0/command stop
  pct:slider,0,1,100 {"shellies/shellyswitch25-76C3F0/roller/0/command/pos ".(100-$EVTPART1)}
  x_recalibration:noArg shellies/shellyswitch25-76C3F0/roller/0/command rc
  x_update:noArg shellies/shellyswitch25-76C3F0/command update_fw
  x_mqttcom shellies/shellyswitch25-76C3F0/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 room_map structexclude
   webCmd     open:close:half:stop:pct


Hier noch das ASC Device
Internals:
   FUUID      5ebb1b28-f33f-b7d9-ae99-f6775aef309f74cf
   FVERSION   73_AutoShuttersControl.pm:v0.10.9-s22743/2020-09-07 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       RollladenSteuerung
   NOTIFYDEV  OUT_Twilight,RollladenSteuerung,SonyTV,global,Rolllade.EG.1,Rolllade.EG.2,Rolllade.EG.3,Rolllade.EG.4,Rolllade.EG.5,Rolllade.OG.1,Rolllade.OG.2,Rolllade.OG.3,Rolllade.OG.4,Rolllade.OG.5,Rolllade.OG.6
   NR         93
   NTFY_ORDER 51-RollladenSteuerung
   STATE      manual
   TYPE       AutoShuttersControl
   VERSION    v0.10.9
   OLDREADINGS:
   READINGS:
     2020-10-14 19:49:50   Rolllade.EG.1_PosValue 100
     2020-10-13 19:51:30   Rolllade.EG.1_lastDelayPosValue 100
     2020-10-14 19:49:26   Rolllade.EG.1_lastPosValue 0
     2020-10-14 19:49:26   Rolllade.EG.1_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 19:49:50   Rolllade.EG.2_PosValue 100
     2020-10-13 19:51:30   Rolllade.EG.2_lastDelayPosValue 100
     2020-10-14 19:49:26   Rolllade.EG.2_lastPosValue 0
     2020-10-14 19:49:26   Rolllade.EG.2_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 19:49:48   Rolllade.EG.3_PosValue 100
     2020-10-14 19:49:26   Rolllade.EG.3_lastPosValue 40
     2020-10-14 19:49:26   Rolllade.EG.3_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 19:50:01   Rolllade.EG.4_PosValue 100
     2020-10-13 19:51:30   Rolllade.EG.4_lastDelayPosValue 100
     2020-10-14 19:49:26   Rolllade.EG.4_lastPosValue 0
     2020-10-14 19:49:26   Rolllade.EG.4_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 19:50:01   Rolllade.EG.5_PosValue 100
     2020-10-13 20:23:30   Rolllade.EG.5_lastDelayPosValue 100
     2020-10-14 19:49:26   Rolllade.EG.5_lastPosValue 0
     2020-10-14 19:49:26   Rolllade.EG.5_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 21:44:28   Rolllade.OG.1_PosValue 0
     2020-10-14 19:49:26   Rolllade.OG.1_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 21:44:29   Rolllade.OG.2_PosValue 100
     2020-10-14 18:31:46   Rolllade.OG.2_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 21:44:31   Rolllade.OG.3_PosValue 100
     2020-10-14 18:31:46   Rolllade.OG.3_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 21:44:24   Rolllade.OG.4_PosValue 100
     2020-10-14 18:31:46   Rolllade.OG.4_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 21:44:30   Rolllade.OG.5_PosValue 100
     2020-10-14 18:31:46   Rolllade.OG.5_nextAstroTimeEvent 15.10.2020 - 07:20
     2020-10-14 21:44:27   Rolllade.OG.6_PosValue 87
     2020-10-14 07:45:02   Rolllade.OG.6_lastPosValue 88
     2020-10-14 18:31:46   Rolllade.OG.6_nextAstroTimeEvent 15.10.2020 - 07:45
     2020-09-06 10:22:36   ascEnable       on
     2020-05-23 16:29:00   controlShading  off
     2020-05-23 16:29:00   hardLockOut     off
     2020-10-13 21:28:28   partyMode       off
     2020-10-11 15:03:21   room_Rolllaeden Rolllade.EG.1,Rolllade.EG.2,Rolllade.EG.3,Rolllade.EG.4,Rolllade.EG.5,Rolllade.OG.1,Rolllade.OG.2,Rolllade.OG.3,Rolllade.OG.4,Rolllade.OG.5,Rolllade.OG.6
     2020-05-23 16:29:00   selfDefense     off
     2020-10-14 21:44:31   state           manual
     2020-06-02 15:35:29   sunriseTimeWeHoliday on
     2020-10-11 15:03:21   userAttrList    rolled out
   helper:
     shuttersList:
       Rolllade.EG.1
       Rolllade.EG.2
       Rolllade.EG.3
       Rolllade.EG.4
       Rolllade.EG.5
       Rolllade.OG.1
       Rolllade.OG.2
       Rolllade.OG.3
       Rolllade.OG.4
       Rolllade.OG.5
       Rolllade.OG.6
   monitoredDevs:
     OUT_Twilight:
       RollladenSteuerung ASC_twilightDevice
     Rolllade.EG.1:
     Rolllade.EG.2:
     Rolllade.EG.3:
     Rolllade.EG.4:
     Rolllade.EG.5:
     Rolllade.OG.1:
     Rolllade.OG.2:
     Rolllade.OG.3:
     Rolllade.OG.4:
     Rolllade.OG.5:
     Rolllade.OG.6:
     SonyTV:
       Rolllade.EG.5 ASC_ExternalTrigger
Attributes:
   ASC_autoAstroModeEvening NAUTIC
   ASC_autoAstroModeMorning CIVIL
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_expert 1
   ASC_tempSensor netatmo_M02_00_00_32_f4_70:temperature
   ASC_twilightDevice OUT_Twilight
   DbLogExclude .*
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       Rolllaeden
   userReadings EnableShadingControl


Hat jemand vielleicht eine Idee, warum sich die Shelly-Rolllade nicht automatisch steuern lässt? Liegt es ggf. an "close" vs. "closed"? Positionen etc. werden richtig erkannt.

Vielen Dank!

Was genau soll ASC denn an dem "nicht funktionierenden" Rollo steuern? ASC_ModeDown und ASC_ModeUp stehen auf off.


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

xerion

Zitat von: CoolTux am 12 Oktober 2020, 08:48:26
Nach meiner Analyse eher nicht. Wieso das im Sommer so war müsste man sich noch mal anschauen. Beziehungsweise schauen ob es überhaupt noch so ist.

Hi CoolTux, ich konnte das Verhalten mit IsWe bzw IsDay und der aktuellen Version auch in meinen Testsystem nachstellen und habe danach die Devel Version geladen und konnte heute Morgen das erfolgreich testen. Also ist für mich die IsDay Problem damit verhoben. Wieder mal viel Dank für deinen grenzenlosen Einsatz.
Wechsel jetzt zu Octopus Energy und bekomme 150,00 € Bonus auf deine Rechnung. Die Anmeldung geht super leicht und schnell, klicke dafür einfach meinen persönlichen Empfehlungslink:
 https://share.octopusenergy.de/loved-heron-220.

zife

Mal eine Verständnisfrage, weil ich aus der Commandref nicht schlau geworden bin:
Wie funktioniert ComfortOpen/Ventilate beim threestate Fenstergriff?

Wenn ich meinen Hoppe auf Kipp stelle, fährt das Rollo in Comfort Position (und im Log steht Comfort Open). Aber Comfort ist eigentlich fürs richtige Türöffnen gedacht, oder?

Um aber auf Kipp zu stellen, geht der Fenstergriff ja auch kurz durch die Open-Position. Wartet ASC, in welcher Position der Fenstergriff länger als 1 Sekunde o.ä. bleibt, um eine falsche Reaktion zu vermeiden? Oder überschreibt ASC einfach den letzten Befehl dann sofort mit einem neuen?

Keine Ahnung, ob jemand mein Gefasel versteht, aber auf jeden Fall reagiert ASC bei mir auf Kipp mit Comfort Position statt Ventilate...
fhem mit EnOcean, Gardena, Vorwerk, Miele und Teufel/Raumfeld-Integration... nur meine Kinder wollen sich damit nicht anständig steuern lassen. Wer weiß Rat?