Help with Zigbee LIDL Smart Colour-Change LED Light Bulb channel (HG07834C)

Chris, thanks for the reply, I’m a relative newcomer here, so if someone can let me know how to turn on logging I can get the logs, I assume that in openhab-cli console.

I did try looking at some zigbee commands, and also looked at the configs and found this /var/lib/openhab/zigbee/zigbee_coordinator_ember_fcdea088fa/0C4314FFFE8D92E2.xml . The output from zigbee nodes is

Total known nodes in network: 4
Network  Addr  IEEE Address      Logical Type  State      EP   Profile                    Device Type                Manufacturer     Model          
      0  0000  847127FFFE7EB732  COORDINATOR   ONLINE   
  14825  39E9  BC33ACFFFE516592  ROUTER        ONLINE     11  ZIGBEE_HOME_AUTOMATION     ON_OFF_PLUG_IN_UNIT        _TZ3000_00mk2xzy  TS011F         
                                                         242  ZIGBEE_GREEN_POWER         0061                                                       
  32457  7EC9  84FD27FFFED78305  ROUTER        ONLINE     11  ZIGBEE_HOME_AUTOMATION     ON_OFF_PLUG_IN_UNIT        _TZ3000_00mk2xzy  TS011F         
                                                         242  ZIGBEE_GREEN_POWER         0061                                                       
  39851  9BAB  0C4314FFFE8D92E2  ROUTER        ONLINE      1  ZIGBEE_HOME_AUTOMATION     EXTENDED_COLOR_LIGHT       _TZ3000_qd7hej8u  TS0505B        

The luminous flux in color mode is significantly lower than in white mode - AFAIK there is nothing OH/the ZigBee Binding can do about it - it’s a physical limitation of the device.

But I’m not sure whether this addresses your problem. Could you please describe your expectation and your observation once more?

Edit:
See LIVARNO LUX® Leuchtmittel RGB, dimmbar, »Zigbee Smart …

LIVARNO LUX® Leuchtmittel RGB, dimmbar, »Zigbee Smart Home« (Kugel)

Von Lidl-Shop Kunde am 04.06.2021

Hat alles gut geklappt
Indie weißtöne sind sehr gut und hell
Leider sind Farben recht dunkel was sehr schade ist
Da fehlt echt die Leuchtkraft

Machine translation:

LIVARNO LUX® illuminant RGB, dimmable, “Zigbee Smart Home” (ball)

From Lidl store customer on 04.06.2021

Has everything worked well
Indie white shades are very good and bright
Unfortunately, colors are quite dark which is a pity
There is really missing the luminosity

Welcome.

Please take a look at the zigbee binding docs - toward the bottom there is a section called something like “what to do when things don’t go to plan” and in there is how to enable logging.

Just paste/attach the logs here and I’ll try and take a look.

My expectation was that I would be able to switch on white mode, I only seem to have color mode. But maybe I’m not understanding the binding?

Chris, thanks, and sorry I did read the zigbee binding docs, I’d just forgotten! Its also possible that everything is working as designed and I’ve just misunderstood how the binding is working. And again, thanks for the assistance.

it will be the weekend before I get to the logs…

zigbee-herdsman-converters/devices/lidl.js at 53a365d1daa4760a9740599264e5c259fb092661 · Koenkk/zigbee-herdsman-converters · GitHub defines a specific colour temperature range ([153, 500]) for TS0505B (in contrast to TS0505A):

{
        fingerprint: [{modelID: 'TS0505A', manufacturerName: '_TZ3000_dbou1ap4'}],
        model: 'HG06106C',
        vendor: 'Lidl',
        description: 'Livarno Lux E27 bulb RGB',
        ...extend.light_onoff_brightness_colortemp_color({disableColorTempStartup: true}),
        meta: {applyRedFix: true, enhancedHue: false},
        configure: async (device, coordinatorEndpoint, logger) => {
            device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
        },
    },
    {
        fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3000_qd7hej8u'}],
        model: 'HG07834C',
        vendor: 'Lidl',
        description: 'Livarno Lux E27 bulb RGB',
        ...extend.light_onoff_brightness_colortemp_color({disableColorTempStartup: true, colorTempRange: [153, 500]}),
        meta: {applyRedFix: true, enhancedHue: false},
        configure: async (device, coordinatorEndpoint, logger) => {
            device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
        },
    },

It might be that the TS0505B returns wrong min and max values for the colour temperature range.

I’m not sure that I understand the issue here. Is it that there is no color temperature channel, or that the color temperature channel doesn’t work?

This statement seems to make me believe that the channel doesn’t exist, which probably means that the device doesn’t report some attributes or color types properly.

I would also suggest to ensure you use the latest binding - ie the SNAPSHOT version - just so we know it’s current.

Chris, yes sorry, I didn’t really know what i was asking. The color channel and item work fine. The bulb also has a white led, I assumed that would appear, and I would be able to use it.

Sorry - but I’m still not sure I understand :slight_smile: .

Do you have two channels showing for this device - ie a color “channel”, and another one for the color temperature? I’m assuming there is only this single color channel, and no color temperature channel?

Can you use the console and try the zigbee fingerprint <node> command to see what that shows please?

Just for reference:

and

1 Like

Chris, this is what I get…

I put the bulb into pairing mode. its flashes, so I do a zigbee scan I get a thing and a color channel. The bulb stops flashing and it illuminated bright white.

I then link and create an item …

If I turn the light on/off or use the brightness dimmer, the light varies between off and bright white. Once I move the hue or saturation, it seems like the bulb visibly dims, as it looks like the white led turns off, and only the red, green and blue leds are on.

If I pair the bulb to a normal Lidl zigbee hub, I get a on/off, dimmer, cool to warm light, and rgb colour also dim-able.

So maybe I’ve not understood the limitations of using the hacked Lidl gateway, or possibly its a limitation of the bulb, gateway and zigbee implementation,

The gateway won’t impact this - it will come down to how the device implements the color control. The binding expects to see certain features in the device, and if it sees them, it creates the color control channel. It does this using standard zigbee functionality, so it should work with all devices conforming to the standards, but sometimes there is more than one way to do something (or possibly the device is doing something non-standard).

@Ap15e I assume this is a different bulb than @Ferg is trying to get working?

My bulb identifies itself as _TZ3000_dbou1ap4 / TS0505A (not as TS0505B).

Fingerprint:

|>| Node Descriptor
| |> Logical Type               ROUTER
| |> MAC Capabilities           [FULL_FUNCTION_DEVICE, MAINS_POWER, RECEIVER_ON_WHEN_IDLE]
| |> Stack Compliance           22
| |> Server Capabilities        []
| |> Buffer Size                82
| |> Incoming Transfer Size     82
| |> Outgoing Transfer Size     82
|
|>| Power Descriptor
| |> Available Power Sources    [MAINS]
| |> 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
| |> Generic Device Type
| |> Manufacturer Name          _TZ3000_dbou1ap4
| |> Model Indentifier          TS0505A
| |> Product Code
| |> Product URL
| |> Date Code
| |> Application Version        80
| |> Software Build ID
| |> Hardware Version           1
| |> Zcl Version                3
| |> Stack Version              0
| |
| |>| Endpoint 1
| | |> Profile                  0104  ZIGBEE_HOME_AUTOMATION
| | |> Device Type              010D  EXTENDED_COLOR_LIGHT
| | |> Device Version           1
| | |
| | |>| Input Clusters
| | | |
| | | |>| Cluster 0000 Basic
| | | | |> Type                 Server [Input]
| | | | |> Manufacturer Spec.   No
| | | | |
| | | | |>| Commands Generated
| | | | | |> FAILURE
| | | | |
| | | | |>| Commands Received
| | | | |> FAILURE
| | | | |
| | | | |>| 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
| | | | | |> FFDE Unknown
| | | | | |> FFFD Unknown
| | | | | |> FFFE 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
| | | | | |> FAILURE
| | | | |
| | | | |>| Commands Received
| | | | |> FAILURE
| | | | |
| | | | |>| 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
| | | | | |> FAILURE
| | | | |
| | | | |>| Commands Received
| | | | |> FAILURE
| | | | |
| | | | |>| Attributes Supported
| | | | | |> 0000 On Off
| | | | | |> FFFD Unknown
| | | |
| | | |>| Cluster 0008 Level Control
| | | | |> Type                 Server [Input]
| | | | |> Manufacturer Spec.   No
| | | | |
| | | | |>| Commands Generated
| | | | | |> FAILURE
| | | | |
| | | | |>| Commands Received
| | | | |> FAILURE
| | | | |
| | | | |>| Attributes Supported
| | | | | |> 0000 Current Level
| | | | | |> 000F Options
| | | | | |> FFFD Unknown
| | | |
| | | |>| Cluster 0300 Color Control
| | | | |> Type                 Server [Input]
| | | | |> Manufacturer Spec.   No
| | | | |> Unsupported locally
| | | |
| | | |>| Cluster 1000
| | | | |> Type                 Server [Input]
| | | | |> Manufacturer Spec.   No
| | | | |> Unsupported locally
| | |
| | |>| Output Clusters
| | | |
| | | |>| Cluster 000A Time
| | | | |> Type                 Client [Output]
| | | | |> Manufacturer Spec.   No
| | | | |> Unsupported locally
| | | |
| | | |>| Cluster 0019 Ota Upgrade
| | | | |> Type                 Client [Output]
| | | | |> Manufacturer Spec.   No
| | | | |
| | | | |>| Commands Generated
| | | | | |> FAILURE
| | | | |
| | | | |>| Commands Received
| | | | |> FAILURE
| | | | |
| | | | |>| Attributes Supported
| | | | | |> 0000 Upgrade Server ID
| | | | | |> 0001 File Offset
| | | | | |> 0006 Image Upgrade Status
| | | | | |> FFFD Unknown
| |
| |>| Endpoint 242
| | |> Profile                  A1E0  ZIGBEE_GREEN_POWER
| | |> Device Type              0061
| | |> Device Version           0

I might be wrong (once again :slight_smile: ), but I’d say OPs problem is related to the fact that OPs bulb seems to have a specific colour temperature range (see Help with Zigbee LIDL Smart Colour-Change LED Light Bulb channel (HG07834C) - #10 by Ap15e). The colour temperature channel is missing from OPs screenshot.

I don’t think so. This is not one of the criteria for creating the channel - the binding is only checking to see if certain capabilities are supported. I’m not saying that this might not also be an issue at some point, but it is definitely not the reason that there is no channel being detected.

Let’s ensure the latest version is being run, then get the logs and see what’s happening…

@chris @anon71759204 I’ve got most of my OpenHab set up with MQTT binding and Tasmota devices. I’ve only just got the Lidl Zigbee gateway with some plugs and bulbs and followed the guides to “freeing the gateway” and tried connecting it to my setup. Before posting here, I’d used openhabian-config upgrade the system to the latest release and have been having some issues with the iPhone App.

I’ve decided this was rushed, so I’m setting up a test server at the weekend. and will install the zigbee binding and test and generate the logs. This will eliminate any other issues, and ensure that I don’t break my existing setup. Thanks for your help so far.

1 Like

My live setup is openHAB 3.2.0 - Release Build

My test setup is openHAB 3.3.0-SNAPSHOT - Build #2739 and it looks like everything is working :slight_smile:

  • Installed and configured socat and pointed it at the Lidl gateway
  • added in the zigbee binding
  • added and configured the Ember coordinator
  • added thing, select zigbee, pressed scan, which found the bulb
  • clicked on channels, and there were 2 :slight_smile:
  • added to model,

and it works.

1 Like

@chris @anon71759204 I guess the lesson here for me, is read the documentation, and read it again. Also testing in a clean environment, where I wont break my live system, and where its easier to see issues/errors.

My live environment was an upgrade from 2.5, and maybe had other issues, so I’ll need to do a clean install and start again. I’ll use the test server to “try things out” before putting them on my live server.

Thanks for your assistance, and also thanks to you both for the excellent work you do here.

:+1:

I made a change recently to simplify the detection of device features/channels. I found that some devices incorrectly report their capability (there is a direct request to find out the color capabilities and some devices incorrectly report this). Instead the binding now just goes through one by one and requests the attributes to see if they are supported - this is a little slower, but it’s only done during initialisation, and as it’s really dealing with the direct data from the bulb, is more likely to work.

I suspect that is what fixed it here.

Glad it’s working.

Just some further questions, and this may well be down to my understanding of the bulbs and binding capabilities, or my expectations may be to high :slight_smile:

  1. The paring works and I get 2 channels and 2 items.

The color control has Hue, Saturation and Brightness

The Color Temperature Dimmer which maps to the actual 153 - 500 range for the bulb.

However its not possible to change the brightness in white mode, in RGB mode its fine.

My hack was to add a dimmer item to the color channel …


Call it Brightness

And end up with this …
model_02
Click on Brightness will turn on white at the selected brightness.
Click on Color Temperature will set the color, but only if light is on
Click the switch on/off will turn on bulb to last setting.
Click on the color square will bring up the color wheel

The Hue is changed by the outer color wheel, the saturation and brightness are changed in the square.

Please let me know if there is a better or cleaner way to do this.

This is the output from zigbee endpoint command

openhab> zigbee endpoint 38251/1
IEEE Address      : B4E3F9FFFEFFA288
Network Address   : 38251
Endpoint          : 1
Device Profile    : 0x0104, ZIGBEE_HOME_AUTOMATION
Device Type       : 0x010D, EXTENDED_COLOR_LIGHT
Device Version    : 1
Input Clusters    : (Server)
   0000 Basic
     - APS Security disabled
        S       0 r-- UNSIGNED_8_BIT_INTEGER    ZCL Version                              Tue Feb 15 20:03:33 GMT 2022 3
        S       1 r-- UNSIGNED_8_BIT_INTEGER    Application Version                      Tue Feb 15 20:03:33 GMT 2022 65
        S       2 r-- UNSIGNED_8_BIT_INTEGER    Stack Version                            Tue Feb 15 20:03:33 GMT 2022 0
        S       3 r-- UNSIGNED_8_BIT_INTEGER    HW Version                               Tue Feb 15 20:03:33 GMT 2022 1
        S       4 r-- CHARACTER_STRING          Manufacturer Name                        Tue Feb 15 20:03:33 GMT 2022 _TZ3000_qd7hej8u
        S       5 r-- CHARACTER_STRING          Model Identifier                         Tue Feb 15 20:03:33 GMT 2022 TS0505B
        S       6 r-- CHARACTER_STRING          Date Code                                Tue Feb 15 20:03:33 GMT 2022 
        S       7 r-- ENUMERATION_8_BIT         Power Source                              
        S       8 r-- ENUMERATION_8_BIT         Generic Device Class                      
        S       9 r-- ENUMERATION_8_BIT         Generic Device Type                       
        S      10 r-- CHARACTER_STRING          Product Code                              
        S      11 r-- CHARACTER_STRING          Product URL                               
        S      16 rw- CHARACTER_STRING          Location Description                      
        S      17 rw- ENUMERATION_8_BIT         Physical Environment                      
        S      18 rw- BOOLEAN                   Device Enabled                            
        S      19 rw- BITMAP_8_BIT              Alarm Mask                                
        S      20 rw- BITMAP_8_BIT              Disable Local Config                      
        S   16384 r-- CHARACTER_STRING          SW Build ID                               
   0003 Identify
     - APS Security disabled
        S       0 rw- UNSIGNED_16_BIT_INTEGER   Identify Time                             
   0004 Groups
     - APS Security disabled
        S       0 r-- BITMAP_8_BIT              Name Support                              
   0005 Scenes
     - APS Security disabled
        S       0 r-- UNSIGNED_8_BIT_INTEGER    Scene Count                               
        S       1 r-- UNSIGNED_8_BIT_INTEGER    Current Scene                             
        S       2 r-- UNSIGNED_16_BIT_INTEGER   Current Group                             
        S       3 r-- BOOLEAN                   Scene Valid                               
        S       4 r-- BITMAP_8_BIT              Name Support                              
        S       5 r-- IEEE_ADDRESS              Last Configured By                        
   0006 On/Off
     - APS Security disabled
        S       0 r-s BOOLEAN                   On Off                                   Tue Feb 15 20:36:16 GMT 2022 true
        U   16384 r-- BOOLEAN                   Global Scene Control                      
        U   16385 rw- UNSIGNED_16_BIT_INTEGER   On Time                                   
        U   16386 rw- UNSIGNED_16_BIT_INTEGER   Off Wait Time                             
        U   16387 rw- ENUMERATION_8_BIT         Start Up On Off                           
   0008 Level Control
     - APS Security disabled
        S       0 r-s UNSIGNED_8_BIT_INTEGER    Current Level                            Tue Feb 15 20:36:04 GMT 2022 254
        U       1 r-- UNSIGNED_16_BIT_INTEGER   Remaining Time                            
        U       2 r-- UNSIGNED_8_BIT_INTEGER    Minimum Level                             
        U       3 r-- UNSIGNED_8_BIT_INTEGER    Maximum Level                             
        U       4 r-s UNSIGNED_16_BIT_INTEGER   Current Frequency                         
        U       5 r-- UNSIGNED_16_BIT_INTEGER   Minimum Frequency                         
        U       6 r-- UNSIGNED_16_BIT_INTEGER   Maximum Frequency                         
        S      15 r-- BITMAP_8_BIT              Options                                   
        U      16 rw- UNSIGNED_16_BIT_INTEGER   On Off Transition Time                    
        U      17 rw- UNSIGNED_8_BIT_INTEGER    On Level                                  
        U      18 rw- UNSIGNED_16_BIT_INTEGER   On Transition Time                        
        U      19 rw- UNSIGNED_16_BIT_INTEGER   Off Transition Time                       
        U      20 rw- UNSIGNED_16_BIT_INTEGER   Default Move Rate                         
        U   16384 rw- UNSIGNED_8_BIT_INTEGER    Start Up Current Level                    
   0300 Color Control
     - APS Security disabled
        S       0 r-s UNSIGNED_8_BIT_INTEGER    Current Hue                              Tue Feb 15 20:03:32 GMT 2022 0
        S       1 r-s UNSIGNED_8_BIT_INTEGER    Current Saturation                       Tue Feb 15 20:36:04 GMT 2022 254
        U       2 r-- UNSIGNED_16_BIT_INTEGER   Remaining Time                            
        S       3 r-s UNSIGNED_16_BIT_INTEGER   Current X                                Tue Feb 15 17:49:15 GMT 2022 0
        U       4 r-s UNSIGNED_16_BIT_INTEGER   Current Y                                Tue Feb 15 17:49:15 GMT 2022 0
        U       5 r-- ENUMERATION_8_BIT         Drift Compensation                        
        U       6 r-- CHARACTER_STRING          Compensation Text                         
        U       7 r-s UNSIGNED_16_BIT_INTEGER   Color Temperature                        Tue Feb 15 20:36:13 GMT 2022 314
        U       8 r-- ENUMERATION_8_BIT         Color Mode                               Tue Feb 15 20:36:13 GMT 2022 2
        U   16384 r-s UNSIGNED_16_BIT_INTEGER   Enhanced Current Hue                      
        U   16385 r-- ENUMERATION_8_BIT         Enhanced Color Mode                       
        U   16386 r-- UNSIGNED_8_BIT_INTEGER    Color Loop Active                         
        U   16387 r-- UNSIGNED_8_BIT_INTEGER    Color Loop Direction                      
        U   16388 r-- UNSIGNED_16_BIT_INTEGER   Color Loop Time                           
        U   16389 r-- UNSIGNED_16_BIT_INTEGER   Color Loop Start Hue                      
        U   16390 r-- UNSIGNED_16_BIT_INTEGER   Color Loop Stored Hue                     
        U   16394 r-- BITMAP_16_BIT             Color Capabilities                       Fri Feb 11 23:06:10 GMT 2022 25
        U   16395 r-- UNSIGNED_16_BIT_INTEGER   Color Temperature Min                    Fri Feb 11 23:08:01 GMT 2022 153
        U   16396 r-- UNSIGNED_16_BIT_INTEGER   Color Temperature Max                    Fri Feb 11 23:08:01 GMT 2022 500
   1000 
     - APS Security disabled
Output Clusters   : (Client)
   000A Time
     - APS Security disabled
   0019 Ota Upgrade
     - APS Security disabled
        S       0 r-- IEEE_ADDRESS              Upgrade Server ID                         
        S       1 r-- UNSIGNED_32_BIT_INTEGER   File Offset                               
        S       2 r-- UNSIGNED_32_BIT_INTEGER   Current File Version                      
        S       3 r-- UNSIGNED_16_BIT_INTEGER   Current ZigBee Stack Version              
        S       4 r-- UNSIGNED_32_BIT_INTEGER   Downloaded File Version                   
        S       5 r-- UNSIGNED_16_BIT_INTEGER   Downloaded ZigBee Stack Version           
        S       6 r-- ENUMERATION_8_BIT         Image Upgrade Status                      
        S       7 r-- UNSIGNED_16_BIT_INTEGER   Manufacturer ID                           
        S       8 r-- UNSIGNED_16_BIT_INTEGER   Image Type ID                             
        S       9 r-- UNSIGNED_16_BIT_INTEGER   Minimum Block Request Period              
        S      10 r-- UNSIGNED_32_BIT_INTEGER   Image Stamp                               
Groups Configured : 0