[73_AutoShuttersControl.pm] Rolllos automatisiert steuern - Version 0.8.x

Begonnen von CoolTux, 15 November 2019, 12:51:08

Vorheriges Thema - Nächstes Thema

CoolTux

Zitat von: majestro84 am 06 Januar 2020, 19:58:28
Hallo
Da melde ich mich seit langem auch Mal wieder.
Ich habe auch so eine ähnliches verhalten. Wenn die Anwesenheitserkennung morgens von asleep auf home springt fahren die Fenster zu die zum Beispiel auf ventilate waren.
VG
Alex

Ich habe es eben getestet und konnte es leider nicht nach vollziehen. Da brauche ich bitte ein list vom Rollo und eine ausführliche Beschreibung wann was genau passiert.
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

fatboy24

Hallo und erstmal noch vielen Dank für das Modul.

Kann man unter der Woche auch verschiedene Zeiten für " Rolladen hoch" (ASC_Time_Up_Early) hinterlegen?
(Montag - Donnerstag um 7:00 Uhr, Freitag um 6:30 Uhr)

Bzw. wie könnte man das am einfachsten realisieren?


Leider habe ich über die Suche nichts gefunden.

CoolTux

Zitat von: fatboy24 am 08 Januar 2020, 09:31:14
Hallo und erstmal noch vielen Dank für das Modul.

Kann man unter der Woche auch verschiedene Zeiten für " Rolladen hoch" (ASC_Time_Up_Early) hinterlegen?
(Montag - Donnerstag um 7:00 Uhr, Freitag um 6:30 Uhr)

Bzw. wie könnte man das am einfachsten realisieren?


Leider habe ich über die Suche nichts gefunden.

Hallo,

Du kannst bei den Zeiten mit Perlcode arbeiten.
{ (($wday + 1) == 5 ? '06:30' : '07:00') }

Der Befehl wäre also
attr ROLLODEVICE ASC_Time_Up_Early { (($wday + 1) == 5 ? '06:30' : '07:00') }

Das ist nur ein ganz einfacher Code. Es würde so zum Beispiel nicht gehen wenn Du die Zeitenberechnung am selben Tag machst. Für Früh fahrten ist automatisiert die letzte Berechnung am Abend des Tages davor nach der Nachfahrt.
Ein FHEM Neustart könnte also so Probleme 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

fatboy24


CoolTux

Zitat von: fatboy24 am 08 Januar 2020, 09:46:57
Alles klar, vielen Dank für die super schnelle Antwort.

{ ( ($wday == 5 and ascAPIget('Sunset','ROLLODEVICE')) ? '06:30' : (($wday + 1) == 5 and ascAPIget('Sunrise','ROLLODEVICE')) ? '06:30' : (($wday + 1) == 5 and ascAPIget('Sunset','ROLLODEVICE')) ? '06:30' : '07:00' ) }

Damit sollten hoffentlich alle Eventualitäten abgedeckt sein.
Bitte ROLLODEVICE durch den tatsächlichen Namen des Rollos ersetzen.
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

majestro84

#560
Zitat von: CoolTux am 08 Januar 2020, 02:45:59
Ich habe es eben getestet und konnte es leider nicht nach vollziehen. Da brauche ich bitte ein list vom Rollo und eine ausführliche Beschreibung wann was genau passiert.

Folgender Ablauf:
Fenster ist geschlossen
Rolllade schließt Night Close
Fenster wird geöffnet -> Rollade fährt in VentilatePos
RESIDENTS wechseln von home auf gotosleep und weiter auf asleep (Rolllade bleibt in Ventilate)
RESIDENTS wird mit set xxx home gesetzt
Rolllade fährt auf ClosePos

Ich kann morgen noch einmal gucken was dann als Fahrgrund steht.
Hier mal das list.
Internals:
   DEF        d0c32d9e 5
   FUUID      5c48851d-f33f-e69a-2544-8d7693fbb11889ed
   IODev      ZWDongle_0
   LASTInputDev ZWDongle_0
   MSGCNT     118
   NAME       GWC_Jalousie
   NR         206
   STATE      99
   TYPE       ZWave
   ZWDongle_0_MSGCNT 118
   ZWDongle_0_RAWMSG 000400050a32022144000000590000bc00
   ZWDongle_0_TIME 2020-01-08 10:10:52
   ZWaveSubDevice no
   cmdsPending 0
   homeId     d0c32d9e
   isWakeUp   
   lastMsgSent 1578470401.01409
   nodeIdHex  05
   OLDREADINGS:
   READINGS:
     2019-05-21 08:49:12   ASC_Enable      on
     2020-01-08 09:00:17   ASC_ShuttersLastDrive day open
     2020-01-08 09:00:01   ASC_Time_DriveDown  8.01.2020 - 22:30
     2020-01-08 09:00:01   ASC_Time_DriveUp  9.01.2020 - 09:00
     2020-01-01 00:30:57   CMD             ZW_APPLICATION_UPDATE
     2019-11-26 21:30:33   SEND_DATA       failed:00
     2019-05-24 11:02:52   assocGroup_1    Max 16 Nodes ZWDongle_0
     2019-05-24 11:02:52   assocGroup_2    Max 16 Nodes
     2019-05-24 11:02:52   assocGroup_3    Max 1 Nodes ZWDongle_0
     2019-05-24 11:52:07   assocGroups     3
     2020-01-07 10:47:21   associatedWith  JalousieControl
     2020-01-02 16:25:54   current         0 A previous: 0 delta_time: 5 s
     2020-01-08 10:10:52   energy          0.89 kWh
     2019-05-24 11:04:05   mcaGroups       2
     2019-05-24 11:04:05   mca_1           Max 7 Nodes ZWDongle_0
     2019-05-24 11:04:05   mca_2           Max 7
     2019-09-11 10:07:37   model           FIBARO System FGRM222 Roller Shutter Controller 2
     2019-09-11 10:07:37   modelConfig     fibaro/fgrm222.xml
     2019-09-11 10:07:37   modelId         010f-0302-1000
     2020-01-08 09:00:16   position        99
     2020-01-08 10:00:16   power           0.0 W
     2020-01-08 09:00:01   state           dim 99
     2020-01-08 09:00:02   timeToAck       1.921
     2020-01-08 09:00:02   transmit        OK
     2020-01-03 03:38:58   undef           236.91 undef previous: 236.62 delta_time: 53 s
     2019-12-21 06:27:36   voltage         232.55 V previous: 233.12 delta_time: 25 s
     2019-12-11 11:05:37   wakeup          notification
Attributes:
   ASC        2
   ASC_BrightnessSensor Helligkeitssensor_Osten:Lux 65:65
   ASC_Closed_Pos 0
   ASC_ComfortOpen_Pos 80
   ASC_Down   brightness
   ASC_Open_Pos 99
   ASC_Pos_Reading position
   ASC_PrivacyDown_Pos 60
   ASC_Self_Defense_Mode off
   ASC_Shading_InOutAzimuth 5:155
   ASC_Shading_MinMax_Elevation 25
   ASC_Shading_Min_OutsideTemperature 20
   ASC_Shading_Mode always
   ASC_Shading_Pos 30
   ASC_Shading_StateChange_SunnyCloudy 11000:8000
   ASC_Time_Down_Early 16:30
   ASC_Time_Down_Late 22:30
   ASC_Time_Up_Early 06:30
   ASC_Time_Up_Late 09:00
   ASC_Time_Up_WE_Holiday 08:00
   ASC_Up     brightness
   ASC_Ventilate_Pos 10
   ASC_WiggleValue 10
   ASC_WindProtection off
   ASC_WindowRec GWC_Fensterkontakt
   IODev      ZWDongle_0
   classes    MULTI_CHANNEL_ASSOCIATION MANUFACTURER_SPECIFIC VERSION CONFIGURATION ASSOCIATION POWERLEVEL METER SWITCH_MULTILEVEL SENSOR_MULTILEVEL SWITCH_BINARY MANUFACTURER_PROPRIETARY PROTECTION MARK METER SENSOR_MULTILEVEL MANUFACTURER_PROPRIETARY SCENE_ACTIVATION SWITCH_MULTILEVEL SWITCH_BINARY
   devStateIcon 99:fts_shutter_20:0 80:fts_shutter_30:0 60:fts_shutter_60:0 30:fts_shutter_60:0 20:fts_shutter_70:0 10:fts_shutter_80:0 0:fts_shutter_90:99
   icon       fts_shutter_automatic
   neighborListPos 822.0589069265562,534.0863964553051
   room       Gäste WC,ZWave
   stateFormat position
   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_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 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
   vclasses   ASSOCIATION:2 CONFIGURATION:1 MANUFACTURER_PROPRIETARY:1 MANUFACTURER_SPECIFIC:1 METER:2 MULTI_CHANNEL_ASSOCIATION:2 POWERLEVEL:1 PROTECTION:2 SCENE_ACTIVATION:1 SENSOR_MULTILEVEL:2 SWITCH_BINARY:1 SWITCH_MULTILEVEL:3 VERSION:1


List vom ASC
Internals:
   FUUID      5c488520-f33f-e69a-77aa-d2161968211909ff
   FVERSION   73_AutoShuttersControl.pm:v0.8.11-s20899/2020-01-06 UNDER DEVELOP
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       JalousieControl
   NOTIFYDEV  global,JalousieControl,AZ_Jalousie,Bad_Jalousie,EZ_Jalousie,GWC_Jalousie,K_Jalousie,WZ_Jalousie_Garage,WZ_Jalousie_Terrasse,ZE_Jalousie_links,ZE_Jalousie_rechts,ZS_Jalousie,WZ_Fensterkontakt_Garage,Helligkeitssensor_Westen,K_Fensterkontakt,ZS_Fensterkontakt,xxx,ZE_Fensterkontakt_rechts,Bad_Fensterkontakt,Wetterstation_Herbern,Helligkeitssensor_Sueden,Helligkeitssensor_Osten,WZ_Fensterkontakt_Terrasse,ZE_Fensterkontakt_links,GWC_Fensterkontakt,AZ_Fensterkontakt,EZ_Fensterkontakt,Sonne_Auf_Unter
   NR         276
   NTFY_ORDER 51-JalousieControl
   STATE      residents home
   TYPE       AutoShuttersControl
   VERSION    v0.8.11
   OLDREADINGS:
   READINGS:
     2020-01-08 08:41:59   AZ_Jalousie_PosValue 99
     2019-11-02 17:37:00   AZ_Jalousie_lastDelayPosValue 90
     2020-01-08 08:41:21   AZ_Jalousie_lastPosValue 60
     2020-01-08 08:41:21   AZ_Jalousie_nextAstroTimeEvent  8.01.2020 - 17:17
     2020-01-08 08:41:57   Bad_Jalousie_PosValue 99
     2019-04-22 06:30:02   Bad_Jalousie_lastDelayPosValue 99
     2020-01-08 08:41:21   Bad_Jalousie_lastPosValue 0
     2020-01-08 08:41:21   Bad_Jalousie_nextAstroTimeEvent  8.01.2020 - 17:17
     2020-01-08 08:41:51   EZ_Jalousie_PosValue 99
     2020-01-01 17:10:09   EZ_Jalousie_lastDelayPosValue 90
     2020-01-08 08:41:21   EZ_Jalousie_lastPosValue 60
     2020-01-08 08:41:21   EZ_Jalousie_nextAstroTimeEvent  8.01.2020 - 17:17
     2020-01-08 09:00:16   GWC_Jalousie_PosValue 99
     2019-04-24 20:26:06   GWC_Jalousie_lastDelayPosValue 10
     2020-01-08 09:00:01   GWC_Jalousie_lastPosValue 0
     2020-01-08 09:00:01   GWC_Jalousie_nextAstroTimeEvent  8.01.2020 - 22:30
     2020-01-08 07:55:35   K_Jalousie_PosValue 99
     2019-09-22 20:03:24   K_Jalousie_lastDelayPosValue 90
     2020-01-08 07:54:54   K_Jalousie_lastPosValue 99
     2020-01-08 07:54:54   K_Jalousie_nextAstroTimeEvent  8.01.2020 - 17:17
     2020-01-08 08:41:57   WZ_Jalousie_Garage_PosValue 99
     2019-04-20 21:10:01   WZ_Jalousie_Garage_lastDelayPosValue 10
     2020-01-08 08:41:21   WZ_Jalousie_Garage_lastPosValue 60
     2020-01-08 08:41:21   WZ_Jalousie_Garage_nextAstroTimeEvent  8.01.2020 - 17:17
     2020-01-07 07:56:04   WZ_Jalousie_Terrasse_PosValue 99
     2020-01-06 19:35:51   WZ_Jalousie_Terrasse_lastDelayPosValue 0
     2020-01-08 07:54:54   WZ_Jalousie_Terrasse_lastPosValue 99
     2020-01-08 07:54:54   WZ_Jalousie_Terrasse_nextAstroTimeEvent  8.01.2020 - 17:17
     2020-01-08 08:42:23   ZE_Jalousie_links_PosValue 99
     2019-04-14 08:00:02   ZE_Jalousie_links_lastDelayPosValue 99
     2020-01-08 08:41:21   ZE_Jalousie_links_lastPosValue 99
     2020-01-08 08:41:21   ZE_Jalousie_links_nextAstroTimeEvent  8.01.2020 - 17:17
     2020-01-08 09:33:17   ZE_Jalousie_rechts_PosValue 99
     2019-06-23 08:00:02   ZE_Jalousie_rechts_lastDelayPosValue 99
     2020-01-08 08:41:21   ZE_Jalousie_rechts_lastPosValue 0
     2020-01-08 08:41:21   ZE_Jalousie_rechts_nextAstroTimeEvent  8.01.2020 - 17:17
     2020-01-08 08:42:20   ZS_Jalousie_PosValue 99
     2019-06-18 07:00:08   ZS_Jalousie_lastDelayPosValue 99
     2020-01-08 08:41:21   ZS_Jalousie_lastPosValue 99
     2020-01-08 08:41:21   ZS_Jalousie_nextAstroTimeEvent  8.01.2020 - 17:17
     2019-05-21 08:49:12   ascEnable       on
     2019-05-09 12:34:46   controlShading  on
     2019-04-27 13:25:58   hardLockOut     on
     2019-12-17 12:30:48   partyMode       off
     2020-01-07 10:47:19   room_Arbeitszimmer_ZWave AZ_Jalousie
     2020-01-07 10:47:19   room_Badezimmer_ZWave Bad_Jalousie
     2020-01-07 10:47:19   room_Esszimmer_ZWave EZ_Jalousie
     2020-01-07 10:47:19   room_G__ste_WC_ZWave GWC_Jalousie
     2020-01-07 10:47:19   room_K__che_ZWave K_Jalousie
     2020-01-07 10:47:19   room_Wohnzimmer_ZWave WZ_Jalousie_Garage,WZ_Jalousie_Terrasse
     2020-01-07 10:47:19   room_ZWave_Zimmer_Elias ZE_Jalousie_links,ZE_Jalousie_rechts
     2020-01-07 10:47:19   room_ZWave_Zimmer_Samuel ZS_Jalousie
     2019-08-08 11:45:47   selfDefense     off
     2020-01-08 09:33:17   state           residents home
     2018-11-25 09:13:42   sunriseTimeWeHoliday on
     2020-01-07 10:47:19   userAttrList    rolled out
   helper:
     shuttersList:
       AZ_Jalousie
       Bad_Jalousie
       EZ_Jalousie
       GWC_Jalousie
       K_Jalousie
       WZ_Jalousie_Garage
       WZ_Jalousie_Terrasse
       ZE_Jalousie_links
       ZE_Jalousie_rechts
       ZS_Jalousie
   monitoredDevs:
     AZ_Fensterkontakt:
       AZ_Jalousie ASC_WindowRec
     AZ_Jalousie:
     Bad_Fensterkontakt:
       Bad_Jalousie ASC_WindowRec
     Bad_Jalousie:
     xxx:
       JalousieControl ASC_residentsDev
     EZ_Fensterkontakt:
       EZ_Jalousie ASC_WindowRec
     EZ_Jalousie:
     GWC_Fensterkontakt:
       GWC_Jalousie ASC_WindowRec
     GWC_Jalousie:
     Helligkeitssensor_Osten:
       Bad_Jalousie ASC_BrightnessSensor
       GWC_Jalousie ASC_BrightnessSensor
     Helligkeitssensor_Sueden:
       AZ_Jalousie ASC_BrightnessSensor
       EZ_Jalousie ASC_BrightnessSensor
       WZ_Jalousie_Garage ASC_BrightnessSensor
       ZE_Jalousie_links ASC_BrightnessSensor
       ZE_Jalousie_rechts ASC_BrightnessSensor
     Helligkeitssensor_Westen:
       K_Jalousie ASC_BrightnessSensor
       WZ_Jalousie_Terrasse ASC_BrightnessSensor
       ZS_Jalousie ASC_BrightnessSensor
     K_Fensterkontakt:
       K_Jalousie ASC_WindowRec
     K_Jalousie:
     Sonne_Auf_Unter:
       JalousieControl ASC_twilightDevice
     WZ_Fensterkontakt_Garage:
       WZ_Jalousie_Garage ASC_WindowRec
     WZ_Fensterkontakt_Terrasse:
       WZ_Jalousie_Terrasse ASC_WindowRec
     WZ_Jalousie_Garage:
     WZ_Jalousie_Terrasse:
     Wetterstation_Herbern:
       JalousieControl ASC_windSensor
     ZE_Fensterkontakt_links:
       ZE_Jalousie_links ASC_WindowRec
     ZE_Fensterkontakt_rechts:
       ZE_Jalousie_rechts ASC_WindowRec
     ZE_Jalousie_links:
     ZE_Jalousie_rechts:
     ZS_Fensterkontakt:
       ZS_Jalousie ASC_WindowRec
     ZS_Jalousie:
Attributes:
   ASC_autoAstroModeEvening CIVIL
   ASC_autoAstroModeEveningHorizon -2
   ASC_autoAstroModeMorning REAL
   ASC_autoAstroModeMorningHorizon -2
   ASC_autoShuttersControlComfort on
   ASC_autoShuttersControlEvening on
   ASC_autoShuttersControlMorning on
   ASC_brightnessDriveUpDown 40:40
   ASC_expert 1
   ASC_freezeTemp -5
   ASC_rainSensor Wetterstation_Herbern:Niederschlag_1h
   ASC_residentsDev xxx:state
   ASC_tempSensor Aussentemperatur_AVG:temperature
   ASC_twilightDevice Sonne_Auf_Unter
   ASC_windSensor Wetterstation_Herbern:Windgeschwindigkeit
   devStateIcon { AutoShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       Jalousien
   verbose    0

Server: Fujitsu ESPRIMO Q920 - aktuellen FHEM-Docker Image:Z-Wave (RollerShutter,DoorWindow,Socket,PIR,....) | ENIGMA2 | EGPM2LAN | BLE-Tag(PRESENCE) | HUE | alexa-fhem | Shelly | MQTT2
1.Pi-Zero:Viessmann(optolink) mit 89_VCONTROL300.pm
2.Pi3 Dongle Server: Zigbee2MQTT(CC1352P-2), Z-Wave(UZB1), BT

majestro84

Hallo

Es ist bei den Rollladen nach dem Set xxx Home der Fahrgrund Residents come Home. Habe es heute an drei Rollläden getestet. Alle drei schließen.

List von dem Rollo device
Internals:
DEF d0c32d9e 5
FUUID 5c48851d-f33f-e69a-2544-8d7693fbb11889ed
IODev ZWDongle_0
LASTInputDev ZWDongle_0
MSGCNT 75
NAME GWC_Jalousie
NR 206
STATE 0
TYPE ZWave
ZWDongle_0_MSGCNT 75
ZWDongle_0_RAWMSG 0004000506310504220000c900
ZWDongle_0_TIME 2020-01-09 06:59:09
ZWaveSubDevice no
cmdsPending 0
homeId d0c32d9e
isWakeUp
lastMsgSent 1578549528.78961
nodeIdHex 05
READINGS:
2019-05-21 08:49:12 ASC_Enable on
2020-01-09 06:59:08 ASC_ShuttersLastDrive residents come home
2020-01-08 22:30:01 ASC_Time_DriveDown 9.01.2020 - 22:30
2020-01-08 22:30:01 ASC_Time_DriveUp 9.01.2020 - 09:00
2020-01-01 00:30:57 CMD ZW_APPLICATION_UPDATE
2019-05-24 11:02:52 assocGroup_1 Max 16 Nodes ZWDongle_0
2019-05-24 11:02:52 assocGroup_2 Max 16 Nodes
2019-05-24 11:02:52 assocGroup_3 Max 1 Nodes ZWDongle_0
2019-05-24 11:52:07 assocGroups 3
2020-01-08 13:57:04 associatedWith JalousieControl
2020-01-02 16:25:54 current 0 A previous: 0 delta_time: 5 s
2020-01-09 06:10:57 energy 0.89 kWh
2019-05-24 11:04:05 mcaGroups 2
2019-05-24 11:04:05 mca_1 Max 7 Nodes ZWDongle_0
2019-05-24 11:04:05 mca_2 Max 7
2019-09-11 10:07:37 model FIBARO System FGRM222 Roller Shutter Controller 2
2019-09-11 10:07:37 modelConfig fibaro/fgrm222.xml
2019-09-11 10:07:37 modelId 010f-0302-1000
2020-01-09 06:59:08 position 0
2020-01-09 06:59:09 power 0.0 W
2020-01-09 06:58:48 state dim 0
2020-01-09 06:58:50 timeToAck 1.873
2020-01-09 06:58:50 transmit OK
2020-01-03 03:38:58 undef 236.91 undef previous: 236.62 delta_time: 53 s
2019-12-21 06:27:36 voltage 232.55 V previous: 233.12 delta_time: 25 s
2019-12-11 11:05:37 wakeup notification
2019-10-01 15:24:27 water 349.71 m3 previous: 349.71 delta_time: 13 s
Attributes:
ASC 2
ASC_BrightnessSensor Helligkeitssensor_Osten:Lux 65:65
ASC_Closed_Pos 0
ASC_ComfortOpen_Pos 80
ASC_Down brightness
ASC_Open_Pos 99
ASC_Pos_Reading position
ASC_PrivacyDown_Pos 60
ASC_Self_Defense_Mode off
ASC_Shading_InOutAzimuth 5:155
ASC_Shading_MinMax_Elevation 25
ASC_Shading_Min_OutsideTemperature 20
ASC_Shading_Mode always
ASC_Shading_Pos 30
ASC_Shading_StateChange_SunnyCloudy 11000:8000
ASC_Time_Down_Early 16:30
ASC_Time_Down_Late 22:30
ASC_Time_Up_Early 06:30
ASC_Time_Up_Late 09:00
ASC_Time_Up_WE_Holiday 08:00
ASC_Up brightness
ASC_Ventilate_Pos 10
ASC_WiggleValue 10
ASC_WindProtection off
ASC_WindowRec GWC_Fensterkontakt
IODev ZWDongle_0
classes MULTI_CHANNEL_ASSOCIATION MANUFACTURER_SPECIFIC VERSION CONFIGURATION ASSOCIATION POWERLEVEL METER SWITCH_MULTILEVEL SENSOR_MULTILEVEL SWITCH_BINARY MANUFACTURER_PROPRIETARY PROTECTION MARK METER SENSOR_MULTILEVEL MANUFACTURER_PROPRIETARY SCENE_ACTIVATION SWITCH_MULTILEVEL SWITCH_BINARY
devStateIcon 99:fts_shutter_20:0 80:fts_shutter_30:0 60:fts_shutter_60:0 30:fts_shutter_60:0 20:fts_shutter_70:0 10:fts_shutter_80:0 0:fts_shutter_90:99
icon fts_shutter_automatic
neighborListPos 822.0589069265562,534.0863964553051
room Gäste WC,ZWave
stateFormat position
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_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 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
vclasses ASSOCIATION:2 CONFIGURATION:1 MANUFACTURER_PROPRIETARY:1 MANUFACTURER_SPECIFIC:1 METER:2 MULTI_CHANNEL_ASSOCIATION:2 POWERLEVEL:1 PROTECTION:2 SCENE_ACTIVATION:1 SENSOR_MULTILEVEL:2 SWITCH_BINARY:1 SWITCH_MULTILEVEL:3 VERSION:1
Server: Fujitsu ESPRIMO Q920 - aktuellen FHEM-Docker Image:Z-Wave (RollerShutter,DoorWindow,Socket,PIR,....) | ENIGMA2 | EGPM2LAN | BLE-Tag(PRESENCE) | HUE | alexa-fhem | Shelly | MQTT2
1.Pi-Zero:Viessmann(optolink) mit 89_VCONTROL300.pm
2.Pi3 Dongle Server: Zigbee2MQTT(CC1352P-2), Z-Wave(UZB1), BT

CoolTux

Dann stimmt was mit Deinem Residents Device nicht. Gib bitte einmal ein list davon.
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

majestro84

Ok hier mal das List

Internals:
   DURATIONTIMER 1578554774.00114
   FUUID      5c48851f-f33f-e69a-4b90-d93122de30083527
   FVERSION   10_RESIDENTS.pm:0.195330/2019-06-02
   NAME       xxx
   NOTIFYDEV  global,rr_Alex,rr_Verena
   NR         434
   NTFY_ORDER 50-xxx
   READY      1
   ROOMMATES  rr_Alex,rr_Verena
   STATE      zuhause
   TYPE       RESIDENTS
   READINGS:
     2020-01-08 12:14:12   durTimerAbsence 00:00:00
     2020-01-08 12:14:12   durTimerAbsence_cr 0
     2020-01-09 08:25:14   durTimerPresence 20:11:02
     2020-01-09 08:25:14   durTimerPresence_cr 1211
     2020-01-09 06:58:48   durTimerSleep   00:00:00
     2020-01-09 06:58:48   durTimerSleep_cr 0
     2019-05-06 12:28:32   homealoneSubtype -
     2019-05-06 12:28:32   homealoneType   -
     2020-01-09 08:23:13   lastActivity    home
     2020-01-09 08:23:13   lastActivityBy  Verena
     2020-01-09 08:23:13   lastActivityByDev rr_Verena
     2020-01-08 12:14:12   lastArrival     2020-01-08 12:14:12
     2020-01-09 06:58:48   lastAwake       2020-01-09 06:58:48
     2020-01-08 11:25:57   lastDeparture   2020-01-08 11:25:57
     2020-01-08 12:14:12   lastDurAbsence  00:48:15
     2020-01-08 12:14:12   lastDurAbsence_cr 48
     2020-01-08 11:25:57   lastDurPresence 00:12:15
     2020-01-08 11:25:57   lastDurPresence_cr 12
     2020-01-09 06:58:48   lastDurSleep    07:21:12
     2020-01-09 06:58:48   lastDurSleep_cr 441
     2019-05-06 13:29:32   lastHomealoneSubtype -
     2019-05-06 13:29:32   lastHomealoneType -
     2020-01-08 23:37:36   lastSleep       2020-01-08 23:37:36
     2020-01-09 08:23:13   lastState       gotosleep
     2020-01-08 12:14:12   presence        present
     2020-01-09 08:18:23   residentsAbsent 0
     2020-01-09 08:18:23   residentsAbsentDevs -
     2020-01-09 08:18:23   residentsAbsentNames -
     2020-01-09 06:58:49   residentsAsleep 0
     2020-01-09 06:58:49   residentsAsleepDevs -
     2020-01-09 06:58:49   residentsAsleepNames -
     2020-01-09 06:59:50   residentsAwoken 0
     2020-01-09 06:59:50   residentsAwokenDevs -
     2020-01-09 06:59:50   residentsAwokenNames -
     2019-10-25 23:17:19   residentsGone   0
     2019-10-25 23:17:19   residentsGoneDevs -
     2019-10-25 23:17:19   residentsGoneNames -
     2020-01-09 08:23:13   residentsGotosleep 0
     2020-01-09 08:23:13   residentsGotosleepDevs -
     2020-01-09 08:23:13   residentsGotosleepNames -
     2020-01-09 08:23:13   residentsHome   2
     2020-01-09 08:23:13   residentsHomeDevs rr_Alex,rr_Verena
     2020-01-09 08:23:13   residentsHomeNames Alex, Verena
     2018-11-27 14:05:26   residentsTotal  2
     2020-01-09 08:18:23   residentsTotalAbsent 0
     2020-01-09 08:18:23   residentsTotalAbsentDevs -
     2020-01-09 08:18:23   residentsTotalAbsentNames -
     2018-11-27 14:05:26   residentsTotalGuests 0
     2018-11-27 14:05:26   residentsTotalGuestsAbsent 0
     2018-11-27 14:05:26   residentsTotalGuestsAbsentDevs -
     2018-11-27 14:05:26   residentsTotalGuestsAbsentNames -
     2018-11-27 10:40:58   residentsTotalGuestsPresent 0
     2018-11-27 10:40:58   residentsTotalGuestsPresentDevs -
     2018-11-27 10:40:58   residentsTotalGuestsPresentNames -
     2019-05-06 12:28:32   residentsTotalPeople 2
     2020-01-09 08:18:23   residentsTotalPeopleAbsent 0
     2020-01-09 08:18:23   residentsTotalPeopleAbsentDevs -
     2020-01-09 08:18:23   residentsTotalPeopleAbsentNames -
     2020-01-09 08:18:23   residentsTotalPeoplePresent 2
     2020-01-09 08:18:23   residentsTotalPeoplePresentDevs rr_Alex,rr_Verena
     2020-01-09 08:18:23   residentsTotalPeoplePresentNames Alex, Verena
     2019-05-06 12:28:32   residentsTotalPets 0
     2019-05-06 12:28:32   residentsTotalPetsAbsent 0
     2019-05-06 12:28:32   residentsTotalPetsAbsentDevs -
     2019-05-06 12:28:32   residentsTotalPetsAbsentNames -
     2019-05-06 12:28:32   residentsTotalPetsPresent 0
     2019-05-06 12:28:32   residentsTotalPetsPresentDevs -
     2019-05-06 12:28:32   residentsTotalPetsPresentNames -
     2020-01-09 08:18:23   residentsTotalPresent 2
     2020-01-09 08:18:23   residentsTotalPresentDevs rr_Alex,rr_Verena
     2020-01-09 08:18:23   residentsTotalPresentNames Alex, Verena
     2017-03-05 13:37:11   residentsTotalRoommates 2
     2020-01-09 08:18:23   residentsTotalRoommatesAbsent 0
     2020-01-09 08:18:23   residentsTotalRoommatesAbsentDevs -
     2020-01-09 08:18:23   residentsTotalRoommatesAbsentNames -
     2020-01-09 08:18:23   residentsTotalRoommatesPresent 2
     2020-01-09 08:18:23   residentsTotalRoommatesPresentDevs rr_Alex,rr_Verena
     2020-01-09 08:18:23   residentsTotalRoommatesPresentNames Alex, Verena
     2017-03-05 13:37:11   residentsTotalWakeup 0
     2017-03-05 13:37:11   residentsTotalWakeupDevs -
     2017-03-05 13:37:11   residentsTotalWakeupNames -
     2017-03-05 13:37:11   residentsTotalWayhome 0
     2017-03-05 13:37:11   residentsTotalWayhomeDelayed 0
     2017-03-05 13:37:11   residentsTotalWayhomeDelayedDevs -
     2017-03-05 13:37:11   residentsTotalWayhomeDelayedNames -
     2017-03-05 13:37:11   residentsTotalWayhomeDevs -
     2017-03-05 13:37:11   residentsTotalWayhomeNames -
     2020-01-09 08:23:13   state           home
   TIMER:
     xxx_DurationTimer:
       HASH       xxx
       MODIFIER   DurationTimer
       NAME       xxx_DurationTimer
Attributes:
   alias      Residents
   devStateIcon .*zuhause:user_available:absent .*anwesend:user_available:absent .*abwesend:user_away:home .*verreist:user_ext_away:home .*bettfertig:scene_toilet:asleep .*schlaeft:scene_sleeping:awoken .*schläft:scene_sleeping:awoken .*aufgestanden:scene_sleeping_alternat:home .*:user_unknown:home
   eventMap   home:zuhause absent:abwesend gone:verreist gotosleep:bettfertig asleep:schläft awoken:aufgestanden
   group      Home State
   icon       control_building_filled
   room       Bewohner
   webCmd     state
   widgetOverride state:zuhause,bettfertig,schläft,aufgestanden,abwesend,verreist
Server: Fujitsu ESPRIMO Q920 - aktuellen FHEM-Docker Image:Z-Wave (RollerShutter,DoorWindow,Socket,PIR,....) | ENIGMA2 | EGPM2LAN | BLE-Tag(PRESENCE) | HUE | alexa-fhem | Shelly | MQTT2
1.Pi-Zero:Viessmann(optolink) mit 89_VCONTROL300.pm
2.Pi3 Dongle Server: Zigbee2MQTT(CC1352P-2), Z-Wave(UZB1), BT

CoolTux

Zitat von: majestro84 am 09 Januar 2020, 08:28:54
Ok hier mal das List

Internals:
   DURATIONTIMER 1578554774.00114
   FUUID      5c48851f-f33f-e69a-4b90-d93122de30083527
   FVERSION   10_RESIDENTS.pm:0.195330/2019-06-02
   NAME       xxx
   NOTIFYDEV  global,rr_Alex,rr_Verena
   NR         434
   NTFY_ORDER 50-xxx
   READY      1
   ROOMMATES  rr_Alex,rr_Verena
   STATE      zuhause
   TYPE       RESIDENTS
   READINGS:
     2020-01-08 12:14:12   durTimerAbsence 00:00:00
     2020-01-08 12:14:12   durTimerAbsence_cr 0
     2020-01-09 08:25:14   durTimerPresence 20:11:02
     2020-01-09 08:25:14   durTimerPresence_cr 1211
     2020-01-09 06:58:48   durTimerSleep   00:00:00
     2020-01-09 06:58:48   durTimerSleep_cr 0
     2019-05-06 12:28:32   homealoneSubtype -
     2019-05-06 12:28:32   homealoneType   -
     2020-01-09 08:23:13   lastActivity    home
     2020-01-09 08:23:13   lastActivityBy  Verena
     2020-01-09 08:23:13   lastActivityByDev rr_Verena
     2020-01-08 12:14:12   lastArrival     2020-01-08 12:14:12
     2020-01-09 06:58:48   lastAwake       2020-01-09 06:58:48
     2020-01-08 11:25:57   lastDeparture   2020-01-08 11:25:57
     2020-01-08 12:14:12   lastDurAbsence  00:48:15
     2020-01-08 12:14:12   lastDurAbsence_cr 48
     2020-01-08 11:25:57   lastDurPresence 00:12:15
     2020-01-08 11:25:57   lastDurPresence_cr 12
     2020-01-09 06:58:48   lastDurSleep    07:21:12
     2020-01-09 06:58:48   lastDurSleep_cr 441
     2019-05-06 13:29:32   lastHomealoneSubtype -
     2019-05-06 13:29:32   lastHomealoneType -
     2020-01-08 23:37:36   lastSleep       2020-01-08 23:37:36
     2020-01-09 08:23:13   lastState       gotosleep
     2020-01-08 12:14:12   presence        present
     2020-01-09 08:18:23   residentsAbsent 0
     2020-01-09 08:18:23   residentsAbsentDevs -
     2020-01-09 08:18:23   residentsAbsentNames -
     2020-01-09 06:58:49   residentsAsleep 0
     2020-01-09 06:58:49   residentsAsleepDevs -
     2020-01-09 06:58:49   residentsAsleepNames -
     2020-01-09 06:59:50   residentsAwoken 0
     2020-01-09 06:59:50   residentsAwokenDevs -
     2020-01-09 06:59:50   residentsAwokenNames -
     2019-10-25 23:17:19   residentsGone   0
     2019-10-25 23:17:19   residentsGoneDevs -
     2019-10-25 23:17:19   residentsGoneNames -
     2020-01-09 08:23:13   residentsGotosleep 0
     2020-01-09 08:23:13   residentsGotosleepDevs -
     2020-01-09 08:23:13   residentsGotosleepNames -
     2020-01-09 08:23:13   residentsHome   2
     2020-01-09 08:23:13   residentsHomeDevs rr_Alex,rr_Verena
     2020-01-09 08:23:13   residentsHomeNames Alex, Verena
     2018-11-27 14:05:26   residentsTotal  2
     2020-01-09 08:18:23   residentsTotalAbsent 0
     2020-01-09 08:18:23   residentsTotalAbsentDevs -
     2020-01-09 08:18:23   residentsTotalAbsentNames -
     2018-11-27 14:05:26   residentsTotalGuests 0
     2018-11-27 14:05:26   residentsTotalGuestsAbsent 0
     2018-11-27 14:05:26   residentsTotalGuestsAbsentDevs -
     2018-11-27 14:05:26   residentsTotalGuestsAbsentNames -
     2018-11-27 10:40:58   residentsTotalGuestsPresent 0
     2018-11-27 10:40:58   residentsTotalGuestsPresentDevs -
     2018-11-27 10:40:58   residentsTotalGuestsPresentNames -
     2019-05-06 12:28:32   residentsTotalPeople 2
     2020-01-09 08:18:23   residentsTotalPeopleAbsent 0
     2020-01-09 08:18:23   residentsTotalPeopleAbsentDevs -
     2020-01-09 08:18:23   residentsTotalPeopleAbsentNames -
     2020-01-09 08:18:23   residentsTotalPeoplePresent 2
     2020-01-09 08:18:23   residentsTotalPeoplePresentDevs rr_Alex,rr_Verena
     2020-01-09 08:18:23   residentsTotalPeoplePresentNames Alex, Verena
     2019-05-06 12:28:32   residentsTotalPets 0
     2019-05-06 12:28:32   residentsTotalPetsAbsent 0
     2019-05-06 12:28:32   residentsTotalPetsAbsentDevs -
     2019-05-06 12:28:32   residentsTotalPetsAbsentNames -
     2019-05-06 12:28:32   residentsTotalPetsPresent 0
     2019-05-06 12:28:32   residentsTotalPetsPresentDevs -
     2019-05-06 12:28:32   residentsTotalPetsPresentNames -
     2020-01-09 08:18:23   residentsTotalPresent 2
     2020-01-09 08:18:23   residentsTotalPresentDevs rr_Alex,rr_Verena
     2020-01-09 08:18:23   residentsTotalPresentNames Alex, Verena
     2017-03-05 13:37:11   residentsTotalRoommates 2
     2020-01-09 08:18:23   residentsTotalRoommatesAbsent 0
     2020-01-09 08:18:23   residentsTotalRoommatesAbsentDevs -
     2020-01-09 08:18:23   residentsTotalRoommatesAbsentNames -
     2020-01-09 08:18:23   residentsTotalRoommatesPresent 2
     2020-01-09 08:18:23   residentsTotalRoommatesPresentDevs rr_Alex,rr_Verena
     2020-01-09 08:18:23   residentsTotalRoommatesPresentNames Alex, Verena
     2017-03-05 13:37:11   residentsTotalWakeup 0
     2017-03-05 13:37:11   residentsTotalWakeupDevs -
     2017-03-05 13:37:11   residentsTotalWakeupNames -
     2017-03-05 13:37:11   residentsTotalWayhome 0
     2017-03-05 13:37:11   residentsTotalWayhomeDelayed 0
     2017-03-05 13:37:11   residentsTotalWayhomeDelayedDevs -
     2017-03-05 13:37:11   residentsTotalWayhomeDelayedNames -
     2017-03-05 13:37:11   residentsTotalWayhomeDevs -
     2017-03-05 13:37:11   residentsTotalWayhomeNames -
     2020-01-09 08:23:13   state           home
   TIMER:
     xxx_DurationTimer:
       HASH       xxx
       MODIFIER   DurationTimer
       NAME       xxx_DurationTimer
Attributes:
   alias      Residents
   devStateIcon .*zuhause:user_available:absent .*anwesend:user_available:absent .*abwesend:user_away:home .*verreist:user_ext_away:home .*bettfertig:scene_toilet:asleep .*schlaeft:scene_sleeping:awoken .*schläft:scene_sleeping:awoken .*aufgestanden:scene_sleeping_alternat:home .*:user_unknown:home
   eventMap   home:zuhause absent:abwesend gone:verreist gotosleep:bettfertig asleep:schläft awoken:aufgestanden
   group      Home State
   icon       control_building_filled
   room       Bewohner
   webCmd     state
   widgetOverride state:zuhause,bettfertig,schläft,aufgestanden,abwesend,verreist


Ich gehe davon aus daß das eventMap Schuld daran ist. Aber wieso genau schaue ich nachher mal. Eigentlich sollte er gar nichts tun wenn er das Event nicht zuordnen kann.

Auf jeden Fall ist das Residents so mehr oder weniger sinnlos. Es hilft hier nur bei Auswertungsbedingungen, nicht aber bei Eventverarbeitung.
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

majestro84

Das ist richtig das es eigentlich Überflüssig ist im Moment habe es halt nur im ASC schon einmal eingetragen benutzt wird es nicht
Server: Fujitsu ESPRIMO Q920 - aktuellen FHEM-Docker Image:Z-Wave (RollerShutter,DoorWindow,Socket,PIR,....) | ENIGMA2 | EGPM2LAN | BLE-Tag(PRESENCE) | HUE | alexa-fhem | Shelly | MQTT2
1.Pi-Zero:Viessmann(optolink) mit 89_VCONTROL300.pm
2.Pi3 Dongle Server: Zigbee2MQTT(CC1352P-2), Z-Wave(UZB1), BT

CoolTux

Zitat von: majestro84 am 09 Januar 2020, 08:28:54
Ok hier mal das List

Internals:
   DURATIONTIMER 1578554774.00114
   FUUID      5c48851f-f33f-e69a-4b90-d93122de30083527
   FVERSION   10_RESIDENTS.pm:0.195330/2019-06-02
   NAME       xxx
   NOTIFYDEV  global,rr_Alex,rr_Verena
   NR         434
   NTFY_ORDER 50-xxx
   READY      1
   ROOMMATES  rr_Alex,rr_Verena
   STATE      zuhause
   TYPE       RESIDENTS
   READINGS:
     2020-01-08 12:14:12   durTimerAbsence 00:00:00
     2020-01-08 12:14:12   durTimerAbsence_cr 0
     2020-01-09 08:25:14   durTimerPresence 20:11:02
     2020-01-09 08:25:14   durTimerPresence_cr 1211
     2020-01-09 06:58:48   durTimerSleep   00:00:00
     2020-01-09 06:58:48   durTimerSleep_cr 0
     2019-05-06 12:28:32   homealoneSubtype -
     2019-05-06 12:28:32   homealoneType   -
     2020-01-09 08:23:13   lastActivity    home
     2020-01-09 08:23:13   lastActivityBy  Verena
     2020-01-09 08:23:13   lastActivityByDev rr_Verena
     2020-01-08 12:14:12   lastArrival     2020-01-08 12:14:12
     2020-01-09 06:58:48   lastAwake       2020-01-09 06:58:48
     2020-01-08 11:25:57   lastDeparture   2020-01-08 11:25:57
     2020-01-08 12:14:12   lastDurAbsence  00:48:15
     2020-01-08 12:14:12   lastDurAbsence_cr 48
     2020-01-08 11:25:57   lastDurPresence 00:12:15
     2020-01-08 11:25:57   lastDurPresence_cr 12
     2020-01-09 06:58:48   lastDurSleep    07:21:12
     2020-01-09 06:58:48   lastDurSleep_cr 441
     2019-05-06 13:29:32   lastHomealoneSubtype -
     2019-05-06 13:29:32   lastHomealoneType -
     2020-01-08 23:37:36   lastSleep       2020-01-08 23:37:36
     2020-01-09 08:23:13   lastState       gotosleep
     2020-01-08 12:14:12   presence        present
     2020-01-09 08:18:23   residentsAbsent 0
     2020-01-09 08:18:23   residentsAbsentDevs -
     2020-01-09 08:18:23   residentsAbsentNames -
     2020-01-09 06:58:49   residentsAsleep 0
     2020-01-09 06:58:49   residentsAsleepDevs -
     2020-01-09 06:58:49   residentsAsleepNames -
     2020-01-09 06:59:50   residentsAwoken 0
     2020-01-09 06:59:50   residentsAwokenDevs -
     2020-01-09 06:59:50   residentsAwokenNames -
     2019-10-25 23:17:19   residentsGone   0
     2019-10-25 23:17:19   residentsGoneDevs -
     2019-10-25 23:17:19   residentsGoneNames -
     2020-01-09 08:23:13   residentsGotosleep 0
     2020-01-09 08:23:13   residentsGotosleepDevs -
     2020-01-09 08:23:13   residentsGotosleepNames -
     2020-01-09 08:23:13   residentsHome   2
     2020-01-09 08:23:13   residentsHomeDevs rr_Alex,rr_Verena
     2020-01-09 08:23:13   residentsHomeNames Alex, Verena
     2018-11-27 14:05:26   residentsTotal  2
     2020-01-09 08:18:23   residentsTotalAbsent 0
     2020-01-09 08:18:23   residentsTotalAbsentDevs -
     2020-01-09 08:18:23   residentsTotalAbsentNames -
     2018-11-27 14:05:26   residentsTotalGuests 0
     2018-11-27 14:05:26   residentsTotalGuestsAbsent 0
     2018-11-27 14:05:26   residentsTotalGuestsAbsentDevs -
     2018-11-27 14:05:26   residentsTotalGuestsAbsentNames -
     2018-11-27 10:40:58   residentsTotalGuestsPresent 0
     2018-11-27 10:40:58   residentsTotalGuestsPresentDevs -
     2018-11-27 10:40:58   residentsTotalGuestsPresentNames -
     2019-05-06 12:28:32   residentsTotalPeople 2
     2020-01-09 08:18:23   residentsTotalPeopleAbsent 0
     2020-01-09 08:18:23   residentsTotalPeopleAbsentDevs -
     2020-01-09 08:18:23   residentsTotalPeopleAbsentNames -
     2020-01-09 08:18:23   residentsTotalPeoplePresent 2
     2020-01-09 08:18:23   residentsTotalPeoplePresentDevs rr_Alex,rr_Verena
     2020-01-09 08:18:23   residentsTotalPeoplePresentNames Alex, Verena
     2019-05-06 12:28:32   residentsTotalPets 0
     2019-05-06 12:28:32   residentsTotalPetsAbsent 0
     2019-05-06 12:28:32   residentsTotalPetsAbsentDevs -
     2019-05-06 12:28:32   residentsTotalPetsAbsentNames -
     2019-05-06 12:28:32   residentsTotalPetsPresent 0
     2019-05-06 12:28:32   residentsTotalPetsPresentDevs -
     2019-05-06 12:28:32   residentsTotalPetsPresentNames -
     2020-01-09 08:18:23   residentsTotalPresent 2
     2020-01-09 08:18:23   residentsTotalPresentDevs rr_Alex,rr_Verena
     2020-01-09 08:18:23   residentsTotalPresentNames Alex, Verena
     2017-03-05 13:37:11   residentsTotalRoommates 2
     2020-01-09 08:18:23   residentsTotalRoommatesAbsent 0
     2020-01-09 08:18:23   residentsTotalRoommatesAbsentDevs -
     2020-01-09 08:18:23   residentsTotalRoommatesAbsentNames -
     2020-01-09 08:18:23   residentsTotalRoommatesPresent 2
     2020-01-09 08:18:23   residentsTotalRoommatesPresentDevs rr_Alex,rr_Verena
     2020-01-09 08:18:23   residentsTotalRoommatesPresentNames Alex, Verena
     2017-03-05 13:37:11   residentsTotalWakeup 0
     2017-03-05 13:37:11   residentsTotalWakeupDevs -
     2017-03-05 13:37:11   residentsTotalWakeupNames -
     2017-03-05 13:37:11   residentsTotalWayhome 0
     2017-03-05 13:37:11   residentsTotalWayhomeDelayed 0
     2017-03-05 13:37:11   residentsTotalWayhomeDelayedDevs -
     2017-03-05 13:37:11   residentsTotalWayhomeDelayedNames -
     2017-03-05 13:37:11   residentsTotalWayhomeDevs -
     2017-03-05 13:37:11   residentsTotalWayhomeNames -
     2020-01-09 08:23:13   state           home
   TIMER:
     xxx_DurationTimer:
       HASH       xxx
       MODIFIER   DurationTimer
       NAME       xxx_DurationTimer
Attributes:
   alias      Residents
   devStateIcon .*zuhause:user_available:absent .*anwesend:user_available:absent .*abwesend:user_away:home .*verreist:user_ext_away:home .*bettfertig:scene_toilet:asleep .*schlaeft:scene_sleeping:awoken .*schläft:scene_sleeping:awoken .*aufgestanden:scene_sleeping_alternat:home .*:user_unknown:home
   eventMap   home:zuhause absent:abwesend gone:verreist gotosleep:bettfertig asleep:schläft awoken:aufgestanden
   group      Home State
   icon       control_building_filled
   room       Bewohner
   webCmd     state
   widgetOverride state:zuhause,bettfertig,schläft,aufgestanden,abwesend,verreist


Ok ich denke es scheint doch etwas anderes zu sein. Deine Residents Situation ist folgende.

Du stehst aktuell auf home und das Reading ist von früh morgens. Eigentlich erwartet man der Logik nach das der alte Status der Residents entweder asleep oder awoken ist. Nur bei Dir ist es gotosleep. Das macht kein Sinn.
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

majestro84

Normal ist es asleep. Heute morgen nach dem ich aus den Haus bin muss einer der noch im Haus war wieder auf gotosleep umgeschaltet haben. Deshalb das Durcheinander. Ich hatte das beim list erstellen gesehen und mein Dummy wieder auf aufstehen gestellt. Dadurch wird das Residents auf Home gesetzt. Ich kann das morgen früh aber noch einmal kontrollieren
Server: Fujitsu ESPRIMO Q920 - aktuellen FHEM-Docker Image:Z-Wave (RollerShutter,DoorWindow,Socket,PIR,....) | ENIGMA2 | EGPM2LAN | BLE-Tag(PRESENCE) | HUE | alexa-fhem | Shelly | MQTT2
1.Pi-Zero:Viessmann(optolink) mit 89_VCONTROL300.pm
2.Pi3 Dongle Server: Zigbee2MQTT(CC1352P-2), Z-Wave(UZB1), BT

CoolTux

Ich bin den Code gerade noch mal durch und es dürfte sich bei Dir nichts bewegen wenn Du es so machst wie beschrieben.


if (
                    $shutters->getStatus != $shutters->getClosedPos
                and not $shutters->getIsDay
                and $shutters->getRoommatesStatus eq 'none'
                and (  $getModeDown eq 'home'
                    or $getModeDown eq 'always' )
                and (  $getResidentsLastStatus ne 'asleep'
                    or $getResidentsLastStatus ne 'awoken' )
                and IsAfterShuttersTimeBlocking($shuttersDev)
                and not $shutters->getSelfDefenseState
              )
            {
                $shutters->setLastDrive('residents come home');
                $shutters->setDriveCmd( $shutters->getClosedPos );
            }


Für Dich ist $getResidentsLastStatus interessant. Du siehst es dürfte bei Dir nichts passieren wenn lastState asleep oder awoken war.
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

majestro84

Server: Fujitsu ESPRIMO Q920 - aktuellen FHEM-Docker Image:Z-Wave (RollerShutter,DoorWindow,Socket,PIR,....) | ENIGMA2 | EGPM2LAN | BLE-Tag(PRESENCE) | HUE | alexa-fhem | Shelly | MQTT2
1.Pi-Zero:Viessmann(optolink) mit 89_VCONTROL300.pm
2.Pi3 Dongle Server: Zigbee2MQTT(CC1352P-2), Z-Wave(UZB1), BT