hue wall switch module wird nur als Taster erkannt

Begonnen von tabbi, 10 Mai 2021, 10:21:32

Vorheriges Thema - Nächstes Thema

tabbi

Hallo,

ich habe mich über den neuen hue wall switch gefreut, der die funktions- und stromlosen alten Schalter ersetzen soll, und meine z-wave Lampen zusätzlich ein- und ausschalten soll.
Eine HUEBridge läuft schon seit längerem und in ihr wird der hue wall switch auch als Schalter erkannt und kann HUELampen ein- und ausschalten.

Eine Übernahme dieses Schalters in fhem erfolt auch, aber leider wird nur ein Taster abgebildet. Mit dem erzeugten Event kann ich die Lampe zwar einschalten, aber das Ausschalten erzeugt keinen Event.

Hier die Lists:
Internals:
   .FhemMetaInternals 1
   .triggerUsed 1
   DEF        sensor 25 5 IODev=hueBridge
   FUUID      60895367-f33f-c7ad-1fe1-1021cd871e14d201
   FVERSION   31_HUEDevice.pm:0.239120/2021-03-08
   ID         S25
   INTERVAL   5
   IODev      hueBridge
   NAME       Testschalter
   NR         310
   STATE      1002
   TYPE       HUEDevice
   lastupdated 2021-05-05 17:16:24
   lastupdated_local 2021-05-05 19:16:24
   manufacturername Signify Netherlands B.V.
   modelid    RDM001
   name       Hue wall switch module 3
   on         1
   reachable  1
   swversion  1.0.3
   type       ZLLSwitch
   uniqueid   00:17:88:01:0b:00:06:a8-01-fc00
   .userReadings:
     HASH(0x5589682bc8)
     HASH(0x55896227e8)
   READINGS:
     2021-05-05 19:16:24   .lastupdated    2021-05-05 17:16:24
     2021-05-05 19:16:24   .lastupdated_local 2021-05-05 19:16:24
     2021-05-10 09:50:23   IODev           hueBridge
     2021-05-05 19:16:24   battery         100
     2021-05-05 19:16:24   batteryPercent  100
     2021-05-05 19:16:24   batteryState    ok
     2021-05-05 19:16:24   onoff           off
     2021-05-05 19:16:24   reachable       1
     2021-05-05 19:16:24   state           1002
   helper:
     devtype    S
     reachable  0
     update_timeout 1
     configList:
     json:
       diversityid 8ea98295-bec1-477f-bf00-94de51b30987
       manufacturername Signify Netherlands B.V.
       modelid    RDM001
       name       Hue wall switch module 3
       productname Hue wall switch module
       swversion  1.0.3
       type       ZLLSwitch
       uniqueid   00:17:88:01:0b:00:06:a8-01-fc00
       capabilities:
         inputs:
           HASH(0x5589ae0fc8)
           HASH(0x5589aa9a20)
       config:
         battery    100
         devicemode dualrocker
         devicemodevalues:
           singlerocker
           singlepushbutton
           dualrocker
           dualpushbutton
         pending:
       state:
         buttonevent 1002
         lastupdated 2021-05-05T17:16:24
       swupdate:
         lastinstall 2021-03-17T06:29:34
         state      noupdates
     setList:
Attributes:
   DbLogExclude .*
   IODev      hueBridge
   model      RDM001
   room       HUEDevice
   userReadings onoff { ReadingsVal ( $name, "state", 0) == 1002 ? "off" : "on" },
batteryState { ReadingsVal( $name, "battery", 0) > 30 ? "ok" : "low"}


Und von der HUEBridge auch ein List:
Internals:
   .FhemMetaInternals 1
   .triggerUsed 1
   DEF        192.168.0.131
   FUUID      601e8df3-f33f-c7ad-32e2-9e96696dc1bd6733
   FVERSION   30_HUEBridge.pm:0.242960/2021-04-21
   INTERVAL   60
   NAME       hueBridge
   NOTIFYDEV  global
   NR         228
   NTFY_ORDER 50-hueBridge
   STATE      connected
   TYPE       HUEBridge
   apiversion 1.44.0
   bridgeid   ECB5FAFFFE163A95
   host       192.168.0.131
   mac        ec:b5:fa:16:3a:95
   manufacturer Signify
   modelName  Philips hue bridge 2015
   modelid    BSB002
   name       Philips hue
   swversion  1944193080
   updatestate 0
   zigbeechannel 25
   .attraggr:
   .attrminint:
   READINGS:
     2021-04-28 14:28:17   lastError       resource, /groups/4, not available
     2021-05-10 10:14:25   state           connected
     2021-04-30 09:24:13   swupdate        BSB002 - 1.44SR4.2
   helper:
     apiversion 76800
     count      0
     last_config_timestamp 1620634465
     offsetUTC  7200
     updatestate 0
     groups:
       1:
         class      Toilet
         name       Gaesteklo
         type       Room
         action:
           alert      select
           bri        127
         lights:
           1
           2
         sensors:
         state:
       2:
         class      Bathroom
         name       Bad oben
         type       Room
         action:
           alert      none
         lights:
         sensors:
         state:
       3:
         class      Living room
         name       Wohnzimmer
         type       Room
         action:
           alert      select
           bri        254
         lights:
           3
         sensors:
         state:
       6:
         name       Custom group for $leftGroup
         type       LightGroup
         action:
           alert      select
           bri        254
         lights:
           3
         sensors:
         state:
       7:
         name       Custom group for $rightGroup
         type       LightGroup
         action:
           alert      select
           bri        254
         lights:
           3
         sensors:
         state:
       8:
         name       Custom group for $leftGroup
         type       LightGroup
         action:
           alert      select
           bri        254
         lights:
           3
         sensors:
         state:
       9:
         name       Custom group for $rightGroup
         type       LightGroup
         action:
           alert      select
           bri        254
         lights:
           3
         sensors:
         state:
     lights:
       1:
         manufacturername Signify Netherlands B.V.
         modelid    LWE002
         name       Lampe rechts
         productid  Philips-LWE002-1-E14DLv1
         productname Hue white candle
         swconfigid 06A38B4E
         swversion  1.76.10
         type       Dimmable light
         uniqueid   00:17:88:01:09:9a:40:5b-0b
         capabilities:
           control:
             maxlumen   470
             mindimlevel 2000
           streaming:
         config:
           archetype  candlebulb
           direction  omnidirectional
           function   functional
           startup:
             mode       safety
         state:
           alert      select
           bri        127
           mode       homeautomation
         swupdate:
           lastinstall 2021-02-14T12:16:21
           state      noupdates
       2:
         manufacturername Signify Netherlands B.V.
         modelid    LWE002
         name       Lampe links
         productid  Philips-LWE002-1-E14DLv1
         productname Hue white candle
         swconfigid 06A38B4E
         swversion  1.76.10
         type       Dimmable light
         uniqueid   00:17:88:01:09:9a:4a:33-0b
         capabilities:
           control:
             maxlumen   470
             mindimlevel 2000
           streaming:
         config:
           archetype  candlebulb
           direction  omnidirectional
           function   functional
           startup:
             mode       safety
         state:
           alert      select
           bri        127
           mode       homeautomation
         swupdate:
           lastinstall 2021-02-14T12:16:25
           state      noupdates
       3:
         manufacturername Signify Netherlands B.V.
         modelid    LWE002
         name       Testlampe WZ
         productid  Philips-LWE002-1-E14DLv1
         productname Hue white candle
         swconfigid 06A38B4E
         swversion  1.76.10
         type       Dimmable light
         uniqueid   00:17:88:01:09:97:f2:41-0b
         capabilities:
           control:
             maxlumen   470
             mindimlevel 2000
           streaming:
         config:
           archetype  candlebulb
           direction  omnidirectional
           function   functional
           startup:
             mode       safety
         state:
           alert      select
           bri        254
           mode       homeautomation
         swupdate:
           lastinstall 2021-04-28T12:17:20
           state      noupdates
     scenes:
       1rfGz6dHDJV-08O:
         group      1
         lastupdated 2021-05-10T04:56:35
         name       Scene recoveryScene
         owner      142ab294-6f6b-4661-9920-3d1ab2f89276
         picture   
         type       GroupScene
         version    2
         appdata:
         lights:
           1
           2
       3SC7SGCV9J2iRQa:
         group      3
         image      732ff1d9-76a7-4630-aad0-c8acc499bb0b
         lastupdated 2021-04-28T11:12:12
         name       Hell
         owner      142ab294-6f6b-4661-9920-3d1ab2f89276
         picture   
         type       GroupScene
         version    2
         appdata:
           data       DWAtV_r03_d05
           version    1
         lights:
           3
       CTBcvmS2IMpNlPC:
         lastupdated 2021-04-28T11:45:57
         name       CTBcvmS2IMpNlPC
         owner      142ab294-6f6b-4661-9920-3d1ab2f89276
         picture   
         type       LightScene
         version    2
         appdata:
         lights:
           3
       Dxo7xarb63DPfbH:
         group      1
         image      28bbfeff-1a0c-444e-bb4b-0b74b88e0c95
         lastupdated 2021-02-12T13:39:35
         name       Nachtlicht
         owner      142ab294-6f6b-4661-9920-3d1ab2f89276
         picture   
         type       GroupScene
         version    2
         appdata:
           data       6VLfJ_r01_d07
           version    1
         lights:
           1
           2
       KrsodpzyryRwIOM:
         lastupdated 2021-04-28T11:14:32
         name       KrsodpzyryRwIOM
         owner      142ab294-6f6b-4661-9920-3d1ab2f89276
         picture   
         type       LightScene
         version    2
         appdata:
         lights:
           3
       LkplP843ZgcB8xx:
         group      1
         image      8c74b9ba-6e89-4083-a2a7-b10a1e566fed
         lastupdated 2021-02-12T13:39:35
         name       Gedimmt
         owner      142ab294-6f6b-4661-9920-3d1ab2f89276
         picture   
         type       GroupScene
         version    2
         appdata:
           data       RRuas_r01_d06
           version    1
         lights:
           1
           2
       LwrEt6i9cxp0QmI:
         lastupdated 2021-04-28T11:14:32
         name       LwrEt6i9cxp0QmI
         owner      142ab294-6f6b-4661-9920-3d1ab2f89276
         picture   
         type       LightScene
         version    2
         appdata:
         lights:
           3
       RxIHnd-wk5gt2cq:
         group      3
         image      28bbfeff-1a0c-444e-bb4b-0b74b88e0c95
         lastupdated 2021-04-28T11:12:12
         name       Nachtlicht
         owner      142ab294-6f6b-4661-9920-3d1ab2f89276
         picture   
         type       GroupScene
         version    2
         appdata:
           data       TV4qA_r03_d07
           version    1
         lights:
           3
       TsqDMEp3K3n2RuN:
         lastupdated 2021-04-28T11:45:57
         name       TsqDMEp3K3n2RuN
         owner      142ab294-6f6b-4661-9920-3d1ab2f89276
         picture   
         type       LightScene
         version    2
         appdata:
         lights:
           3
       m98KALPDInsXxL5:
         group      1
         image      732ff1d9-76a7-4630-aad0-c8acc499bb0b
         lastupdated 2021-02-12T13:39:35
         name       Hell
         owner      142ab294-6f6b-4661-9920-3d1ab2f89276
         picture   
         type       GroupScene
         version    2
         appdata:
           data       C2mnz_r01_d05
           version    1
         lights:
           1
           2
       rOG4ovdyE26AzXH:
         group      3
         image      8c74b9ba-6e89-4083-a2a7-b10a1e566fed
         lastupdated 2021-04-28T11:12:12
         name       Gedimmt
         owner      142ab294-6f6b-4661-9920-3d1ab2f89276
         picture   
         type       GroupScene
         version    2
         appdata:
           data       dBI3K_r03_d06
           version    1
         lights:
           3
Attributes:
   httpUtils  1
   icon       hue_filled_bridge_v2
   key        8aLjQUg********F
   room       HUEBridge


Ich habe zwar die Einbindung in die HUEBridge schon mehrfach mit veränderten Parametern vorgenommen, das ändert aber nur das Verhalten in der HUEBridge, nicht in fhem.

Vielleicht kann mir jemand helfen.

VG tabbi
Gruß von der Insel

RasPi: div. Z-Wave-Geräte, EnOcean, WLAN, hueBridge