# Zigbee device (GE Light) actual status

**URL:** <https://community.smartthings.com/t/zigbee-device-ge-light-actual-status/6463>\
**Category:** Connected Things\
**Created:** [November 2, 2014, 5:33pm UTC](https://community.smartthings.com/t/zigbee-device-ge-light-actual-status/6463 "2014-11-02T17:33:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobfrankston](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@bobfrankston](https://community.smartthings.com/u/bobfrankston)\
**Post date:** [November 2, 2014, 5:33pm UTC](https://community.smartthings.com/t/zigbee-device-ge-light-actual-status/6463/1 "2014-11-02T17:33:49Z")

</div>

I’ve been experimenting with the GE Zigbee light bulbs. One problem is that I can change the state of the light by other means (such as toggling the power). How can I query the real state of the light not just the state that ST imagines?

---

<div class="post-metadata">

**Author:** ![NorCalLights](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/norcallights/32/31085_2.png) [@NorCalLights](https://community.smartthings.com/u/NorCalLights)\
**Post date:** [November 2, 2014, 10:20pm UTC](https://community.smartthings.com/t/zigbee-device-ge-light-actual-status/6463/2 "2014-11-02T22:20:54Z")

</div>

I can’t get this to work either. I tried installing the Pollster smartapp thinking that would help, but my things do not show up in Pollster.

Edit: Ah… pollster is only for z-wave things, and GE Link uses zigbee.

Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![bobfrankston](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@bobfrankston](https://community.smartthings.com/u/bobfrankston)\
**Post date:** [January 27, 2015, 10:40pm UTC](https://community.smartthings.com/t/zigbee-device-ge-light-actual-status/6463/3 "2015-01-27T22:40:05Z")

</div>

I’m trying to figure out GE Zigbee bulbs myself.

If I use the Smartthings app I can set the levels and on/off but the only event signaled is switch, not switchLevel. And I just get the on/off indicator. Interestly if I set the level to zero in the ST app it reports the switch as off in the event but shows it as on on the screen.

If I set the level with my own app using setLevel (after a .on()) the ST app doesn’t seem to show the changes (but I think it did at one point but then stopped tracking).

It seems as if the bulb support is only partially implemented. Who owns such problems and what are the prospects for fixing them? From previous experience it seems as if the level value is not handled very well in general.

BTW, though I can set the level from 0 to 99, it appears that the actual range is 0 and 95-99 – it’s hard to tell that the bulb is actually dimmed.

---

<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:** [January 27, 2015, 10:45pm UTC](https://community.smartthings.com/t/zigbee-device-ge-light-actual-status/6463/4 "2015-01-27T22:45:56Z")

</div>

@NorCalLights and @bobfrankston , Pollster will work with any device as long as Polling is included in the device type’s capabilities: `capability "Polling"`, and Poll() actually does something. Have you seen the thread on an improved custom device type for these GE bulbs?

> [@Updated : GE Link Bulbs - FINALLY getting ON status after manually turning on!](http://community.smartthings.com/t/updated-ge-link-bulbs-finally-getting-on-status-after-manually-turning-on/8000):
>
> There’s been a few updates to this thread, so please make sure to keep up with the latest posts at the bottom! Sorry for starting another thread on these bulbs, but this warrants a new thread (I think). This thread provides the device type for the GE Link Bulb modified by community members specifically to allow ST to receive the bulb’s “ON” status when it’s manually turned on by a switch - not the app. Thank you to this community for all the help, especially @Sticks18 for the code snippet that did the trick. This was a shortcoming to address between ST and the bulb, and this community did it. The device type code below works for the several bulbs I have. Now whenever someone in my house turns on a lamp with one of these bulbs ST’s app correctly shows the status of the bulb - yea! [ht…](https://github.com/constjs/SmartThings-Devices/blob/master/ge_link_bulb.device.groovy)

In the case of these bulbs, Poll() in this custom device type looks like this:

```
def poll() {

[
"st rattr 0x${device.deviceNetworkId} 1 6 0", "delay 500",
"st rattr 0x${device.deviceNetworkId} 1 8 0", "delay 500",
"st wattr 0x${device.deviceNetworkId} 1 8 0x10 0x21 {${state.dOnOff}}"
]

```

}

---

<div class="post-metadata">

**Author:** ![bobfrankston](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@bobfrankston](https://community.smartthings.com/u/bobfrankston)\
**Post date:** [January 27, 2015, 11:17pm UTC](https://community.smartthings.com/t/zigbee-device-ge-light-actual-status/6463/5 "2015-01-27T23:17:16Z")

</div>

This is my question about owning the issue. As I wrote in [http://rmf.vc/IEEEPuttingTogether](http://rmf.vc/IEEEPuttingTogether) I worry about this kind of knowledge scattered around in code snippets. Especially when these snippets violate the fundamental rule of programming which is to have no constants other then 0 and, once in a while, 1, in code
