DOIF reading setzen, löschen und prüfen

Begonnen von Dersch, 31 März 2016, 12:16:53

Vorheriges Thema - Nächstes Thema

Dersch

Nee es kann auch von dem LightScene Modul kommen fällt mir grade auf. Wenn es vom DOIF kommt müsste ja die Scene im Log zu sehen sein.

Schon mal vielen Dank für deine Hilfe und Zeit die du für mich aufwendest! :)

CoolTux

Also ich habe das mal getestet. Bei mir stellt sich da nichts zurück. Ich stelle ne Szene ein und ändere eine Lampe. Die bleibt so die ganze Zeit. Sehr komisch.
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

Dersch

Ich habe nun bei dem Kodi Modul event-on-change eingestellt. Ich habe es noch nicht getestet aber dachte mir durch das Fehlen dieses attr wurde der status konstant aktualisiert was dann das doif auslöst was dann wiederum lightscene auslöst. Ist nur ein Gedanke aber könnte doch sein, oder?

CoolTux

Es ist ein Anfang. Ich überlege immer noch wie wir das mir Deinem Licht mache können. Was genau für ein System ist die Lampe? Hue oder was?

Ambesten wir machen das so das wir über ein Notify die Änderung des Lichts in ein Dummy schreiben, das aber nur wenn der Kodi play hat. Wir müssen mal schauen was wir da brauchen. Am besten Du schaltest die Lampe mal so wie sie leuchten soll und macht dann ein list.
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

Dersch

Also das envent-on-change reading beim Kodi Modul war es! Nun wird nur einmal der scenen wert aus dem DOIF gesetzt. Schon mal einen Schritt weiter :)
Problem jetzt: Es ändert sich nur einmal. Pause und Stopp sind nun ohne Funktion... Obwohl Pause im Reading des Kodi Moduls steht bleibt das DOIF bei Playing stehen. Erst wenn ich das event-on-change wieder raus nehme ändert sich das reading des DOIF wieder.

Das ist ein Homematic HM-LC-DIM1T-FM Dimmer.

CoolTux

Wie hast Du denn das event-on-change-reading gesetzt?
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

Dersch


CoolTux

Damit wird gar kein Event mehr aus gelöst. Mach mal statt 1

.*


Dann werden bei allen Readings bei Änderung ein Event ausgelöst.  aber nur bei Änderung
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

Dersch

Nee mit .* verhält sich das so als hätte ich das Attribut gar nicht gesetzt.

CoolTux

Das müssen wir es auf ein oder zwei Readings eingrenzen. Mach mal ein list vom Device und poste hier
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

Dersch

Also das ist das List vom Dimmer

Internals:
   DEF        395111
   HMLAN1_MSGCNT 172
   HMLAN1_RAWMSG E395111,0000,33CC8779,FF,FFBB,A4A4103951112864FE06011000
   HMLAN1_RSSI -69
   HMLAN1_TIME 2016-04-01 22:51:36
   HMUSB_MSGCNT 167
   HMUSB_RAWMSG E395111,0000,7A5DC542,FF,FFBD,A4A4103951112864FE06011000
   HMUSB_RSSI -67
   HMUSB_TIME 2016-04-01 22:51:36
   IODev      HMLAN1
   LASTInputDev HMUSB
   MSGCNT     339
   NAME       WzSofaLicht
   NR         56
   NTFY_ORDER 50-WzSofaLicht
   STATE      8
   TYPE       CUL_HM
   lastMsg    No:A4 - t:10 s:395111 d:2864FE 06011000
   peerList   WzSofaDimmer,3041F001,3041F002,self01,
   protLastRcv 2016-04-01 22:51:36
   protSnd    165 last_at:2016-04-01 22:51:33
   protState  CMDs_done
   rssi_HMLAN1 avg:-66.57 min:-68 max:-65 lst:-66 cnt:69
   rssi_HMUSB avg:-69.95 min:-71 max:-69 lst:-70 cnt:45
   rssi_at_HMLAN1 avg:-69.46 min:-72 max:-68 lst:-69 cnt:172
   rssi_at_HMUSB avg:-67.53 min:-69 max:-66 lst:-67 cnt:167
   Readings:
     2016-04-01 22:51:29   CommandAccepted yes
     2015-11-09 16:02:14   D-firmware      2.6
     2015-11-09 16:02:14   D-serialNr      MEQ0082193
     2016-03-31 23:01:29   PairedTo        0x2864FE
     2016-02-13 20:02:19   R-3041F001-lgActionTypeDim downDim
     2016-02-13 20:02:19   R-3041F001-lgOnLevel 100 %
     2016-02-13 20:02:19   R-3041F001-shActionTypeDim jmpToTarget
     2016-02-13 20:02:19   R-3041F001-shOnLevel 100 %
     2016-02-13 20:02:21   R-3041F002-lgActionTypeDim upDim
     2016-02-13 20:02:21   R-3041F002-lgOnLevel 100 %
     2016-02-13 20:02:21   R-3041F002-shActionTypeDim jmpToTarget
     2016-02-13 20:02:21   R-3041F002-shOnLevel 100 %
     2015-11-15 23:32:26   R-WzSofaDimmer-lgActionTypeDim toggelDim
     2015-11-15 23:32:26   R-WzSofaDimmer-lgOnLevel 100 %
     2015-11-15 23:32:26   R-WzSofaDimmer-shActionTypeDim jmpToTarget
     2015-11-15 23:36:50   R-WzSofaDimmer-shOnLevel 20 %
     2015-11-06 19:16:26   R-pairCentral   0x2864FE
     2015-11-06 19:16:27   R-powerUpAction off
     2016-02-13 20:02:22   R-self01-lgActionTypeDim toggelDim
     2016-02-13 20:02:22   R-self01-lgOnLevel 20 %
     2015-11-15 15:00:42   R-self01-shActionTypeDim jmpToTarget
     2016-02-13 20:02:22   R-self01-shOnLevel 20 %
     2016-03-31 23:01:29   RegL_00.        02:81 0A:28 0B:64 0C:FE 15:05 16:00 00:00
     2016-03-31 23:01:29   RegL_01.        30:06 32:50 33:64 34:4B 35:50 56:00 57:24 00:00
     2016-03-31 23:01:33   RegL_03.3041F001 01:00 02:00 03:00 04:32 05:64 06:00 07:FF 08:00 09:FF 0A:01 0B:44 0C:54 0D:64 0E:20 0F:00 10:14 11:C8 12:0A 13:05 14:05 15:00 16:C8 17:0A 18:0A 19:04 1A:04 81:00 82:00 83:00 84:32 85:64 86:00 87:0A 88:00 89:FF 8A:A5 8B:44 8C:54 8D:64 8E:20 8F:00 90:14 91:C8 92:0A 93:05 94:05 95:00 96:C8 97:0A 98:0A 99:04 9A:04 00:00
     2016-03-31 23:01:35   RegL_03.3041F002 01:00 02:00 03:00 04:32 05:64 06:00 07:FF 08:00 09:FF 0A:01 0B:12 0C:22 0D:23 0E:20 0F:00 10:14 11:C8 12:0A 13:05 14:05 15:00 16:C8 17:0A 18:0A 19:04 1A:04 81:00 82:00 83:00 84:32 85:64 86:00 87:FF 88:00 89:FF 8A:24 8B:12 8C:22 8D:23 8E:20 8F:00 90:14 91:C8 92:0A 93:05 94:05 95:00 96:C8 97:0A 98:0A 99:04 9A:04 00:00
     2016-03-31 23:01:32   RegL_03.WzSofaDimmer 01:00 02:00 03:00 04:32 05:64 06:00 07:FF 08:00 09:FF 0A:01 0B:14 0C:52 0D:63 0E:20 0F:00 10:14 11:28 12:0A 13:05 14:05 15:00 16:C8 17:0A 18:0A 19:04 1A:04 81:00 82:00 83:00 84:32 85:64 86:00 87:FF 88:00 89:FF 8A:26 8B:14 8C:52 8D:63 8E:20 8F:00 90:14 91:C8 92:0A 93:05 94:05 95:00 96:C8 97:0A 98:0A 99:04 9A:04 00:00
     2016-03-31 23:01:36   RegL_03.self01  01:00 02:00 03:00 04:32 05:64 06:00 07:FF 08:00 09:FF 0A:01 0B:14 0C:52 0D:63 0E:20 0F:00 10:14 11:28 12:0A 13:05 14:05 15:00 16:64 17:0A 18:0A 19:04 1A:04 81:00 82:00 83:00 84:32 85:64 86:00 87:FF 88:00 89:FF 8A:26 8B:14 8C:52 8D:63 8E:20 8F:00 90:14 91:28 92:0A 93:05 94:05 95:00 96:C8 97:0A 98:0A 99:04 9A:04 00:00
     2016-04-01 22:51:33   deviceMsg       8 (to CCU)
     2016-04-01 22:51:33   dim             stop:8
     2016-04-01 22:51:33   level           8
     2016-04-01 22:28:28   levelMissed     desired:8
     2016-04-01 22:51:33   overheat        off
     2016-04-01 22:51:33   overload        off
     2016-04-01 22:51:33   pct             8
     2016-04-01 13:47:01   peerList        WzSofaDimmer,3041F001,3041F002,self01,
     2016-03-31 23:01:27   powerOn         2016-03-31 23:01:27
     2016-04-01 22:51:33   recentStateType info
     2016-04-01 22:51:33   reduced         off
     2016-02-27 00:31:20   sabotageAttack_ErrIoAttack cnt 1
     2016-04-01 22:51:33   state           8
     2016-04-01 22:51:33   timedOn         off
     2016-04-01 19:58:52   trigLast        WzSofaDimmer:short
     2015-12-29 23:32:31   trig_HM_3041F0_Btn_01 short
     2015-12-29 23:32:31   trig_HM_3041F0_Btn_02 long
     2016-04-01 19:58:52   trig_WzSofaDimmer short
   Helper:
     HM_CMDNR   164
     cSnd       112864FE3951110201100320FFFF,112864FE3951110201100320FFFF
     dlvlCmd    ++A0112864FE3951110201100320FFFF
     mId        0059
     rxType     1
     Dir:
       cur        stop
       rct        down
     Expert:
       def        1
       det        0
       raw        1
       tpl        0
     Io:
       newChn     +395111,00,00,00
       nextSend   1459543896.89211
       rxt        0
       vccu       CCU
       p:
         395111
         00
         00
         00
     Mrssi:
       mNo        A4
       Io:
         HMLAN1     -67
         HMUSB      -67
     Prt:
       bErr       0
       sProc      0
       Rspwait:
     Q:
       qReqConf
       qReqStat
     Role:
       chn        1
       dev        1
       prs        1
     Rpt:
       IO         HMLAN1
       flg        A
       ts         1459543896.79592
       ack:
         HASH(0x25cd3e0)
         A480022864FE39511100
     Rssi:
       Hmlan1:
         avg        -66.5797101449275
         cnt        69
         lst        -66
         max        -65
         min        -68
       Hmusb:
         avg        -69.9555555555555
         cnt        45
         lst        -70
         max        -69
         min        -71
       At_hmlan1:
         avg        -69.4651162790698
         cnt        172
         lst        -69
         max        -68
         min        -72
       At_hmusb:
         avg        -67.5389221556886
         cnt        167
         lst        -67
         max        -66
         min        -69
     Shadowreg:
Attributes:
   IODev      HMLAN1
   IOgrp      CCU
   autoReadReg 4_reqStatus
   devStateIcon { my $mystate = Value($name);my $roundVal = 0;if ($mystate eq "off") { $roundVal = 0 }elsif ($mystate eq "on") { $roundVal = 100 }else { $roundVal = int(($mystate / 10.0) + 0.5) * 10}if ($roundVal == 0) { $roundVal = "00" }my $col255 = int($roundVal * 2.55 + 0.5);my $hexCol = uc sprintf("%02x%02x00",$col255,$col255);return ".*:light_light_dim_$roundVal\@$hexCol";}
   expert     2_full
   firmware   2.6
   group      Licht
   icon       light_control
   lightSceneParamsToSave 1
   model      HM-LC-DIM1T-FM
   peerIDs    00000000,2864FE01,3041F001,3041F002,39511101,
   room       Wohnzimmer
   serialNr   MEQ0082193
   subType    dimmer
   userattr   lightSceneParamsToSave lightSceneRestoreOnlyIfChanged:1,0
   webCmd     pct:on:off


Von Kodi:
nternals:
   CHANGED
   DEF        192.168.10.31 tcp kodi 1881kodi
   DeviceName 192.168.10.31:9090
   FD         12
   Host       192.168.10.31
   LAST_RECV  1459543948.86173
   NAME       WzHTPC
   NR         129
   NextID     529
   PARTIAL
   Port       9090
   Protocol   tcp
   STATE      opened
   TYPE       XBMC
   Pendingevents:
     219
     270
     279
     284
     297
     310
     373
     396
     428
   Pendingplayercmds:
     119:
       method     Player.GetProperties
       Params:
         properties:
           time
           totaltime
           repeat
           shuffled
           speed
           partymode
   Readings:
     2016-04-01 22:52:28   3dfile          off
     2016-04-01 22:52:28   currentAlbum
     2016-04-01 22:52:28   currentArtist
     2016-04-01 22:52:28   currentMedia    smb://THEFAB/Serien/Weeds (2005)/season vii/Weeds - Kleine Deals unter Nachbarn - 7x13 - Do Her Don't Do Her.avi
     2016-04-01 22:36:59   currentOriginaltitle
     2016-04-01 22:36:59   currentShowtitle Weeds - Kleine Deals unter Nachbarn
     2016-04-01 22:52:28   currentTitle    Im Fokus
     2016-04-01 22:52:28   currentTrack
     2016-04-01 22:36:59   episode         13
     2016-04-01 22:36:59   episodeid       4203
     2016-04-01 22:52:28   fullscreen      on
     2016-04-01 22:52:28   id              4203
     2016-04-01 22:52:28   label           Im Fokus
     2016-04-01 22:36:59   movieid
     2016-04-01 22:52:28   mute            off
     2016-04-01 22:52:28   name            Kodi
     2016-04-01 22:52:28   partymode       off
     2016-04-01 22:52:28   playStatus      playing
     2016-04-01 22:36:59   playlist
     2016-04-01 22:52:28   repeat          off
     2016-04-01 22:52:28   sd_audio0channels 6
     2016-04-01 22:52:28   sd_audio0codec  ac3
     2016-04-01 22:52:28   sd_audio0language
     2016-04-01 22:52:28   sd_audio1channels 6
     2016-04-01 22:52:28   sd_audio1codec  ac3
     2016-04-01 22:52:28   sd_audio1language
     2016-04-01 22:52:28   sd_video0aspect 1.77799999713898
     2016-04-01 22:52:28   sd_video0codec  divx 4
     2016-04-01 22:52:28   sd_video0duration 1638
     2016-04-01 22:52:28   sd_video0height 402
     2016-04-01 22:52:28   sd_video0stereomode
     2016-04-01 22:52:28   sd_video0width  716
     2016-04-01 22:36:59   season          7
     2016-04-01 22:52:28   shuffle         off
     2016-04-01 22:52:28   skin            Aeon Nox(skin.aeon.nox.5)
     2016-04-01 22:36:59   songid
     2016-04-01 22:52:28   speed           1
     2016-04-01 21:58:14   state           opened
     2016-04-01 22:52:28   stereoscopicmode off
     2016-04-01 21:58:14   system          wake
     2016-04-01 22:52:28   thumbnail       image://smb%3a%2f%2fTHEFAB%2fSerien%2fWeeds%20(2005)%2fseason%20vii%2fWeeds%20-%20Kleine%20Deals%20unter%20Nachbarn%20-%207x13%20-%20Do%20Her%20Don%27t%20Do%20Her-thumb.jpg/
     2016-04-01 22:52:28   time            00:15:28.837
     2016-04-01 22:52:28   totaltime       00:27:18.000
     2016-04-01 22:52:28   tvshowid        91
     2016-04-01 22:52:28   type            episode
     2016-04-01 22:52:28   version         15.2-20151019-02e7013 stable
     2016-04-01 22:36:26   videolibrary    update
     2016-04-01 22:52:28   volume          100
     2016-04-01 22:52:28   year            0
Attributes:
   devStateIcon opened:rc_GREEN:on disconnected:rc_RED:off Initialized:message_socket_disabled
   event-on-change-reading .*
   group      Multimedia
   icon       it_remote
   room       Wohnzimmer
   updateInterval 60
   webCmd     shutdown


Vom DOIF
Internals:
   CHANGED
   DEF        ([Tageslicht] =~ "dunkel" and [WzHTPC:playStatus] eq "playing" and [WzHTPC:currentMedia] ne "" and ([WzHTPC:type] eq "episode" or [WzHTPC:type] eq "movie"))
(set WzHeimkinoLicht scene SchauModus)
DOELSEIF
([Tageslicht] =~ "dunkel" and [WzHTPC:playStatus] eq "paused" and [WzHTPC:currentMedia] ne "" and ([WzHTPC:type] eq "episode" or [WzHTPC:type] eq "movie"))
(set WzHeimkinoLicht scene PausenModus)
DOELSEIF
([Tageslicht] =~ "dunkel" and [WzHTPC:playStatus] eq "stopped" and [WzHTPC:currentMedia] ne "" and ([WzHTPC:type] eq "episode" or [WzHTPC:type] eq "movie"))
(set WzHeimkinoLicht scene LichtHell)
   NAME       WzKodiLichtsteuerung
   NR         93
   NTFY_ORDER 50-WzKodiLichtsteuerung
   STATE      cmd_1
   TYPE       DOIF
   Readings:
     2016-04-01 22:53:28   Device          WzHTPC
     2016-04-01 22:53:28   cmd_event       WzHTPC
     2016-04-01 22:53:28   cmd_nr          1
     2016-04-01 20:10:48   e_Tageslicht_STATE dunkel
     2016-04-01 22:53:28   e_WzHTPC_currentMedia smb://THEFAB/Serien/Weeds (2005)/season vii/Weeds - Kleine Deals unter Nachbarn - 7x13 - Do Her Don't Do Her.avi
     2016-04-01 22:53:28   e_WzHTPC_playStatus playing
     2016-04-01 22:53:28   e_WzHTPC_type   episode
     2016-04-01 22:53:28   state           cmd_1
   Condition:
     0          InternalDoIf($hash,'Tageslicht','STATE','','',AttrVal($hash->{NAME},'notexist',undef)) =~ "dunkel" and ReadingValDoIf($hash,'WzHTPC','playStatus','','',AttrVal($hash->{NAME},'notexist',undef)) eq "playing" and ReadingValDoIf($hash,'WzHTPC','currentMedia','','',AttrVal($hash->{NAME},'notexist',undef)) ne "" and (ReadingValDoIf($hash,'WzHTPC','type','','',AttrVal($hash->{NAME},'notexist',undef)) eq "episode" or ReadingValDoIf($hash,'WzHTPC','type','','',AttrVal($hash->{NAME},'notexist',undef)) eq "movie")
     1          InternalDoIf($hash,'Tageslicht','STATE','','',AttrVal($hash->{NAME},'notexist',undef)) =~ "dunkel" and ReadingValDoIf($hash,'WzHTPC','playStatus','','',AttrVal($hash->{NAME},'notexist',undef)) eq "paused" and ReadingValDoIf($hash,'WzHTPC','currentMedia','','',AttrVal($hash->{NAME},'notexist',undef)) ne "" and (ReadingValDoIf($hash,'WzHTPC','type','','',AttrVal($hash->{NAME},'notexist',undef)) eq "episode" or ReadingValDoIf($hash,'WzHTPC','type','','',AttrVal($hash->{NAME},'notexist',undef)) eq "movie")
     2          InternalDoIf($hash,'Tageslicht','STATE','','',AttrVal($hash->{NAME},'notexist',undef)) =~ "dunkel" and ReadingValDoIf($hash,'WzHTPC','playStatus','','',AttrVal($hash->{NAME},'notexist',undef)) eq "stopped" and ReadingValDoIf($hash,'WzHTPC','currentMedia','','',AttrVal($hash->{NAME},'notexist',undef)) ne "" and (ReadingValDoIf($hash,'WzHTPC','type','','',AttrVal($hash->{NAME},'notexist',undef)) eq "episode" or ReadingValDoIf($hash,'WzHTPC','type','','',AttrVal($hash->{NAME},'notexist',undef)) eq "movie")
   Devices:
     0           Tageslicht WzHTPC
     1           Tageslicht WzHTPC
     2           Tageslicht WzHTPC
     all         Tageslicht WzHTPC
   Do:
     0:
       0          set WzHeimkinoLicht scene SchauModus
     1:
       0          set WzHeimkinoLicht scene PausenModus
     2:
       0          set WzHeimkinoLicht scene LichtHell
     3:
   Helper:
     event      time: 00:16:28.855
     globalinit 1
     last_timer 0
     sleeptimer -1
     timerdev   WzHTPC
     timerevent time: 00:16:28.855
     triggerDev WzHTPC
     timerevents:
       time: 00:16:28.855
     triggerEvents:
       time: 00:16:28.855
   Internals:
     0           Tageslicht:STATE
     1           Tageslicht:STATE
     2           Tageslicht:STATE
     all         Tageslicht:STATE
   Itimer:
   Readings:
     0           WzHTPC:playStatus WzHTPC:currentMedia WzHTPC:type
     1           WzHTPC:playStatus WzHTPC:currentMedia WzHTPC:type
     2           WzHTPC:playStatus WzHTPC:currentMedia WzHTPC:type
     all         WzHTPC:playStatus WzHTPC:currentMedia WzHTPC:type
   Regexp:
     0:
     1:
     2:
     All:
   State:
   Trigger:
Attributes:
   do         always
   event-on-change-reading .*
   room       Wohnzimmer


Von LightScene
Internals:
   DEF        WzKaminLED WzKoeter WzSofaLicht WzRolladenGarten WzRolladenLinks WzRolladenTerrasse WzRolladenTuer FlurRolladen
   HAS_DataDumper 1
   HAS_JSON   1
   NAME       WzHeimkinoLicht
   NR         145
   NTFY_ORDER 50-WzHeimkinoLicht
   STATE      SchauModus
   TYPE       LightScene
   Content:
     FlurRolladen 1
     WzKaminLED 1
     WzKoeter   1
     WzRolladenGarten 1
     WzRolladenLinks 1
     WzRolladenTerrasse 1
     WzRolladenTuer 1
     WzSofaLicht 1
   Readings:
     2016-04-01 22:53:28   state           SchauModus
   Scenes:
     3dmodus:
       FlurRolladen down
       WzKaminLED off
       WzKoeter   off
       WzRolladenGarten down
       WzRolladenLinks down
       WzRolladenTerrasse down
       WzRolladenTuer down
       WzSofaLicht off
     Lichthell:
       WzKaminLED on
       WzKoeter   on
       WzSofaLicht 19
     Pausenmodus:
       WzKaminLED dim 30
       WzKoeter   off
       Wzsofalicht:
         icon       light_light_dim_20@333300
         state      15
     Schaumodus:
       WzKaminLED off
       WzKoeter   off
       Wzsofalicht:
         icon       light_light_dim_10@1A1A00
         state      8
   devices:
     FlurRolladen
     WzKaminLED
     WzKoeter
     WzRolladenGarten
     WzRolladenLinks
     WzRolladenTerrasse
     WzRolladenTuer
     WzSofaLicht
Attributes:
   group      Licht
   icon       status_comfort
   room       Wohnzimmer

CoolTux

Probiere mal

event-on-change-reading playStatus
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

Dersch


CoolTux

Dann schauen wir morgen wie wir mit Deiner Lampe weiter machen.

Schalte sie mal wie sie leuchten soll und dann gib mir mal 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

Dersch

Super :) Ich kann nur ein Beispiel liefern, da der Wert halt individuell sein soll. Ich kann es aber sicher auch eingrenzen. Also sagen wir Play hat einen Wert von 8 und dieser wird dann auf 15-20 geändert. Pause hat einen Wert von 15. Licht hell 19