Ins zigbee board verlagert: hue wall switch module

Begonnen von tabbi, 15 März 2021, 16:14:32

Vorheriges Thema - Nächstes Thema

tabbi

Hallo,

ich habe mir 2 von diesen Modulen (brandneu) zugelegt. Die Integration in die hueBridge und als hueDevice funktioniert problemlos.

Und dann passiert eigentlich nichts mehr. Ich bekomme beim Schalten auf der Flanke jeweils einen Eintrag in der EventMap, der nur alle Readings anzeigt, es verändert sich aber nichts. Das Reading state bleibt konstant auf 1002, nur in seltenen Fällen ändert es sich kurzzeitig auf 1000 (Schalter 1).
Aber auch in der Hue-App passiert nicht mehr. Nach einem Schaltvorgang leuchtet nur kurz auf: Erste Taste gedrückt.??


Internals:
   DEF        sensor 20 1 IODev=hueBridge
   FUUID      604f608a-f33f-c7ad-43cf-2a0e0d0c02d484f5
   FVERSION   31_HUEDevice.pm:0.239120/2021-03-08
   ID         S20
   INTERVAL   1
   IODev      hueBridge
   NAME       Lichtschalter_Test_1
   NR         296
   STATE      2002
   TYPE       HUEDevice
   lastupdated 2021-03-15 15:02:33
   lastupdated_local 2021-03-15 16:02:33
   manufacturername Signify Netherlands B.V.
   modelid    RDM001
   name       Hue wall switch module 2
   on         1
   reachable  1
   swversion  1.0.3
   type       ZLLSwitch
   uniqueid   00:17:88:01:0b:00:06:bd-01-fc00
   READINGS:
     2021-03-15 16:02:33   battery         100
     2021-03-15 16:02:33   batteryPercent  100
     2021-03-15 16:02:33   reachable       1
     2021-03-15 16:02:33   state           2002
   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 2
       productname Hue wall switch module
       swversion  1.0.3
       type       ZLLSwitch
       uniqueid   00:17:88:01:0b:00:06:bd-01-fc00
       capabilities:
         inputs:
           HASH(0x55a92ddd68)
           HASH(0x55a9286678)
       config:
         battery    100
         devicemode dualrocker
         devicemodevalues:
           singlerocker
           singlepushbutton
           dualrocker
           dualpushbutton
         pending:
       state:
         buttonevent 2002
         lastupdated 2021-03-15T15:02:33
       swupdate:
         lastinstall 2021-03-15T13:21:42
         state      noupdates
     setList:
Attributes:
   DbLogExclude .*
   IODev      hueBridge
   model      RDM001
   room       HUEDevice
Gruß von der Insel

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

Klaus.A

Hallo,

ist bei Installation in der Hue App der richtige Schaltertyp ausgewählt? Es gibt eine Auswahl am unteren Rand für den Schaltertyp (Schalter oder Taster). Wenn die Auswahl nicht stimmt dann gibt es definitiv Probleme (auch in der Hue App).
2 x CubieTruck mit 1) FHEM 5.9 und 2) IOBroker-mit Echo-Dot/Alexa und Homekit-/Siri-Integration. 1 x HMLAN, 3 x HM-LGW-O-TW-W-EU-2, mehr als 90 HomeMatic Sensoren und Aktoren, Velux-Fenster-IF, Fibaro ZWave-Sensoren und Aktoren, Philips Hue Bridge, IRTrans IR-Konverter, AutoMower via API

tabbi

Ja, oder besser nein.
Ich kann in der HE-App den Typ nicht ändern, solange ich den Schalter über "In einer anderen App konfigurieren" ausgewählt habe, da er dann nicht speichert.
Ich warte jetzt auf eine HUE-Lampe, um diese Auswahl tätigen zu können. Das konnte ich vorher nicht wissen, dass er dort nicht offen gestaltet ist.
Er versucht sich jetzt immer als Taster, nehme ich an.

Wenn die Lampe da ist, werde ich diese Umstellung noch einmal testen. Wahrscheinlich muss ich dann das Wall Switch Modul noch einmal komplett entfernen und wieder neu in fhem integrieren.
Gruß von der Insel

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

tabbi

So, ich habe jetzt eine HUELampe eingerichtet.
Jetzt lässt sich der Schalter auch in der HUEBrige als Schalter benutzen.
Nur in FHEM keine Reaktion.
Hier die Daten des Schalters:
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         316
   STATE      1002
   TYPE       HUEDevice
   lastupdated 2021-04-28 12:27:10
   lastupdated_local 2021-04-28 14:27:10
   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
   .attraggr:
   .attrminint:
   .userReadings:
     HASH(0x5566698808)
     HASH(0x55666990b8)
   READINGS:
     2021-04-28 14:27:10   .lastupdated    2021-04-28 12:27:10
     2021-04-28 14:27:10   .lastupdated_local 2021-04-28 14:27:10
     2021-04-28 14:27:10   battery         100
     2021-04-28 14:27:10   batteryPercent  100
     2021-04-28 14:27:10   batteryState    ok
     2021-04-28 14:27:10   onoff           off
     2021-04-28 14:27:10   reachable       1
     2021-04-28 14:27:10   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(0x5566b32650)
           HASH(0x5566b2cd58)
       config:
         battery    100
         devicemode dualrocker
         devicemodevalues:
           singlerocker
           singlepushbutton
           dualrocker
           dualpushbutton
         pending:
       state:
         buttonevent 1002
         lastupdated 2021-04-28T12:27:10
       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 die der Brigde:
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.43.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  1944102110
   updatestate 0
   zigbeechannel 25
   .attraggr:
   .attrminint:
   Helper:
     DBLOG:
       lastError:
         dblog:
           TIME       1619612897.10424
           VALUE      resource, /groups/4, not available
   READINGS:
     2021-04-28 14:28:17   lastError       resource, /groups/4, not available
     2021-04-28 14:34:07   state           connected
     2021-04-28 13:23:47   swupdate        ZGB_100B_0112 - Lamps-EFR32MG13 - 27.0
   helper:
     apiversion 76544
     count      0
     last_config_timestamp 1619613247
     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-04-26T18:26:59
         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        8aLjQUgjsaInrlIw7Y3y1tj6gU4dpSC43J32MJZF
   room       HUEBridge


Und jetzt bin ich am Ende, da ich nicht weiter weiß.

VG tabbi
Gruß von der Insel

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

Otto123

#4
Hi,

das ist die Reaktion:
2021-04-28 14:27:10   state           1002
Die Schalter senden Events 1000 1002 1004 je nach dem was sie können. Darauf kannst Du reagieren.
Mach den Eventmonitor auf und schau zu wenn Du den Schalter betätigst.

Was erwartest Du sonst von einem Taster?

Gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

tabbi

Ja, genau das ist ja das Problem.
Das Modul ist kein Taster, sondern ein Schalter. Der kann "an" (1002) und "aus" (1000).

Er wird aber nur als Taster angezeigt, das heisst, der Event kommt nur bei "an" und nicht bei "aus".
Er ist aber als Wall Switch verkauft worden, um Schalter zu ersetzen.

Also Licht einschalten geht, aber wie kriege ich es mit dem Schalter wieder aus?

In der HUEBridge funktioniert das, da kann ich die Funktion Schalter auswählen, wenn ich eine HUELampe schalte, aber ich habe leider ZWave-Lampen, die ich schalten möchte. Also brauche ich diese Funktion unter fhem, nicht im HUE-NW.

VG tabbi
Gruß von der Insel

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

Otto123

Hi Tabbi,

dann stell doch mal Deine Frage neu im richtigen Board Zigbee: https://forum.fhem.de/index.php/board,99.0.html

Dein Betreff ist auch verwirrend: normalerweise beginnt der Betreff mit Neues Modul wenn einer ein neues FHEM Modul geschrieben hat - nicht wenn jemand einen neuen Schalter gekauft hat :)
Vorschlag: hue wall switch module wird nur als Taster erkannt

Gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

tabbi

Gruß von der Insel

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