Fibaro Roller Shutter 2 FHEM + Raspberry 3

Begonnen von Micky, 31 August 2017, 15:49:38

Vorheriges Thema - Nächstes Thema

Micky

Guten Tag,

kleine Frage wenn ich mein Aktor betätige funktioniert es super.
Über Fhem kalibierung geht auch super (Der Aktor fährt die Rolllade zur Kalibrierung vollständig hoch, runter und wieder hoch.)

Wenn ich allerdings sage
DOWN fährt er hoch
UP fährt er Runter
DIM 90 fährt er nur 10% runter
DIM 10 fährt er fast komplett runter bleiben nur kleine licht fugen.

Der elektrier hat mir den Aktor eingebaut, hab auch gestern ausgebaut und gesehen das alles gut angeschlossen war, sprich
S1 hoch/ Q1 zum Motor
S2 runter/ Q2 zum Motor

sind mein Meinung nach miteinerander angeschlossen.

Was muss ich jetzt drehen wenn er richtig UP / Down fahren soll per FHEM !?

am Aktor:
Q1 und Q2
und/oder
S1 und S2

dann muss ich doch auch die Pfeiltasten ändern sprich aktuell ist bei mir so
links Taste nach oben-
rechts taste nach unten und per taster stimmt wie gesagt alles

Eine "List zwave Rollo" erstelle ich später, wollte nur erstmal verstehen ob er falsch angeschlossen wurde ?

Danke !!

HGButte

Bei mir ist die  Abwärtstaste auf S1, entsprechend Aufwärtstaste auf S2.

Bei mir fahren die Rollos so wie sie sollen.

Dim 99 ist unten.
Dim 0 ist oben.

Micky


Fixel2012

Du kannst mit eventmap alles um mappen sprich von up zu down usw.

Denke aber ein umkehren der Adern vom Aktor zum Rollladen reicht aus?
Fhem 5.8 auf Raspi 3, HMLAN und 868MHz CUL mit einigen Komponenten, Z-Wave Rollladenaktoren, Tablet UI, 433 MHz CUL mit Baumarktsteckdosen und Temp Sensoren, Amazon Echo, Echo Dot, 2x SONOS  play1, 1x SONOS Connect AMP,  presence, HUE, Lightify

Micky

ok, bin gerade dabei.

Aber wie gesagt am Aktor einfach nur S1 und S2 tauschen oder das Q1 und Q2 ebenso ?

Fixel2012

Q1 und Q2, diese gehen zum Motor. Siehe Handbuch.

S1 und S2 gehen zum Taster.
Fhem 5.8 auf Raspi 3, HMLAN und 868MHz CUL mit einigen Komponenten, Z-Wave Rollladenaktoren, Tablet UI, 433 MHz CUL mit Baumarktsteckdosen und Temp Sensoren, Amazon Echo, Echo Dot, 2x SONOS  play1, 1x SONOS Connect AMP,  presence, HUE, Lightify

Micky

hab S1 und S2 getauscht, dennoch gleiches Problem

Fixel2012

Du musst Q1 und Q2 tauschen.

Jetzt hast du die Belegung der Taster getauscht.
Fhem 5.8 auf Raspi 3, HMLAN und 868MHz CUL mit einigen Komponenten, Z-Wave Rollladenaktoren, Tablet UI, 433 MHz CUL mit Baumarktsteckdosen und Temp Sensoren, Amazon Echo, Echo Dot, 2x SONOS  play1, 1x SONOS Connect AMP,  presence, HUE, Lightify

HGButte

Würde auch Q1 und Q2 tauschen.

Prüfe mal wie du deine Schalter angeschlossen hast.
Wenn sie so sind wie bei mir, die Rollos aber genau falsch herum fahren ( Taste runter -> Rollo fährt hoch ),
dann muss definitiv Q1 und Q2 getauscht werden.

Micky

scheint zu gehen!

super jungs.

Q1 mit Q2 danke

Micky

#10
brauche doch nochmal hilft
habe von 7 Rollo Shutter 2 , 3 einbinden können die anderen zicken.

mache immer folgendes:


set ZWAVE1 addNode onNw

es erscheint keine Meldung....dann gehe ich zum Aktor mit dem Raspberry 3 x kurz hintereinander und klicke 3x auf dem Aktor oder auch schnelles aber es tut sich nix, keine Meldung per FHEM

gibt es eine Möglichkeit zu sehen das FHEM bzw. das ZWAVE1 Modul sich im Anlernmodus befinden ?

bei 3 hat es super geklappt.

LIST ZWAVE1
ZitatInternals:
   CallbackNr 4
   Clients    :ZWave:
   DEF        /dev/ttyAMA0@115200
   DeviceName /dev/ttyAMA0@115200
   FD         11
   MaxSendRetries 3
   NAME       ZWAVE1
   NR         26
   PARTIAL
   RAWMSG     00130a01019e
   ReadTime   1504182777.37973
   STATE      Initialized
   SendRetries 0
   SendTime   1504182773.24463
   TYPE       ZWDongle
   WaitForAck 0
   ZWAVE1_MSGCNT 26
   ZWAVE1_TIME 2017-08-31 14:32:57
   homeId     c7abb922
   nodeIdHex  01
   nrNAck     0
   MatchList:
     1:ZWave    .*
   READINGS:
     2017-08-31 14:28:28   caps            Vers:5 Rev:4 ManufID:0147 ProductType:0400 ProductID:0002 SERIAL_API_GET_INIT_DATA SERIAL_API_APPL_NODE_INFORMATION APPLICATION_COMMAND_HANDLER ZW_GET_CONTROLLER_CAPABILITIES SERIAL_API_SET_TIMEOUTS SERIAL_API_GET_CAPABILITIES SERIAL_API_SOFT_RESET UNKNOWN_09 UNKNOWN_0a ZW_SET_R_F_RECEIVE_MODE ZW_SET_SLEEP_MODE ZW_SEND_NODE_INFORMATION ZW_SEND_DATA ZW_SEND_DATA_MULTI ZW_GET_VERSION ZW_SEND_DATA_ABORT ZW_R_F_POWER_LEVEL_SET ZW_SEND_DATA_META ZW_GET_RANDOM MEMORY_GET_ID MEMORY_GET_BYTE MEMORY_PUT_BYTE MEMORY_GET_BUFFER MEMORY_PUT_BUFFER FLASH_AUTO_PROG_SET UNKNOWN_28 NVM_GET_ID NVM_EXT_READ_LONG_BUFFER NVM_EXT_WRITE_LONG_BUFFER NVM_EXT_READ_LONG_BYTE NVM_EXT_WRITE_LONG_BYTE ZW_GET_NODE_PROTOCOL_INFO ZW_SET_DEFAULT ZW_REPLICATION_COMMAND_COMPLETE ZW_REPLICATION_SEND_DATA ZW_ASSIGN_RETURN_ROUTE ZW_DELETE_RETURN_ROUTE ZW_REQUEST_NODE_NEIGHBOR_UPDATE ZW_APPLICATION_UPDATE ZW_ADD_NODE_TO_NETWORK ZW_REMOVE_NODE_FROM_NETWORK ZW_CREATE_NEW_PRIMARY ZW_CONTROLLER_CHANGE ZW_SET_LEARN_MODE ZW_ASSIGN_SUC_RETURN_ROUTE ZW_REQUEST_NETWORK_UPDATE ZW_SET_SUC_NODE_ID ZW_DELETE_SUC_RETURN_ROUTE ZW_GET_SUC_NODE_ID ZW_SEND_SUC_ID ZW_EXPLORE_REQUEST_INCLUSION ZW_REQUEST_NODE_INFO ZW_REMOVE_FAILED_NODE_ID ZW_IS_FAILED_NODE ZW_REPLACE_FAILED_NODE UNKNOWN_66 UNKNOWN_67 UNKNOWN_78 GET_ROUTING_TABLE_LINE LOCK_ROUTE_RESPONSE ZW_GET_PRIORITY_ROUTE ZW_SET_PRIORITY_ROUTE UNKNOWN_98 ZW_SET_WUT_TIMEOUT ZW_WATCHDOG_ENABLE ZW_WATCHDOG_DISABLE ZW_WATCHDOG_CHECK ZW_SET_EXT_INT_LEVEL ZW_RF_POWERLEVEL_GET ZW_TYPE_LIBRARY ZW_SEND_TEST_FRAME ZW_GET_PROTOCOL_STATUS WATCHDOG_START WATCHDOG_STOP UNKNOWN_d4 UNKNOWN_ef ZME_FREQ_CHANGE ZME_BOOTLOADER_FLASH UNKNOWN_f5
     2017-08-31 14:28:28   ctrlCaps        MEMBER PRIMARY SUC
     2017-08-31 14:28:28   homeId          HomeId:c7abb922 CtrlNodeIdHex:01
     2017-08-30 20:37:11   nodeList        ZWAVE1 UNKNOWN_2 UNKNOWN_3 Flur_Lampe
     2017-08-31 14:28:28   random          0d7d230c0fc4aef4850d321aa3e2d7051b9f6308641b5d12b0ccbfe4850085e0
     2017-08-31 14:28:28   state           Initialized
     2017-08-31 14:28:28   sucNodeId       1
     2017-08-29 23:06:30   version         Z-Wave 4.05 STATIC_CONTROLLER
   SendStack:
   addCL:
     Authenticated 1
     BUF
     FW_ID      78
     LASTACCESS 1504182591
     NAME       WEB_192.168.1.179_64104
     NR         83
     NTFY_ORDER WEB_192.168.1.179_64104
     PEER       192.168.1.179
     PORT       64104
     SNAME      WEB
     SSL        1
     STATE      Connected
     TEMPORARY  1
     TYPE       FHEMWEB
     WBCallback
     canAsyncOutput 1
     inform:
       filter     room=all
       fmt        JSON
       since      1504182590
       type       status
       devices:
         #FHEMWEB:WEB 1
         AZ_Rollo   1
         Ab_An_schaltautomatik 1
         ArzuGtag   1
         Bad_Rollo  1
         DOIF_Alle_Lichter_an 1
         DOIF_Alle_Lichter_aus 1
         DOIF_HomeS_AWAY 1
         DOIF_HomeS_HOLIDAY 1
         DOIF_HomeS_HOME 1
         DOIF_HomeS_NIGHT 1
         FileLog_Bad_Rollo 1
         FileLog_Kueche_Rollo 1
         FileLog_WZ_Rollo_Links 1
         FileLog_Wohnzimmer_Lampe 1
         Flur_Lampe 1
         Gesamtes_Licht 1
         Gesamtes_Licht_on 1
         HomeStatus 1
         KuecheRollo 1
         Kueche_Rollo 1
         LeandroGtag 1
         LichtWetter 1
         Logfile    1
         MickyGtag  1
         OUT.WetterHtml 1
         Push       1
         ROLLADEN_DOWN 1
         SZ_Rollo_Links 1
         SZ_Rollo_Rechts 1
         TABLETUI   1
         WEB        1
         WEB_127.0.0.1_44704 1
         WEB_192.168.1.179_64095 1
         WEB_192.168.1.179_64096 1
         WEB_192.168.1.179_64097 1
         WEB_192.168.1.179_64104 1
         WEB_192.168.1.179_64105 1
         WEB_192.168.1.179_64106 1
         WEBphone   1
         WEBtablet  1
         WZ_Rollo_Links 1
         WZ_Rollo_Rechts 1
         Wetter     1
         Wohnzimmer_Lampe 1
         ZWAVE1     1
         alle_Rollos 1
         allowed_WEB 1
         allowed_WEBphone 1
         allowed_WEBtablet 1
         allowed_telnetPort 1
         autocreate 1
         away       1
         badRollo   1
         eventTypes 1
         global     1
         holiday    1
         home       1
         initialUsbCheck 1
         night      1
         telnetPort 1
         test       1
         watchdog_Anwesenheit 1
Attributes:
   homeId     c7abb922
   room       9.6_System

Danke nochmal

krikan

Zitat von: Micky am 31 August 2017, 20:32:40
gibt es eine Möglichkeit zu sehen das FHEM bzw. das ZWAVE1 Modul sich im Anlernmodus befinden ?
Öffne im Browser ein 2. Fenster mit dem EventMonitor bevor Du addNode aufrufst. Dann kannst Du es anhand der mMn selbsterklaeernden Events nachvollziehen. Im ZWDongle-Device kannst Du es nicht erkennen.

https://fhem.de/commandref.html#ZWDongle:
ZitataddNode
ZW_ADD_NODE_TO_NETWORK [learnReady|nodeFound|slave|controller| done|failed]

Deine Beschreibung liest sich nach "aufgehaengten" Controller. Mache den einmal kurz stromlos bevor Du weiter probierst.

Gruß, Christian

Micky

Hi Christian,

danke nochmal, also er startet anscheinend

2017-08-31 15:28:55 ZWDongle ZWAVE1 addNode onNw
2017-08-31 15:28:55 ZWDongle ZWAVE1 ZW_ADD_NODE_TO_NETWORK learnReady


leider wollen die Aktore nicht, kann es sein weil ich die schon mal über Fibaro direkt eingebunden hatte ??
aber lange her weiss selbst nicht mehr, hab auch den einen versucht zurück zu setzten durch das drücken auf B (14 sek) reset taste

kann ich sonst noch was tun ?

Micky

hi,

hab removeNODE ausprobiert anschliessend den Aktor misshandelt und dann wieder addNode und dann hat er ihn eingebunden.

Versuche es bei den anderen auch so.

danke

Micky

5 von 7 eingebunden.

Die anderen 2 wollen einfach nicht. Werde es morgen versuchen


Micky

#15
Guten Abend,

habe eine kleine kleine Frage ist es normal das die Aktore immer so ein klick Geräusch von sich geben, als ob sie benutzt werden, oder kann es am DOIF liegen der diese ständig abfragt ?

hier mal mein code:
Zitat
([HomeStatus] eq "away" and [{twilight ("LichtWetter","sr_indoor","8:30","10:59")}] and [Wetter:condition] =~ m/Gewitter|Schnee|Regen|Schauer|Hagel|Orkan|Sturm/)
(set Gesamtes_Licht off, set alle_Rollos dim 60)

DOELSEIF
([HomeStatus] eq "away" and [{twilight ("LichtWetter","sr_indoor","8:30","10:59")}] and [Wetter:condition] =~ m/Sonne|Bewölkt|Klar|Sonnig|Wechselhaft/)
(set Gesamtes_Licht off, set alle_Rollos up)

DOELSEIF
([HomeStatus] eq "away" and [{twilight ("LichtWetter","ss_civil","19:00","21:00")}])
(set Gesamtes_Licht off, set alle_Rollos dim 30)

DOELSEIF
([HomeStatus] eq "away" and [{twilight ("LichtWetter","ss_astro","21:00","22:45")}])
(set Gesamtes_Licht off, set alle_Rollos dim 60)

DOELSEIF
([HomeStatus] eq "away" and [22:37-22:45])
(set Flur_Lampe on)

DOELSEIF
([HomeStatus] eq "away" and [22:46-22:50])
(set Gesamtes_Licht off)

DOELSEIF
([HomeStatus] eq "away" and [23:02-08:29] or [23:02-08:29] and [Wetter:condition] =~ m/Gewitter|Schnee|Regen|Schauer|Hagel|Orkan|Sturm/)
(set Gesamtes_Licht off, set alle_Rollos dim 99)

DOELSE
(set Gesamtes_Licht off)

hier mal die list:

Internals:
   DEF
([HomeStatus] eq "away" and [{twilight ("LichtWetter","sr_indoor","8:30","10:59")}] and [Wetter:condition] =~ m/Gewitter|Schnee|Regen|Schauer|Hagel|Orkan|Sturm/)
(set Gesamtes_Licht off, set alle_Rollos dim 60)

DOELSEIF
([HomeStatus] eq "away" and [{twilight ("LichtWetter","sr_indoor","8:30","10:59")}] and [Wetter:condition] =~ m/Sonne|Bewölkt|Klar|Sonnig|Wechselhaft/)
(set Gesamtes_Licht off, set alle_Rollos up)

DOELSEIF
([HomeStatus] eq "away" and [{twilight ("LichtWetter","ss_civil","19:00","21:00")}])
(set Gesamtes_Licht off, set alle_Rollos dim 30)

DOELSEIF
([HomeStatus] eq "away" and [{twilight ("LichtWetter","ss_astro","21:00","22:45")}])
(set Gesamtes_Licht off, set alle_Rollos dim 60)

DOELSEIF
([HomeStatus] eq "away" and [22:37-22:45])
(set Flur_Lampe on)

DOELSEIF
([HomeStatus] eq "away" and [22:46-22:50])
(set Gesamtes_Licht off)

DOELSEIF
([HomeStatus] eq "away" and [23:02-08:29] or [23:02-08:29] and [Wetter:condition] =~ m/Gewitter|Schnee|Regen|Schauer|Hagel|Orkan|Sturm/)
(set Gesamtes_Licht off, set alle_Rollos dim 99)

DOELSE
(set Gesamtes_Licht off)
   NAME       DOIF_HomeS_AWAY
   NR         50
   NTFY_ORDER 50-DOIF_HomeS_AWAY
   STATE      cmd_8
   TYPE       DOIF
   READINGS:
     2017-09-03 18:14:16   Device          Wetter
     2017-09-03 11:42:16   cmd             8
     2017-09-03 11:42:16   cmd_event       HomeStatus
     2017-09-03 11:42:16   cmd_nr          8
     2017-09-03 11:52:44   e_HomeStatus_STATE night
     2017-09-03 18:14:16   e_Wetter_condition teilweise wolkig
     2017-09-03 11:42:16   state           cmd_8
     2017-09-03 11:43:27   timer_01_c01    04.09.2017 08:53:39
     2017-09-03 11:43:27   timer_02_c02    04.09.2017 08:53:39
     2017-09-03 11:43:27   timer_03_c03    03.09.2017 20:39:40
     2017-09-03 11:43:27   timer_04_c04    03.09.2017 22:04:39
     2017-09-03 11:43:27   timer_05_c05    03.09.2017 22:37:00
     2017-09-03 11:43:27   timer_06_c05    03.09.2017 22:45:00
     2017-09-03 11:43:27   timer_07_c06    03.09.2017 22:46:00
     2017-09-03 11:43:27   timer_08_c06    03.09.2017 22:50:00
     2017-09-03 11:43:27   timer_09_c07    03.09.2017 23:02:00
     2017-09-03 11:43:27   timer_10_c07    04.09.2017 08:29:00
     2017-09-03 11:43:27   timer_11_c07    03.09.2017 23:02:00
     2017-09-03 11:43:27   timer_12_c07    04.09.2017 08:29:00
   condition:
     0          InternalDoIf($hash,'HomeStatus','STATE') eq "away" and DOIF_time_once($hash,0,$wday) and ReadingValDoIf($hash,'Wetter','condition') =~ m/Gewitter|Schnee|Regen|Schauer|Hagel|Orkan|Sturm/
     1          InternalDoIf($hash,'HomeStatus','STATE') eq "away" and DOIF_time_once($hash,1,$wday) and ReadingValDoIf($hash,'Wetter','condition') =~ m/Sonne|Bewölkt|Klar|Sonnig|Wechselhaft/
     2          InternalDoIf($hash,'HomeStatus','STATE') eq "away" and DOIF_time_once($hash,2,$wday)
     3          InternalDoIf($hash,'HomeStatus','STATE') eq "away" and DOIF_time_once($hash,3,$wday)
     4          InternalDoIf($hash,'HomeStatus','STATE') eq "away" and DOIF_time($hash,4,5,$wday,$hms)
     5          InternalDoIf($hash,'HomeStatus','STATE') eq "away" and DOIF_time($hash,6,7,$wday,$hms)
     6          InternalDoIf($hash,'HomeStatus','STATE') eq "away" and DOIF_time($hash,8,9,$wday,$hms) or DOIF_time($hash,10,11,$wday,$hms) and ReadingValDoIf($hash,'Wetter','condition') =~ m/Gewitter|Schnee|Regen|Schauer|Hagel|Orkan|Sturm/
   days:
   devices:
     0           HomeStatus Wetter
     1           HomeStatus Wetter
     2           HomeStatus
     3           HomeStatus
     4           HomeStatus
     5           HomeStatus
     6           HomeStatus Wetter
     all         HomeStatus Wetter
   do:
     0:
       0          set Gesamtes_Licht off, set alle_Rollos dim 60
     1:
       0          set Gesamtes_Licht off, set alle_Rollos up
     2:
       0          set Gesamtes_Licht off, set alle_Rollos dim 30
     3:
       0          set Gesamtes_Licht off, set alle_Rollos dim 60
     4:
       0          set Flur_Lampe on
     5:
       0          set Gesamtes_Licht off
     6:
       0          set Gesamtes_Licht off, set alle_Rollos dim 99
     7:
       0          set Gesamtes_Licht off
   helper:
     event      lastError: ,pubDateComment: okay,pubDate: Sun, 03 Sep 2017 05:00 PM CEST,pubDateRemote: Sun, 03 Sep 2017 05:00 PM CEST,pubDateTs: 1504450800,isConverted: 0,validity: up-to-date,description: Yahoo! Weather for Frankfurt, HE, DE,city: Frankfurt,region:  HE,country: Germany,lat: 51.3432432,long: 9.3341,wind: 0,wind_speed: 0,wind_chill: 20,wind_direction: 180,wind_condition: Wind: S 0 km/h,humidity: 41,pressure: 999,visibility: 16,pressure_trend: 0,pressure_trend_txt: gleichbleibend,pressure_trend_sym: =,current_date_time: Sun, 03 Sep 2017 05:00 PM CEST,day_of_week: So,code: 30,condition: teilweise wolkig,icon: partly_cloudy,temp_c: 20,temperature: 20,fc1_day_of_week: So,fc1_date: 03 Sep 2017,fc1_low_c: 8,fc1_high_c: 20,fc1_code: 30,fc1_condition: teilweise wolkig,fc1_icon: partly_cloudy,fc2_day_of_week: Mo,fc2_date: 04 Sep 2017,fc2_low_c: 11,fc2_high_c: 22,fc2_code: 30,fc2_condition: teilweise wolkig,fc2_icon: partly_cloudy,fc3_day_of_week: Di,fc3_date: 05 Sep 2017,fc3_low_c: 12,fc3_high_c: 22,fc3_code: 28,fc3_condition: überwiegend wolkig,fc3_icon: mostlycloudy,fc4_day_of_week: Mi,fc4_date: 06 Sep 2017,fc4_low_c: 14,fc4_high_c: 20,fc4_code: 12,fc4_condition: Schauer,fc4_icon: chance_of_rain,fc5_day_of_week: Do,fc5_date: 07 Sep 2017,fc5_low_c: 10,fc5_high_c: 17,fc5_code: 28,fc5_condition: überwiegend wolkig,fc5_icon: mostlycloudy,fc6_day_of_week: Fr,fc6_date: 08 Sep 2017,fc6_low_c: 10,fc6_high_c: 19,fc6_code: 28,fc6_condition: überwiegend wolkig,fc6_icon: mostlycloudy,fc7_day_of_week: Sa,fc7_date: 09 Sep 2017,fc7_low_c: 12,fc7_high_c: 18,fc7_code: 39,fc7_condition: vereinzelt Gewitter,fc7_icon: scatteredthunderstorms,fc8_day_of_week: So,fc8_date: 10 Sep 2017,fc8_low_c: 12,fc8_high_c: 18,fc8_code: 39,fc8_condition: vereinzelt Gewitter,fc8_icon: scatteredthunderstorms,fc9_day_of_week: Mo,fc9_date: 11 Sep 2017,fc9_low_c: 12,fc9_high_c: 18,fc9_code: 28,fc9_condition: überwiegend wolkig,fc9_icon: mostlycloudy,fc10_day_of_week: Di,fc10_date: 12 Sep 2017,fc10_low_c: 11,fc10_high_c: 19,fc10_code: 28,fc10_condition: überwiegend wolkig,fc10_icon: mostlycloudy,T: 20  H: 41  W: 0  P: 999
     globalinit 1
     last_timer 12
     sleeptimer -1
     timerdev   Wetter
     timerevent lastError: ,pubDateComment: okay,pubDate: Sun, 03 Sep 2017 05:00 PM CEST,pubDateRemote: Sun, 03 Sep 2017 05:00 PM CEST,pubDateTs: 1504450800,isConverted: 0,validity: up-to-date,description: Yahoo! Weather for Frankfurt, HE, DE,city: Frankfurt,region:  HE,country: Germany,lat: 51.3432432,long: 9.3341,wind: 0,wind_speed: 0,wind_chill: 20,wind_direction: 180,wind_condition: Wind: S 0 km/h,humidity: 41,pressure: 999,visibility: 16,pressure_trend: 0,pressure_trend_txt: gleichbleibend,pressure_trend_sym: =,current_date_time: Sun, 03 Sep 2017 05:00 PM CEST,day_of_week: So,code: 30,condition: teilweise wolkig,icon: partly_cloudy,temp_c: 20,temperature: 20,fc1_day_of_week: So,fc1_date: 03 Sep 2017,fc1_low_c: 8,fc1_high_c: 20,fc1_code: 30,fc1_condition: teilweise wolkig,fc1_icon: partly_cloudy,fc2_day_of_week: Mo,fc2_date: 04 Sep 2017,fc2_low_c: 11,fc2_high_c: 22,fc2_code: 30,fc2_condition: teilweise wolkig,fc2_icon: partly_cloudy,fc3_day_of_week: Di,fc3_date: 05 Sep 2017,fc3_low_c: 12,fc3_high_c: 22,fc3_code: 28,fc3_condition: überwiegend wolkig,fc3_icon: mostlycloudy,fc4_day_of_week: Mi,fc4_date: 06 Sep 2017,fc4_low_c: 14,fc4_high_c: 20,fc4_code: 12,fc4_condition: Schauer,fc4_icon: chance_of_rain,fc5_day_of_week: Do,fc5_date: 07 Sep 2017,fc5_low_c: 10,fc5_high_c: 17,fc5_code: 28,fc5_condition: überwiegend wolkig,fc5_icon: mostlycloudy,fc6_day_of_week: Fr,fc6_date: 08 Sep 2017,fc6_low_c: 10,fc6_high_c: 19,fc6_code: 28,fc6_condition: überwiegend wolkig,fc6_icon: mostlycloudy,fc7_day_of_week: Sa,fc7_date: 09 Sep 2017,fc7_low_c: 12,fc7_high_c: 18,fc7_code: 39,fc7_condition: vereinzelt Gewitter,fc7_icon: scatteredthunderstorms,fc8_day_of_week: So,fc8_date: 10 Sep 2017,fc8_low_c: 12,fc8_high_c: 18,fc8_code: 39,fc8_condition: vereinzelt Gewitter,fc8_icon: scatteredthunderstorms,fc9_day_of_week: Mo,fc9_date: 11 Sep 2017,fc9_low_c: 12,fc9_high_c: 18,fc9_code: 28,fc9_condition: überwiegend wolkig,fc9_icon: mostlycloudy,fc10_day_of_week: Di,fc10_date: 12 Sep 2017,fc10_low_c: 11,fc10_high_c: 19,fc10_code: 28,fc10_condition: überwiegend wolkig,fc10_icon: mostlycloudy,T: 20  H: 41  W: 0  P: 999
     triggerDev Wetter
     timerevents:
       lastError:
       pubDateComment: okay
       pubDate: Sun, 03 Sep 2017 05:00 PM CEST
       pubDateRemote: Sun, 03 Sep 2017 05:00 PM CEST
       pubDateTs: 1504450800
       isConverted: 0
       validity: up-to-date
       description: Yahoo! Weather for Frankfurt, HE, DE
       city: Frankfurt
       region:  HE
       country: Germany
       lat: 50.11208
       long: 8.68341
       wind: 0
       wind_speed: 0
       wind_chill: 20
       wind_direction: 180
       wind_condition: Wind: S 0 km/h
       humidity: 41
       pressure: 999
       visibility: 16
       pressure_trend: 0
       pressure_trend_txt: gleichbleibend
       pressure_trend_sym: =
       current_date_time: Sun, 03 Sep 2017 05:00 PM CEST
       day_of_week: So
       code: 30
       condition: teilweise wolkig
       icon: partly_cloudy
       temp_c: 20
       temperature: 20
       fc1_day_of_week: So
       fc1_date: 03 Sep 2017
       fc1_low_c: 8
       fc1_high_c: 20
       fc1_code: 30
       fc1_condition: teilweise wolkig
       fc1_icon: partly_cloudy
       fc2_day_of_week: Mo
       fc2_date: 04 Sep 2017
       fc2_low_c: 11
       fc2_high_c: 22
       fc2_code: 30
       fc2_condition: teilweise wolkig
       fc2_icon: partly_cloudy
       fc3_day_of_week: Di
       fc3_date: 05 Sep 2017
       fc3_low_c: 12
       fc3_high_c: 22
       fc3_code: 28
       fc3_condition: überwiegend wolkig
       fc3_icon: mostlycloudy
       fc4_day_of_week: Mi
       fc4_date: 06 Sep 2017
       fc4_low_c: 14
       fc4_high_c: 20
       fc4_code: 12
       fc4_condition: Schauer
       fc4_icon: chance_of_rain
       fc5_day_of_week: Do
       fc5_date: 07 Sep 2017
       fc5_low_c: 10
       fc5_high_c: 17
       fc5_code: 28
       fc5_condition: überwiegend wolkig
       fc5_icon: mostlycloudy
       fc6_day_of_week: Fr
       fc6_date: 08 Sep 2017
       fc6_low_c: 10
       fc6_high_c: 19
       fc6_code: 28
       fc6_condition: überwiegend wolkig
       fc6_icon: mostlycloudy
       fc7_day_of_week: Sa
       fc7_date: 09 Sep 2017
       fc7_low_c: 12
       fc7_high_c: 18
       fc7_code: 39
       fc7_condition: vereinzelt Gewitter
       fc7_icon: scatteredthunderstorms
       fc8_day_of_week: So
       fc8_date: 10 Sep 2017
       fc8_low_c: 12
       fc8_high_c: 18
       fc8_code: 39
       fc8_condition: vereinzelt Gewitter
       fc8_icon: scatteredthunderstorms
       fc9_day_of_week: Mo
       fc9_date: 11 Sep 2017
       fc9_low_c: 12
       fc9_high_c: 18
       fc9_code: 28
       fc9_condition: überwiegend wolkig
       fc9_icon: mostlycloudy
       fc10_day_of_week: Di
       fc10_date: 12 Sep 2017
       fc10_low_c: 11
       fc10_high_c: 19
       fc10_code: 28
       fc10_condition: überwiegend wolkig
       fc10_icon: mostlycloudy
       T: 20  H: 41  W: 0  P: 999
     timereventsState:
       lastError:
       pubDateComment: okay
       pubDate: Sun, 03 Sep 2017 05:00 PM CEST
       pubDateRemote: Sun, 03 Sep 2017 05:00 PM CEST
       pubDateTs: 1504450800
       isConverted: 0
       validity: up-to-date
       description: Yahoo! Weather for Frankfurt, HE, DE
       city: Frankfurt
       region:  HE
       country: Germany
       lat: 50.11208
       long: 8.68341
       wind: 0
       wind_speed: 0
       wind_chill: 20
       wind_direction: 180
       wind_condition: Wind: S 0 km/h
       humidity: 41
       pressure: 999
       visibility: 16
       pressure_trend: 0
       pressure_trend_txt: gleichbleibend
       pressure_trend_sym: =
       current_date_time: Sun, 03 Sep 2017 05:00 PM CEST
       day_of_week: So
       code: 30
       condition: teilweise wolkig
       icon: partly_cloudy
       temp_c: 20
       temperature: 20
       fc1_day_of_week: So
       fc1_date: 03 Sep 2017
       fc1_low_c: 8
       fc1_high_c: 20
       fc1_code: 30
       fc1_condition: teilweise wolkig
       fc1_icon: partly_cloudy
       fc2_day_of_week: Mo
       fc2_date: 04 Sep 2017
       fc2_low_c: 11
       fc2_high_c: 22
       fc2_code: 30
       fc2_condition: teilweise wolkig
       fc2_icon: partly_cloudy
       fc3_day_of_week: Di
       fc3_date: 05 Sep 2017
       fc3_low_c: 12
       fc3_high_c: 22
       fc3_code: 28
       fc3_condition: überwiegend wolkig
       fc3_icon: mostlycloudy
       fc4_day_of_week: Mi
       fc4_date: 06 Sep 2017
       fc4_low_c: 14
       fc4_high_c: 20
       fc4_code: 12
       fc4_condition: Schauer
       fc4_icon: chance_of_rain
       fc5_day_of_week: Do
       fc5_date: 07 Sep 2017
       fc5_low_c: 10
       fc5_high_c: 17
       fc5_code: 28
       fc5_condition: überwiegend wolkig
       fc5_icon: mostlycloudy
       fc6_day_of_week: Fr
       fc6_date: 08 Sep 2017
       fc6_low_c: 10
       fc6_high_c: 19
       fc6_code: 28
       fc6_condition: überwiegend wolkig
       fc6_icon: mostlycloudy
       fc7_day_of_week: Sa
       fc7_date: 09 Sep 2017
       fc7_low_c: 12
       fc7_high_c: 18
       fc7_code: 39
       fc7_condition: vereinzelt Gewitter
       fc7_icon: scatteredthunderstorms
       fc8_day_of_week: So
       fc8_date: 10 Sep 2017
       fc8_low_c: 12
       fc8_high_c: 18
       fc8_code: 39
       fc8_condition: vereinzelt Gewitter
       fc8_icon: scatteredthunderstorms
       fc9_day_of_week: Mo
       fc9_date: 11 Sep 2017
       fc9_low_c: 12
       fc9_high_c: 18
       fc9_code: 28
       fc9_condition: überwiegend wolkig
       fc9_icon: mostlycloudy
       fc10_day_of_week: Di
       fc10_date: 12 Sep 2017
       fc10_low_c: 11
       fc10_high_c: 19
       fc10_code: 28
       fc10_condition: überwiegend wolkig
       fc10_icon: mostlycloudy
       state: T: 20  H: 41  W: 0  P: 999
     triggerEvents:
       lastError:
       pubDateComment: okay
       pubDate: Sun, 03 Sep 2017 05:00 PM CEST
       pubDateRemote: Sun, 03 Sep 2017 05:00 PM CEST
       pubDateTs: 1504450800
       isConverted: 0
       validity: up-to-date
       description: Yahoo! Weather for Frankfurt, HE, DE
       city: Frankfurt
       region:  HE
       country: Germany
       lat: 51.11208
       long: 9.68341
       wind: 0
       wind_speed: 0
       wind_chill: 20
       wind_direction: 180
       wind_condition: Wind: S 0 km/h
       humidity: 41
       pressure: 999
       visibility: 16
       pressure_trend: 0
       pressure_trend_txt: gleichbleibend
       pressure_trend_sym: =
       current_date_time: Sun, 03 Sep 2017 05:00 PM CEST
       day_of_week: So
       code: 30
       condition: teilweise wolkig
       icon: partly_cloudy
       temp_c: 20
       temperature: 20
       fc1_day_of_week: So
       fc1_date: 03 Sep 2017
       fc1_low_c: 8
       fc1_high_c: 20
       fc1_code: 30
       fc1_condition: teilweise wolkig
       fc1_icon: partly_cloudy
       fc2_day_of_week: Mo
       fc2_date: 04 Sep 2017
       fc2_low_c: 11
       fc2_high_c: 22
       fc2_code: 30
       fc2_condition: teilweise wolkig
       fc2_icon: partly_cloudy
       fc3_day_of_week: Di
       fc3_date: 05 Sep 2017
       fc3_low_c: 12
       fc3_high_c: 22
       fc3_code: 28
       fc3_condition: überwiegend wolkig
       fc3_icon: mostlycloudy
       fc4_day_of_week: Mi
       fc4_date: 06 Sep 2017
       fc4_low_c: 14
       fc4_high_c: 20
       fc4_code: 12
       fc4_condition: Schauer
       fc4_icon: chance_of_rain
       fc5_day_of_week: Do
       fc5_date: 07 Sep 2017
       fc5_low_c: 10
       fc5_high_c: 17
       fc5_code: 28
       fc5_condition: überwiegend wolkig
       fc5_icon: mostlycloudy
       fc6_day_of_week: Fr
       fc6_date: 08 Sep 2017
       fc6_low_c: 10
       fc6_high_c: 19
       fc6_code: 28
       fc6_condition: überwiegend wolkig
       fc6_icon: mostlycloudy
       fc7_day_of_week: Sa
       fc7_date: 09 Sep 2017
       fc7_low_c: 12
       fc7_high_c: 18
       fc7_code: 39
       fc7_condition: vereinzelt Gewitter
       fc7_icon: scatteredthunderstorms
       fc8_day_of_week: So
       fc8_date: 10 Sep 2017
       fc8_low_c: 12
       fc8_high_c: 18
       fc8_code: 39
       fc8_condition: vereinzelt Gewitter
       fc8_icon: scatteredthunderstorms
       fc9_day_of_week: Mo
       fc9_date: 11 Sep 2017
       fc9_low_c: 12
       fc9_high_c: 18
       fc9_code: 28
       fc9_condition: überwiegend wolkig
       fc9_icon: mostlycloudy
       fc10_day_of_week: Di
       fc10_date: 12 Sep 2017
       fc10_low_c: 11
       fc10_high_c: 19
       fc10_code: 28
       fc10_condition: überwiegend wolkig
       fc10_icon: mostlycloudy
       T: 20  H: 41  W: 0  P: 999
     triggerEventsState:
       lastError:
       pubDateComment: okay
       pubDate: Sun, 03 Sep 2017 05:00 PM CEST
       pubDateRemote: Sun, 03 Sep 2017 05:00 PM CEST
       pubDateTs: 1504450800
       isConverted: 0
       validity: up-to-date
       description: Yahoo! Weather for Frankfurt, HE, DE
       city: Frankfurt
       region:  HE
       country: Germany
       lat: 50.11208
       long: 8.68341
       wind: 0
       wind_speed: 0
       wind_chill: 20
       wind_direction: 180
       wind_condition: Wind: S 0 km/h
       humidity: 41
       pressure: 999
       visibility: 16
       pressure_trend: 0
       pressure_trend_txt: gleichbleibend
       pressure_trend_sym: =
       current_date_time: Sun, 03 Sep 2017 05:00 PM CEST
       day_of_week: So
       code: 30
       condition: teilweise wolkig
       icon: partly_cloudy
       temp_c: 20
       temperature: 20
       fc1_day_of_week: So
       fc1_date: 03 Sep 2017
       fc1_low_c: 8
       fc1_high_c: 20
       fc1_code: 30
       fc1_condition: teilweise wolkig
       fc1_icon: partly_cloudy
       fc2_day_of_week: Mo
       fc2_date: 04 Sep 2017
       fc2_low_c: 11
       fc2_high_c: 22
       fc2_code: 30
       fc2_condition: teilweise wolkig
       fc2_icon: partly_cloudy
       fc3_day_of_week: Di
       fc3_date: 05 Sep 2017
       fc3_low_c: 12
       fc3_high_c: 22
       fc3_code: 28
       fc3_condition: überwiegend wolkig
       fc3_icon: mostlycloudy
       fc4_day_of_week: Mi
       fc4_date: 06 Sep 2017
       fc4_low_c: 14
       fc4_high_c: 20
       fc4_code: 12
       fc4_condition: Schauer
       fc4_icon: chance_of_rain
       fc5_day_of_week: Do
       fc5_date: 07 Sep 2017
       fc5_low_c: 10
       fc5_high_c: 17
       fc5_code: 28
       fc5_condition: überwiegend wolkig
       fc5_icon: mostlycloudy
       fc6_day_of_week: Fr
       fc6_date: 08 Sep 2017
       fc6_low_c: 10
       fc6_high_c: 19
       fc6_code: 28
       fc6_condition: überwiegend wolkig
       fc6_icon: mostlycloudy
       fc7_day_of_week: Sa
       fc7_date: 09 Sep 2017
       fc7_low_c: 12
       fc7_high_c: 18
       fc7_code: 39
       fc7_condition: vereinzelt Gewitter
       fc7_icon: scatteredthunderstorms
       fc8_day_of_week: So
       fc8_date: 10 Sep 2017
       fc8_low_c: 12
       fc8_high_c: 18
       fc8_code: 39
       fc8_condition: vereinzelt Gewitter
       fc8_icon: scatteredthunderstorms
       fc9_day_of_week: Mo
       fc9_date: 11 Sep 2017
       fc9_low_c: 12
       fc9_high_c: 18
       fc9_code: 28
       fc9_condition: überwiegend wolkig
       fc9_icon: mostlycloudy
       fc10_day_of_week: Di
       fc10_date: 12 Sep 2017
       fc10_low_c: 11
       fc10_high_c: 19
       fc10_code: 28
       fc10_condition: überwiegend wolkig
       fc10_icon: mostlycloudy
       state: T: 20  H: 41  W: 0  P: 999
   internals:
     0           HomeStatus:STATE
     1           HomeStatus:STATE
     2           HomeStatus:STATE
     3           HomeStatus:STATE
     4           HomeStatus:STATE
     5           HomeStatus:STATE
     6           HomeStatus:STATE
     all         HomeStatus:STATE
   interval:
     10         -1
     11         10
     4          -1
     5          4
     6          -1
     7          6
     8          -1
     9          8
   itimer:
   localtime:
     0          1504508019
     1          1504508019
     10         1504472520
     11         1504506540
     2          1504463980
     3          1504469079
     4          1504471020
     5          1504471500
     6          1504471560
     7          1504471800
     8          1504472520
     9          1504506540
   readings:
     0           Wetter:condition
     1           Wetter:condition
     6           Wetter:condition
     all         Wetter:condition
   realtime:
     0          08:53:39
     1          08:53:39
     10         23:02:00
     11         08:29:00
     2          20:39:40
     3          22:04:39
     4          22:37:00
     5          22:45:00
     6          22:46:00
     7          22:50:00
     8          23:02:00
     9          08:29:00
   regexp:
     0:
     1:
     2:
     3:
     4:
     5:
     6:
     all:
   state:
     STATE:
   time:
     0          {twilight("LichtWetter","sr_indoor","8:30","10:59")}
     1          {twilight("LichtWetter","sr_indoor","8:30","10:59")}
     10         23:02:00
     11         08:29:00
     2          {twilight("LichtWetter","ss_civil","19:00","21:00")}
     3          {twilight("LichtWetter","ss_astro","21:00","22:45")}
     4          22:37:00
     5          22:45:00
     6          22:46:00
     7          22:50:00
     8          23:02:00
     9          08:29:00
   timeCond:
     0          0
     1          1
     10         6
     11         6
     2          2
     3          3
     4          4
     5          4
     6          5
     7          5
     8          6
     9          6
   timer:
     0          0
     1          0
     10         0
     11         0
     2          0
     3          0
     4          0
     5          0
     6          0
     7          0
     8          0
     9          0
   timers:
     0           0
     1           1
     2           2
     3           3
     4           4  5
     5           6  7
     6           8  9  10  11
   trigger:
   triggertime:
     1504463980:
       localtime  1504463980
       hash:
     1504469079:
       localtime  1504469079
       hash:
     1504471020:
       localtime  1504471020
       hash:
     1504471500:
       localtime  1504471500
       hash:
     1504471560:
       localtime  1504471560
       hash:
     1504471800:
       localtime  1504471800
       hash:
     1504472520:
       localtime  1504472520
       hash:
     1504506540:
       localtime  1504506540
       hash:
     1504508019:
       localtime  1504508019
       hash:
Attributes:

krikan

Zitat von: Micky am 03 September 2017, 18:20:18
habe eine kleine kleine Frage ist es normal das die Aktore immer so ein klick Geräusch von sich geben,
Meine Klicken nur, wenn sie geschaltet werden. Zum DOIF und eventuell dadurch verursachten unnötigen Schaltvorgaengen kann ich Dir nichts schreiben.

Gruß, Christian

Micky

#17
Hi krikan,

ja denke auch das evtl. DOIF ständig anfragen sendet.
Und die aktore deshalb abwechselnd klicken.

Ich versuche mal heute Abend den DOIF ROLLO abzuschalten mal sehen ob das dann aufhört.

CODE:
([HomeStatus] eq "away" and [{twilight ("LichtWetter","sr_indoor","8:30","10:59")}] and [Wetter:condition] =~ m/Gewitter|Schnee|Regen|Schauer|Hagel|Orkan|Sturm/)
(set Gesamtes_Licht off, set alle_Rollos dim 60)

DOELSEIF
([HomeStatus] eq "away" and [{twilight ("LichtWetter","sr_indoor","8:30","10:59")}] and [Wetter:condition] =~ m/Sonne|Bewölkt|Klar|Sonnig|Wechselhaft/)
(set Gesamtes_Licht off, set alle_Rollos up)

DOELSEIF
([HomeStatus] eq "away" and [{twilight ("LichtWetter","ss_civil","19:00","21:00")}])
(set Gesamtes_Licht off, set alle_Rollos dim 30)

DOELSEIF
([HomeStatus] eq "away" and [{twilight ("LichtWetter","ss_astro","21:00","22:45")}])
(set Gesamtes_Licht off, set alle_Rollos dim 60)

DOELSEIF
([HomeStatus] eq "away" and [22:37-22:45])
(set Flur_Lampe on)

DOELSEIF
([HomeStatus] eq "away" and [22:46-22:50])
(set Gesamtes_Licht off)

DOELSEIF
([HomeStatus] eq "away" and [23:02-08:29] or [23:02-08:29] and [Wetter:condition] =~ m/Gewitter|Schnee|Regen|Schauer|Hagel|Orkan|Sturm/)
(set Gesamtes_Licht off, set alle_Rollos dim 99)

DOELSE
(set Gesamtes_Licht off)


Falls jemand einen besseren DOIF kürzen und verbessern kann, gerne !?!

Danke und schönen Sonntag

pc1246

#18
Moin
Du solltest mal darueber nachdenken, was Deine wirkliche Schaltbedingung sein soll!
Ich versuche mal zu erklaeren warum. Alle Deine Bedingungen triggern Dein DOIF, was wiederum bedeutet, dass auch der Befehl an die Aktoren rausgeht. In der Comandref vom DOIF kannst Du problemlos nachlesen, wie Du Abfragen und Bedingungen unterscheidest. (kleiner Tipp: ! ? )
Wenn Du das beruecksichtigst, enlastest du auch Deinen Stick, da der nicht staendig senden muss!
Gruss Christoph

EDITH: Da waren die Finger schneller als der Kopf!
HP T610
Onkyo_AVR;3 Enigma2; SB_Server ; SB_Player; HM-USB mit 15 HM-CC-RT-DN, 3 HM_WDS10_TH_O, 6 HM-Sec-SCo, 4 HM-Sec-MDIR-2, 1 HM-Sen-MDIR-O-2, 8 Ferion 5000 OW ; PhilipsTV; 4 harmony hub; Jeelink mit 9 PCA301; Somfy; S7-300; 3 LGW; HUE; HM-IP auf Charly

Micky

#19
mhh hab mir die commandref_DE.html#DOIF angeschaut, aber ich muss ja für die z.B. Wetter Einbindung schon eine Abfrage erstellen und sollte das Wetter z.B. Strum sein das es dann zutrifft : die Rollos runter fahren .

Wie würdest du die DOIF schreiben ?

danke

pc1246

Moin
Ich kann Dir das nicht schreiben, da ich Deine Module nicht alle kenne, und es Dir persoenlich auch nichts hilft. Du musst Deine Bedingungen und Deine Trigger erkennen, und die Bedingungen dann mit dem "?" als solche markieren!
Ich persoenlich bin der Ueberzeugung, dass ein DOIF nur einen Aktor behandeln sollte. Du verlierst sonst irgendwann den Ueberblick, wer wann was warum geschaltet hat.
Hast du bei dem DOIF keine Attribute gesetzt?
Gruss Christoph

P.S.: Noch ein kleiner Tipp, wie du unnoetige Schaltungen verhinderst.
([?Rollo1] <= 20 and [10:15-10:20])(set Licht1:FILTER=STATE!=off off)
DOELSEIF ([Rollo1] > 20)(set Licht1:FILTER=STATE!=on on)
HP T610
Onkyo_AVR;3 Enigma2; SB_Server ; SB_Player; HM-USB mit 15 HM-CC-RT-DN, 3 HM_WDS10_TH_O, 6 HM-Sec-SCo, 4 HM-Sec-MDIR-2, 1 HM-Sen-MDIR-O-2, 8 Ferion 5000 OW ; PhilipsTV; 4 harmony hub; Jeelink mit 9 PCA301; Somfy; S7-300; 3 LGW; HUE; HM-IP auf Charly