openhab/org.openhab.binding.zigbee

Extend funcions of devices Legrand Bticino

SummerSeaSun opened this issue · 0 comments

Guidelines

Just wondering how to extend available control from openhab ui for this Light control device.
Now on the Thing got 2 channels:

  • Binary Input : don't know what it is
  • Switch : control ON/OFF send command actually works but status isnt' updated
    and this device got an embedded RGB LED, how can I add control of this?

2021-11-23 15:32:00.483 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'LegrandLightswitchwithneutral_ZLL_DIMMABLE_LIGHTSwitch' received command ON

openhab> zigbee fingerprint 0004740000B5C716
|>| Node Descriptor
| |> Logical Type               ROUTER
| |> MAC Capabilities           [FULL_FUNCTION_DEVICE, MAINS_POWER, RECEIVER_ON_WHEN_IDLE]
| |> Stack Compliance           21
| |> Server Capabilities        []
| |> Buffer Size                89
| |> Incoming Transfer Size     63
| |> Outgoing Transfer Size     63
|
|>| Power DescriptorOff Wait Time
| |> Available Power Sources    [DISPOSABLE_BATTERY, MAINS, RECHARGABLE_BATTERY]
| |> Current Power Source       MAINS
| |> Current Power Mode         RECEIVER_ON_IDLE
| |> Power Level                FULL
|
|>| ZDO
| |> ManagementBindRequest      SUCCESS
| |> IeeeAddressRequest         SUCCESS
| |> ManagementLqiRequest       SUCCESS
| |> ManagementRoutingRequest   SUCCESS
|
|>| Basic Information
| |> Generic Device Class       0
| |> Generic Device Type        9
| |> Manufacturer Name           Legrand
| |> Model Indentifier           Light switch with neutral
| |> Product Code               ByteArray [value=00 30 30 30 30 30 30 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00]
| |> Product URL                 
| |> Date Code                   
| |> Application Version        0
| |> Software Build ID          001c
| |> Hardware Version           9
| |> Zcl Version                2
| |> Stack Version              66
| |
| |>| Endpoint 1
| | |> Profile                  0104  ZIGBEE_HOME_AUTOMATION
| | |> Device Type              0100  ZLL_DIMMABLE_LIGHT
| | |> Device Version           1
| | |
| | |>| Input Clusters
| | | |
| | | |>| Cluster 0000 Basic
| | | | |> Type                 Server [Input]
| | | | |> Manufacturer Spec.   No
| | | | |
| | | | |>| Commands Generated
| | | | | |> 00F1 Unknown
| | | | |
| | | | |>| Commands Received
| | | | | |> 0000 ResetToFactoryDefaultsCommand
| | | | | |> 00F0 Unknown
| | | | |
| | | | |>| Attributes Supported
| | | | | |> 0000 ZCL Version
| | | | | |> 0001 Application Version
| | | | | |> 0002 Stack Version
| | | | | |> 0003 HW Version
| | | | | |> 0004 Manufacturer Name
| | | | | |> 0005 Model Identifier
| | | | | |> 0006 Date Code
| | | | | |> 0007 Power Source
| | | | | |> F000 Unknown
| | | | | |> FFFD Unknown
| | | |
| | | |>| Cluster 0003 Identify
| | | | |> Type                 Server [Input]
| | | | |> Manufacturer Spec.   No
| | | | |> Unsupported locally
| | | |
| | | |>| Cluster 0004 Groups
| | | | |> Type                 Server [Input]
| | | | |> Manufacturer Spec.   No
| | | | |> Unsupported locally
| | | |
| | | |>| Cluster 0005 Scenes
| | | | |> Type                 Server [Input]
| | | | |> Manufacturer Spec.   No
| | | | |
| | | | |>| Commands Generated
| | | | | |> 0000 AddSceneCommand
| | | | | |> 0001 ViewSceneCommand
| | | | | |> 0002 RemoveSceneCommand
| | | | | |> 0003 RemoveAllScenesCommand
| | | | | |> 0004 StoreSceneCommand
| | | | | |> 0006 GetSceneMembershipCommand
| | | | | |> 0040 EnhancedAddSceneCommand
| | | | | |> 0041 EnhancedViewSceneCommand
| | | | | |> 0042 CopySceneCommand
| | | | |
| | | | |>| Commands Received
| | | | | |> 0000 AddSceneCommand
| | | | | |> 0001 ViewSceneCommand
| | | | | |> 0002 RemoveSceneCommand
| | | | | |> 0003 RemoveAllScenesCommand
| | | | | |> 0004 StoreSceneCommand
| | | | | |> 0005 RecallSceneCommand
| | | | | |> 0006 GetSceneMembershipCommand
| | | | | |> 0040 EnhancedAddSceneCommand
| | | | | |> 0041 EnhancedViewSceneCommand
| | | | | |> 0042 CopySceneCommand
| | | | |
| | | | |>| Attributes Supported
| | | | | |> 0000 Scene Count
| | | | | |> 0001 Current Scene
| | | | | |> 0002 Current Group
| | | | | |> 0003 Scene Valid
| | | | | |> 0004 Name Support
| | | | | |> FFFD Unknown
| | | |
| | | |>| Cluster 0006 On/Off
| | | | |> Type                 Server [Input]
| | | | |> Manufacturer Spec.   No
| | | | |
| | | | |>| Commands Generated
| | | | | |> 000A Unknown
| | | | |
| | | | |>| Commands Received
| | | | | |> 0000 OffCommand
| | | | | |> 0001 OnCommand
| | | | | |> 0002 ToggleCommand
| | | | | |> 0040 OffWithEffectCommand
| | | | | |> 0041 OnWithRecallGlobalSceneCommand
| | | | | |> 0042 OnWithTimedOffCommand
| | | | |
| | | | |>| Attributes Supported
| | | | | |> 0000 On Off
| | | | | |> 4000 Global Scene Control
| | | | | |> 4001 On Time
| | | | | |> 4002 Off Wait Time
| | | | | |> 4003 Start Up On Off
| | | | | |> FFFD Unknown
| | | |
| | | |>| Cluster 000F Binary Input (Basic)
| | | | |> Type                 Server [Input]
| | | | |> Manufacturer Spec.   No
| | | | |> Unsupported locally
| | | |
| | | |>| Cluster FC01 
| | | | |> Type                 Server [Input]
| | | | |> Manufacturer Spec.   No
| | | | |> Unsupported locally
| | |
| | |>| Output Clusters
| | | |
| | | |>| Cluster 0000 Basic
| | | | |> Type                 Client [Output]
| | | | |> Manufacturer Spec.   No
| | | | |
| | | | |>| Commands Generated
| | | | | |> 0000 ResetToFactoryDefaultsCommand
| | | | | |> 00F0 Unknown
| | | | |
| | | | |>| Commands Received
| | | | | |> 00F1 Unknown
| | | | |
| | | | |>| Attributes Supported
| | | | | |> FFFD Unknown
| | | |
| | | |>| Cluster 0005 Scenes
| | | | |> Type                 Client [Output]
| | | | |> Manufacturer Spec.   No
| | | | |> Unsupported locally
| | | |
| | | |>| Cluster 0006 On/Off
| | | | |> Type                 Client [Output]
| | | | |> Manufacturer Spec.   No
| | | | |
| | | | |>| Commands Generated
| | | | | |> 0000 OffCommand
| | | | | |> 0001 OnCommand
| | | | | |> 0002 ToggleCommand
| | | | | |> 0040 OffWithEffectCommand
| | | | | |> 0041 OnWithRecallGlobalSceneCommand
| | | | | |> 0042 OnWithTimedOffCommand
| | | | |
| | | | |>| Commands Received
| | | | | |> 000A Unknown
| | | | |
| | | | |>| Attributes Supported
| | | | | |> FFFD Unknown
| | | |
| | | |>| Cluster 0019 Ota Upgrade
| | | | |> Type                 Client [Output]
| | | | |> Manufacturer Spec.   No
| | | | |
| | | | |>| Commands Generated
| | | | | |> 0001 QueryNextImageCommand
| | | | | |> 0003 ImageBlockCommand
| | | | | |> 0004 ImagePageCommand
| | | | | |> 0006 UpgradeEndCommand
| | | | |
| | | | |>| Commands Received
| | | | | |> 0000 Unknown
| | | | | |> 0002 Unknown
| | | | | |> 0005 Unknown
| | | | | |> 0007 Unknown
| | | | |
| | | | |>| Attributes Supported
| | | | | |> 0000 Upgrade Server ID
| | | | | |> 0006 Image Upgrade Status
| | | | | |> 0009 Minimum Block Request Period
| | | | | |> 000B Unknown
| | | | | |> 000C Unknown
| | | | | |> FFFD Unknown
| | | |
| | | |>| Cluster 0102 Window Covering
| | | | |> Type                 Client [Output]
| | | | |> Manufacturer Spec.   No
| | | | |
| | | | |>| Commands Generated
| | | | | |> FAILURE
| | | | |
| | | | |>| Commands Received
| | | | |> FAILURE
| | | | |
| | | | |>| Attributes Supported
| | | | | |> FAILURE
| | | |
| | | |>| Cluster FC01 
| | | | |> Type                 Client [Output]
| | | | |> Manufacturer Spec.   No
| | | | |> Unsupported locally
| |
| |>| Endpoint 242
| | |> Profile                  A1E0  ZIGBEE_GREEN_POWER
| | |> Device Type              0066  ZGP_COMBO_BASIC
| | |> Device Version           0


Configuration

Configuration Description
Coordinator used Ember EM35x NCP - BV 2010/10
openHAB version Opehnhabian 3.2.0.M4
Hardware Raspberry pi 4
Devices K4003C: Legrand / Bticino