[ST Edge] Lidl Bulb Zigbee Driver

I have made an edge driver for an Lidl zegbee Level and Color Temperature dimmable bulb
With the default libraries it takes 20 minutes to complete the driver.
For standard devices it is very easy to make or modify an edge driver.

Hopefully the documentation improves to be able to make more personalized drivers, especially with examples.

Good start !!! :+1:


  - id: "LIDL/TS0502A"
    deviceLabel: Lidl Bulb
    manufacturer: _TZ3000_49qchf10
    model: TS0502A
    deviceProfileName: level-colortemperature


name: level-colortemperature
- id: main
  - id: switch
    version: 1
  - id: switchLevel
    version: 1
  - id: colorTemperature
    version: 1
  - id: refresh
    version: 1
  - name: Light


name: 'Zigbee Level ColorTemperature Bulb'
packageKey: 'Zigbee_Level_ColorTemperature_Bulb'
  zigbee: {}


local capabilities = require "st.capabilities"
local ZigbeeDriver = require "st.zigbee"
local defaults = require "st.zigbee.defaults"
local zcl_clusters = require "st.zigbee.zcl.clusters"
local OnOff = zcl_clusters.OnOff

local zigbee_bulb_driver_template = {
  supported_capabilities = {
  lifecycle_handlers = {
-- run driver
defaults.register_for_default_handlers(zigbee_bulb_driver_template, zigbee_bulb_driver_template.supported_capabilities)
local zigbee_bulb = ZigbeeDriver("Zigbee_Level_ColorTemperature_Bulb", zigbee_bulb_driver_template)


This is a great, @Mariano_Colmenarejo!

I’ll move your post to an individual thread so it don’t get lost in upcoming updates.

Also, it would be great if you could share with the community a channel invitation to get your driver installed easily and this way more test it on their own Lidl Bulbs.

For more information on how to distribute your channel check these instructions.


@erickv and @Mariano_Colmenarejo in my opinion this needs to show correct icon: Light bulb, not a switch, something like this:

Also @Mariano_Colmenarejo when you create your channel can you please add me to it?

Me too. Adding drivers from channels is easy an convenient way.

Throughout this morning I will make a channel with the shared drivers.
I have added in the same driver the Osram Classic dimmable bulb, which also works well.

By the way, they also work with “Gentle wake up app” even if it is groovy

I changed the icon to show a light bulb, although after a day the icons disappear and the thing icon appears. Until they fix it

I will add to channel all Lidl drivers that i have and ST Multiporpuse sensor whith Temperature reports setting in preferences

  • zigbee multi switch (Lidl fingerprint only)
  • zigbee switch (Lidl fingerprint only)
    -zigbee Level Color Temperature bulb (Lidl & Osram fingerprint)
  • zigbee contact (st Beta stock driver + Lidl fingerprint)
  • zigbee motion sensor (st Beta stock + Lidl fingerprint)
  • st multiportuse sensor

Can you add Sylvania and Ecosmart bulbs too?
Sylvania is is one of the Osram brands.


I add them, but I can’t prove it.
install the bulb with searching nearby, if you choose by brand it does not install well, at least it happened to me when installing my osram.

I’ll readd them with “Scan Nearby”, and let you know if I find any issues.
I’ll wait to get invite for your channel :slightly_smiling_face:


By adding the following metadata description at the bottom of your profile.yaml you should get the device icon issue fixed:

  - name: Light
  deviceType: Light
  ocfDeviceType: oic.d.light
  deviceTypeId: Light

1 Like

Yes I already did and it worked fine

1 Like

7 posts were split to a new topic: [Release] Lidl Bulb Edge Driver