# ST broke the Zigbee Illuminance Sensor Edge driver

**URL:** <https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299>\
**Category:** Devices & Integrations\
**Created:** [February 8, 2023, 1:18am UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299 "2023-02-08T01:18:55Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnconstantelo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/johnconstantelo/32/111869_2.png) [@johnconstantelo](https://community.smartthings.com/u/johnconstantelo)\
**Post date:** [February 8, 2023, 1:18am UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299/1 "2023-02-08T01:18:55Z")

</div>

Today at 4:48pm EST this driver was updated on my hub, and ever since then my hub is flooded with device events and RAW messages from the device. Everything was working great until that happened. Heads up to anyone using the Zigbee Illuminance Sensor edge driver for the Xiaomi Mijia Smart Light Sensor. Mine has been working flawlessly with this edge driver up until now.

Rebooting the hub does nothing, and I have’t tried removing the device and rejoining it yet.

![image](https://global.discourse-cdn.com/smartthings/optimized/3X/6/5/655bd245509c8d0fa6d7c6bda7eee9a7b2b3b6a5_2_250x375.png)

![image](https://global.discourse-cdn.com/smartthings/original/3X/b/c/bc59218c61a22d43799c1325ec92a9ec02bc2ed4.png)

 ![image](https://global.discourse-cdn.com/smartthings/original/3X/b/b/bb9bd953007ca53734593d51b890ed9d08698729.png)

 ![image](https://global.discourse-cdn.com/smartthings/original/3X/1/5/15617c2ccc1a60581e55e5d2b680b20c2c9c1d80.png)

EDIT:

Rebooting the hub does nothing, and rejoining the device made it worse. Now it reports nothing at all, not even catchall messages when the button is pressed. It’s broke broke.

I checked my other light sensor, and it’s completely dead and not reporting and I didn’t reset and rejoin that one. It just stopped working the second the updated driver showed up.

---

<div class="post-metadata">

**Author:** ![kwanghui](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@kwanghui](https://community.smartthings.com/u/kwanghui)\
**Post date:** [February 8, 2023, 2:30am UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299/2 "2023-02-08T02:30:04Z")

</div>

Hi, Could you let me know the exact model name of your sensor device?  
I wondering if it is `Aqara Illuminance Sensor T1 / GZCGQ11LM` or not.  
Or  
If you’re familir with SmartThings CLI,  
You can see the fingerprint from `smartthings devices {deviceId} -y` command.  
The you can see `deviceManufacturerCode` and `modelName`. Could you kindly let me know those?

It should be some like

```auto
deviceManufacturerCode: LUMI
manufacturerName: SmartThingsCommunity
deviceModel: lumi.sen_ill.agl01

```

---

<div class="post-metadata">

**Author:** ![johnconstantelo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/johnconstantelo/32/111869_2.png) [@johnconstantelo](https://community.smartthings.com/u/johnconstantelo)\
**Post date:** [February 8, 2023, 10:28am UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299/3 "2023-02-08T10:28:50Z")

</div>

Hi @kwanghui , I have two of these that were working great until the last driver update:

 ![image](https://global.discourse-cdn.com/smartthings/original/3X/6/5/65763c8005425d7307f9c8ce7318c99eff9e8a95.png)

---

<div class="post-metadata">

**Author:** ![frayer](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@frayer](https://community.smartthings.com/u/frayer)\
**Post date:** [February 8, 2023, 1:26pm UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299/4 "2023-02-08T13:26:18Z")

</div>

It’s exactly this scenario why I suggested that there must be an option for the user to “freeze” a given driver and exempt it from automatic updating. This very same problem happens on all other software, so there was never a reason to believe it wouldn’t happen in Smartthings, too.  
Maybe Samsung will listen to this request if more people demand it!

---

<div class="post-metadata">

**Author:** ![w35l3y](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/w35l3y/32/109618_2.png) [@w35l3y](https://community.smartthings.com/u/w35l3y)\
**Post date:** [February 8, 2023, 2:49pm UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299/5 "2023-02-08T14:49:21Z")

</div>

This is a strange behavior, as your model (lumi.sen\_ill. **m** gl01) doesn’t match with the [recent commit](https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/commit/f299883a4108b0725bb49df49d6bc6b9c7b3a815#diff-ba0e4c89847e143836410db542cb6c8c5d53d127ccc2141b4e031425d60a0318R23) (lumi.sen\_ill. **a** gl01)

Also, I don’t know why [this PR](https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/pull/441) was accepted as it uses custom zigbee cluster ([0xFCC0](https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/commit/f299883a4108b0725bb49df49d6bc6b9c7b3a815#diff-ba0e4c89847e143836410db542cb6c8c5d53d127ccc2141b4e031425d60a0318R14)).  
Maybe they are starting to accept it for certified devices.

> ## Submission Criteria
> 
> **Pull requests will be denied if they contain any of the following:**
> 
> - Multiple devices per certification request.
> - Custom Capabilities, such as those that are not in the SmartThings namespace.
> - Custom Preferences, such as those that are not in the SmartThings namespace.
> - The device uses a custom Zigbee, Z-Wave, Matter cluster.
> - A duplicate fingerprint already in use by another SmartThings Edge Driver
> - When possible, manufacturer-specific names should not be used in naming a profile.

Source: [Certify Your Device | Developer Documentation | SmartThings](https://developer.smartthings.com/docs/devices/hub-connected/certify-your-device/#submission-criteria)

Anyway, I wasn’t able to identify just looking the code how this commit could affect your model. Everything seems ok.

---

<div class="post-metadata">

**Author:** ![johnconstantelo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/johnconstantelo/32/111869_2.png) [@johnconstantelo](https://community.smartthings.com/u/johnconstantelo)\
**Post date:** [February 8, 2023, 3:30pm UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299/6 "2023-02-08T15:30:33Z")

</div>

I haven’t looked at the code to see why either, but I plan to look through that over the next day or two.

---

<div class="post-metadata">

**Author:** ![steven.green](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/steven.green/32/92166_2.png) [@steven.green](https://community.smartthings.com/u/steven.green)\
**Post date:** [February 8, 2023, 7:38pm UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299/7 "2023-02-08T19:38:18Z")

</div>

I’m not seeing anything in your hub logs or the code that might explain this (they may have cut off too soon, not sure). I’ve put up a channel that has the prior version of the driver (what’s currently on the default channel) and you can switch your driver over to that one and see if it fixes your problem. If it does we’ll have to figure out what the issue is, but we can at least know not to release the changes to the default channel.

Channel invite:

> **[One simple home system. A world of possibilities. | SmartThings](https://account.smartthings.com/?redirect=https%3A%2F%2Fbestow-regional.api.smartthings.com%2Finvite%2FVbMbB7RPvXMB%3F)**
>
> Build a smart home to support all your big moments. With SmartThings, your home becomes a connected space that makes your life simpler, safer, and more entertaining.

---

<div class="post-metadata">

**Author:** ![johnconstantelo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/johnconstantelo/32/111869_2.png) [@johnconstantelo](https://community.smartthings.com/u/johnconstantelo)\
**Post date:** [February 8, 2023, 7:59pm UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299/8 "2023-02-08T19:59:31Z")

</div>

Awesome, thank you! I’ll get to this as soon as I get through a few meetings this afternoon and I’ll let you know.

---

<div class="post-metadata">

**Author:** ![johnconstantelo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/johnconstantelo/32/111869_2.png) [@johnconstantelo](https://community.smartthings.com/u/johnconstantelo)\
**Post date:** [February 8, 2023, 9:37pm UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299/9 "2023-02-08T21:37:26Z")

</div>

@steven.green one of my sensors automatically switched to your driver without me having to do a thing and it’s back to working. This is the one that I haven’t touched this whole time:

 ![image](https://global.discourse-cdn.com/smartthings/original/3X/8/7/87b2b5672bc4beb81f2e3a0071ce73a123c7fd98.png)

![image](https://global.discourse-cdn.com/smartthings/original/3X/4/0/40630dae2f2dfe05fa8cb00cffc5e0c96ad8e841.png)

The one I posted originally went offline when I switched it, so give me a few minutes to finish up a few things and I’ll go investigate.

---

<div class="post-metadata">

**Author:** ![steven.green](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/steven.green/32/92166_2.png) [@steven.green](https://community.smartthings.com/u/steven.green)\
**Post date:** [February 8, 2023, 9:43pm UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299/10 "2023-02-08T21:43:11Z")

</div>

Based on what you posted, the driverId is still the same as the broken one from earlier (a8…75), so it doesn’t look like it’s actually switched.

---

<div class="post-metadata">

**Author:** ![johnconstantelo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/johnconstantelo/32/111869_2.png) [@johnconstantelo](https://community.smartthings.com/u/johnconstantelo)\
**Post date:** [February 8, 2023, 9:48pm UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299/11 "2023-02-08T21:48:29Z")

</div>

Yeah, i literally just saw that. Puzzling…

EDIT. Last meeting finished. I can focus on this a lot better. Let me see what’s up with the other sensor.

---

<div class="post-metadata">

**Author:** ![orangebucket](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/orangebucket/32/81590_2.png) [@orangebucket](https://community.smartthings.com/u/orangebucket)\
**Post date:** [February 8, 2023, 9:57pm UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299/12 "2023-02-08T21:57:20Z")

</div>

Is there any significance in PROVISIONED v TYPED for the devices? I don’t know too much about PROVISIONED but I know zilch about TYPED. I just wondered why they would be different.

---

<div class="post-metadata">

**Author:** ![johnconstantelo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/johnconstantelo/32/111869_2.png) [@johnconstantelo](https://community.smartthings.com/u/johnconstantelo)\
**Post date:** [February 8, 2023, 10:27pm UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299/13 "2023-02-08T22:27:32Z")

</div>

Hi @steven.green , ok got the other one back online:

![image](https://global.discourse-cdn.com/smartthings/original/3X/d/5/d5efedaba6beb2cc493c641390b483531ab961ad.png)

Note that the one I’ve never touched doesn’t have battery capability listed, which the previous version didn’t have either:

![image](https://global.discourse-cdn.com/smartthings/original/3X/f/0/f0c2a47ebab6e5451e3bfdcea168f02604a55724.png)

I’m not sure what changed to get these working again, but something changed.

---

<div class="post-metadata">

**Author:** ![steven.green](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/steven.green/32/92166_2.png) [@steven.green](https://community.smartthings.com/u/steven.green)\
**Post date:** [February 8, 2023, 10:57pm UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299/14 "2023-02-08T22:57:50Z")

</div>

Since you deleted and re-added, the profile they fingerprint to might have changed.

i.e., you added before we had a generic fingerprint that assumed battery support for devices that support the power management cluster, which happened in July of last year.

I’m happy to hear everything is working again, though I don’t think anything has changed on our end. Hopefully this doesn’t happen for you again, but please raise the issue again if it does.

---

<div class="post-metadata">

**Author:** ![johnconstantelo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/johnconstantelo/32/111869_2.png) [@johnconstantelo](https://community.smartthings.com/u/johnconstantelo)\
**Post date:** [February 8, 2023, 11:03pm UTC](https://community.smartthings.com/t/st-broke-the-zigbee-illuminance-sensor-edge-driver/258299/15 "2023-02-08T23:03:43Z")

</div>

Thanks for your help Steven. This is the first device I ever had do this when a driver updated, so I’m not too worried. Things on my end have been working so well lately that this one took me off guard.
